ExecutionConfig constructor

const ExecutionConfig({
  1. Input<String>? artifactStorage,
  2. Input<DefaultPool>? defaultPool,
  3. Input<String>? executionTimeout,
  4. Input<PrivatePool>? privatePool,
  5. Input<String>? serviceAccount,
  6. required Input<List<ExecutionConfigUsagesItem>> usages,
  7. 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,
});