Cloud Bigtable V2 Client - Class Struct (2.5.0)

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

A structured data value, consisting of fields which map to dynamically typed values.

Values of type Struct are stored in Value.array_value where entries are in the same order and number as field_types.

Generated from protobuf message google.bigtable.admin.v2.Type.Struct

Namespace

Google \ Cloud \ Bigtable \ Admin \ V2 \ Type

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ fields array<Google\Cloud\Bigtable\Admin\V2\Type\Struct\Field>

The names and types of the fields in this struct.

getFields

The names and types of the fields in this struct.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setFields

The names and types of the fields in this struct.

Parameter
Name Description
var array<Google\Cloud\Bigtable\Admin\V2\Type\Struct\Field>
Returns
Type Description
$this