public class CloudBuild.Projects.Locations.WorkerPools extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
CloudBuild.Projects.Locations.WorkerPools.Create |
class |
CloudBuild.Projects.Locations.WorkerPools.Delete |
class |
CloudBuild.Projects.Locations.WorkerPools.Get |
class |
CloudBuild.Projects.Locations.WorkerPools.List |
class |
CloudBuild.Projects.Locations.WorkerPools.Patch |
| Constructor and Description |
|---|
WorkerPools() |
| Modifier and Type | Method and Description |
|---|---|
CloudBuild.Projects.Locations.WorkerPools.Create |
create(String parent,
WorkerPool content)
Creates a `WorkerPool`.
|
CloudBuild.Projects.Locations.WorkerPools.Delete |
delete(String name)
Deletes a `WorkerPool`.
|
CloudBuild.Projects.Locations.WorkerPools.Get |
get(String name)
Returns details of a `WorkerPool`.
|
CloudBuild.Projects.Locations.WorkerPools.List |
list(String parent)
Lists `WorkerPool`s.
|
CloudBuild.Projects.Locations.WorkerPools.Patch |
patch(String name,
WorkerPool content)
Updates a `WorkerPool`.
|
public CloudBuild.Projects.Locations.WorkerPools.Create create(String parent, WorkerPool content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent resource where this worker pool will be created. Format:
`projects/{project}/locations/{location}`.content - the WorkerPoolIOExceptionpublic CloudBuild.Projects.Locations.WorkerPools.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the `WorkerPool` to delete. Format:
`projects/{project}/locations/{location}/workerPools/{workerPool}`.IOExceptionpublic CloudBuild.Projects.Locations.WorkerPools.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the `WorkerPool` to retrieve. Format:
`projects/{project}/locations/{location}/workerPools/{workerPool}`.IOExceptionpublic CloudBuild.Projects.Locations.WorkerPools.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent of the collection of `WorkerPools`. Format:
`projects/{project}/locations/{location}`.IOExceptionpublic CloudBuild.Projects.Locations.WorkerPools.Patch patch(String name, WorkerPool content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Output only. The resource name of the `WorkerPool`, with format
`projects/{project}/locations/{location}/workerPools/{worker_pool}`. The value of
`{worker_pool}` is provided by `worker_pool_id` in `CreateWorkerPool` request and the
value of `{location}` is determined by the endpoint accessed.content - the WorkerPoolIOExceptionCopyright © 2011–2024 Google. All rights reserved.