Google Cloud Build V1 Client - Class GetWorkerPoolRequest (0.12.0)

Reference documentation and code samples for the Google Cloud Build V1 Client class GetWorkerPoolRequest.

Request to get a WorkerPool with the specified name.

Generated from protobuf message google.devtools.cloudbuild.v1.GetWorkerPoolRequest

Namespace

Google \ Cloud \ Build \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

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

getName

Required. The name of the WorkerPool to retrieve.

Format: projects/{project}/locations/{location}/workerPools/{workerPool}.

Returns
TypeDescription
string

setName

Required. The name of the WorkerPool to retrieve.

Format: projects/{project}/locations/{location}/workerPools/{workerPool}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this