Cloud Datastore V1 Client - Class ArrayValue (1.18.1)

Reference documentation and code samples for the Cloud Datastore V1 Client class ArrayValue.

An array value.

Generated from protobuf message google.datastore.v1.ArrayValue

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ values array<Google\Cloud\Datastore\V1\Value>

Values in the array. The order of values in an array is preserved as long as all values have identical settings for 'exclude_from_indexes'.

getValues

Values in the array.

The order of values in an array is preserved as long as all values have identical settings for 'exclude_from_indexes'.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setValues

Values in the array.

The order of values in an array is preserved as long as all values have identical settings for 'exclude_from_indexes'.

Parameter
NameDescription
var array<Google\Cloud\Datastore\V1\Value>
Returns
TypeDescription
$this