Class CloudbuildWorkerPoolWorkerConfig.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

      • getDiskSizeGb

        public final Number getDiskSizeGb()
        Description copied from interface: CloudbuildWorkerPoolWorkerConfig
        Size of the disk attached to the worker, in GB.

        See [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). Specify a value of up to 1000. If `0` is specified, Cloud Build will use a standard disk size. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_worker_pool#disk_size_gb CloudbuildWorkerPool#disk_size_gb}

        Specified by:
        getDiskSizeGb in interface CloudbuildWorkerPoolWorkerConfig
      • getMachineType

        public final String getMachineType()
        Description copied from interface: CloudbuildWorkerPoolWorkerConfig
        Machine type of a worker, such as n1-standard-1.

        See [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). If left blank, Cloud Build will use `n1-standard-1`. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_worker_pool#machine_type CloudbuildWorkerPool#machine_type}

        Specified by:
        getMachineType in interface CloudbuildWorkerPoolWorkerConfig
      • getNoExternalIp

        public final Object getNoExternalIp()
        Description copied from interface: CloudbuildWorkerPoolWorkerConfig
        If true, workers are created without any public address, which prevents network egress to public IPs.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_worker_pool#no_external_ip CloudbuildWorkerPool#no_external_ip}

        Specified by:
        getNoExternalIp in interface CloudbuildWorkerPoolWorkerConfig
      • $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