Class: Google::Apis::FirebasedataconnectV1beta::HttpGraphql

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

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.



800
801
802
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 800

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)


793
794
795
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 793

def timeout
  @timeout
end

#uriString

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

Returns:

  • (String)


798
799
800
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 798

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



805
806
807
808
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 805

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