CreateOracleGcsDataTransferMediumDetails¶
- class oci.database_migration.models.CreateOracleGcsDataTransferMediumDetails(**kwargs)¶
Bases:
CreateOracleDataTransferMediumDetailsGoogle Cloud Storage details used to transfer Data Pump dump files for Oracle migrations.
Attributes:
A constant which can be used with the type property of a CreateOracleDataTransferMediumDetails.
A constant which can be used with the type property of a CreateOracleDataTransferMediumDetails.
A constant which can be used with the type property of a CreateOracleDataTransferMediumDetails.
A constant which can be used with the type property of a CreateOracleDataTransferMediumDetails.
A constant which can be used with the type property of a CreateOracleDataTransferMediumDetails.
A constant which can be used with the type property of a CreateOracleDataTransferMediumDetails.
[Required] Gets the access_key_id of this CreateOracleGcsDataTransferMediumDetails.
[Required] Gets the bucket_name of this CreateOracleGcsDataTransferMediumDetails.
[Required] Gets the secret_access_key_secret_id of this CreateOracleGcsDataTransferMediumDetails.
[Required] Gets the type of this CreateOracleDataTransferMediumDetails.
Methods:
__init__(**kwargs)Initializes a new CreateOracleGcsDataTransferMediumDetails 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 CreateOracleDataTransferMediumDetails. 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 CreateOracleDataTransferMediumDetails. This constant has a value of “AZURE_BLOB”
- TYPE_DBLINK = 'DBLINK'¶
A constant which can be used with the type property of a CreateOracleDataTransferMediumDetails. This constant has a value of “DBLINK”
- TYPE_GCS = 'GCS'¶
A constant which can be used with the type property of a CreateOracleDataTransferMediumDetails. This constant has a value of “GCS”
- TYPE_NFS = 'NFS'¶
A constant which can be used with the type property of a CreateOracleDataTransferMediumDetails. This constant has a value of “NFS”
- TYPE_OBJECT_STORAGE = 'OBJECT_STORAGE'¶
A constant which can be used with the type property of a CreateOracleDataTransferMediumDetails. This constant has a value of “OBJECT_STORAGE”
- __init__(**kwargs)¶
Initializes a new CreateOracleGcsDataTransferMediumDetails object with values from keyword arguments. The default value of the
typeattribute of this class isGCSand 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 CreateOracleGcsDataTransferMediumDetails. 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 CreateOracleGcsDataTransferMediumDetails.
access_key_id (str) – The value to assign to the access_key_id property of this CreateOracleGcsDataTransferMediumDetails.
secret_access_key_secret_id (str) – The value to assign to the secret_access_key_secret_id property of this CreateOracleGcsDataTransferMediumDetails.
- property access_key_id¶
[Required] Gets the access_key_id of this CreateOracleGcsDataTransferMediumDetails. GCS HMAC access-key ID.
- Returns
The access_key_id of this CreateOracleGcsDataTransferMediumDetails.
- Return type
str
- property bucket_name¶
[Required] Gets the bucket_name of this CreateOracleGcsDataTransferMediumDetails. Google Cloud Storage bucket name.
- Returns
The bucket_name of this CreateOracleGcsDataTransferMediumDetails.
- 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 CreateOracleGcsDataTransferMediumDetails. OCID of OCI Vault secret that contains the GCS HMAC secret access key.
- Returns
The secret_access_key_secret_id of this CreateOracleGcsDataTransferMediumDetails.
- Return type
str
- property type¶
[Required] Gets the type of this CreateOracleDataTransferMediumDetails. 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 CreateOracleDataTransferMediumDetails.
- Return type
str