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\u003eShardBy\u003c/code\u003e enum is 2.4.0, which is part of the \u003ccode\u003eGoogle.Cloud.AppEngine.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eShardBy\u003c/code\u003e enum offers four different mechanisms for traffic diversion: \u003ccode\u003eCookie\u003c/code\u003e, \u003ccode\u003eIp\u003c/code\u003e, \u003ccode\u003eRandom\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCookie\u003c/code\u003e field diverts traffic based on the "GOOGAPPUID" cookie, which must be set by the application.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eIp\u003c/code\u003e field uses a fingerprint of the IP address to perform the modulus operation to allow for traffic diversion.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRandom\u003c/code\u003e field routes requests randomly to a version based on traffic share.\u003c/p\u003e\n"]]],[],null,[]]