Enum TrafficSplit.ShardBy (2.6.0)

Stay organized with collections Save and categorize content based on your preferences.
public enum TrafficSplit.ShardBy extends Enum<TrafficSplit.ShardBy> implements ProtocolMessageEnum

Available sharding mechanisms.

Protobuf enum google.appengine.v1.TrafficSplit.ShardBy

Implements

ProtocolMessageEnum

Static Fields

NameDescription

Diversion based on a specially named cookie, "GOOGAPPUID." The cookie must be set by the application itself or no diversion will occur.

COOKIE = 1;

Diversion based on a specially named cookie, "GOOGAPPUID." The cookie must be set by the application itself or no diversion will occur.

COOKIE = 1;

IP

Diversion based on applying the modulus operation to a fingerprint of the IP address.

IP = 2;

IP_VALUE

Diversion based on applying the modulus operation to a fingerprint of the IP address.

IP = 2;

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.

RANDOM = 3;

RANDOM_VALUE

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.

RANDOM = 3;

UNRECOGNIZED
UNSPECIFIED

Diversion method unspecified.

UNSPECIFIED = 0;

UNSPECIFIED_VALUE

Diversion method unspecified.

UNSPECIFIED = 0;

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()