Reference documentation and code samples for the Firestore in Datastore mode V1 API class Google::Cloud::Datastore::V1::RunAggregationQueryRequest.
The request for Datastore.RunAggregationQuery.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#aggregation_query
def aggregation_query() -> ::Google::Cloud::Datastore::V1::AggregationQuery
- (::Google::Cloud::Datastore::V1::AggregationQuery) — The query to run.
#aggregation_query=
def aggregation_query=(value) -> ::Google::Cloud::Datastore::V1::AggregationQuery
- value (::Google::Cloud::Datastore::V1::AggregationQuery) — The query to run.
- (::Google::Cloud::Datastore::V1::AggregationQuery) — The query to run.
#database_id
def database_id() -> ::String
-
(::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.
#database_id=
def database_id=(value) -> ::String
-
value (::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.
-
(::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.
#explain_options
def explain_options() -> ::Google::Cloud::Datastore::V1::ExplainOptions
- (::Google::Cloud::Datastore::V1::ExplainOptions) — Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned.
#explain_options=
def explain_options=(value) -> ::Google::Cloud::Datastore::V1::ExplainOptions
- value (::Google::Cloud::Datastore::V1::ExplainOptions) — Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned.
- (::Google::Cloud::Datastore::V1::ExplainOptions) — Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned.
#gql_query
def gql_query() -> ::Google::Cloud::Datastore::V1::GqlQuery
- (::Google::Cloud::Datastore::V1::GqlQuery) — The GQL query to run. This query must be an aggregation query.
#gql_query=
def gql_query=(value) -> ::Google::Cloud::Datastore::V1::GqlQuery
- value (::Google::Cloud::Datastore::V1::GqlQuery) — The GQL query to run. This query must be an aggregation query.
- (::Google::Cloud::Datastore::V1::GqlQuery) — The GQL query to run. This query must be an aggregation query.
#partition_id
def partition_id() -> ::Google::Cloud::Datastore::V1::PartitionId
- (::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.
#partition_id=
def partition_id=(value) -> ::Google::Cloud::Datastore::V1::PartitionId
- value (::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.
- (::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.
#project_id
def project_id() -> ::String
- (::String) — Required. The ID of the project against which to make the request.
#project_id=
def project_id=(value) -> ::String
- value (::String) — Required. The ID of the project against which to make the request.
- (::String) — Required. The ID of the project against which to make the request.
#read_options
def read_options() -> ::Google::Cloud::Datastore::V1::ReadOptions
- (::Google::Cloud::Datastore::V1::ReadOptions) — The options for this query.
#read_options=
def read_options=(value) -> ::Google::Cloud::Datastore::V1::ReadOptions
- value (::Google::Cloud::Datastore::V1::ReadOptions) — The options for this query.
- (::Google::Cloud::Datastore::V1::ReadOptions) — The options for this query.