Cloud Build v1 API - Class BuildOptions.Types.PoolOption (2.1.0)

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.

Inheritance

Object > BuildOptions.Types.PoolOption

Namespace

Google.Cloud.CloudBuild.V1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

PoolOption()

public PoolOption()

PoolOption(BuildOptions.Types.PoolOption)

public PoolOption(BuildOptions.Types.PoolOption other)
Parameter
NameDescription
otherBuildOptions.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
TypeDescription
String