ChangeApiKeyCompartmentDetails

class oci.generative_ai.models.ChangeApiKeyCompartmentDetails(**kwargs)

Bases: object

The details to move an APIKey to another compartment.

Methods

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

Attributes

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

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

[Required] Gets the compartment_id of this ChangeApiKeyCompartmentDetails. The OCID of the compartment to move the APIKey to.

Returns:The compartment_id of this ChangeApiKeyCompartmentDetails.
Return type:str