Dataplex V1 API - Class Google::Cloud::Dataplex::V1::StorageFormat (v0.2.1)

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
Returns

#compression_format=

def compression_format=(value) -> ::Google::Cloud::Dataplex::V1::StorageFormat::CompressionFormat
Parameter
Returns

#csv

def csv() -> ::Google::Cloud::Dataplex::V1::StorageFormat::CsvOptions
Returns

#csv=

def csv=(value) -> ::Google::Cloud::Dataplex::V1::StorageFormat::CsvOptions
Parameter
Returns

#format

def format() -> ::Google::Cloud::Dataplex::V1::StorageFormat::Format
Returns

#json

def json() -> ::Google::Cloud::Dataplex::V1::StorageFormat::JsonOptions
Returns

#json=

def json=(value) -> ::Google::Cloud::Dataplex::V1::StorageFormat::JsonOptions
Parameter
Returns

#mime_type

def mime_type() -> ::String
Returns
  • (::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
Parameter
  • 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}
Returns
  • (::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}