Class: Google::Cloud::Datastream::V1::JsonFileFormat
- Inherits:
-
Object
- Object
- Google::Cloud::Datastream::V1::JsonFileFormat
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/datastream/v1/datastream_resources.rb
Overview
JSON file format configuration.
Defined Under Namespace
Modules: JsonCompression, SchemaFileFormat
Instance Attribute Summary collapse
-
#compression ⇒ ::Google::Cloud::Datastream::V1::JsonFileFormat::JsonCompression
Compression of the loaded JSON file.
-
#schema_file_format ⇒ ::Google::Cloud::Datastream::V1::JsonFileFormat::SchemaFileFormat
The schema file format along JSON data files.
Instance Attribute Details
#compression ⇒ ::Google::Cloud::Datastream::V1::JsonFileFormat::JsonCompression
Returns Compression of the loaded JSON file.
1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 |
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1405 class JsonFileFormat include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Schema file format. module SchemaFileFormat # Unspecified schema file format. SCHEMA_FILE_FORMAT_UNSPECIFIED = 0 # Do not attach schema file. NO_SCHEMA_FILE = 1 # Avro schema format. AVRO_SCHEMA_FILE = 2 end # Json file compression. module JsonCompression # Unspecified json file compression. JSON_COMPRESSION_UNSPECIFIED = 0 # Do not compress JSON file. NO_COMPRESSION = 1 # Gzip compression. GZIP = 2 end end |
#schema_file_format ⇒ ::Google::Cloud::Datastream::V1::JsonFileFormat::SchemaFileFormat
Returns The schema file format along JSON data files.
1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 |
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1405 class JsonFileFormat include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Schema file format. module SchemaFileFormat # Unspecified schema file format. SCHEMA_FILE_FORMAT_UNSPECIFIED = 0 # Do not attach schema file. NO_SCHEMA_FILE = 1 # Avro schema format. AVRO_SCHEMA_FILE = 2 end # Json file compression. module JsonCompression # Unspecified json file compression. JSON_COMPRESSION_UNSPECIFIED = 0 # Do not compress JSON file. NO_COMPRESSION = 1 # Gzip compression. GZIP = 2 end end |