ServiceTrafficStatus

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

Constructors

Link copied to clipboard
fun ServiceTrafficStatus(percent: Int? = null, revision: String? = null, tag: String? = null, type: String? = null, uri: 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

The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name. (Optional) 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.

Link copied to clipboard
val uri: String? = null

(Output) Displays the target URI.