Class: Google::Apis::FirebasedataconnectV1::ExecuteMutationResponse
- Inherits:
-
Object
- Object
- Google::Apis::FirebasedataconnectV1::ExecuteMutationResponse
- 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 Data Connect.
Instance Attribute Summary collapse
-
#data ⇒ Hash<String,Object>
The result of executing the requested operation.
-
#errors ⇒ Array<Google::Apis::FirebasedataconnectV1::GraphqlError>
Errors of this response.
-
#extensions ⇒ Google::Apis::FirebasedataconnectV1::GraphqlResponseExtensions
GraphqlResponseExtensions contains additional information of
GraphqlResponseorExecuteQueryResponse.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExecuteMutationResponse
constructor
A new instance of ExecuteMutationResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExecuteMutationResponse
Returns a new instance of ExecuteMutationResponse.
310 311 312 |
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 310 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data ⇒ Hash<String,Object>
The result of executing the requested operation.
Corresponds to the JSON property data
297 298 299 |
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 297 def data @data end |
#errors ⇒ Array<Google::Apis::FirebasedataconnectV1::GraphqlError>
Errors of this response.
Corresponds to the JSON property errors
302 303 304 |
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 302 def errors @errors end |
#extensions ⇒ Google::Apis::FirebasedataconnectV1::GraphqlResponseExtensions
GraphqlResponseExtensions contains additional information of GraphqlResponse
or ExecuteQueryResponse.
Corresponds to the JSON property extensions
308 309 310 |
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 308 def extensions @extensions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
315 316 317 318 319 |
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 315 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 |