SessionAffinity enum

session_affinity. Applicable only when the locality LB policy is one of MAGLEV, WEIGHTED_MAGLEV, or RING_HASH (otherwise the setting is silently ignored).

Inheritance
Available extensions

Values

none → const SessionAffinity
const SessionAffinity('NONE')
clientIp → const SessionAffinity
const SessionAffinity('CLIENT_IP')
clientIpPortProto → const SessionAffinity
const SessionAffinity('CLIENT_IP_PORT_PROTO')
clientIpProto → const SessionAffinity
const SessionAffinity('CLIENT_IP_PROTO')
generatedCookie → const SessionAffinity
const SessionAffinity('GENERATED_COOKIE')
headerField → const SessionAffinity
const SessionAffinity('HEADER_FIELD')
httpCookie → const SessionAffinity
const SessionAffinity('HTTP_COOKIE')
strongCookieAffinity → const SessionAffinity
const SessionAffinity('STRONG_COOKIE_AFFINITY')

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
The Terraform-side string literal this enum value encodes to. Convention: emitted exactly as it appears in provider docs (typically SCREAMING_SNAKE_CASE for GCP).
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<SessionAffinity>
A constant List of the values in this enum, in order of their declaration.