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
Google\Cloud\Datastore\V1\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
Google\Cloud\Datastore\V1\GqlQuery
The GQL query to run. This query must be a non-aggregation query.
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
getQueryType
string