Class: Google::Cloud::Datastore::V1::RunQueryResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/datastore/v1/datastore.rb

Overview

The response for Datastore.RunQuery.

Instance Attribute Summary collapse

Instance Attribute Details

#batch::Google::Cloud::Datastore::V1::QueryResultBatch

Returns A batch of query results (always present).

Returns:



149
150
151
152
# File 'proto_docs/google/datastore/v1/datastore.rb', line 149

class RunQueryResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#explain_metrics::Google::Cloud::Datastore::V1::ExplainMetrics

Returns Query explain metrics. This is only present when the RunQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream.

Returns:



149
150
151
152
# File 'proto_docs/google/datastore/v1/datastore.rb', line 149

class RunQueryResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#query::Google::Cloud::Datastore::V1::Query

Returns The parsed form of the GqlQuery from the request, if it was set.

Returns:



149
150
151
152
# File 'proto_docs/google/datastore/v1/datastore.rb', line 149

class RunQueryResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#transaction::String

Returns The identifier of the transaction that was started as part of this RunQuery request.

Set only when ReadOptions.new_transaction was set in RunQueryRequest.read_options.

Returns:



149
150
151
152
# File 'proto_docs/google/datastore/v1/datastore.rb', line 149

class RunQueryResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end