| 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)
ConfigurationName of a configuration to whose latest revision we will send this portion of
traffic.
|
TrafficTarget |
TrafficTarget.setLatestRevision(Boolean latestRevision)
LatestRevision may be optionally provided to indicate that the latest ready Revision of the
Configuration should be used for this traffic target.
|
TrafficTarget |
TrafficTarget.setPercent(Integer percent)
Percent specifies percent of the traffic to this Revision or Configuration.
|
TrafficTarget |
TrafficTarget.setRevisionName(String revisionName)
RevisionName of a specific revision to which to send this portion of traffic.
|
TrafficTarget |
TrafficTarget.setTag(String tag)
Tag is optionally 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> |
ServiceStatus.getTraffic()
From RouteStatus.
|
List<TrafficTarget> |
RouteStatus.getTraffic()
Traffic holds the configured traffic distribution.
|
List<TrafficTarget> |
RouteSpec.getTraffic()
Traffic specifies how to distribute traffic over a collection of Knative Revisions and
Configurations.
|
List<TrafficTarget> |
ServiceSpec.getTraffic()
Traffic specifies how to distribute traffic over a collection of Knative Revisions and
Configurations.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceStatus |
ServiceStatus.setTraffic(List<TrafficTarget> traffic)
From RouteStatus.
|
RouteStatus |
RouteStatus.setTraffic(List<TrafficTarget> traffic)
Traffic holds the configured traffic distribution.
|
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)
Traffic specifies how to distribute traffic over a collection of Knative Revisions and
Configurations.
|
Copyright © 2011–2020 Google. All rights reserved.