Enum TrafficSplit.ShardBy (2.55.0)

public enum TrafficSplit.ShardBy extends Enum<TrafficSplit.ShardBy> implements ProtocolMessageEnum

Available sharding mechanisms.

Protobuf enum google.appengine.v1.TrafficSplit.ShardBy

Implements

ProtocolMessageEnum

Static Fields

Name Description

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

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()