Firestore in Datastore mode V1 API - Class Google::Cloud::Datastore::V1::RunAggregationQueryResponse (v0.9.0)

Reference documentation and code samples for the Firestore in Datastore mode V1 API class Google::Cloud::Datastore::V1::RunAggregationQueryResponse.

The response for Datastore.RunAggregationQuery.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#batch

def batch() -> ::Google::Cloud::Datastore::V1::AggregationResultBatch
Returns

#batch=

def batch=(value) -> ::Google::Cloud::Datastore::V1::AggregationResultBatch
Parameter
Returns

#query

def query() -> ::Google::Cloud::Datastore::V1::AggregationQuery
Returns

#query=

def query=(value) -> ::Google::Cloud::Datastore::V1::AggregationQuery
Parameter
Returns

#transaction

def transaction() -> ::String
Returns
  • (::String) — The identifier of the transaction that was started as part of this RunAggregationQuery request.

    Set only when [ReadOptions.begin_transaction][] was set in RunAggregationQueryRequest.read_options.

#transaction=

def transaction=(value) -> ::String
Parameter
  • value (::String) — The identifier of the transaction that was started as part of this RunAggregationQuery request.

    Set only when [ReadOptions.begin_transaction][] was set in RunAggregationQueryRequest.read_options.

Returns
  • (::String) — The identifier of the transaction that was started as part of this RunAggregationQuery request.

    Set only when [ReadOptions.begin_transaction][] was set in RunAggregationQueryRequest.read_options.