TargetExecutionConfig class
Constructors
-
TargetExecutionConfig({Input<String?>? artifactStorage, Input<TargetExecutionConfigDefaultPool?>? defaultPool, Input<String?>? executionTimeout, Input<TargetExecutionConfigPrivatePool?>? privatePool, Input<String?>? serviceAccount, required Input<List<String>> usages, 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.
const
-
TargetExecutionConfig.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
artifactStorage
→ Input<String?>?
-
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.
final
-
defaultPool
→ Input<TargetExecutionConfigDefaultPool?>?
-
Optional. Use default Cloud Build pool.
final
-
executionTimeout
→ Input<String?>?
-
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.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
privatePool
→ Input<TargetExecutionConfigPrivatePool?>?
-
Optional. Use private Cloud Build pool.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
serviceAccount
→ Input<String?>?
-
Optional. Google service account to use for execution. If unspecified, the project execution service account (-compute@developer.gserviceaccount.com) is used.
final
-
usages
→ Input<List<String>>
-
Required. Usages when this configuration should be applied.
final
-
verbose
→ Input<bool?>?
-
Optional. If true, additional logging will be enabled when running builds in this execution environment.
final
-
workerPool
→ Input<String?>?
-
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.
final