CreateGoogleCloudStorageIcebergStorageDetails

class oci.golden_gate.models.CreateGoogleCloudStorageIcebergStorageDetails(**kwargs)

Bases: CreateIcebergStorageDetails

The information about a new Google Cloud Storage storage used in the Iceberg connection.

Attributes:

STORAGE_TYPE_AMAZON_S3

A constant which can be used with the storage_type property of a CreateIcebergStorageDetails.

STORAGE_TYPE_AZURE_DATA_LAKE_STORAGE

A constant which can be used with the storage_type property of a CreateIcebergStorageDetails.

STORAGE_TYPE_GOOGLE_CLOUD_STORAGE

A constant which can be used with the storage_type property of a CreateIcebergStorageDetails.

STORAGE_TYPE_NONE

A constant which can be used with the storage_type property of a CreateIcebergStorageDetails.

STORAGE_TYPE_OCI_OBJECT_STORAGE_S3_API

A constant which can be used with the storage_type property of a CreateIcebergStorageDetails.

bucket

[Required] Gets the bucket of this CreateGoogleCloudStorageIcebergStorageDetails.

endpoint

Gets the endpoint of this CreateGoogleCloudStorageIcebergStorageDetails.

project_id

[Required] Gets the project_id of this CreateGoogleCloudStorageIcebergStorageDetails.

service_account_key_file

Gets the service_account_key_file of this CreateGoogleCloudStorageIcebergStorageDetails.

service_account_key_file_secret_id

Gets the service_account_key_file_secret_id of this CreateGoogleCloudStorageIcebergStorageDetails.

storage_type

[Required] Gets the storage_type of this CreateIcebergStorageDetails. The storage type used in the Iceberg connection. Supported storage types by catalog type: * GLUE: AMAZON_S3. * HADOOP: AMAZON_S3, GOOGLE_CLOUD_STORAGE, AZURE_DATA_LAKE_STORAGE, or OCI_OBJECT_STORAGE_S3_API. * NESSIE: AMAZON_S3, GOOGLE_CLOUD_STORAGE, or AZURE_DATA_LAKE_STORAGE. * POLARIS: AMAZON_S3, GOOGLE_CLOUD_STORAGE, or AZURE_DATA_LAKE_STORAGE. * REST: AMAZON_S3, GOOGLE_CLOUD_STORAGE, AZURE_DATA_LAKE_STORAGE, or NONE.

Methods:

__init__(**kwargs)

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

STORAGE_TYPE_AMAZON_S3 = 'AMAZON_S3'

A constant which can be used with the storage_type property of a CreateIcebergStorageDetails. This constant has a value of “AMAZON_S3”

STORAGE_TYPE_AZURE_DATA_LAKE_STORAGE = 'AZURE_DATA_LAKE_STORAGE'

A constant which can be used with the storage_type property of a CreateIcebergStorageDetails. This constant has a value of “AZURE_DATA_LAKE_STORAGE”

STORAGE_TYPE_GOOGLE_CLOUD_STORAGE = 'GOOGLE_CLOUD_STORAGE'

A constant which can be used with the storage_type property of a CreateIcebergStorageDetails. This constant has a value of “GOOGLE_CLOUD_STORAGE”

STORAGE_TYPE_NONE = 'NONE'

A constant which can be used with the storage_type property of a CreateIcebergStorageDetails. This constant has a value of “NONE”

STORAGE_TYPE_OCI_OBJECT_STORAGE_S3_API = 'OCI_OBJECT_STORAGE_S3_API'

A constant which can be used with the storage_type property of a CreateIcebergStorageDetails. This constant has a value of “OCI_OBJECT_STORAGE_S3_API”

__init__(**kwargs)

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

Parameters
  • storage_type (str) – The value to assign to the storage_type property of this CreateGoogleCloudStorageIcebergStorageDetails. Allowed values for this property are: “AMAZON_S3”, “GOOGLE_CLOUD_STORAGE”, “AZURE_DATA_LAKE_STORAGE”, “NONE”, “OCI_OBJECT_STORAGE_S3_API”

  • bucket (str) – The value to assign to the bucket property of this CreateGoogleCloudStorageIcebergStorageDetails.

  • project_id (str) – The value to assign to the project_id property of this CreateGoogleCloudStorageIcebergStorageDetails.

  • service_account_key_file_secret_id (str) – The value to assign to the service_account_key_file_secret_id property of this CreateGoogleCloudStorageIcebergStorageDetails.

  • service_account_key_file (str) – The value to assign to the service_account_key_file property of this CreateGoogleCloudStorageIcebergStorageDetails.

  • endpoint (str) – The value to assign to the endpoint property of this CreateGoogleCloudStorageIcebergStorageDetails.

property bucket

[Required] Gets the bucket of this CreateGoogleCloudStorageIcebergStorageDetails. Google Cloud Storage bucket where Iceberg stores metadata and data files.

Returns

The bucket of this CreateGoogleCloudStorageIcebergStorageDetails.

Return type

str

property endpoint

Gets the endpoint of this CreateGoogleCloudStorageIcebergStorageDetails. A legal URL to connect to Google Cloud Storage including scheme, server name and port (if not the default port). Default: https://storage.googleapis.com

Returns

The endpoint of this CreateGoogleCloudStorageIcebergStorageDetails.

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 project_id

[Required] Gets the project_id of this CreateGoogleCloudStorageIcebergStorageDetails. The Google Cloud Project where the bucket exists.

Returns

The project_id of this CreateGoogleCloudStorageIcebergStorageDetails.

Return type

str

property service_account_key_file

Gets the service_account_key_file of this CreateGoogleCloudStorageIcebergStorageDetails. The base64 encoded content of the service account key file containing the credentials required to use Google Cloud Storage. Deprecated: This field is deprecated and replaced by “serviceAccountKeyFileSecretId”. This change follows the GoldenGate “Plain Text Fields in Connections” deprecation: https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate

Returns

The service_account_key_file of this CreateGoogleCloudStorageIcebergStorageDetails.

Return type

str

property service_account_key_file_secret_id

Gets the service_account_key_file_secret_id of this CreateGoogleCloudStorageIcebergStorageDetails. The OCID of the Secret where the content of the service account key file is stored, which contains the credentials required to use Google Cloud Storage.

Returns

The service_account_key_file_secret_id of this CreateGoogleCloudStorageIcebergStorageDetails.

Return type

str

property storage_type

[Required] Gets the storage_type of this CreateIcebergStorageDetails. The storage type used in the Iceberg connection. Supported storage types by catalog type: * GLUE: AMAZON_S3. * HADOOP: AMAZON_S3, GOOGLE_CLOUD_STORAGE, AZURE_DATA_LAKE_STORAGE,

or OCI_OBJECT_STORAGE_S3_API.

  • NESSIE: AMAZON_S3, GOOGLE_CLOUD_STORAGE, or AZURE_DATA_LAKE_STORAGE.

  • POLARIS: AMAZON_S3, GOOGLE_CLOUD_STORAGE, or AZURE_DATA_LAKE_STORAGE.

  • REST: AMAZON_S3, GOOGLE_CLOUD_STORAGE, AZURE_DATA_LAKE_STORAGE, or NONE.

Allowed values for this property are: “AMAZON_S3”, “GOOGLE_CLOUD_STORAGE”, “AZURE_DATA_LAKE_STORAGE”, “NONE”, “OCI_OBJECT_STORAGE_S3_API”

Returns

The storage_type of this CreateIcebergStorageDetails.

Return type

str