Cloud Build v1 API - Class DeleteWorkerPoolRequest (2.4.0)

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

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

Request to delete a WorkerPool.

Inheritance

object > DeleteWorkerPoolRequest

Namespace

GoogleCloudGoogle.Cloud.CloudBuildV1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

DeleteWorkerPoolRequest()

public DeleteWorkerPoolRequest()

DeleteWorkerPoolRequest(DeleteWorkerPoolRequest)

public DeleteWorkerPoolRequest(DeleteWorkerPoolRequest other)
Parameter
NameDescription
otherDeleteWorkerPoolRequest

Properties

AllowMissing

public bool AllowMissing { get; set; }

If set to true, and the WorkerPool is not found, the request will succeed but no action will be taken on the server.

Property Value
TypeDescription
bool

Etag

public string Etag { get; set; }

Optional. If this is provided, it must match the server's etag on the workerpool for the request to be processed.

Property Value
TypeDescription
string

Name

public string Name { get; set; }

Required. The name of the WorkerPool to delete. Format: projects/{project}/locations/{location}/workerPools/{workerPool}.

Property Value
TypeDescription
string

ValidateOnly

public bool ValidateOnly { get; set; }

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

Property Value
TypeDescription
bool

WorkerPoolName

public WorkerPoolName WorkerPoolName { get; set; }

WorkerPoolName-typed view over the Name resource name property.

Property Value
TypeDescription
WorkerPoolName