Class: Google::Apis::FirebasedataconnectV1::HttpGraphql
- Inherits:
-
Object
- Object
- Google::Apis::FirebasedataconnectV1::HttpGraphql
- 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
-
#timeout ⇒ String
Optional.
-
#uri ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HttpGraphql
constructor
A new instance of HttpGraphql.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#timeout ⇒ String
Optional. Timeout duration for the HTTP request.
Corresponds to the JSON property timeout
644 645 646 |
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 644 def timeout @timeout end |
#uri ⇒ String
Required. The endpoint of the HTTP GraphQL server.
Corresponds to the JSON property uri
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 |