Cloud Datastore V1 Client - Class AllocateIdsResponse (1.25.0)

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
NameDescription
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
TypeDescription
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
NameDescription
var array<Google\Cloud\Datastore\V1\Key>
Returns
TypeDescription
$this