GcpKeyDetails

class oci.database.models.GcpKeyDetails(**kwargs)

Bases: AutonomousDatabaseEncryptionKeyDetails

Details for GCP encryption key.

Attributes:

PROVIDER_AWS

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails.

PROVIDER_AZURE

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails.

PROVIDER_OCI

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails.

PROVIDER_OKV

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails.

PROVIDER_ORACLE_MANAGED

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails.

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'

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails. This constant has a value of “AWS”

PROVIDER_AZURE = 'AZURE'

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails. This constant has a value of “AZURE”

PROVIDER_OCI = 'OCI'

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails. This constant has a value of “OCI”

PROVIDER_OKV = 'OKV'

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails. This constant has a value of “OKV”

PROVIDER_ORACLE_MANAGED = 'ORACLE_MANAGED'

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails. This constant has a value of “ORACLE_MANAGED”

__init__(**kwargs)

Initializes a new GcpKeyDetails object with values from keyword arguments. The default value of the provider attribute of this class is GCP 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.

property key_name

[Required] Gets the key_name of this GcpKeyDetails. GCP key name

Returns

The key_name of this GcpKeyDetails.

Return type

str

property key_ring

[Required] Gets the key_ring of this GcpKeyDetails. GCP key ring

Returns

The key_ring of this GcpKeyDetails.

Return type

str

property 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

property location

[Required] Gets the location of this GcpKeyDetails. GCP key ring location

Returns

The location of this GcpKeyDetails.

Return type

str

property project

[Required] Gets the project of this GcpKeyDetails. GCP project name

Returns

The project of this GcpKeyDetails.

Return type

str

property provider

Gets the provider of this AutonomousDatabaseEncryptionKeyDetails. The provider for the Autonomous AI 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