public enum TrafficTargetAllocationType extends Enum<TrafficTargetAllocationType> implements ProtocolMessageEnum
The type of instance allocation.
Protobuf enum google.cloud.run.v2.TrafficTargetAllocationType
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST |
Allocates instances to the Service's latest ready Revision. |
TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST_VALUE |
Allocates instances to the Service's latest ready Revision. |
TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION |
Allocates instances to a Revision by name. |
TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION_VALUE |
Allocates instances to a Revision by name. |
TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED |
Unspecified instance allocation type. |
TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED_VALUE |
Unspecified instance allocation type. |
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() |