Interface CloudRunV2ServiceTraffic
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CloudRunV2ServiceTraffic.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:18.020Z") @Stability(Stable) public interface CloudRunV2ServiceTraffic extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCloudRunV2ServiceTraffic.BuilderA builder forCloudRunV2ServiceTrafficstatic classCloudRunV2ServiceTraffic.Jsii$ProxyAn implementation forCloudRunV2ServiceTraffic
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static CloudRunV2ServiceTraffic.Builderbuilder()default NumbergetPercent()Specifies percent of the traffic to this Revision.default StringgetRevision()Revision to which to send this portion of traffic, if traffic allocation is by revision.default StringgetTag()Indicates a string to be part of the URI to exclusively reference this target.default StringgetType()The allocation type for this traffic target.
-
-
-
Method Detail
-
getPercent
@Stability(Stable) @Nullable default Number getPercent()
Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#percent CloudRunV2Service#percent}
-
getRevision
@Stability(Stable) @Nullable default String getRevision()
Revision to which to send this portion of traffic, if traffic allocation is by revision.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#revision CloudRunV2Service#revision}
-
getTag
@Stability(Stable) @Nullable default String getTag()
Indicates a string to be part of the URI to exclusively reference this target.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#tag CloudRunV2Service#tag}
-
getType
@Stability(Stable) @Nullable default String getType()
The allocation type for this traffic target. Possible values: ["TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#type CloudRunV2Service#type}
-
builder
@Stability(Stable) static CloudRunV2ServiceTraffic.Builder builder()
- Returns:
- a
CloudRunV2ServiceTraffic.BuilderofCloudRunV2ServiceTraffic
-
-