Cloud Bigtable V2 Client - Class AvroSchema (2.29.0)

Reference documentation and code samples for the Cloud Bigtable V2 Client class AvroSchema.

Represents a collection of Avro schemas.

Generated from protobuf message google.bigtable.admin.v2.AvroSchema

Namespace

Google \ Cloud \ Bigtable \ Admin \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ json_schemas 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.

getJsonSchemas

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
Type Description
Google\Protobuf\RepeatedField<string>

setJsonSchemas

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.

Parameter
Name Description
var string[]
Returns
Type Description
$this