ServiceConfig_SecurityLevel class final
Available security level settings.
This enforces security protocol on function URL.
Security level is only configurable for 1st Gen functions, If unspecified, SECURE_OPTIONAL will be used. 2nd Gen functions are SECURE_ALWAYS ONLY.
- Inheritance
-
- Object
- ProtoEnum
- ServiceConfig_SecurityLevel
Constructors
- ServiceConfig_SecurityLevel(String value)
-
const
- ServiceConfig_SecurityLevel.fromJson(String json)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isNotDefault → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- $default → const ServiceConfig_SecurityLevel
- The default value for ServiceConfig_SecurityLevel.
- secureAlways → const ServiceConfig_SecurityLevel
- 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.
- secureOptional → const ServiceConfig_SecurityLevel
- 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.
- securityLevelUnspecified → const ServiceConfig_SecurityLevel
- Unspecified.