Cloud Datastore V1 Client - Class GqlQueryParameter (2.0.3)

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

A binding parameter for a GQL query.

Generated from protobuf messagegoogle.datastore.v1.GqlQueryParameter

Namespace

Google \ Cloud \ Datastore \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ valueValue

A value parameter.

↳ cursorstring

A query cursor. Query cursors are returned in query result batches.

getValue

A value parameter.

Returns
TypeDescription
Value|null

hasValue

setValue

A value parameter.

Parameter
NameDescription
varValue
Returns
TypeDescription
$this

getCursor

A query cursor. Query cursors are returned in queryresult batches.

Returns
TypeDescription
string

hasCursor

setCursor

A query cursor. Query cursors are returned in queryresult batches.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getParameterType

Returns
TypeDescription
string

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-01-24 UTC.