GoogleCloudRunV2TrafficTargetArgs

data class GoogleCloudRunV2TrafficTargetArgs(val percent: Output<Int>? = null, val revision: Output<String>? = null, val tag: Output<String>? = null, val type: Output<GoogleCloudRunV2TrafficTargetType>? = null) : ConvertibleToJava<GoogleCloudRunV2TrafficTargetArgs>

Holds a single traffic routing entry for the Service. Allocations can be done to a specific Revision name, or pointing to the latest Ready Revision.

Constructors

Link copied to clipboard
fun GoogleCloudRunV2TrafficTargetArgs(percent: Output<Int>? = null, revision: Output<String>? = null, tag: Output<String>? = null, type: Output<GoogleCloudRunV2TrafficTargetType>? = null)

Functions

Link copied to clipboard
open override fun toJava(): GoogleCloudRunV2TrafficTargetArgs

Properties

Link copied to clipboard
val percent: Output<Int>? = null

Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.

Link copied to clipboard
val revision: Output<String>? = null

Revision to which to send this portion of traffic, if traffic allocation is by revision.

Link copied to clipboard
val tag: Output<String>? = null

Indicates a string to be part of the URI to exclusively reference this target.

Link copied to clipboard

The allocation type for this traffic target.