Reference documentation and code samples for the Compute Engine v1 API enum BackendServiceConnectionTrackingPolicy.Types.TrackingMode.
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 and Tracking Mode for Internal TCP/UDP Load Balancing.
[[["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."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eBackendServiceConnectionTrackingPolicy.Types.TrackingMode\u003c/code\u003e is 3.6.0, with earlier versions available down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation covers the \u003ccode\u003eBackendServiceConnectionTrackingPolicy.Types.TrackingMode\u003c/code\u003e enum within the Google Cloud Compute Engine v1 API, which is used in the namespace \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTrackingMode\u003c/code\u003e enum defines options for how connection tracking is performed, offering two modes: \u003ccode\u003ePER_CONNECTION\u003c/code\u003e (default) and \u003ccode\u003ePER_SESSION\u003c/code\u003e (based on session affinity).\u003c/p\u003e\n"],["\u003cp\u003eThe enum contains four fields which are \u003ccode\u003eInvalidTrackingMode\u003c/code\u003e, \u003ccode\u003ePerConnection\u003c/code\u003e, \u003ccode\u003ePerSession\u003c/code\u003e and \u003ccode\u003eUndefinedTrackingMode\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe fields \u003ccode\u003ePerConnection\u003c/code\u003e and \u003ccode\u003ePerSession\u003c/code\u003e are used to define the tracking mode, while the others are edge cases to determine if the enum is valid.\u003c/p\u003e\n"]]],[],null,[]]