TargetExecutionConfig

data class TargetExecutionConfig(val artifactStorage: String? = null, val executionTimeout: String? = null, val serviceAccount: String? = null, val usages: List<String>, val verbose: Boolean? = null, val workerPool: String? = null)

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

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

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: 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

Required. Usages when this configuration should be applied.

Link copied to clipboard
val verbose: Boolean? = null

Optional. If true, additional logging will be enabled when running builds in this execution environment.

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