RegionBackendServiceSessionAffinity enum

session_affinity. Applicable only when the locality LB policy is one of MAGLEV, WEIGHTED_MAGLEV, or RING_HASH for HTTP-class balancers; for Passthrough NLBs clientIp and the 5-tuple variants apply directly. The regional resource adds clientIpNoDestination (Passthrough NLB variant that ignores the destination tuple component) versus the global resource.

Inheritance
Available extensions

Values

none → const RegionBackendServiceSessionAffinity
const RegionBackendServiceSessionAffinity('NONE')
clientIp → const RegionBackendServiceSessionAffinity
const RegionBackendServiceSessionAffinity('CLIENT_IP')
clientIpPortProto → const RegionBackendServiceSessionAffinity
const RegionBackendServiceSessionAffinity('CLIENT_IP_PORT_PROTO')
clientIpProto → const RegionBackendServiceSessionAffinity
const RegionBackendServiceSessionAffinity('CLIENT_IP_PROTO')
generatedCookie → const RegionBackendServiceSessionAffinity
const RegionBackendServiceSessionAffinity('GENERATED_COOKIE')
headerField → const RegionBackendServiceSessionAffinity
const RegionBackendServiceSessionAffinity('HEADER_FIELD')
httpCookie → const RegionBackendServiceSessionAffinity
const RegionBackendServiceSessionAffinity('HTTP_COOKIE')
clientIpNoDestination → const RegionBackendServiceSessionAffinity
const RegionBackendServiceSessionAffinity('CLIENT_IP_NO_DESTINATION')
strongCookieAffinity → const RegionBackendServiceSessionAffinity
const RegionBackendServiceSessionAffinity('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<RegionBackendServiceSessionAffinity>
A constant List of the values in this enum, in order of their declaration.