Class: Google::Apis::FirebasedataconnectV1::HttpGraphql

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

Settings for HTTP GraphQL server webhook.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HttpGraphql

Returns a new instance of HttpGraphql.



651
652
653
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 651

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#timeoutString

Optional. Timeout duration for the HTTP request. Corresponds to the JSON property timeout

Returns:

  • (String)


644
645
646
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 644

def timeout
  @timeout
end

#uriString

Required. The endpoint of the HTTP GraphQL server. Corresponds to the JSON property uri

Returns:

  • (String)


649
650
651
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 649

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



656
657
658
659
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 656

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