Class ServiceTraffic
- java.lang.Object
-
- com.pulumi.gcp.cloudrunv2.outputs.ServiceTraffic
-
public final class ServiceTraffic extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServiceTraffic.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceTraffic.Builder
builder()
static ServiceTraffic.Builder
builder(ServiceTraffic defaults)
java.util.Optional<java.lang.Integer>
percent()
java.util.Optional<java.lang.String>
revision()
java.util.Optional<java.lang.String>
tag()
java.util.Optional<java.lang.String>
type()
-
-
-
Method Detail
-
percent
public java.util.Optional<java.lang.Integer> percent()
- Returns:
- Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
-
revision
public java.util.Optional<java.lang.String> revision()
- Returns:
- Revision to which to send this portion of traffic, if traffic allocation is by revision.
-
tag
public java.util.Optional<java.lang.String> tag()
- Returns:
- Indicates a string to be part of the URI to exclusively reference this target.
-
type
public java.util.Optional<java.lang.String> type()
- Returns:
- The allocation type for this traffic target. Possible values are: `TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST`, `TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION`.
-
builder
public static ServiceTraffic.Builder builder()
-
builder
public static ServiceTraffic.Builder builder(ServiceTraffic defaults)
-
-