Cloud Datastore V1 Client - Class Projection (1.17.1)

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

A representation of a property in a projection.

Generated from protobuf message google.datastore.v1.Projection

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ property Google\Cloud\Datastore\V1\PropertyReference

The property to project.

getProperty

The property to project.

Generated from protobuf field .google.datastore.v1.PropertyReference property = 1;

Returns
Type Description
Google\Cloud\Datastore\V1\PropertyReference|null

hasProperty

clearProperty

setProperty

The property to project.

Generated from protobuf field .google.datastore.v1.PropertyReference property = 1;

Parameter
Name Description
var Google\Cloud\Datastore\V1\PropertyReference
Returns
Type Description
$this