Reference documentation and code samples for the Cloud Datastore V1 Client class RunQueryRequest.
The request for Datastore.RunQuery .
Generated from protobuf message google.datastore.v1.RunQueryRequest
Namespace
Google \ Cloud \ Datastore \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ project_id
string
Required. The ID of the project against which to make the request.
↳ database_id
string
The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.
↳ partition_id
PartitionId
Entities are partitioned into subsets, identified by a partition ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID.
↳ read_options
↳ query
↳ gql_query
↳ property_mask
PropertyMask
The properties to return. This field must not be set for a projection query. See LookupRequest.property_mask .
↳ explain_options
ExplainOptions
Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned.
getProjectId
Required. The ID of the project against which to make the request.
string
setProjectId
Required. The ID of the project against which to make the request.
var
string
$this
getDatabaseId
The ID of the database against which to make the request.
'(default)' is not allowed; please use empty string '' to refer the default database.
string
setDatabaseId
The ID of the database against which to make the request.
'(default)' is not allowed; please use empty string '' to refer the default database.
var
string
$this
getPartitionId
Entities are partitioned into subsets, identified by a partition ID.
Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID.
hasPartitionId
clearPartitionId
setPartitionId
Entities are partitioned into subsets, identified by a partition ID.
Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID.
$this
getReadOptions
The options for this query.
hasReadOptions
clearReadOptions
setReadOptions
The options for this query.
$this
getQuery
The query to run.
hasQuery
setQuery
The query to run.
$this
getGqlQuery
The GQL query to run. This query must be a non-aggregation query.
hasGqlQuery
setGqlQuery
The GQL query to run. This query must be a non-aggregation query.
$this
getPropertyMask
The properties to return.
This field must not be set for a projection query. See LookupRequest.property_mask .
hasPropertyMask
clearPropertyMask
setPropertyMask
The properties to return.
This field must not be set for a projection query. See LookupRequest.property_mask .
$this
getExplainOptions
Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned.
hasExplainOptions
clearExplainOptions
setExplainOptions
Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned.
$this
getQueryType
string