public sealed class PoolOption : IMessage<BuildOptions.Types.PoolOption>, IEquatable<BuildOptions.Types.PoolOption>, IDeepCloneable<BuildOptions.Types.PoolOption>, IBufferMessage, IMessage
Reference 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
IMessage<BuildOptions.Types.PoolOption>, IEquatable<BuildOptions.Types.PoolOption>, IDeepCloneable<BuildOptions.Types.PoolOption>, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V1Assembly
Google.Cloud.CloudBuild.V1.dll
Constructors
PoolOption()
public PoolOption()
PoolOption(BuildOptions.Types.PoolOption)
public PoolOption(BuildOptions.Types.PoolOption other)
Parameter | |
---|---|
Name | Description |
other | BuildOptions.Types.PoolOption |
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 |