public class Iam.Locations.WorkforcePools extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Iam.Locations.WorkforcePools.Create |
class |
Iam.Locations.WorkforcePools.Delete |
class |
Iam.Locations.WorkforcePools.Get |
class |
Iam.Locations.WorkforcePools.GetIamPolicy |
class |
Iam.Locations.WorkforcePools.List |
class |
Iam.Locations.WorkforcePools.Operations
The "operations" collection of methods.
|
class |
Iam.Locations.WorkforcePools.Patch |
class |
Iam.Locations.WorkforcePools.Providers
The "providers" collection of methods.
|
class |
Iam.Locations.WorkforcePools.SetIamPolicy |
class |
Iam.Locations.WorkforcePools.Subjects
The "subjects" collection of methods.
|
class |
Iam.Locations.WorkforcePools.TestIamPermissions |
class |
Iam.Locations.WorkforcePools.Undelete |
| Constructor and Description |
|---|
WorkforcePools() |
| Modifier and Type | Method and Description |
|---|---|
Iam.Locations.WorkforcePools.Create |
create(String location,
WorkforcePool content)
Creates a new WorkforcePool.
|
Iam.Locations.WorkforcePools.Delete |
delete(String name)
Deletes a WorkforcePool.
|
Iam.Locations.WorkforcePools.Get |
get(String name)
Gets an individual WorkforcePool.
|
Iam.Locations.WorkforcePools.GetIamPolicy |
getIamPolicy(String resource,
GetIamPolicyRequest content)
Gets IAM policies on a WorkforcePool.
|
Iam.Locations.WorkforcePools.List |
list(String location)
Lists all non-deleted WorkforcePools under the specified parent.
|
Iam.Locations.WorkforcePools.Operations |
operations()
An accessor for creating requests from the Operations collection.
|
Iam.Locations.WorkforcePools.Patch |
patch(String name,
WorkforcePool content)
Updates an existing WorkforcePool.
|
Iam.Locations.WorkforcePools.Providers |
providers()
An accessor for creating requests from the Providers collection.
|
Iam.Locations.WorkforcePools.SetIamPolicy |
setIamPolicy(String resource,
SetIamPolicyRequest content)
Sets IAM policies on a WorkforcePool.
|
Iam.Locations.WorkforcePools.Subjects |
subjects()
An accessor for creating requests from the Subjects collection.
|
Iam.Locations.WorkforcePools.TestIamPermissions |
testIamPermissions(String resource,
TestIamPermissionsRequest content)
Returns the caller's permissions on the WorkforcePool.
|
Iam.Locations.WorkforcePools.Undelete |
undelete(String name,
UndeleteWorkforcePoolRequest content)
Undeletes a WorkforcePool, as long as it was deleted fewer than 30 days ago.
|
public Iam.Locations.WorkforcePools.Create create(String location, WorkforcePool content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.location - The location of the pool to create. Format: `locations/{location}`.content - the WorkforcePoolIOExceptionpublic Iam.Locations.WorkforcePools.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the pool to delete. Format:
`locations/{location}/workforcePools/{workforce_pool_id}`IOExceptionpublic Iam.Locations.WorkforcePools.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the pool to retrieve. Format:
`locations/{location}/workforcePools/{workforce_pool_id}`IOExceptionpublic Iam.Locations.WorkforcePools.GetIamPolicy getIamPolicy(String resource, GetIamPolicyRequest content) 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.content - the GetIamPolicyRequestIOExceptionpublic Iam.Locations.WorkforcePools.List list(String location) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.location - The location of the pool. Format: `locations/{location}`.IOExceptionpublic Iam.Locations.WorkforcePools.Patch patch(String name, WorkforcePool content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Output only. The resource name of the pool. Format:
`locations/{location}/workforcePools/{workforce_pool_id}`content - the WorkforcePoolIOExceptionpublic Iam.Locations.WorkforcePools.SetIamPolicy setIamPolicy(String resource, SetIamPolicyRequest 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 SetIamPolicyRequestIOExceptionpublic Iam.Locations.WorkforcePools.TestIamPermissions testIamPermissions(String resource, TestIamPermissionsRequest 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 TestIamPermissionsRequestIOExceptionpublic Iam.Locations.WorkforcePools.Undelete undelete(String name, UndeleteWorkforcePoolRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the pool to undelete. Format:
`locations/{location}/workforcePools/{workforce_pool_id}`content - the UndeleteWorkforcePoolRequestIOExceptionpublic Iam.Locations.WorkforcePools.Operations operations()
The typical use is:
Iam iam = new Iam(...);Iam.Operations.List request = iam.operations().list(parameters ...)
public Iam.Locations.WorkforcePools.Providers providers()
The typical use is:
Iam iam = new Iam(...);Iam.Providers.List request = iam.providers().list(parameters ...)
public Iam.Locations.WorkforcePools.Subjects subjects()
The typical use is:
Iam iam = new Iam(...);Iam.Subjects.List request = iam.subjects().list(parameters ...)
Copyright © 2011–2023 Google. All rights reserved.