Class: Google::Apis::FirebasedataconnectV1beta::ExecuteMutationRequest
- Inherits:
-
Object
- Object
- Google::Apis::FirebasedataconnectV1beta::ExecuteMutationRequest
- 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 ExecuteMutation request to Firebase Data Connect.
Instance Attribute Summary collapse
-
#operation_name ⇒ String
Required.
-
#variables ⇒ Hash<String,Object>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExecuteMutationRequest
constructor
A new instance of ExecuteMutationRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExecuteMutationRequest
Returns a new instance of ExecuteMutationRequest.
189 190 191 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 189 def initialize(**args) update!(**args) end |
Instance Attribute Details
#operation_name ⇒ String
Required. The name of the GraphQL operation name. Required because all
Connector operations must be named. See https://graphql.org/learn/queries/#
operation-name.
Corresponds to the JSON property operationName
182 183 184 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 182 def operation_name @operation_name end |
#variables ⇒ Hash<String,Object>
Optional. Values for GraphQL variables provided in this request.
Corresponds to the JSON property variables
187 188 189 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 187 def variables @variables end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
194 195 196 197 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 194 def update!(**args) @operation_name = args[:operation_name] if args.key?(:operation_name) @variables = args[:variables] if args.key?(:variables) end |