Class StorageFormat (1.1.2)

StorageFormat(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Describes the format of the data within its storage location.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
format_ google.cloud.dataplex_v1.types.StorageFormat.Format
Output only. The data format associated with the stored data, which represents content type values. The value is inferred from mime type.
compression_format google.cloud.dataplex_v1.types.StorageFormat.CompressionFormat
Optional. The compression type associated with the stored data. If unspecified, the data is uncompressed.
mime_type str
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/
csv google.cloud.dataplex_v1.types.StorageFormat.CsvOptions
Optional. Additional information about CSV formatted data. This field is a member of oneof_ options.
json google.cloud.dataplex_v1.types.StorageFormat.JsonOptions
Optional. Additional information about CSV formatted data. This field is a member of oneof_ options.

Inheritance

builtins.object > proto.message.Message > StorageFormat

Classes

CompressionFormat

CompressionFormat(value)

The specific compressed file format of the data.

CsvOptions

CsvOptions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Describes CSV and similar semi-structured data formats.

Format

Format(value)

The specific file format of the data.

JsonOptions

JsonOptions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Describes JSON data format.