TriggerBuildOptionsArgs

data class TriggerBuildOptionsArgs(val diskSizeGb: Output<Int>? = null, val dynamicSubstitutions: Output<Boolean>? = null, val envs: Output<List<String>>? = null, val logStreamingOption: Output<String>? = null, val logging: Output<String>? = null, val machineType: Output<String>? = null, val requestedVerifyOption: Output<String>? = null, val secretEnvs: Output<List<String>>? = null, val sourceProvenanceHashes: Output<List<String>>? = null, val substitutionOption: Output<String>? = null, val volumes: Output<List<TriggerBuildOptionsVolumeArgs>>? = null, val workerPool: Output<String>? = null) : ConvertibleToJava<TriggerBuildOptionsArgs>

Constructors

Link copied to clipboard
constructor(diskSizeGb: Output<Int>? = null, dynamicSubstitutions: Output<Boolean>? = null, envs: Output<List<String>>? = null, logStreamingOption: Output<String>? = null, logging: Output<String>? = null, machineType: Output<String>? = null, requestedVerifyOption: Output<String>? = null, secretEnvs: Output<List<String>>? = null, sourceProvenanceHashes: Output<List<String>>? = null, substitutionOption: Output<String>? = null, volumes: Output<List<TriggerBuildOptionsVolumeArgs>>? = null, workerPool: Output<String>? = null)

Properties

Link copied to clipboard
val diskSizeGb: Output<Int>? = null

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.

Link copied to clipboard
val dynamicSubstitutions: Output<Boolean>? = null

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.

Link copied to clipboard
val envs: Output<List<String>>? = null

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".

Link copied to clipboard
val logging: Output<String>? = null

Option to specify the logging mode, which determines if and where build logs are stored. Possible values are: LOGGING_UNSPECIFIED, LEGACY, GCS_ONLY, STACKDRIVER_ONLY, CLOUD_LOGGING_ONLY, NONE.

Link copied to clipboard
val logStreamingOption: Output<String>? = null

Option to define build log streaming behavior to Google Cloud Storage. Possible values are: STREAM_DEFAULT, STREAM_ON, STREAM_OFF.

Link copied to clipboard
val machineType: Output<String>? = null

Compute Engine machine type on which to run the build.

Link copied to clipboard
val requestedVerifyOption: Output<String>? = null

Requested verifiability options. Possible values are: NOT_VERIFIED, VERIFIED.

Link copied to clipboard
val secretEnvs: Output<List<String>>? = null

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.

Link copied to clipboard
val sourceProvenanceHashes: Output<List<String>>? = null

Requested hash for SourceProvenance. Each value may be one of: NONE, SHA256, MD5.

Link copied to clipboard
val substitutionOption: Output<String>? = null

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 are: MUST_MATCH, ALLOW_LOOSE.

Link copied to clipboard

Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration. Structure is documented below.

Link copied to clipboard
val workerPool: Output<String>? = null

Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool} This field is experimental.

Functions

Link copied to clipboard
open override fun toJava(): TriggerBuildOptionsArgs