Class: Google::Apis::DatastoreV1::RunQueryResponse
- Inherits:
-
Object
- Object
- Google::Apis::DatastoreV1::RunQueryResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastore_v1/classes.rb,
lib/google/apis/datastore_v1/representations.rb,
lib/google/apis/datastore_v1/representations.rb
Overview
The response for Datastore.RunQuery.
Instance Attribute Summary collapse
-
#batch ⇒ Google::Apis::DatastoreV1::QueryResultBatch
A batch of results produced by a query.
-
#query ⇒ Google::Apis::DatastoreV1::Query
A query for entities.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RunQueryResponse
constructor
A new instance of RunQueryResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RunQueryResponse
Returns a new instance of RunQueryResponse.
2387 2388 2389 |
# File 'lib/google/apis/datastore_v1/classes.rb', line 2387 def initialize(**args) update!(**args) end |
Instance Attribute Details
#batch ⇒ Google::Apis::DatastoreV1::QueryResultBatch
A batch of results produced by a query.
Corresponds to the JSON property batch
2380 2381 2382 |
# File 'lib/google/apis/datastore_v1/classes.rb', line 2380 def batch @batch end |
#query ⇒ Google::Apis::DatastoreV1::Query
A query for entities.
Corresponds to the JSON property query
2385 2386 2387 |
# File 'lib/google/apis/datastore_v1/classes.rb', line 2385 def query @query end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2392 2393 2394 2395 |
# File 'lib/google/apis/datastore_v1/classes.rb', line 2392 def update!(**args) @batch = args[:batch] if args.key?(:batch) @query = args[:query] if args.key?(:query) end |