public final class GoogleCloudRunV2TrafficTargetStatus
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Run Admin API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GoogleCloudRunV2TrafficTargetStatus() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudRunV2TrafficTargetStatus |
clone() |
Integer |
getPercent()
Specifies percent of the traffic to this Revision.
|
String |
getRevision()
Revision to which this traffic is sent.
|
String |
getTag()
Indicates the string used in the URI to exclusively reference this target.
|
String |
getType()
The allocation type for this traffic target.
|
String |
getUri()
Displays the target URI.
|
GoogleCloudRunV2TrafficTargetStatus |
set(String fieldName,
Object value) |
GoogleCloudRunV2TrafficTargetStatus |
setPercent(Integer percent)
Specifies percent of the traffic to this Revision.
|
GoogleCloudRunV2TrafficTargetStatus |
setRevision(String revision)
Revision to which this traffic is sent.
|
GoogleCloudRunV2TrafficTargetStatus |
setTag(String tag)
Indicates the string used in the URI to exclusively reference this target.
|
GoogleCloudRunV2TrafficTargetStatus |
setType(String type)
The allocation type for this traffic target.
|
GoogleCloudRunV2TrafficTargetStatus |
setUri(String uri)
Displays the target URI.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Integer getPercent()
null for nonepublic GoogleCloudRunV2TrafficTargetStatus setPercent(Integer percent)
percent - percent or null for nonepublic String getRevision()
null for nonepublic GoogleCloudRunV2TrafficTargetStatus setRevision(String revision)
revision - revision or null for nonepublic String getTag()
null for nonepublic GoogleCloudRunV2TrafficTargetStatus setTag(String tag)
tag - tag or null for nonepublic String getType()
null for nonepublic GoogleCloudRunV2TrafficTargetStatus setType(String type)
type - type or null for nonepublic String getUri()
null for nonepublic GoogleCloudRunV2TrafficTargetStatus setUri(String uri)
uri - uri or null for nonepublic GoogleCloudRunV2TrafficTargetStatus set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudRunV2TrafficTargetStatus clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.