Google Cloud Appengine Admin V1 Client - Class ShardBy (2.0.0)

Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class ShardBy.

Available sharding mechanisms.

Protobuf type google.appengine.v1.TrafficSplit.ShardBy

Namespace

Google \ Cloud \ AppEngine \ V1 \ TrafficSplit

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

UNSPECIFIED

Value: 0

Diversion method unspecified.

Generated from protobuf enum UNSPECIFIED = 0;

Value: 1

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

Generated from protobuf enum COOKIE = 1;

IP

Value: 2

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

Generated from protobuf enum IP = 2;

RANDOM

Value: 3

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.

Generated from protobuf enum RANDOM = 3;