Cloud Datastore V1 Client - Class ArrayValue (1.30.0)

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

An array value.

Generated from protobuf message google.datastore.v1.ArrayValue

Namespace

Google \ Cloud \ Datastore \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
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
Name Description
var array<Google\Cloud\Datastore\V1\Value>
Returns
Type Description
$this