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
IMessage<ExecutionConfig>, IEquatable<ExecutionConfig>, IDeepCloneable<ExecutionConfig>, 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 |
ExecutionConfig.ExecutionEnvironmentOneofCase |
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 |
RepeatedField<ExecutionConfig.Types.ExecutionEnvironmentUsage> |
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 |