Class: Google::Apis::CloudfunctionsV1::HttpsTrigger
- Inherits:
-
Object
- Object
- Google::Apis::CloudfunctionsV1::HttpsTrigger
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/cloudfunctions_v1/classes.rb,
generated/google/apis/cloudfunctions_v1/representations.rb,
generated/google/apis/cloudfunctions_v1/representations.rb
Overview
Describes HttpsTrigger, could be used to connect web hooks to function.
Instance Attribute Summary collapse
-
#url ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HttpsTrigger
constructor
A new instance of HttpsTrigger.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HttpsTrigger
Returns a new instance of HttpsTrigger.
631 632 633 |
# File 'generated/google/apis/cloudfunctions_v1/classes.rb', line 631 def initialize(**args) update!(**args) end |
Instance Attribute Details
#url ⇒ String
Output only. The deployed url for the function.
Corresponds to the JSON property url
629 630 631 |
# File 'generated/google/apis/cloudfunctions_v1/classes.rb', line 629 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
636 637 638 |
# File 'generated/google/apis/cloudfunctions_v1/classes.rb', line 636 def update!(**args) @url = args[:url] if args.key?(:url) end |