ConditionGroup

class oci.cloud_guard.models.ConditionGroup(**kwargs)

Bases: object

Details for a condition configured on a target.

Methods

__init__(**kwargs) Initializes a new ConditionGroup object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this ConditionGroup.
condition [Required] Gets the condition of this ConditionGroup.
__init__(**kwargs)

Initializes a new ConditionGroup object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this ConditionGroup.
  • condition (oci.cloud_guard.models.Condition) – The value to assign to the condition property of this ConditionGroup.
compartment_id

[Required] Gets the compartment_id of this ConditionGroup. Compartment OCID associated with condition

Returns:The compartment_id of this ConditionGroup.
Return type:str
condition

[Required] Gets the condition of this ConditionGroup.

Returns:The condition of this ConditionGroup.
Return type:oci.cloud_guard.models.Condition