Cloud Bigtable Admin V2 API - Class Google::Cloud::Bigtable::Admin::V2::AvroSchema (v1.22.0)

Reference documentation and code samples for the Cloud Bigtable Admin V2 API class Google::Cloud::Bigtable::Admin::V2::AvroSchema.

Represents a collection of Avro schemas.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#json_schemas

def json_schemas() -> ::Array<::String>
Returns
  • (::Array<::String>) — Required. The Avro schemas in JSON format. Each element must be the content of a valid, self-contained Avro schema file (.avsc), as described in https://avro.apache.org/docs/1.8.1/spec.html. Use repeated elements to include multiple Avro schema files in a single bundle.

#json_schemas=

def json_schemas=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Required. The Avro schemas in JSON format. Each element must be the content of a valid, self-contained Avro schema file (.avsc), as described in https://avro.apache.org/docs/1.8.1/spec.html. Use repeated elements to include multiple Avro schema files in a single bundle.
Returns
  • (::Array<::String>) — Required. The Avro schemas in JSON format. Each element must be the content of a valid, self-contained Avro schema file (.avsc), as described in https://avro.apache.org/docs/1.8.1/spec.html. Use repeated elements to include multiple Avro schema files in a single bundle.