Class: Google::Apis::DatastoreV1beta2::RunQueryResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/datastore_v1beta2/classes.rb,
generated/google/apis/datastore_v1beta2/representations.rb,
generated/google/apis/datastore_v1beta2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ RunQueryResponse

Returns a new instance of RunQueryResponse



1077
1078
1079
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 1077

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#batchGoogle::Apis::DatastoreV1beta2::QueryResultBatch

A batch of results produced by a query. Corresponds to the JSON property batch



1070
1071
1072
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 1070

def batch
  @batch
end

#headerGoogle::Apis::DatastoreV1beta2::ResponseHeader

Corresponds to the JSON property header



1075
1076
1077
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 1075

def header
  @header
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1082
1083
1084
1085
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 1082

def update!(**args)
  @batch = args[:batch] if args.key?(:batch)
  @header = args[:header] if args.key?(:header)
end