ExecuteSqlOutputDispositionObjectStorageDetails

class oci.database_tools_runtime.models.ExecuteSqlOutputDispositionObjectStorageDetails(**kwargs)

Bases: ExecuteSqlOutputDispositionDetails

Describes how the result of a statement is stored in Object Storage

Attributes:

STORAGE_TIER_ARCHIVE

A constant which can be used with the storage_tier property of a ExecuteSqlOutputDispositionObjectStorageDetails.

STORAGE_TIER_INFREQUENT_ACCESS

A constant which can be used with the storage_tier property of a ExecuteSqlOutputDispositionObjectStorageDetails.

STORAGE_TIER_STANDARD

A constant which can be used with the storage_tier property of a ExecuteSqlOutputDispositionObjectStorageDetails.

TYPE_OBJECT_STORAGE

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

bucket_name

[Required] Gets the bucket_name of this ExecuteSqlOutputDispositionObjectStorageDetails.

cache_control

Gets the cache_control of this ExecuteSqlOutputDispositionObjectStorageDetails.

content_disposition

Gets the content_disposition of this ExecuteSqlOutputDispositionObjectStorageDetails.

content_encoding

Gets the content_encoding of this ExecuteSqlOutputDispositionObjectStorageDetails.

content_language

Gets the content_language of this ExecuteSqlOutputDispositionObjectStorageDetails.

content_type

Gets the content_type of this ExecuteSqlOutputDispositionObjectStorageDetails.

namespace

[Required] Gets the namespace of this ExecuteSqlOutputDispositionObjectStorageDetails.

object_name

[Required] Gets the object_name of this ExecuteSqlOutputDispositionObjectStorageDetails.

opc_meta

Gets the opc_meta of this ExecuteSqlOutputDispositionObjectStorageDetails.

opc_sse_customer_algorithm

Gets the opc_sse_customer_algorithm of this ExecuteSqlOutputDispositionObjectStorageDetails.

opc_sse_customer_key

Gets the opc_sse_customer_key of this ExecuteSqlOutputDispositionObjectStorageDetails.

opc_sse_customer_key_sha256

Gets the opc_sse_customer_key_sha256 of this ExecuteSqlOutputDispositionObjectStorageDetails.

opc_sse_kms_key_id

Gets the opc_sse_kms_key_id of this ExecuteSqlOutputDispositionObjectStorageDetails.

storage_tier

Gets the storage_tier of this ExecuteSqlOutputDispositionObjectStorageDetails.

type

[Required] Gets the type of this ExecuteSqlOutputDispositionDetails.

Methods:

__init__(**kwargs)

Initializes a new ExecuteSqlOutputDispositionObjectStorageDetails 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_TIER_ARCHIVE = 'ARCHIVE'

A constant which can be used with the storage_tier property of a ExecuteSqlOutputDispositionObjectStorageDetails. This constant has a value of “ARCHIVE”

STORAGE_TIER_INFREQUENT_ACCESS = 'INFREQUENT_ACCESS'

A constant which can be used with the storage_tier property of a ExecuteSqlOutputDispositionObjectStorageDetails. This constant has a value of “INFREQUENT_ACCESS”

STORAGE_TIER_STANDARD = 'STANDARD'

A constant which can be used with the storage_tier property of a ExecuteSqlOutputDispositionObjectStorageDetails. This constant has a value of “STANDARD”

TYPE_OBJECT_STORAGE = 'OBJECT_STORAGE'

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

__init__(**kwargs)

Initializes a new ExecuteSqlOutputDispositionObjectStorageDetails object with values from keyword arguments. The default value of the type attribute of this class is OBJECT_STORAGE 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 ExecuteSqlOutputDispositionObjectStorageDetails. Allowed values for this property are: “OBJECT_STORAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • namespace (str) – The value to assign to the namespace property of this ExecuteSqlOutputDispositionObjectStorageDetails.

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

  • object_name (str) – The value to assign to the object_name property of this ExecuteSqlOutputDispositionObjectStorageDetails.

  • content_type (str) – The value to assign to the content_type property of this ExecuteSqlOutputDispositionObjectStorageDetails.

  • content_disposition (str) – The value to assign to the content_disposition property of this ExecuteSqlOutputDispositionObjectStorageDetails.

  • content_encoding (str) – The value to assign to the content_encoding property of this ExecuteSqlOutputDispositionObjectStorageDetails.

  • cache_control (str) – The value to assign to the cache_control property of this ExecuteSqlOutputDispositionObjectStorageDetails.

  • content_language (str) – The value to assign to the content_language property of this ExecuteSqlOutputDispositionObjectStorageDetails.

  • opc_meta (dict(str, str)) – The value to assign to the opc_meta property of this ExecuteSqlOutputDispositionObjectStorageDetails.

  • opc_sse_customer_algorithm (str) – The value to assign to the opc_sse_customer_algorithm property of this ExecuteSqlOutputDispositionObjectStorageDetails.

  • opc_sse_customer_key (str) – The value to assign to the opc_sse_customer_key property of this ExecuteSqlOutputDispositionObjectStorageDetails.

  • opc_sse_customer_key_sha256 (str) – The value to assign to the opc_sse_customer_key_sha256 property of this ExecuteSqlOutputDispositionObjectStorageDetails.

  • opc_sse_kms_key_id (str) – The value to assign to the opc_sse_kms_key_id property of this ExecuteSqlOutputDispositionObjectStorageDetails.

  • storage_tier (str) – The value to assign to the storage_tier property of this ExecuteSqlOutputDispositionObjectStorageDetails. Allowed values for this property are: “STANDARD”, “INFREQUENT_ACCESS”, “ARCHIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

