public class CloudRun.Projects.Locations.WorkerPools extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
CloudRun.Projects.Locations.WorkerPools.Create |
class |
CloudRun.Projects.Locations.WorkerPools.Delete |
class |
CloudRun.Projects.Locations.WorkerPools.Get |
class |
CloudRun.Projects.Locations.WorkerPools.GetIamPolicy |
class |
CloudRun.Projects.Locations.WorkerPools.List |
class |
CloudRun.Projects.Locations.WorkerPools.Patch |
class |
CloudRun.Projects.Locations.WorkerPools.Revisions
The "revisions" collection of methods.
|
class |
CloudRun.Projects.Locations.WorkerPools.SetIamPolicy |
class |
CloudRun.Projects.Locations.WorkerPools.TestIamPermissions |
| Constructor and Description |
|---|
WorkerPools() |
public CloudRun.Projects.Locations.WorkerPools.Create create(String parent, GoogleCloudRunV2WorkerPool content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The location and project in which this worker pool should be created. Format:
`projects/{project}/locations/{location}`, where `{project}` can be project id or number.
Only lowercase characters, digits, and hyphens.content - the GoogleCloudRunV2WorkerPoolIOExceptionpublic CloudRun.Projects.Locations.WorkerPools.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The full name of the WorkerPool. Format:
`projects/{project}/locations/{location}/workerPools/{worker_pool}`, where `{project}` can
be project id or number.IOExceptionpublic CloudRun.Projects.Locations.WorkerPools.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The full name of the WorkerPool. Format:
`projects/{project}/locations/{location}/workerPools/{worker_pool}`, where `{project}` can
be project id or number.IOExceptionpublic CloudRun.Projects.Locations.WorkerPools.GetIamPolicy getIamPolicy(String resource) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resource - REQUIRED: The resource for which the policy is being requested. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.IOExceptionpublic CloudRun.Projects.Locations.WorkerPools.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The location and project to list resources on. Location must be a valid Google Cloud
region, and cannot be the "-" wildcard. Format: `projects/{project}/locations/{location}`,
where `{project}` can be project id or number.IOExceptionpublic CloudRun.Projects.Locations.WorkerPools.Patch patch(String name, GoogleCloudRunV2WorkerPool content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The fully qualified name of this WorkerPool. In CreateWorkerPoolRequest, this field is ignored, and
instead composed from CreateWorkerPoolRequest.parent and
CreateWorkerPoolRequest.worker_id. Format:
`projects/{project}/locations/{location}/workerPools/{worker_id}`content - the GoogleCloudRunV2WorkerPoolIOExceptionpublic CloudRun.Projects.Locations.WorkerPools.SetIamPolicy setIamPolicy(String resource, GoogleIamV1SetIamPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resource - REQUIRED: The resource for which the policy is being specified. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.content - the GoogleIamV1SetIamPolicyRequestIOExceptionpublic CloudRun.Projects.Locations.WorkerPools.TestIamPermissions testIamPermissions(String resource, GoogleIamV1TestIamPermissionsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resource - REQUIRED: The resource for which the policy detail is being requested. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.content - the GoogleIamV1TestIamPermissionsRequestIOExceptionpublic CloudRun.Projects.Locations.WorkerPools.Revisions revisions()
The typical use is:
CloudRun run = new CloudRun(...);CloudRun.Revisions.List request = run.revisions().list(parameters ...)
Copyright © 2011–2026 Google. All rights reserved.