Class CloudbuildTriggerBuildOptions.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: CloudbuildTriggerBuildOptions
        Requested disk size for the VM that runs the build.

        Note that this is NOT "disk free"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 1000GB; builds that request more than the maximum are rejected with an error. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#disk_size_gb CloudbuildTrigger#disk_size_gb}

        Specified by:
        getDiskSizeGb in interface CloudbuildTriggerBuildOptions
      • getDynamicSubstitutions

        public final Object getDynamicSubstitutions()
        Description copied from interface: CloudbuildTriggerBuildOptions
        Option to specify whether or not to apply bash style string operations to the substitutions.

        NOTE this is always enabled for triggered builds and cannot be overridden in the build configuration file. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#dynamic_substitutions CloudbuildTrigger#dynamic_substitutions}

        Specified by:
        getDynamicSubstitutions in interface CloudbuildTriggerBuildOptions
      • getEnv

        public final List<String> getEnv()
        Description copied from interface: CloudbuildTriggerBuildOptions
        A list of global environment variable definitions that will exist for all build steps in this build.

        If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#env CloudbuildTrigger#env}

        Specified by:
        getEnv in interface CloudbuildTriggerBuildOptions
      • getLogging

        public final String getLogging()
        Description copied from interface: CloudbuildTriggerBuildOptions
        Option to specify the logging mode, which determines if and where build logs are stored.

        Possible values: ["LOGGING_UNSPECIFIED", "LEGACY", "GCS_ONLY", "STACKDRIVER_ONLY", "CLOUD_LOGGING_ONLY", "NONE"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#logging CloudbuildTrigger#logging}

        Specified by:
        getLogging in interface CloudbuildTriggerBuildOptions
      • getLogStreamingOption

        public final String getLogStreamingOption()
        Description copied from interface: CloudbuildTriggerBuildOptions
        Option to define build log streaming behavior to Google Cloud Storage. Possible values: ["STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF"].

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#log_streaming_option CloudbuildTrigger#log_streaming_option}

        Specified by:
        getLogStreamingOption in interface CloudbuildTriggerBuildOptions
      • getMachineType

        public final String getMachineType()
        Description copied from interface: CloudbuildTriggerBuildOptions
        Compute Engine machine type on which to run the build.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#machine_type CloudbuildTrigger#machine_type}

        Specified by:
        getMachineType in interface CloudbuildTriggerBuildOptions
      • getRequestedVerifyOption

        public final String getRequestedVerifyOption()
        Description copied from interface: CloudbuildTriggerBuildOptions
        Requested verifiability options. Possible values: ["NOT_VERIFIED", "VERIFIED"].

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#requested_verify_option CloudbuildTrigger#requested_verify_option}

        Specified by:
        getRequestedVerifyOption in interface CloudbuildTriggerBuildOptions
      • getSecretEnv

        public final List<String> getSecretEnv()
        Description copied from interface: CloudbuildTriggerBuildOptions
        A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key.

        These values must be specified in the build's Secret. These variables will be available to all build steps in this build. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#secret_env CloudbuildTrigger#secret_env}

        Specified by:
        getSecretEnv in interface CloudbuildTriggerBuildOptions
      • getSourceProvenanceHash

        public final List<String> getSourceProvenanceHash()
        Description copied from interface: CloudbuildTriggerBuildOptions
        Requested hash for SourceProvenance. Possible values: ["NONE", "SHA256", "MD5"].

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#source_provenance_hash CloudbuildTrigger#source_provenance_hash}

        Specified by:
        getSourceProvenanceHash in interface CloudbuildTriggerBuildOptions
      • getSubstitutionOption

        public final String getSubstitutionOption()
        Description copied from interface: CloudbuildTriggerBuildOptions
        Option to specify behavior when there is an error in the substitution checks.

        NOTE this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file. Possible values: ["MUST_MATCH", "ALLOW_LOOSE"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#substitution_option CloudbuildTrigger#substitution_option}

        Specified by:
        getSubstitutionOption in interface CloudbuildTriggerBuildOptions
      • getWorkerPool

        public final String getWorkerPool()
        Description copied from interface: CloudbuildTriggerBuildOptions
        Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool}.

        This field is experimental. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#worker_pool CloudbuildTrigger#worker_pool}

        Specified by:
        getWorkerPool in interface CloudbuildTriggerBuildOptions
      • $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