ShardBy

Available sharding mechanisms.

Enums
UNSPECIFIED Diversion method unspecified.
COOKIE 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.