Class: Google::Apis::FirebasedataconnectV1beta::ExecuteQueryResponse

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

Overview

The ExecuteQuery response from Firebase Data Connect.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExecuteQueryResponse

Returns a new instance of ExecuteQueryResponse.



266
267
268
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 266

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

Instance Attribute Details

#dataHash<String,Object>

The result of executing the requested operation. Corresponds to the JSON property data

Returns:

  • (Hash<String,Object>)


259
260
261
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 259

def data
  @data
end

#errorsArray<Google::Apis::FirebasedataconnectV1beta::GraphqlError>

Errors of this response. Corresponds to the JSON property errors



264
265
266
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 264

def errors
  @errors
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



271
272
273
274
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 271

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