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 SQL Connect.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExecuteQueryResponse

Returns a new instance of ExecuteQueryResponse.



395
396
397
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 395

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>)


382
383
384
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 382

def data
  @data
end

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

Errors of this response. Corresponds to the JSON property errors



387
388
389
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 387

def errors
  @errors
end

#extensionsGoogle::Apis::FirebasedataconnectV1beta::GraphqlResponseExtensions

GraphqlResponseExtensions contains additional information of GraphqlResponse or ExecuteQueryResponse. Corresponds to the JSON property extensions



393
394
395
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 393

def extensions
  @extensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



400
401
402
403
404
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 400

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