UrlMapRedirectResponseCode enum
HTTP redirect response code emitted by a default_url_redirect /
path_rule.url_redirect / route_rules.url_redirect block. The
schema declares this as a free-form string -- the enum below pins the
API-accepted set so callers cannot mis-spell it.
- movedPermanentlyDefault is the API default and resolves to HTTP 301
on the wire; emitted as the literal token
MOVED_PERMANENTLY_DEFAULT. - found -> 302, seeOther -> 303, temporaryRedirect -> 307, permanentRedirect -> 308.
Values
- found → const UrlMapRedirectResponseCode
-
const UrlMapRedirectResponseCode('FOUND') - movedPermanentlyDefault → const UrlMapRedirectResponseCode
-
const UrlMapRedirectResponseCode('MOVED_PERMANENTLY_DEFAULT') - permanentRedirect → const UrlMapRedirectResponseCode
-
const UrlMapRedirectResponseCode('PERMANENT_REDIRECT') - seeOther → const UrlMapRedirectResponseCode
-
const UrlMapRedirectResponseCode('SEE_OTHER') - temporaryRedirect → const UrlMapRedirectResponseCode
-
const UrlMapRedirectResponseCode('TEMPORARY_REDIRECT')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- terraformValue → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
UrlMapRedirectResponseCode> - A constant List of the values in this enum, in order of their declaration.