UpdateOracleGcsDataTransferMediumDetails

class oci.database_migration.models.UpdateOracleGcsDataTransferMediumDetails(**kwargs)

Bases: UpdateOracleDataTransferMediumDetails

Google Cloud Storage details used to transfer Data Pump dump files for Oracle migrations.

Attributes:

TYPE_AWS_S3

A constant which can be used with the type property of a UpdateOracleDataTransferMediumDetails.

TYPE_AZURE_BLOB

A constant which can be used with the type property of a UpdateOracleDataTransferMediumDetails.

TYPE_DBLINK

A constant which can be used with the type property of a UpdateOracleDataTransferMediumDetails.

TYPE_GCS

A constant which can be used with the type property of a UpdateOracleDataTransferMediumDetails.

TYPE_NFS

A constant which can be used with the type property of a UpdateOracleDataTransferMediumDetails.

TYPE_OBJECT_STORAGE

A constant which can be used with the type property of a UpdateOracleDataTransferMediumDetails.

access_key_id

Gets the access_key_id of this UpdateOracleGcsDataTransferMediumDetails.

bucket_name

Gets the bucket_name of this UpdateOracleGcsDataTransferMediumDetails.

secret_access_key_secret_id

Gets the secret_access_key_secret_id of this UpdateOracleGcsDataTransferMediumDetails.

type

[Required] Gets the type of this UpdateOracleDataTransferMediumDetails.

Methods:

__init__(**kwargs)

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

TYPE_AWS_S3 = 'AWS_S3'

A constant which can be used with the type property of a UpdateOracleDataTransferMediumDetails. This constant has a value of “AWS_S3”

TYPE_AZURE_BLOB = 'AZURE_BLOB'

A constant which can be used with the type property of a UpdateOracleDataTransferMediumDetails. This constant has a value of “AZURE_BLOB”

A constant which can be used with the type property of a UpdateOracleDataTransferMediumDetails. This constant has a value of “DBLINK”

TYPE_GCS = 'GCS'

A constant which can be used with the type property of a UpdateOracleDataTransferMediumDetails. This constant has a value of “GCS”

TYPE_NFS = 'NFS'

A constant which can be used with the type property of a UpdateOracleDataTransferMediumDetails. This constant has a value of “NFS”

TYPE_OBJECT_STORAGE = 'OBJECT_STORAGE'

A constant which can be used with the type property of a UpdateOracleDataTransferMediumDetails. This constant has a value of “OBJECT_STORAGE”

__init__(**kwargs)

Initializes a new UpdateOracleGcsDataTransferMediumDetails object with values from keyword arguments. The default value of the type attribute of this class is GCS and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • type (str) – The value to assign to the type property of this UpdateOracleGcsDataTransferMediumDetails. Allowed values for this property are: “DBLINK”, “OBJECT_STORAGE”, “AWS_S3”, “AZURE_BLOB”, “GCS”, “NFS”

  • bucket_name (str) – The value to assign to the bucket_name property of this UpdateOracleGcsDataTransferMediumDetails.

  • access_key_id (str) – The value to assign to the access_key_id property of this UpdateOracleGcsDataTransferMediumDetails.

  • secret_access_key_secret_id (str) – The value to assign to the secret_access_key_secret_id property of this UpdateOracleGcsDataTransferMediumDetails.

property access_key_id

Gets the access_key_id of this UpdateOracleGcsDataTransferMediumDetails. GCS HMAC access-key ID.

Returns

The access_key_id of this UpdateOracleGcsDataTransferMediumDetails.

Return type

str

property bucket_name

Gets the bucket_name of this UpdateOracleGcsDataTransferMediumDetails. Google Cloud Storage bucket name.

Returns

The bucket_name of this UpdateOracleGcsDataTransferMediumDetails.

Return type

str

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 secret_access_key_secret_id

Gets the secret_access_key_secret_id of this UpdateOracleGcsDataTransferMediumDetails. OCID of OCI Vault secret that contains the GCS HMAC secret access key.

Returns

The secret_access_key_secret_id of this UpdateOracleGcsDataTransferMediumDetails.

Return type

str

property type

[Required] Gets the type of this UpdateOracleDataTransferMediumDetails. Type of the data transfer medium to use.

Allowed values for this property are: “DBLINK”, “OBJECT_STORAGE”, “AWS_S3”, “AZURE_BLOB”, “GCS”, “NFS”

Returns

The type of this UpdateOracleDataTransferMediumDetails.

Return type

str