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

public sealed class BuildOptions.Types.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(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