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

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

The response for Datastore.RunQuery.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#batch

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

#batch=

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

#query

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

#query=

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

#transaction

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

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

#transaction=

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

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

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

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