OracleGcsDataTransferMediumDetails

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

Bases: OracleDataTransferMediumDetails

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 OracleDataTransferMediumDetails.

TYPE_AZURE_BLOB

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

TYPE_DBLINK

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

TYPE_GCS

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

TYPE_NFS

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

TYPE_OBJECT_STORAGE

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

access_key_id

[Required] Gets the access_key_id of this OracleGcsDataTransferMediumDetails.

bucket_name

[Required] Gets the bucket_name of this OracleGcsDataTransferMediumDetails.

secret_access_key_secret_id

[Required] Gets the secret_access_key_secret_id of this OracleGcsDataTransferMediumDetails.

type

[Required] Gets the type of this OracleDataTransferMediumDetails.

Methods:

__init__(**kwargs)

Initializes a new OracleGcsDataTransferMediumDetails 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 OracleDataTransferMediumDetails. 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 OracleDataTransferMediumDetails. This constant has a value of “AZURE_BLOB”

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

TYPE_GCS = 'GCS'

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

TYPE_NFS = 'NFS'

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

TYPE_OBJECT_STORAGE = 'OBJECT_STORAGE'

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

__init__(**kwargs)

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

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

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

property access_key_id

[Required] Gets the access_key_id of this OracleGcsDataTransferMediumDetails. GCS HMAC access-key ID.

Returns

The access_key_id of this OracleGcsDataTransferMediumDetails.

Return type

str

property bucket_name

[Required] Gets the bucket_name of this OracleGcsDataTransferMediumDetails. Google Cloud Storage bucket name.

Returns

The bucket_name of this OracleGcsDataTransferMediumDetails.

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

[Required] Gets the secret_access_key_secret_id of this OracleGcsDataTransferMediumDetails. OCID of OCI Vault secret that contains the GCS HMAC secret access key.

Returns

The secret_access_key_secret_id of this OracleGcsDataTransferMediumDetails.

Return type

str

property type

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

Allowed values for this property are: “DBLINK”, “OBJECT_STORAGE”, “AWS_S3”, “AZURE_BLOB”, “GCS”, “NFS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The type of this OracleDataTransferMediumDetails.

Return type

str