| Package | Description |
|---|---|
| com.google.api.services.run.v1.model |
| Modifier and Type | Method and Description |
|---|---|
TrafficTarget |
TrafficTarget.clone() |
TrafficTarget |
TrafficTarget.set(String fieldName,
Object value) |
TrafficTarget |
TrafficTarget.setConfigurationName(String configurationName)
[Deprecated] Not supported in Cloud Run.
|
TrafficTarget |
TrafficTarget.setLatestRevision(Boolean latestRevision)
Uses the "status.latestReadyRevisionName" of the Service to determine the traffic target.
|
TrafficTarget |
TrafficTarget.setPercent(Integer percent)
Percent specifies percent of the traffic to this Revision or Configuration.
|
TrafficTarget |
TrafficTarget.setRevisionName(String revisionName)
Points this traffic target to a specific Revision.
|
TrafficTarget |
TrafficTarget.setTag(String tag)
Tag is used to expose a dedicated url for referencing this target exclusively.
|
TrafficTarget |
TrafficTarget.setUrl(String url)
Output only.
|
| Modifier and Type | Method and Description |
|---|---|
List<TrafficTarget> |
RouteSpec.getTraffic()
Traffic specifies how to distribute traffic over a collection of Knative Revisions and
Configurations.
|
List<TrafficTarget> |
ServiceSpec.getTraffic()
Specifies how to distribute traffic over a collection of Knative Revisions and Configurations
to the Service's main URL.
|
List<TrafficTarget> |
RouteStatus.getTraffic()
Traffic holds the configured traffic distribution.
|
List<TrafficTarget> |
ServiceStatus.getTraffic()
Holds the configured traffic distribution.
|
| Modifier and Type | Method and Description |
|---|---|
RouteSpec |
RouteSpec.setTraffic(List<TrafficTarget> traffic)
Traffic specifies how to distribute traffic over a collection of Knative Revisions and
Configurations.
|
ServiceSpec |
ServiceSpec.setTraffic(List<TrafficTarget> traffic)
Specifies how to distribute traffic over a collection of Knative Revisions and Configurations
to the Service's main URL.
|
RouteStatus |
RouteStatus.setTraffic(List<TrafficTarget> traffic)
Traffic holds the configured traffic distribution.
|
ServiceStatus |
ServiceStatus.setTraffic(List<TrafficTarget> traffic)
Holds the configured traffic distribution.
|
Copyright © 2011–2024 Google. All rights reserved.