BuildOptionsArgs

data class BuildOptionsArgs(val defaultLogsBucketBehavior: Output<BuildOptionsDefaultLogsBucketBehavior>? = null, val diskSizeGb: Output<String>? = null, val dynamicSubstitutions: Output<Boolean>? = null, val env: Output<List<String>>? = null, val logStreamingOption: Output<BuildOptionsLogStreamingOption>? = null, val logging: Output<BuildOptionsLogging>? = null, val machineType: Output<BuildOptionsMachineType>? = null, val pool: Output<PoolOptionArgs>? = null, val requestedVerifyOption: Output<BuildOptionsRequestedVerifyOption>? = null, val secretEnv: Output<List<String>>? = null, val sourceProvenanceHash: Output<List<BuildOptionsSourceProvenanceHashItem>>? = null, val substitutionOption: Output<BuildOptionsSubstitutionOption>? = null, val volumes: Output<List<VolumeArgs>>? = null, val workerPool: Output<String>? = null) : ConvertibleToJava<BuildOptionsArgs>

Optional arguments to enable specific features of builds.

Constructors

Link copied to clipboard
fun BuildOptionsArgs(defaultLogsBucketBehavior: Output<BuildOptionsDefaultLogsBucketBehavior>? = null, diskSizeGb: Output<String>? = null, dynamicSubstitutions: Output<Boolean>? = null, env: Output<List<String>>? = null, logStreamingOption: Output<BuildOptionsLogStreamingOption>? = null, logging: Output<BuildOptionsLogging>? = null, machineType: Output<BuildOptionsMachineType>? = null, pool: Output<PoolOptionArgs>? = null, requestedVerifyOption: Output<BuildOptionsRequestedVerifyOption>? = null, secretEnv: Output<List<String>>? = null, sourceProvenanceHash: Output<List<BuildOptionsSourceProvenanceHashItem>>? = null, substitutionOption: Output<BuildOptionsSubstitutionOption>? = null, volumes: Output<List<VolumeArgs>>? = null, workerPool: Output<String>? = null)

Functions

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

Properties

Link copied to clipboard

Optional. Option to specify how default logs buckets are setup.

Link copied to clipboard
val diskSizeGb: Output<String>? = 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 2000GB; 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 env: 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<BuildOptionsLogging>? = null

Option to specify the logging mode, which determines if and where build logs are stored.

Link copied to clipboard

Option to define build log streaming behavior to Google Cloud Storage.

Link copied to clipboard

Compute Engine machine type on which to run the build.

Link copied to clipboard
val pool: Output<PoolOptionArgs>? = null

Optional. Specification for execution on a WorkerPool. See running builds in a private pool for more information.

Link copied to clipboard

Requested verifiability options.

Link copied to clipboard
val secretEnv: 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

Requested hash for SourceProvenance.

Link copied to clipboard

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.

Link copied to clipboard
val volumes: Output<List<VolumeArgs>>? = null

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.

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

This field deprecated; please use pool.name instead.