GoogleCloudProviderEncryptionKeyDetails

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

Bases: EncryptionKeyLocationDetails

Details for Google Cloud Provider Input

Attributes:

PROVIDER_TYPE_AWS

A constant which can be used with the provider_type property of a EncryptionKeyLocationDetails.

PROVIDER_TYPE_AZURE

A constant which can be used with the provider_type property of a EncryptionKeyLocationDetails.

PROVIDER_TYPE_EXTERNAL

A constant which can be used with the provider_type property of a EncryptionKeyLocationDetails.

PROVIDER_TYPE_GCP

A constant which can be used with the provider_type property of a EncryptionKeyLocationDetails.

google_cloud_provider_encryption_key_id

[Required] Gets the google_cloud_provider_encryption_key_id of this GoogleCloudProviderEncryptionKeyDetails.

provider_type

[Required] Gets the provider_type of this EncryptionKeyLocationDetails.

Methods:

__init__(**kwargs)

Initializes a new GoogleCloudProviderEncryptionKeyDetails 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_TYPE_AWS = 'AWS'

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

PROVIDER_TYPE_AZURE = 'AZURE'

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

PROVIDER_TYPE_EXTERNAL = 'EXTERNAL'

A constant which can be used with the provider_type property of a EncryptionKeyLocationDetails. This constant has a value of “EXTERNAL”

PROVIDER_TYPE_GCP = 'GCP'

A constant which can be used with the provider_type property of a EncryptionKeyLocationDetails. This constant has a value of “GCP”

__init__(**kwargs)

Initializes a new GoogleCloudProviderEncryptionKeyDetails object with values from keyword arguments. The default value of the provider_type 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_type (str) – The value to assign to the provider_type property of this GoogleCloudProviderEncryptionKeyDetails. Allowed values for this property are: “EXTERNAL”, “AZURE”, “GCP”, “AWS”

  • google_cloud_provider_encryption_key_id (str) – The value to assign to the google_cloud_provider_encryption_key_id property of this GoogleCloudProviderEncryptionKeyDetails.

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 google_cloud_provider_encryption_key_id

[Required] Gets the google_cloud_provider_encryption_key_id of this GoogleCloudProviderEncryptionKeyDetails. Provide the key OCID of a registered Google Cloud Provider key.

Returns

The google_cloud_provider_encryption_key_id of this GoogleCloudProviderEncryptionKeyDetails.

Return type

str

property provider_type

[Required] Gets the provider_type of this EncryptionKeyLocationDetails. Use ‘EXTERNAL’ for creating a new database or migrating a database key to an External HSM. Use ‘AZURE’ for creating a new database or migrating a database key to Azure. Use ‘GCP’ for creating a new database or migrating a database key to Google Cloud Provider. Use ‘AWS’ for creating a new database or migrating a database key to Aws.

Allowed values for this property are: “EXTERNAL”, “AZURE”, “GCP”, “AWS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The provider_type of this EncryptionKeyLocationDetails.

Return type

str