com.pulumi.googlenative.run.v2.kotlin.outputs.GoogleCloudRunV2TrafficTargetStatusResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.run.v2.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* Represents the observed state of a single `TrafficTarget` entry.
* @property percent Specifies percent of the traffic to this Revision.
* @property revision Revision to which this traffic is sent.
* @property tag Indicates the string used in the URI to exclusively reference this target.
* @property type The allocation type for this traffic target.
* @property uri Displays the target URI.
*/
public data class GoogleCloudRunV2TrafficTargetStatusResponse(
public val percent: Int,
public val revision: String,
public val tag: String,
public val type: String,
public val uri: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.run.v2.outputs.GoogleCloudRunV2TrafficTargetStatusResponse): GoogleCloudRunV2TrafficTargetStatusResponse = GoogleCloudRunV2TrafficTargetStatusResponse(
percent = javaType.percent(),
revision = javaType.revision(),
tag = javaType.tag(),
type = javaType.type(),
uri = javaType.uri(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy