Class: Google::Apis::CloudfunctionsV1::HttpsTrigger
- Inherits:
-
Object
- Object
- Google::Apis::CloudfunctionsV1::HttpsTrigger
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudfunctions_v1/classes.rb,
lib/google/apis/cloudfunctions_v1/representations.rb,
lib/google/apis/cloudfunctions_v1/representations.rb
Overview
Describes HttpsTrigger, could be used to connect web hooks to function.
Instance Attribute Summary collapse
-
#security_level ⇒ String
The security level for the function.
-
#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.
1346 1347 1348 |
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 1346 def initialize(**args) update!(**args) end |
Instance Attribute Details
#security_level ⇒ String
The security level for the function.
Corresponds to the JSON property securityLevel
1339 1340 1341 |
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 1339 def security_level @security_level end |
#url ⇒ String
Output only. The deployed url for the function.
Corresponds to the JSON property url
1344 1345 1346 |
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 1344 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1351 1352 1353 1354 |
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 1351 def update!(**args) @security_level = args[:security_level] if args.key?(:security_level) @url = args[:url] if args.key?(:url) end |