public sealed class BuildOptions.Types.PoolOption : IMessage<BuildOptions.Types.PoolOption>, IEquatable<BuildOptions.Types.PoolOption>, IDeepCloneable<BuildOptions.Types.PoolOption>, IBufferMessage, IMessageReference documentation and code samples for the Cloud Build v1 API class BuildOptions.Types.PoolOption.
Details about how a build should be executed on a WorkerPool.
See running builds in a private pool for more information.
Implements
IMessageBuildOptionsTypesPoolOption, IEquatableBuildOptionsTypesPoolOption, IDeepCloneableBuildOptionsTypesPoolOption, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V1Assembly
Google.Cloud.CloudBuild.V1.dll
Constructors
PoolOption()
public PoolOption()PoolOption(PoolOption)
public PoolOption(BuildOptions.Types.PoolOption other)| Parameter | |
|---|---|
| Name | Description |
other |
BuildOptionsTypesPoolOption |
Properties
Name
public string Name { get; set; }The WorkerPool resource to execute the build on.
You must have cloudbuild.workerpools.use on the project hosting the
WorkerPool.
Format projects/{project}/locations/{location}/workerPools/{workerPoolId}
| Property Value | |
|---|---|
| Type | Description |
string |
|
WorkerPoolName
public WorkerPoolName WorkerPoolName { get; set; }WorkerPoolName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
WorkerPoolName |
|