2.5.0 (latest) 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public enum TrafficSplit.Types.ShardBy

Reference documentation and code samples for the App Engine v1 API enum TrafficSplit.Types.ShardBy.

Available sharding mechanisms.

## Namespace

[Google.Cloud.AppEngine.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AppEngine.V1/latest/Google.Cloud.AppEngine.V1.md.txt)

## Assembly

Google.Cloud.AppEngine.V1.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `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. |
| `Unspecified` | Diversion method unspecified. |