Cloud Datastore V1 Client - Class ArrayValue (1.26.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

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

Last updated 2025年10月30日 UTC.