Class: Google::Apis::FirebasedataconnectV1beta::ExecuteQueryRequest
- Inherits:
-
Object
- Object
- Google::Apis::FirebasedataconnectV1beta::ExecuteQueryRequest
- 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 request to Firebase Data Connect.
Instance Attribute Summary collapse
-
#operation_name ⇒ String
Required.
-
#variables ⇒ Hash<String,Object>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExecuteQueryRequest
constructor
A new instance of ExecuteQueryRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExecuteQueryRequest
Returns a new instance of ExecuteQueryRequest.
241 242 243 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 241 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
234 235 236 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 234 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
239 240 241 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 239 def variables @variables end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
246 247 248 249 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 246 def update!(**args) @operation_name = args[:operation_name] if args.key?(:operation_name) @variables = args[:variables] if args.key?(:variables) end |