Class JsonFileFormat (1.5.1)

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

JSON file format configuration.

Attributes

NameDescription
schema_file_format google.cloud.datastream_v1.types.JsonFileFormat.SchemaFileFormat
The schema file format along JSON data files.
compression google.cloud.datastream_v1.types.JsonFileFormat.JsonCompression
Compression of the loaded JSON file.

Classes

JsonCompression

JsonCompression(value)

Json file compression.

Values: JSON_COMPRESSION_UNSPECIFIED (0): Unspecified json file compression. NO_COMPRESSION (1): Do not compress JSON file. GZIP (2): Gzip compression.

SchemaFileFormat

SchemaFileFormat(value)

Schema file format.

Values: SCHEMA_FILE_FORMAT_UNSPECIFIED (0): Unspecified schema file format. NO_SCHEMA_FILE (1): Do not attach schema file. AVRO_SCHEMA_FILE (2): Avro schema format.