TargetCompartmentDetails

class oci.os_management_hub.models.TargetCompartmentDetails(**kwargs)

Bases: object

Details of the compartment.

Methods:

__init__(**kwargs)

Initializes a new TargetCompartmentDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this TargetCompartmentDetails.

does_include_children

[Required] Gets the does_include_children of this TargetCompartmentDetails.

__init__(**kwargs)

Initializes a new TargetCompartmentDetails 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 TargetCompartmentDetails.

  • does_include_children (bool) – The value to assign to the does_include_children property of this TargetCompartmentDetails.

property compartment_id

[Required] Gets the compartment_id of this TargetCompartmentDetails. The OCID of the compartment.

Returns

The compartment_id of this TargetCompartmentDetails.

Return type

str

property does_include_children

[Required] Gets the does_include_children of this TargetCompartmentDetails. Indicates if the child compartments are included in the matching rule.

Returns

The does_include_children of this TargetCompartmentDetails.

Return type

bool