ChangeMaskingPolicyCompartmentDetails

class oci.data_safe.models.ChangeMaskingPolicyCompartmentDetails(**kwargs)

Bases: object

Details to change the compartment of a masking policy.

Methods:

__init__(**kwargs)

Initializes a new ChangeMaskingPolicyCompartmentDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this ChangeMaskingPolicyCompartmentDetails.

__init__(**kwargs)

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

property compartment_id

[Required] Gets the compartment_id of this ChangeMaskingPolicyCompartmentDetails. The OCID of the compartment where the masking policy should be moved.

Returns

The compartment_id of this ChangeMaskingPolicyCompartmentDetails.

Return type

str