Enum TrafficTargetAllocationType (0.49.0)

public enum TrafficTargetAllocationType extends Enum<TrafficTargetAllocationType> implements ProtocolMessageEnum

The type of instance allocation.

Protobuf enum google.cloud.run.v2.TrafficTargetAllocationType

Implements

ProtocolMessageEnum

Static Fields

Name Description
TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST

Allocates instances to the Service's latest ready Revision.

TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST = 1;

TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST_VALUE

Allocates instances to the Service's latest ready Revision.

TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST = 1;

TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION

Allocates instances to a Revision by name.

TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION = 2;

TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION_VALUE

Allocates instances to a Revision by name.

TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION = 2;

TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED

Unspecified instance allocation type.

TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED = 0;

TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED_VALUE

Unspecified instance allocation type.

TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED = 0;

UNRECOGNIZED

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()