Class: Google::Cloud::Functions::V1::HttpsTrigger
- Inherits:
-
Object
- Object
- Google::Cloud::Functions::V1::HttpsTrigger
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/functions/v1/functions.rb
Overview
Describes HttpsTrigger, could be used to connect web hooks to function.
Defined Under Namespace
Modules: SecurityLevel
Instance Attribute Summary collapse
-
#security_level ⇒ ::Google::Cloud::Functions::V1::HttpsTrigger::SecurityLevel
The security level for the function.
-
#url ⇒ ::String
readonly
Output only.
Instance Attribute Details
#security_level ⇒ ::Google::Cloud::Functions::V1::HttpsTrigger::SecurityLevel
Returns The security level for the function.
336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 |
# File 'proto_docs/google/cloud/functions/v1/functions.rb', line 336 class HttpsTrigger include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Available security level settings. # # This controls the methods to enforce security (HTTPS) on a URL. # # If unspecified, SECURE_OPTIONAL will be used. module SecurityLevel # Unspecified. SECURITY_LEVEL_UNSPECIFIED = 0 # Requests for a URL that match this handler that do not use HTTPS are # automatically redirected to the HTTPS URL with the same path. Query # parameters are reserved for the redirect. SECURE_ALWAYS = 1 # Both HTTP and HTTPS requests with URLs that match the handler succeed # without redirects. The application can examine the request to determine # which protocol was used and respond accordingly. SECURE_OPTIONAL = 2 end end |
#url ⇒ ::String (readonly)
Returns Output only. The deployed url for the function.
336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 |
# File 'proto_docs/google/cloud/functions/v1/functions.rb', line 336 class HttpsTrigger include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Available security level settings. # # This controls the methods to enforce security (HTTPS) on a URL. # # If unspecified, SECURE_OPTIONAL will be used. module SecurityLevel # Unspecified. SECURITY_LEVEL_UNSPECIFIED = 0 # Requests for a URL that match this handler that do not use HTTPS are # automatically redirected to the HTTPS URL with the same path. Query # parameters are reserved for the redirect. SECURE_ALWAYS = 1 # Both HTTP and HTTPS requests with URLs that match the handler succeed # without redirects. The application can examine the request to determine # which protocol was used and respond accordingly. SECURE_OPTIONAL = 2 end end |