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\u003eThis webpage documents different versions of the \u003ccode\u003eShardBy\u003c/code\u003e enum within the \u003ccode\u003eGoogle.Cloud.AppEngine.V1\u003c/code\u003e namespace, ranging from version 1.0.0 to the latest version 2.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eShardBy\u003c/code\u003e enum defines the available mechanisms for sharding, including \u003ccode\u003eCookie\u003c/code\u003e, \u003ccode\u003eIp\u003c/code\u003e, \u003ccode\u003eRandom\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e, each representing a different method of traffic diversion.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for all these \u003ccode\u003eShardBy\u003c/code\u003e enums is \u003ccode\u003eGoogle.Cloud.AppEngine.V1\u003c/code\u003e, found in the \u003ccode\u003eGoogle.Cloud.AppEngine.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCookie\u003c/code\u003e field description indicates diversion based on a special "GOOGAPPUID" cookie that must be set by the application.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eIp\u003c/code\u003e utilizes a fingerprint of the IP address, \u003ccode\u003eRandom\u003c/code\u003e uses a weighted random assignment, and \u003ccode\u003eUnspecified\u003c/code\u003e is the default value indicating no defined method.\u003c/p\u003e\n"]]],[],null,[]]