ExecutionConfig constructor
- Input<
String> ? artifactStorage, - Input<
DefaultPool> ? defaultPool, - Input<
String> ? executionTimeout, - Input<
PrivatePool> ? privatePool, - Input<
String> ? serviceAccount, - required Input<
List< usages,ExecutionConfigUsagesItem> > - Input<
String> ? workerPool,
Creates a new ExecutionConfig.
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 Usages when this configuration should be applied.
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 ExecutionConfig({
this.artifactStorage,
this.defaultPool,
this.executionTimeout,
this.privatePool,
this.serviceAccount,
required this.usages,
this.workerPool,
});