Cloud Datastore V1 Client - Class Projection (1.26.0)

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

Namespace

Google \ Cloud \ Datastore \ V1

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.

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

hasProperty

clearProperty

setProperty

The property to project.

Parameter
Name Description
var Google\Cloud\Datastore\V1\PropertyReference
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.