Compute V1 Client - Class SessionAffinity (1.21.0)

Reference documentation and code samples for the Compute V1 Client class SessionAffinity.

SessionAffinity contains string constants that represent the names of each value in the google.cloud.compute.v1.BackendService.SessionAffinity descriptor.

Namespace

Google \ Cloud \ Compute \ V1 \ Enums \ BackendService

Constants

UNDEFINED_SESSION_AFFINITY

Value: 'UNDEFINED_SESSION_AFFINITY'

CLIENT_IP

Value: 'CLIENT_IP'

CLIENT_IP_NO_DESTINATION

Value: 'CLIENT_IP_NO_DESTINATION'

CLIENT_IP_PORT_PROTO

Value: 'CLIENT_IP_PORT_PROTO'

CLIENT_IP_PROTO

Value: 'CLIENT_IP_PROTO'
Value: 'GENERATED_COOKIE'

HEADER_FIELD

Value: 'HEADER_FIELD'
Value: 'HTTP_COOKIE'

NONE

Value: 'NONE'
Value: 'STRONG_COOKIE_AFFINITY'