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
.
Implements
IMessageDeleteWorkerPoolRequest, IEquatableDeleteWorkerPoolRequest, IDeepCloneableDeleteWorkerPoolRequest, IBufferMessage, IMessageNamespace
GoogleCloudGoogle.Cloud.CloudBuildV1Assembly
Google.Cloud.CloudBuild.V1.dll
Constructors
DeleteWorkerPoolRequest()
public DeleteWorkerPoolRequest()
DeleteWorkerPoolRequest(DeleteWorkerPoolRequest)
public DeleteWorkerPoolRequest(DeleteWorkerPoolRequest other)
Parameter | |
---|---|
Name | Description |
other | DeleteWorkerPoolRequest |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
Required. The name of the WorkerPool
to delete.
Format:
projects/{project}/locations/{location}/workerPools/{workerPool}
.
Property Value | |
---|---|
Type | Description |
string |
ValidateOnly
public bool ValidateOnly { get; set; }
If set, validate the request and preview the response, but do not actually post it.
Property Value | |
---|---|
Type | Description |
bool |
WorkerPoolName
public WorkerPoolName WorkerPoolName { get; set; }
WorkerPoolName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
WorkerPoolName |