TargetExecutionConfigArgs

data class TargetExecutionConfigArgs(val artifactStorage: Output<String>? = null, val executionTimeout: Output<String>? = null, val serviceAccount: Output<String>? = null, val usages: Output<List<String>>, val workerPool: Output<String>? = null) : ConvertibleToJava<TargetExecutionConfigArgs>

Constructors

Link copied to clipboard
constructor(artifactStorage: Output<String>? = null, executionTimeout: Output<String>? = null, serviceAccount: Output<String>? = null, usages: Output<List<String>>, workerPool: Output<String>? = null)

Properties

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

Optional. Cloud Storage location in which to store execution outputs. This can either be a bucket ("gs://my-bucket") or a path within a bucket ("gs://my-bucket/my-dir"). If unspecified, a default bucket located in the same region will be used.

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

Optional. Execution timeout for a Cloud Build Execution. This must be between 10m and 24h in seconds format. If unspecified, a default timeout of 1h is used.

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

Optional. Google service account to use for execution. If unspecified, the project execution service account (-compute@developer.gserviceaccount.com) is used.

Link copied to clipboard
val usages: Output<List<String>>

Required. Usages when this configuration should be applied.

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

Optional. The resource name of the WorkerPool, with the format projects/{project}/locations/{location}/workerPools/{worker_pool}. If this optional field is unspecified, the default Cloud Build pool will be used.

Functions

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