ChangeSecretCompartmentDetails

class oci.vault.models.ChangeSecretCompartmentDetails(**kwargs)

Bases: object

Specifies the updated compartment OCID for the secret.

Methods:

__init__(**kwargs)

Initializes a new ChangeSecretCompartmentDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this ChangeSecretCompartmentDetails.

__init__(**kwargs)

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

property compartment_id

[Required] Gets the compartment_id of this ChangeSecretCompartmentDetails. The OCID of the compartment into which the resource should be moved.

Returns

The compartment_id of this ChangeSecretCompartmentDetails.

Return type

str