Cloud Build v1 API - Class CreateWorkerPoolRequest (2.2.0)

public sealed class CreateWorkerPoolRequest : IMessage<CreateWorkerPoolRequest>, IEquatable<CreateWorkerPoolRequest>, IDeepCloneable<CreateWorkerPoolRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Build v1 API class CreateWorkerPoolRequest.

Request to create a new WorkerPool.

Inheritance

Object > CreateWorkerPoolRequest

Namespace

Google.Cloud.CloudBuild.V1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

CreateWorkerPoolRequest()

public CreateWorkerPoolRequest()

CreateWorkerPoolRequest(CreateWorkerPoolRequest)

public CreateWorkerPoolRequest(CreateWorkerPoolRequest other)
Parameter
NameDescription
otherCreateWorkerPoolRequest

Properties

Parent

public string Parent { get; set; }

Required. The parent resource where this worker pool will be created. Format: projects/{project}/locations/{location}.

Property Value
TypeDescription
String

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName

ValidateOnly

public bool ValidateOnly { get; set; }

If set, validate the request and preview the response, but do not actually post it.

Property Value
TypeDescription
Boolean

WorkerPool

public WorkerPool WorkerPool { get; set; }

Required. WorkerPool resource to create.

Property Value
TypeDescription
WorkerPool

WorkerPoolId

public string WorkerPoolId { get; set; }

Required. Immutable. The ID to use for the WorkerPool, which will become the final component of the resource name.

This value should be 1-63 characters, and valid characters are /[a-z][0-9]-/.

Property Value
TypeDescription
String