Google Cloud Build V1 Client - Class GetWorkerPoolRequest (0.4.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

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

The field will contain name of the resource requested, for example: "projects/project-1/workerPools/workerpool-name"

getName

The field will contain name of the resource requested, for example: "projects/project-1/workerPools/workerpool-name"

Returns
Type Description
string

setName

The field will contain name of the resource requested, for example: "projects/project-1/workerPools/workerpool-name"

Parameter
Name Description
var string
Returns
Type Description
$this