class Google::Apis::DatastoreV1::RunQueryResponse

The response for Datastore.RunQuery.

Attributes

batch[RW]

A batch of results produced by a query. Corresponds to the JSON property `batch` @return [Google::Apis::DatastoreV1::QueryResultBatch]

query[RW]

A query for entities. Corresponds to the JSON property `query` @return [Google::Apis::DatastoreV1::Query]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datastore_v1/classes.rb, line 1930
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/datastore_v1/classes.rb, line 1935
def update!(**args)
  @batch = args[:batch] if args.key?(:batch)
  @query = args[:query] if args.key?(:query)
end