public sealed class ExecutionConfig : IMessage<ExecutionConfig>, IEquatable<ExecutionConfig>, IDeepCloneable<ExecutionConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Deploy v1 API class ExecutionConfig.
Configuration of the environment to use when calling Skaffold.
Implements
IMessageExecutionConfig, IEquatableExecutionConfig, IDeepCloneableExecutionConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Deploy.V1Assembly
Google.Cloud.Deploy.V1.dll
Constructors
ExecutionConfig()
public ExecutionConfig()
ExecutionConfig(ExecutionConfig)
public ExecutionConfig(ExecutionConfig other)
Parameter | |
---|---|
Name | Description |
other |
ExecutionConfig |
Properties
ArtifactStorage
public string ArtifactStorage { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
DefaultPool
public DefaultPool DefaultPool { get; set; }
Optional. Use default Cloud Build pool.
Property Value | |
---|---|
Type | Description |
DefaultPool |
ExecutionEnvironmentCase
public ExecutionConfig.ExecutionEnvironmentOneofCase ExecutionEnvironmentCase { get; }
Property Value | |
---|---|
Type | Description |
ExecutionConfigExecutionEnvironmentOneofCase |
ExecutionTimeout
public Duration ExecutionTimeout { get; set; }
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.
Property Value | |
---|---|
Type | Description |
Duration |
PrivatePool
public PrivatePool PrivatePool { get; set; }
Optional. Use private Cloud Build pool.
Property Value | |
---|---|
Type | Description |
PrivatePool |
ServiceAccount
public string ServiceAccount { get; set; }
Optional. Google service account to use for execution. If unspecified, the project execution service account (<PROJECT_NUMBER>-compute@developer.gserviceaccount.com) is used.
Property Value | |
---|---|
Type | Description |
string |
Usages
public RepeatedField<ExecutionConfig.Types.ExecutionEnvironmentUsage> Usages { get; }
Required. Usages when this configuration should be applied.
Property Value | |
---|---|
Type | Description |
RepeatedFieldExecutionConfigTypesExecutionEnvironmentUsage |
Verbose
public bool Verbose { get; set; }
Optional. If true, additional logging will be enabled when running builds in this execution environment.
Property Value | |
---|---|
Type | Description |
bool |
WorkerPool
public string WorkerPool { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
WorkerPoolAsWorkerPoolName
public WorkerPoolName WorkerPoolAsWorkerPoolName { get; set; }
WorkerPoolName-typed view over the WorkerPool resource name property.
Property Value | |
---|---|
Type | Description |
WorkerPoolName |