Class: Google::Apis::FirebasedataconnectV1::ExecuteQueryRequest

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



338
339
340
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 338

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)


331
332
333
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 331

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


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

def variables
  @variables
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

def update!(**args)
  @operation_name = args[:operation_name] if args.key?(:operation_name)
  @variables = args[:variables] if args.key?(:variables)
end