Class: Google::Cloud::Datastream::V1::JsonFileFormat

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#compression::Google::Cloud::Datastream::V1::JsonFileFormat::JsonCompression

Returns Compression of the loaded JSON file.

Returns:



1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1197

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.

Returns:



1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1197

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