Cloud Datastore V1 Client - Class AllocateIdsResponse (1.32.2)

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

The response for Datastore.AllocateIds.

Generated from protobuf message google.datastore.v1.AllocateIdsResponse

Namespace

Google \ Cloud \ Datastore \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ keys array<Key>

The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.

getKeys

The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setKeys

The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.

Parameter
Name Description
var array<Key>
Returns
Type Description
$this