GcpKeyDetails¶
-
class
oci.database.models.
GcpKeyDetails
(**kwargs)¶ Bases:
oci.database.models.autonomous_database_encryption_key_details.AutonomousDatabaseEncryptionKeyDetails
Details for GCP encryption key.
Attributes
PROVIDER_AWS
str(object=’’) -> str PROVIDER_AZURE
str(object=’’) -> str PROVIDER_OCI
str(object=’’) -> str PROVIDER_OKV
str(object=’’) -> str PROVIDER_ORACLE_MANAGED
str(object=’’) -> str key_name
[Required] Gets the key_name of this GcpKeyDetails. key_ring
[Required] Gets the key_ring of this GcpKeyDetails. kms_rest_endpoint
Gets the kms_rest_endpoint of this GcpKeyDetails. location
[Required] Gets the location of this GcpKeyDetails. project
[Required] Gets the project of this GcpKeyDetails. provider
Gets the provider of this AutonomousDatabaseEncryptionKeyDetails. Methods
__init__
(**kwargs)Initializes a new GcpKeyDetails object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
PROVIDER_AWS
= 'AWS'¶
-
PROVIDER_AZURE
= 'AZURE'¶
-
PROVIDER_OCI
= 'OCI'¶
-
PROVIDER_OKV
= 'OKV'¶
-
PROVIDER_ORACLE_MANAGED
= 'ORACLE_MANAGED'¶
-
__init__
(**kwargs)¶ Initializes a new GcpKeyDetails object with values from keyword arguments. The default value of the
provider
attribute of this class isGCP
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - provider (str) – The value to assign to the provider property of this GcpKeyDetails. Allowed values for this property are: “AWS”, “AZURE”, “OCI”, “ORACLE_MANAGED”, “OKV”
- key_name (str) – The value to assign to the key_name property of this GcpKeyDetails.
- kms_rest_endpoint (str) – The value to assign to the kms_rest_endpoint property of this GcpKeyDetails.
- project (str) – The value to assign to the project property of this GcpKeyDetails.
- location (str) – The value to assign to the location property of this GcpKeyDetails.
- key_ring (str) – The value to assign to the key_ring property of this GcpKeyDetails.
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
key_name
¶ [Required] Gets the key_name of this GcpKeyDetails. GCP key name
Returns: The key_name of this GcpKeyDetails. Return type: str
-
key_ring
¶ [Required] Gets the key_ring of this GcpKeyDetails. GCP key ring
Returns: The key_ring of this GcpKeyDetails. Return type: str
-
kms_rest_endpoint
¶ Gets the kms_rest_endpoint of this GcpKeyDetails. GCP kms REST API endpoint
Returns: The kms_rest_endpoint of this GcpKeyDetails. Return type: str
-
location
¶ [Required] Gets the location of this GcpKeyDetails. GCP key ring location
Returns: The location of this GcpKeyDetails. Return type: str
-
project
¶ [Required] Gets the project of this GcpKeyDetails. GCP project name
Returns: The project of this GcpKeyDetails. Return type: str
-
provider
¶ Gets the provider of this AutonomousDatabaseEncryptionKeyDetails. The provider for the Autonomous Database encryption key.
Allowed values for this property are: “AWS”, “AZURE”, “OCI”, “ORACLE_MANAGED”, “OKV”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The provider of this AutonomousDatabaseEncryptionKeyDetails. Return type: str
-