| Package | Description |
|---|---|
| com.google.api.services.run.v2.model |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudRunV2TrafficTarget |
GoogleCloudRunV2TrafficTarget.clone() |
GoogleCloudRunV2TrafficTarget |
GoogleCloudRunV2TrafficTarget.set(String fieldName,
Object value) |
GoogleCloudRunV2TrafficTarget |
GoogleCloudRunV2TrafficTarget.setPercent(Integer percent)
Specifies percent of the traffic to this Revision.
|
GoogleCloudRunV2TrafficTarget |
GoogleCloudRunV2TrafficTarget.setRevision(String revision)
Revision to which to send this portion of traffic, if traffic allocation is by revision.
|
GoogleCloudRunV2TrafficTarget |
GoogleCloudRunV2TrafficTarget.setTag(String tag)
Indicates a string to be part of the URI to exclusively reference this target.
|
GoogleCloudRunV2TrafficTarget |
GoogleCloudRunV2TrafficTarget.setType(String type)
The allocation type for this traffic target.
|
| Modifier and Type | Method and Description |
|---|---|
List<GoogleCloudRunV2TrafficTarget> |
GoogleCloudRunV2Service.getTraffic()
Optional.
|
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudRunV2Service |
GoogleCloudRunV2Service.setTraffic(List<GoogleCloudRunV2TrafficTarget> traffic)
Optional.
|
Copyright © 2011–2026 Google. All rights reserved.