Cloud Datastore V1 Client - Class AllocateIdsResponse (1.28.1)

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<Google\Cloud\Datastore\V1\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<Google\Cloud\Datastore\V1\Key>
Returns
Type Description
$this