ServiceTraffic

data class ServiceTraffic(val percent: Int? = null, val revision: String? = null, val tag: String? = null, val type: String? = null)

Constructors

Link copied to clipboard
constructor(percent: Int? = null, revision: String? = null, tag: String? = null, type: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val percent: Int? = null

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

Link copied to clipboard
val revision: String? = null

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

Link copied to clipboard
val tag: String? = null

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

Link copied to clipboard
val type: String? = null

The allocation type for this traffic target. Possible values are: TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST, TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION.