UpdateSparkOciObjectStorageConfigDetails

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

Bases: object

Configuration for updating an OCI Object Storage Spark artifact location.

Methods

__init__(**kwargs) Initializes a new UpdateSparkOciObjectStorageConfigDetails 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.

Attributes

authentication_type Gets the authentication_type of this UpdateSparkOciObjectStorageConfigDetails.
__init__(**kwargs)

Initializes a new UpdateSparkOciObjectStorageConfigDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:authentication_type (str) – The value to assign to the authentication_type property of this UpdateSparkOciObjectStorageConfigDetails.
authentication_type

Gets the authentication_type of this UpdateSparkOciObjectStorageConfigDetails. Authentication method used to access OCI Object Storage.

When authenticationType is USER_PRINCIPAL, region, namespace, bucket, path, userId, and publicKeyFingerprint are required. Provide exactly one of privateKeyFile or privateKeyFileSecretId as the private-key credential. tenancyId and the private-key passphrase are optional. When a passphrase is used, provide at most one of privateKeyPassphrase or privateKeyPassphraseSecretId.

When authenticationType is RESOURCE_PRINCIPAL, region, namespace, bucket, and path are required.

When authenticationType is CUSTOMER_SECRET_KEY, region, namespace, bucket, path, and accessKeyId are required. Provide exactly one of secretAccessKey or secretAccessKeySecretId as the secret-key credential. The S3 Compatibility API endpoint is inferred from region and namespace.

When authenticationType is PRE_AUTHENTICATED_REQUEST, provide exactly one of parUrl or parUrlSecretId.

Returns:The authentication_type of this UpdateSparkOciObjectStorageConfigDetails.
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.