Diversion based on a specially named cookie, "GOOGAPPUID." The cookie
must be set by the application itself or no diversion will occur.
Ip
Diversion based on applying the modulus operation to a fingerprint
of the IP address.
Random
Diversion based on weighted random assignment. An incoming request is
randomly routed to a version in the traffic split, with probability
proportional to the version's traffic share.
[[["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-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eTrafficSplit.Types.ShardBy\u003c/code\u003e enum is 2.4.0, with versions ranging back to 1.0.0 also available.\u003c/p\u003e\n"],["\u003cp\u003eThis enum, found within the \u003ccode\u003eGoogle.Cloud.AppEngine.V1\u003c/code\u003e namespace, offers several sharding mechanisms for traffic distribution in App Engine.\u003c/p\u003e\n"],["\u003cp\u003eThe available sharding mechanisms include \u003ccode\u003eCookie\u003c/code\u003e, \u003ccode\u003eIp\u003c/code\u003e, \u003ccode\u003eRandom\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e, each providing a different method for diverting traffic.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCookie\u003c/code\u003e method relies on a custom "GOOGAPPUID" cookie set by the application for diversion, whereas \u003ccode\u003eIp\u003c/code\u003e uses a fingerprint of the IP address.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRandom\u003c/code\u003e mechanism will route the traffic randomly based on the weighted probability of the versions.\u003c/p\u003e\n"]]],[],null,[]]