TriggerBuildArgs

data class TriggerBuildArgs(val artifacts: Output<TriggerBuildArtifactsArgs>? = null, val availableSecrets: Output<TriggerBuildAvailableSecretsArgs>? = null, val images: Output<List<String>>? = null, val logsBucket: Output<String>? = null, val options: Output<TriggerBuildOptionsArgs>? = null, val queueTtl: Output<String>? = null, val secrets: Output<List<TriggerBuildSecretArgs>>? = null, val source: Output<TriggerBuildSourceArgs>? = null, val steps: Output<List<TriggerBuildStepArgs>>, val substitutions: Output<Map<String, String>>? = null, val tags: Output<List<String>>? = null, val timeout: Output<String>? = null) : ConvertibleToJava<TriggerBuildArgs>

Constructors

Link copied to clipboard
constructor(artifacts: Output<TriggerBuildArtifactsArgs>? = null, availableSecrets: Output<TriggerBuildAvailableSecretsArgs>? = null, images: Output<List<String>>? = null, logsBucket: Output<String>? = null, options: Output<TriggerBuildOptionsArgs>? = null, queueTtl: Output<String>? = null, secrets: Output<List<TriggerBuildSecretArgs>>? = null, source: Output<TriggerBuildSourceArgs>? = null, steps: Output<List<TriggerBuildStepArgs>>, substitutions: Output<Map<String, String>>? = null, tags: Output<List<String>>? = null, timeout: Output<String>? = null)

Properties

Link copied to clipboard

Artifacts produced by the build that should be uploaded upon successful completion of all build steps. Structure is documented below.

Link copied to clipboard

Secrets and secret environment variables. Structure is documented below.

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

A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build status is marked FAILURE.

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

Google Cloud Storage bucket where logs should be written. Logs file names will be of the format ${logsBucket}/log-${build_id}.txt.

Link copied to clipboard
val options: Output<TriggerBuildOptionsArgs>? = null

Special options for this build. Structure is documented below.

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

TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be EXPIRED. The TTL starts ticking from createTime. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

Link copied to clipboard
val secrets: Output<List<TriggerBuildSecretArgs>>? = null

Secrets to decrypt using Cloud Key Management Service. Structure is documented below.

Link copied to clipboard
val source: Output<TriggerBuildSourceArgs>? = null

The location of the source files to build. One of storageSource or repoSource must be provided. Structure is documented below.

Link copied to clipboard

The operations to be performed on the workspace. Structure is documented below.

Link copied to clipboard
val substitutions: Output<Map<String, String>>? = null

Substitutions data for Build resource.

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

Tags for annotation of a Build. These are not docker tags.

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

Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be TIMEOUT. This timeout must be equal to or greater than the sum of the timeouts for build steps within the build. The expected format is the number of seconds followed by s. Default time is ten minutes (600s).

Functions

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