Cloud Build V1 API - Class Google::Cloud::Build::V1::DeleteWorkerPoolRequest (v0.27.1)

Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::DeleteWorkerPoolRequest.

Request to delete a WorkerPool.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allow_missing

def allow_missing() -> ::Boolean
Returns
  • (::Boolean) — If set to true, and the WorkerPool is not found, the request will succeed but no action will be taken on the server.

#allow_missing=

def allow_missing=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If set to true, and the WorkerPool is not found, the request will succeed but no action will be taken on the server.
Returns
  • (::Boolean) — If set to true, and the WorkerPool is not found, the request will succeed but no action will be taken on the server.

#etag

def etag() -> ::String
Returns
  • (::String) — Optional. If provided, it must match the server's etag on the workerpool for the request to be processed.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::String) — Optional. If provided, it must match the server's etag on the workerpool for the request to be processed.
Returns
  • (::String) — Optional. If provided, it must match the server's etag on the workerpool for the request to be processed.

#name

def name() -> ::String
Returns
  • (::String) — Required. The name of the WorkerPool to delete. Format: projects/{project}/locations/{location}/workerPools/{workerPool}.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the WorkerPool to delete. Format: projects/{project}/locations/{location}/workerPools/{workerPool}.
Returns
  • (::String) — Required. The name of the WorkerPool to delete. Format: projects/{project}/locations/{location}/workerPools/{workerPool}.

#validate_only

def validate_only() -> ::Boolean
Returns
  • (::Boolean) — If set, validate the request and preview the response, but do not actually post it.

#validate_only=

def validate_only=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If set, validate the request and preview the response, but do not actually post it.
Returns
  • (::Boolean) — If set, validate the request and preview the response, but do not actually post it.