Cloud Build v1 API - Class BuildOptions.Types.PoolOption (2.22.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

ResolvedWorkerRelease

public string ResolvedWorkerRelease { get; set; }

Output only. OUTPUT_ONLY. Worker release resolved from the release channel.

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

WorkerRelease

public string WorkerRelease { get; set; }

Output only. OUTPUT_ONLY. The release or release channel used to run the Build. This is set to the same value as PrivatePoolV1Config.WorkerConfig.worker_release for the UI to easily access.

Property Value
Type Description
string