Cloud Run V2 API - Module Google::Cloud::Run::V2::TrafficTargetAllocationType (v0.13.2)

Reference documentation and code samples for the Cloud Run V2 API module Google::Cloud::Run::V2::TrafficTargetAllocationType.

The type of instance allocation.

Constants

TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED

value: 0
Unspecified instance allocation type.

TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST

value: 1
Allocates instances to the Service's latest ready Revision.

TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION

value: 2
Allocates instances to a Revision by name.