Class CloudRunV2ServiceTraffic.Jsii$Proxy

    • Constructor Detail

      • Jsii$Proxy

        protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
        Constructor that initializes the object based on values retrieved from the JsiiObject.
        Parameters:
        objRef - Reference to the JSII managed object.
    • Method Detail

      • getPercent

        public final Number getPercent()
        Description copied from interface: CloudRunV2ServiceTraffic
        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}

        Specified by:
        getPercent in interface CloudRunV2ServiceTraffic
      • getRevision

        public final String getRevision()
        Description copied from interface: CloudRunV2ServiceTraffic
        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}

        Specified by:
        getRevision in interface CloudRunV2ServiceTraffic
      • getTag

        public final String getTag()
        Description copied from interface: CloudRunV2ServiceTraffic
        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}

        Specified by:
        getTag in interface CloudRunV2ServiceTraffic
      • getType

        public final String getType()
        Description copied from interface: CloudRunV2ServiceTraffic
        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}

        Specified by:
        getType in interface CloudRunV2ServiceTraffic
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object