Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::StorageFormat.
Describes the format of the data within its storage location.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#compression_format
def compression_format() -> ::Google::Cloud::Dataplex::V1::StorageFormat::CompressionFormat
- (::Google::Cloud::Dataplex::V1::StorageFormat::CompressionFormat) — Optional. The compression type associated with the stored data. If unspecified, the data is uncompressed.
#compression_format=
def compression_format=(value) -> ::Google::Cloud::Dataplex::V1::StorageFormat::CompressionFormat
- value (::Google::Cloud::Dataplex::V1::StorageFormat::CompressionFormat) — Optional. The compression type associated with the stored data. If unspecified, the data is uncompressed.
- (::Google::Cloud::Dataplex::V1::StorageFormat::CompressionFormat) — Optional. The compression type associated with the stored data. If unspecified, the data is uncompressed.
#csv
def csv() -> ::Google::Cloud::Dataplex::V1::StorageFormat::CsvOptions
- (::Google::Cloud::Dataplex::V1::StorageFormat::CsvOptions) — Optional. Additional information about CSV formatted data.
#csv=
def csv=(value) -> ::Google::Cloud::Dataplex::V1::StorageFormat::CsvOptions
- value (::Google::Cloud::Dataplex::V1::StorageFormat::CsvOptions) — Optional. Additional information about CSV formatted data.
- (::Google::Cloud::Dataplex::V1::StorageFormat::CsvOptions) — Optional. Additional information about CSV formatted data.
#format
def format() -> ::Google::Cloud::Dataplex::V1::StorageFormat::Format
- (::Google::Cloud::Dataplex::V1::StorageFormat::Format) — Output only. The data format associated with the stored data, which represents content type values. The value is inferred from mime type.
#json
def json() -> ::Google::Cloud::Dataplex::V1::StorageFormat::JsonOptions
- (::Google::Cloud::Dataplex::V1::StorageFormat::JsonOptions) — Optional. Additional information about CSV formatted data.
#json=
def json=(value) -> ::Google::Cloud::Dataplex::V1::StorageFormat::JsonOptions
- value (::Google::Cloud::Dataplex::V1::StorageFormat::JsonOptions) — Optional. Additional information about CSV formatted data.
- (::Google::Cloud::Dataplex::V1::StorageFormat::JsonOptions) — Optional. Additional information about CSV formatted data.
#mime_type
def mime_type() -> ::String
-
(::String) —
Required. The mime type descriptor for the data. Must match the pattern {type}/{subtype}. Supported values:
- application/x-parquet
- application/x-avro
- application/x-orc
- application/x-tfrecord
- application/json
- application/{subtypes}
- text/csv
- text/
- image/{image subtype}
- video/{video subtype}
- audio/{audio subtype}
#mime_type=
def mime_type=(value) -> ::String
-
value (::String) —
Required. The mime type descriptor for the data. Must match the pattern {type}/{subtype}. Supported values:
- application/x-parquet
- application/x-avro
- application/x-orc
- application/x-tfrecord
- application/json
- application/{subtypes}
- text/csv
- text/
- image/{image subtype}
- video/{video subtype}
- audio/{audio subtype}
-
(::String) —
Required. The mime type descriptor for the data. Must match the pattern {type}/{subtype}. Supported values:
- application/x-parquet
- application/x-avro
- application/x-orc
- application/x-tfrecord
- application/json
- application/{subtypes}
- text/csv
- text/
- image/{image subtype}
- video/{video subtype}
- audio/{audio subtype}