ExecutionConfigResponse constructor
- required Input<
String> artifactStorage, - required Input<
DefaultPoolResponse> defaultPool, - required Input<
String> executionTimeout, - required Input<
PrivatePoolResponse> privatePool, - required Input<
String> serviceAccount, - required Input<
List< usages,String> > - required Input<
String> workerPool,
Creates a new ExecutionConfigResponse.
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 ExecutionConfigResponse({
required this.artifactStorage,
required this.defaultPool,
required this.executionTimeout,
required this.privatePool,
required this.serviceAccount,
required this.usages,
required this.workerPool,
});