ChangeRegistrationPolicyCompartmentDetails

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

Bases: object

The details required to move a registration policy to a different compartment. This object contains the OCID of the compartment to which the registration policy should be moved.

Methods:

__init__(**kwargs)

Initializes a new ChangeRegistrationPolicyCompartmentDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this ChangeRegistrationPolicyCompartmentDetails.

__init__(**kwargs)

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

property compartment_id

[Required] Gets the compartment_id of this ChangeRegistrationPolicyCompartmentDetails. The OCID of the compartment to which the registration policy should be moved.

Returns

The compartment_id of this ChangeRegistrationPolicyCompartmentDetails.

Return type

str