Cloud Datastore V1 Client - Class ArrayValue (2.0.3)

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

An array value.

Generated from protobuf messagegoogle.datastore.v1.ArrayValue

Namespace

Google \ Cloud \ Datastore \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ valuesarray<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 haveidentical 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 haveidentical settings for 'exclude_from_indexes'.

Parameter
NameDescription
vararray<Value>
Returns
TypeDescription
$this

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-01-24 UTC.