TargetExecutionConfig constructor
- Input<
String?> ? artifactStorage, - Input<
TargetExecutionConfigDefaultPool?> ? defaultPool, - Input<
String?> ? executionTimeout, - Input<
TargetExecutionConfigPrivatePool?> ? privatePool, - Input<
String?> ? serviceAccount, - required Input<
List< usages,String> > - Input<
bool?> ? verbose, - Input<
String?> ? workerPool,
Creates a new TargetExecutionConfig.
artifactStorage 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.
defaultPool Optional. Use default Cloud Build pool.
executionTimeout 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.
privatePool Optional. Use private Cloud Build pool.
serviceAccount Optional. Google service account to use for execution. If unspecified, the project execution service account (-compute@developer.gserviceaccount.com) is used.
usages Required. Usages when this configuration should be applied.
verbose Optional. If true, additional logging will be enabled when running builds in this execution environment.
workerPool 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.
Implementation
const TargetExecutionConfig({
this.artifactStorage,
this.defaultPool,
this.executionTimeout,
this.privatePool,
this.serviceAccount,
required this.usages,
this.verbose,
this.workerPool,
});