Specifies the key used for connection tracking. There are two
options: - PER_CONNECTION: This is the default mode. The Connection
Tracking is performed as per the Connection Key (default Hash
Method) for the specific protocol. - PER_SESSION: The Connection
Tracking is performed as per the configured Session Affinity. It
matches the configured Session Affinity. For more details, see
Tracking Mode for Network Load
Balancing <https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#tracking-mode>
and Tracking Mode for Internal TCP/UDP Load
Balancing <https://cloud.google.com/load-balancing/docs/internal#tracking-mode>.
Enums
Name
Description
UNDEFINED_TRACKING_MODE
A value indicating that the enum field is not set.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class TrackingMode (0.1.5)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.5 (latest)](/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.BackendServiceConnectionTrackingPolicy.TrackingMode)\n- [0.1.4](/python/docs/reference/google-cloud-compute-v1beta/0.1.4/google.cloud.compute_v1beta.types.BackendServiceConnectionTrackingPolicy.TrackingMode) \n\n TrackingMode(value)\n\nSpecifies the key used for connection tracking. There are two\noptions: - PER_CONNECTION: This is the default mode. The Connection\nTracking is performed as per the Connection Key (default Hash\nMethod) for the specific protocol. - PER_SESSION: The Connection\nTracking is performed as per the configured Session Affinity. It\nmatches the configured Session Affinity. For more details, see\n`Tracking Mode for Network Load\nBalancing \u003chttps://cloud.google.com/load-balancing/docs/network/networklb-backend-service#tracking-mode\u003e`**and `Tracking Mode for Internal TCP/UDP Load\nBalancing \u003chttps://cloud.google.com/load-balancing/docs/internal#tracking-mode\u003e`**."]]