Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::JsonFileFormat.
JSON file format configuration.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#compression
def compression() -> ::Google::Cloud::Datastream::V1::JsonFileFormat::JsonCompression
Returns
- (::Google::Cloud::Datastream::V1::JsonFileFormat::JsonCompression) — Compression of the loaded JSON file.
#compression=
def compression=(value) -> ::Google::Cloud::Datastream::V1::JsonFileFormat::JsonCompression
Parameter
- value (::Google::Cloud::Datastream::V1::JsonFileFormat::JsonCompression) — Compression of the loaded JSON file.
Returns
- (::Google::Cloud::Datastream::V1::JsonFileFormat::JsonCompression) — Compression of the loaded JSON file.
#schema_file_format
def schema_file_format() -> ::Google::Cloud::Datastream::V1::JsonFileFormat::SchemaFileFormat
Returns
- (::Google::Cloud::Datastream::V1::JsonFileFormat::SchemaFileFormat) — The schema file format along JSON data files.
#schema_file_format=
def schema_file_format=(value) -> ::Google::Cloud::Datastream::V1::JsonFileFormat::SchemaFileFormat
Parameter
- value (::Google::Cloud::Datastream::V1::JsonFileFormat::SchemaFileFormat) — The schema file format along JSON data files.
Returns
- (::Google::Cloud::Datastream::V1::JsonFileFormat::SchemaFileFormat) — The schema file format along JSON data files.