Class: Google::Apis::FirebasedataconnectV1::ExecuteMutationResponse

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

Overview

The ExecuteMutation response from Firebase SQL Connect.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExecuteMutationResponse

Returns a new instance of ExecuteMutationResponse.



336
337
338
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 336

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


323
324
325
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 323

def data
  @data
end

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

Errors of this response. Corresponds to the JSON property errors



328
329
330
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 328

def errors
  @errors
end

#extensionsGoogle::Apis::FirebasedataconnectV1::GraphqlResponseExtensions

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



334
335
336
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 334

def extensions
  @extensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



341
342
343
344
345
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 341

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