Class: Google::Apis::FirebasedataconnectV1beta::ExecuteQueryRequest

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 request to Firebase Data Connect.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameString

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

Returns:

  • (String)


234
235
236
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 234

def operation_name
  @operation_name
end

#variablesHash<String,Object>

Optional. Values for GraphQL variables provided in this request. Corresponds to the JSON property variables

Returns:

  • (Hash<String,Object>)


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