property bucket_name

[Required] Gets the bucket_name of this ExecuteSqlOutputDispositionObjectStorageDetails. The name of the object storage bucket

Returns

The bucket_name of this ExecuteSqlOutputDispositionObjectStorageDetails.

Return type

str

property cache_control

Gets the cache_control of this ExecuteSqlOutputDispositionObjectStorageDetails. The Cache-Control header

Returns

The cache_control of this ExecuteSqlOutputDispositionObjectStorageDetails.

Return type

str

property content_disposition

Gets the content_disposition of this ExecuteSqlOutputDispositionObjectStorageDetails. The content disposition

Returns

The content_disposition of this ExecuteSqlOutputDispositionObjectStorageDetails.

Return type

str

property content_encoding

Gets the content_encoding of this ExecuteSqlOutputDispositionObjectStorageDetails. The content encoding

Returns

The content_encoding of this ExecuteSqlOutputDispositionObjectStorageDetails.

Return type

str

property content_language

Gets the content_language of this ExecuteSqlOutputDispositionObjectStorageDetails. The content language

Returns

The content_language of this ExecuteSqlOutputDispositionObjectStorageDetails.

Return type

str

property content_type

Gets the content_type of this ExecuteSqlOutputDispositionObjectStorageDetails. The content type

Returns

The content_type of this ExecuteSqlOutputDispositionObjectStorageDetails.

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 namespace

[Required] Gets the namespace of this ExecuteSqlOutputDispositionObjectStorageDetails. The name of the object storage namespace

Returns

The namespace of this ExecuteSqlOutputDispositionObjectStorageDetails.

Return type

str

property object_name

[Required] Gets the object_name of this ExecuteSqlOutputDispositionObjectStorageDetails. The name of the object template (can contain statementId placeholder, for example; query_{statementId}.csv )

Returns

The object_name of this ExecuteSqlOutputDispositionObjectStorageDetails.

Return type

str

property opc_meta

Gets the opc_meta of this ExecuteSqlOutputDispositionObjectStorageDetails. The object metadata

Returns

The opc_meta of this ExecuteSqlOutputDispositionObjectStorageDetails.

Return type

dict(str, str)

property opc_sse_customer_algorithm

Gets the opc_sse_customer_algorithm of this ExecuteSqlOutputDispositionObjectStorageDetails. The Encryption Algorithm

Returns

The opc_sse_customer_algorithm of this ExecuteSqlOutputDispositionObjectStorageDetails.

Return type

str

property opc_sse_customer_key

Gets the opc_sse_customer_key of this ExecuteSqlOutputDispositionObjectStorageDetails. The base64-encoded 256-bit encryption key to use

Returns

The opc_sse_customer_key of this ExecuteSqlOutputDispositionObjectStorageDetails.

Return type

str

property opc_sse_customer_key_sha256

Gets the opc_sse_customer_key_sha256 of this ExecuteSqlOutputDispositionObjectStorageDetails. The base64-encoded SHA256 hash of the encryption key

Returns

The opc_sse_customer_key_sha256 of this ExecuteSqlOutputDispositionObjectStorageDetails.

Return type

str

property opc_sse_kms_key_id

Gets the opc_sse_kms_key_id of this ExecuteSqlOutputDispositionObjectStorageDetails. The OCID of a master encryption key

Returns

The opc_sse_kms_key_id of this ExecuteSqlOutputDispositionObjectStorageDetails.

Return type

str

property storage_tier

Gets the storage_tier of this ExecuteSqlOutputDispositionObjectStorageDetails. The storage tier that the object should be stored in

Allowed values for this property are: “STANDARD”, “INFREQUENT_ACCESS”, “ARCHIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The storage_tier of this ExecuteSqlOutputDispositionObjectStorageDetails.

Return type

str

property type

[Required] Gets the type of this ExecuteSqlOutputDispositionDetails. The location resource type.

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

Returns

The type of this ExecuteSqlOutputDispositionDetails.

Return type

str