pub struct LocationMethods<'a, C>where
C: 'a,{ /* private fields */ }Expand description
A builder providing access to all methods supported on location resources.
It is not used directly, but through the Iam hub.
§Example
Instantiate a resource builder
extern crate hyper;
extern crate hyper_rustls;
extern crate google_iam1 as iam1;
use iam1::{Iam, FieldMask, hyper_rustls, hyper_util, yup_oauth2};
let secret: yup_oauth2::ApplicationSecret = Default::default();
let connector = hyper_rustls::HttpsConnectorBuilder::new()
.with_native_roots()
.unwrap()
.https_only()
.enable_http2()
.build();
let executor = hyper_util::rt::TokioExecutor::new();
let auth = yup_oauth2::InstalledFlowAuthenticator::with_client(
secret,
yup_oauth2::InstalledFlowReturnMethod::HTTPRedirect,
yup_oauth2::client::CustomHyperClientBuilder::from(
hyper_util::client::legacy::Client::builder(executor).build(connector),
),
).build().await.unwrap();
let client = hyper_util::client::legacy::Client::builder(
hyper_util::rt::TokioExecutor::new()
)
.build(
hyper_rustls::HttpsConnectorBuilder::new()
.with_native_roots()
.unwrap()
.https_or_http()
.enable_http2()
.build()
);
let mut hub = Iam::new(client, auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `workforce_pools_create(...)`, `workforce_pools_delete(...)`, `workforce_pools_get(...)`, `workforce_pools_get_iam_policy(...)`, `workforce_pools_list(...)`, `workforce_pools_operations_get(...)`, `workforce_pools_patch(...)`, `workforce_pools_providers_create(...)`, `workforce_pools_providers_delete(...)`, `workforce_pools_providers_get(...)`, `workforce_pools_providers_keys_create(...)`, `workforce_pools_providers_keys_delete(...)`, `workforce_pools_providers_keys_get(...)`, `workforce_pools_providers_keys_list(...)`, `workforce_pools_providers_keys_operations_get(...)`, `workforce_pools_providers_keys_undelete(...)`, `workforce_pools_providers_list(...)`, `workforce_pools_providers_operations_get(...)`, `workforce_pools_providers_patch(...)`, `workforce_pools_providers_scim_tenants_create(...)`, `workforce_pools_providers_scim_tenants_delete(...)`, `workforce_pools_providers_scim_tenants_get(...)`, `workforce_pools_providers_scim_tenants_list(...)`, `workforce_pools_providers_scim_tenants_patch(...)`, `workforce_pools_providers_scim_tenants_tokens_create(...)`, `workforce_pools_providers_scim_tenants_tokens_delete(...)`, `workforce_pools_providers_scim_tenants_tokens_get(...)`, `workforce_pools_providers_scim_tenants_tokens_list(...)`, `workforce_pools_providers_scim_tenants_tokens_patch(...)`, `workforce_pools_providers_scim_tenants_tokens_undelete(...)`, `workforce_pools_providers_scim_tenants_undelete(...)`, `workforce_pools_providers_undelete(...)`, `workforce_pools_set_iam_policy(...)`, `workforce_pools_subjects_delete(...)`, `workforce_pools_subjects_operations_get(...)`, `workforce_pools_subjects_undelete(...)`, `workforce_pools_test_iam_permissions(...)` and `workforce_pools_undelete(...)`
// to build up your call.
let rb = hub.locations();Implementations§
Source§impl<'a, C> LocationMethods<'a, C>
impl<'a, C> LocationMethods<'a, C>
Sourcepub fn workforce_pools_operations_get(
&self,
name: &str,
) -> LocationWorkforcePoolOperationGetCall<'a, C>
pub fn workforce_pools_operations_get( &self, name: &str, ) -> LocationWorkforcePoolOperationGetCall<'a, C>
Create a builder to help you perform the following task:
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
§Arguments
name- The name of the operation resource.
Sourcepub fn workforce_pools_providers_keys_operations_get(
&self,
name: &str,
) -> LocationWorkforcePoolProviderKeyOperationGetCall<'a, C>
pub fn workforce_pools_providers_keys_operations_get( &self, name: &str, ) -> LocationWorkforcePoolProviderKeyOperationGetCall<'a, C>
Create a builder to help you perform the following task:
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
§Arguments
name- The name of the operation resource.
Sourcepub fn workforce_pools_providers_keys_create(
&self,
request: WorkforcePoolProviderKey,
parent: &str,
) -> LocationWorkforcePoolProviderKeyCreateCall<'a, C>
pub fn workforce_pools_providers_keys_create( &self, request: WorkforcePoolProviderKey, parent: &str, ) -> LocationWorkforcePoolProviderKeyCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a new WorkforcePoolProviderKey in a WorkforcePoolProvider.
§Arguments
request- No description provided.parent- Required. The provider to create this key in.
Sourcepub fn workforce_pools_providers_keys_delete(
&self,
name: &str,
) -> LocationWorkforcePoolProviderKeyDeleteCall<'a, C>
pub fn workforce_pools_providers_keys_delete( &self, name: &str, ) -> LocationWorkforcePoolProviderKeyDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes a WorkforcePoolProviderKey. You can undelete a key for 30 days. After 30 days, deletion is permanent.
§Arguments
name- Required. The name of the key to delete.
Sourcepub fn workforce_pools_providers_keys_get(
&self,
name: &str,
) -> LocationWorkforcePoolProviderKeyGetCall<'a, C>
pub fn workforce_pools_providers_keys_get( &self, name: &str, ) -> LocationWorkforcePoolProviderKeyGetCall<'a, C>
Create a builder to help you perform the following task:
Gets a WorkforcePoolProviderKey.
§Arguments
name- Required. The name of the key to retrieve.
Sourcepub fn workforce_pools_providers_keys_list(
&self,
parent: &str,
) -> LocationWorkforcePoolProviderKeyListCall<'a, C>
pub fn workforce_pools_providers_keys_list( &self, parent: &str, ) -> LocationWorkforcePoolProviderKeyListCall<'a, C>
Create a builder to help you perform the following task:
Lists all non-deleted WorkforcePoolProviderKeys in a WorkforcePoolProvider. If show_deleted is set to true, then deleted keys are also listed.
§Arguments
parent- Required. The provider resource to list encryption keys for. Format:locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}
Sourcepub fn workforce_pools_providers_keys_undelete(
&self,
request: UndeleteWorkforcePoolProviderKeyRequest,
name: &str,
) -> LocationWorkforcePoolProviderKeyUndeleteCall<'a, C>
pub fn workforce_pools_providers_keys_undelete( &self, request: UndeleteWorkforcePoolProviderKeyRequest, name: &str, ) -> LocationWorkforcePoolProviderKeyUndeleteCall<'a, C>
Create a builder to help you perform the following task:
Undeletes a WorkforcePoolProviderKey, as long as it was deleted fewer than 30 days ago.
§Arguments
request- No description provided.name- Required. The name of the key to undelete.
Sourcepub fn workforce_pools_providers_operations_get(
&self,
name: &str,
) -> LocationWorkforcePoolProviderOperationGetCall<'a, C>
pub fn workforce_pools_providers_operations_get( &self, name: &str, ) -> LocationWorkforcePoolProviderOperationGetCall<'a, C>
Create a builder to help you perform the following task:
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
§Arguments
name- The name of the operation resource.
Sourcepub fn workforce_pools_providers_scim_tenants_tokens_create(
&self,
request: WorkforcePoolProviderScimToken,
parent: &str,
) -> LocationWorkforcePoolProviderScimTenantTokenCreateCall<'a, C>
pub fn workforce_pools_providers_scim_tenants_tokens_create( &self, request: WorkforcePoolProviderScimToken, parent: &str, ) -> LocationWorkforcePoolProviderScimTenantTokenCreateCall<'a, C>
Create a builder to help you perform the following task:
Gemini Enterprise only. Creates a new WorkforcePoolProviderScimToken in a WorkforcePoolProviderScimTenant. You cannot reuse the name of a deleted SCIM token until 30 days after deletion.
§Arguments
request- No description provided.parent- Required. Gemini Enterprise only. The parent tenant to create SCIM token. Format: ‘locations/{location}/workforcePools/{workforce_pool}/providers/{provider}/scimTenants/{scim_tenant}’
Sourcepub fn workforce_pools_providers_scim_tenants_tokens_delete(
&self,
name: &str,
) -> LocationWorkforcePoolProviderScimTenantTokenDeleteCall<'a, C>
pub fn workforce_pools_providers_scim_tenants_tokens_delete( &self, name: &str, ) -> LocationWorkforcePoolProviderScimTenantTokenDeleteCall<'a, C>
Create a builder to help you perform the following task:
Gemini Enterprise only. Deletes a WorkforcePoolProviderScimToken. You can undelete a SCIM token for 30 days. After 30 days, the SCIM token is permanently deleted. You cannot update deleted SCIM tokens, however, you can view and list them.
§Arguments
name- Required. Gemini Enterprise only. The name of the SCIM token to delete. Format:locations/{location}/workforcePools/{workforce_pool}/providers/{provider}/scimTenants/{scim_tenant}/tokens/{token}
Sourcepub fn workforce_pools_providers_scim_tenants_tokens_get(
&self,
name: &str,
) -> LocationWorkforcePoolProviderScimTenantTokenGetCall<'a, C>
pub fn workforce_pools_providers_scim_tenants_tokens_get( &self, name: &str, ) -> LocationWorkforcePoolProviderScimTenantTokenGetCall<'a, C>
Create a builder to help you perform the following task:
Gemini Enterprise only. Gets an individual WorkforcePoolProviderScimToken.
§Arguments
name- Required. Gemini Enterprise only. The name of the SCIM token to retrieve. Format:locations/{location}/workforcePools/{workforce_pool}/providers/{provider}/scimTenants/{scim_tenant}/tokens/{token}
Sourcepub fn workforce_pools_providers_scim_tenants_tokens_list(
&self,
parent: &str,
) -> LocationWorkforcePoolProviderScimTenantTokenListCall<'a, C>
pub fn workforce_pools_providers_scim_tenants_tokens_list( &self, parent: &str, ) -> LocationWorkforcePoolProviderScimTenantTokenListCall<'a, C>
Create a builder to help you perform the following task:
Gemini Enterprise only. Lists all non-deleted WorkforcePoolProviderScimTokenss in a WorkforcePoolProviderScimTenant. If show_deleted is set to true, then deleted SCIM tokens are also listed.
§Arguments
parent- Required. Gemini Enterprise only. The parent to list SCIM tokens. Format: ‘locations/{location}/workforcePools/{workforce_pool}/providers/{provider}/scimTenants/{scim_tenant}’
Sourcepub fn workforce_pools_providers_scim_tenants_tokens_patch(
&self,
request: WorkforcePoolProviderScimToken,
name: &str,
) -> LocationWorkforcePoolProviderScimTenantTokenPatchCall<'a, C>
pub fn workforce_pools_providers_scim_tenants_tokens_patch( &self, request: WorkforcePoolProviderScimToken, name: &str, ) -> LocationWorkforcePoolProviderScimTenantTokenPatchCall<'a, C>
Create a builder to help you perform the following task:
Gemini Enterprise only. Updates an existing WorkforcePoolProviderScimToken.
§Arguments
request- No description provided.name- Identifier. Gemini Enterprise only. The resource name of the SCIM Token. Format:locations/{location}/workforcePools/{workforce_pool}/providers/ {workforce_pool_provider}/scimTenants/{scim_tenant}/tokens/{token}
Sourcepub fn workforce_pools_providers_scim_tenants_tokens_undelete(
&self,
request: UndeleteWorkforcePoolProviderScimTokenRequest,
name: &str,
) -> LocationWorkforcePoolProviderScimTenantTokenUndeleteCall<'a, C>
pub fn workforce_pools_providers_scim_tenants_tokens_undelete( &self, request: UndeleteWorkforcePoolProviderScimTokenRequest, name: &str, ) -> LocationWorkforcePoolProviderScimTenantTokenUndeleteCall<'a, C>
Create a builder to help you perform the following task:
Gemini Enterprise only. Undeletes a WorkforcePoolProviderScimToken,that was deleted fewer than 30 days ago.
§Arguments
request- No description provided.name- Required. Gemini Enterprise only. The name of the SCIM token to undelete. Format:locations/{location}/workforcePools/{workforce_pool}/providers/{provider}/scimTenants/{scim_tenant}/tokens/{token}
Sourcepub fn workforce_pools_providers_scim_tenants_create(
&self,
request: WorkforcePoolProviderScimTenant,
parent: &str,
) -> LocationWorkforcePoolProviderScimTenantCreateCall<'a, C>
pub fn workforce_pools_providers_scim_tenants_create( &self, request: WorkforcePoolProviderScimTenant, parent: &str, ) -> LocationWorkforcePoolProviderScimTenantCreateCall<'a, C>
Create a builder to help you perform the following task:
Gemini Enterprise only. Creates a new WorkforcePoolProviderScimTenant in a WorkforcePoolProvider. You cannot reuse the name of a deleted SCIM tenant until 30 days after deletion.
§Arguments
request- No description provided.parent- Required. Gemini Enterprise only. The parent to create SCIM tenant. Format: ‘locations/{location}/workforcePools/{workforce_pool}/providers/{provider}’
Sourcepub fn workforce_pools_providers_scim_tenants_delete(
&self,
name: &str,
) -> LocationWorkforcePoolProviderScimTenantDeleteCall<'a, C>
pub fn workforce_pools_providers_scim_tenants_delete( &self, name: &str, ) -> LocationWorkforcePoolProviderScimTenantDeleteCall<'a, C>
Create a builder to help you perform the following task:
Gemini Enterprise only. Deletes a WorkforcePoolProviderScimTenant. You can undelete a SCIM tenant for 30 days. After 30 days, deletion is permanent. You cannot update deleted SCIM tenants. However, you can view and list them.
§Arguments
name- Required. Gemini Enterprise only. The name of the SCIM tenant to delete. Format:locations/{location}/workforcePools/{workforce_pool}/providers/{provider}/scimTenants/{scim_tenant}
Sourcepub fn workforce_pools_providers_scim_tenants_get(
&self,
name: &str,
) -> LocationWorkforcePoolProviderScimTenantGetCall<'a, C>
pub fn workforce_pools_providers_scim_tenants_get( &self, name: &str, ) -> LocationWorkforcePoolProviderScimTenantGetCall<'a, C>
Create a builder to help you perform the following task:
Gemini Enterprise only. Gets an individual WorkforcePoolProviderScimTenant.
§Arguments
name- Required. Gemini Enterprise only. The name of the SCIM tenant to retrieve. Format:locations/{location}/workforcePools/{workforce_pool}/providers/{provider}/scimTenants/{scim_tenant}
Sourcepub fn workforce_pools_providers_scim_tenants_list(
&self,
parent: &str,
) -> LocationWorkforcePoolProviderScimTenantListCall<'a, C>
pub fn workforce_pools_providers_scim_tenants_list( &self, parent: &str, ) -> LocationWorkforcePoolProviderScimTenantListCall<'a, C>
Create a builder to help you perform the following task:
Gemini Enterprise only. Lists all non-deleted WorkforcePoolProviderScimTenants in a WorkforcePoolProvider. If show_deleted is set to true, then deleted SCIM tenants are also listed.
§Arguments
parent- Required. Gemini Enterprise only. The parent to list SCIM tenants. Format: ‘locations/{location}/workforcePools/{workforce_pool}/providers/{provider}’
Sourcepub fn workforce_pools_providers_scim_tenants_patch(
&self,
request: WorkforcePoolProviderScimTenant,
name: &str,
) -> LocationWorkforcePoolProviderScimTenantPatchCall<'a, C>
pub fn workforce_pools_providers_scim_tenants_patch( &self, request: WorkforcePoolProviderScimTenant, name: &str, ) -> LocationWorkforcePoolProviderScimTenantPatchCall<'a, C>
Create a builder to help you perform the following task:
Gemini Enterprise only. Updates an existing WorkforcePoolProviderScimTenant.
§Arguments
request- No description provided.name- Identifier. Gemini Enterprise only. The resource name of the SCIM Tenant. Format:locations/{location}/workforcePools/{workforce_pool}/providers/ {workforce_pool_provider}/scimTenants/{scim_tenant}
Sourcepub fn workforce_pools_providers_scim_tenants_undelete(
&self,
request: UndeleteWorkforcePoolProviderScimTenantRequest,
name: &str,
) -> LocationWorkforcePoolProviderScimTenantUndeleteCall<'a, C>
pub fn workforce_pools_providers_scim_tenants_undelete( &self, request: UndeleteWorkforcePoolProviderScimTenantRequest, name: &str, ) -> LocationWorkforcePoolProviderScimTenantUndeleteCall<'a, C>
Create a builder to help you perform the following task:
Gemini Enterprise only. Undeletes a WorkforcePoolProviderScimTenant, that was deleted fewer than 30 days ago.
§Arguments
request- No description provided.name- Required. Gemini Enterprise only. The name of the SCIM tenant to undelete. Format:locations/{location}/workforcePools/{workforce_pool}/providers/{provider}/scimTenants/{scim_tenant}
Sourcepub fn workforce_pools_providers_create(
&self,
request: WorkforcePoolProvider,
parent: &str,
) -> LocationWorkforcePoolProviderCreateCall<'a, C>
pub fn workforce_pools_providers_create( &self, request: WorkforcePoolProvider, parent: &str, ) -> LocationWorkforcePoolProviderCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a new WorkforcePoolProvider in a WorkforcePool. You cannot reuse the name of a deleted provider until 30 days after deletion.
§Arguments
request- No description provided.parent- Required. The pool to create this provider in. Format:locations/{location}/workforcePools/{workforce_pool_id}
Sourcepub fn workforce_pools_providers_delete(
&self,
name: &str,
) -> LocationWorkforcePoolProviderDeleteCall<'a, C>
pub fn workforce_pools_providers_delete( &self, name: &str, ) -> LocationWorkforcePoolProviderDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes a WorkforcePoolProvider. Deleting a provider does not revoke credentials that have already been issued; they continue to grant access. You can undelete a provider for 30 days. After 30 days, deletion is permanent. You cannot update deleted providers. However, you can view and list them.
§Arguments
name- Required. The name of the provider to delete. Format:locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}
Sourcepub fn workforce_pools_providers_get(
&self,
name: &str,
) -> LocationWorkforcePoolProviderGetCall<'a, C>
pub fn workforce_pools_providers_get( &self, name: &str, ) -> LocationWorkforcePoolProviderGetCall<'a, C>
Create a builder to help you perform the following task:
Gets an individual WorkforcePoolProvider.
§Arguments
name- Required. The name of the provider to retrieve. Format:locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}
Sourcepub fn workforce_pools_providers_list(
&self,
parent: &str,
) -> LocationWorkforcePoolProviderListCall<'a, C>
pub fn workforce_pools_providers_list( &self, parent: &str, ) -> LocationWorkforcePoolProviderListCall<'a, C>
Create a builder to help you perform the following task:
Lists all non-deleted WorkforcePoolProviders in a WorkforcePool. If show_deleted is set to true, then deleted providers are also listed.
§Arguments
parent- Required. The pool to list providers for. Format:locations/{location}/workforcePools/{workforce_pool_id}
Sourcepub fn workforce_pools_providers_patch(
&self,
request: WorkforcePoolProvider,
name: &str,
) -> LocationWorkforcePoolProviderPatchCall<'a, C>
pub fn workforce_pools_providers_patch( &self, request: WorkforcePoolProvider, name: &str, ) -> LocationWorkforcePoolProviderPatchCall<'a, C>
Create a builder to help you perform the following task:
Updates an existing WorkforcePoolProvider.
§Arguments
request- No description provided.name- Identifier. The resource name of the provider. Format:locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}
Sourcepub fn workforce_pools_providers_undelete(
&self,
request: UndeleteWorkforcePoolProviderRequest,
name: &str,
) -> LocationWorkforcePoolProviderUndeleteCall<'a, C>
pub fn workforce_pools_providers_undelete( &self, request: UndeleteWorkforcePoolProviderRequest, name: &str, ) -> LocationWorkforcePoolProviderUndeleteCall<'a, C>
Create a builder to help you perform the following task:
Undeletes a WorkforcePoolProvider, as long as it was deleted fewer than 30 days ago.
§Arguments
request- No description provided.name- Required. The name of the provider to undelete. Format:locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}
Sourcepub fn workforce_pools_subjects_operations_get(
&self,
name: &str,
) -> LocationWorkforcePoolSubjectOperationGetCall<'a, C>
pub fn workforce_pools_subjects_operations_get( &self, name: &str, ) -> LocationWorkforcePoolSubjectOperationGetCall<'a, C>
Create a builder to help you perform the following task:
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
§Arguments
name- The name of the operation resource.
Sourcepub fn workforce_pools_subjects_delete(
&self,
name: &str,
) -> LocationWorkforcePoolSubjectDeleteCall<'a, C>
pub fn workforce_pools_subjects_delete( &self, name: &str, ) -> LocationWorkforcePoolSubjectDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes a WorkforcePoolSubject. Subject must not already be in a deleted state. A WorkforcePoolSubject is automatically created the first time an external credential is exchanged for a Google Cloud credential using a mapped google.subject attribute. There is no endpoint to manually create a WorkforcePoolSubject. For 30 days after a WorkforcePoolSubject is deleted, using the same google.subject attribute in token exchanges with Google Cloud STS fails. Call UndeleteWorkforcePoolSubject to undelete a WorkforcePoolSubject that has been deleted, within within 30 days of deleting it. After 30 days, the WorkforcePoolSubject is permanently deleted. At this point, a token exchange with Google Cloud STS that uses the same mapped google.subject attribute automatically creates a new WorkforcePoolSubject that is unrelated to the previously deleted WorkforcePoolSubject but has the same google.subject value.
§Arguments
name- Required. The resource name of the WorkforcePoolSubject. Special characters, like/and:, must be escaped, because all URLs need to conform to the “When to Escape and Unescape” section of RFC3986. Format:locations/{location}/workforcePools/{workforce_pool_id}/subjects/{subject_id}
Sourcepub fn workforce_pools_subjects_undelete(
&self,
request: UndeleteWorkforcePoolSubjectRequest,
name: &str,
) -> LocationWorkforcePoolSubjectUndeleteCall<'a, C>
pub fn workforce_pools_subjects_undelete( &self, request: UndeleteWorkforcePoolSubjectRequest, name: &str, ) -> LocationWorkforcePoolSubjectUndeleteCall<'a, C>
Create a builder to help you perform the following task:
Undeletes a WorkforcePoolSubject, as long as it was deleted fewer than 30 days ago.
§Arguments
request- No description provided.name- Required. The resource name of the WorkforcePoolSubject. Special characters, like/and:, must be escaped, because all URLs need to conform to the “When to Escape and Unescape” section of RFC3986. Format:locations/{location}/workforcePools/{workforce_pool_id}/subjects/{subject_id}
Sourcepub fn workforce_pools_create(
&self,
request: WorkforcePool,
location: &str,
) -> LocationWorkforcePoolCreateCall<'a, C>
pub fn workforce_pools_create( &self, request: WorkforcePool, location: &str, ) -> LocationWorkforcePoolCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a new WorkforcePool. You cannot reuse the name of a deleted pool until 30 days after deletion.
§Arguments
request- No description provided.location- Optional. The location of the pool to create. Format:locations/{location}.
Sourcepub fn workforce_pools_delete(
&self,
name: &str,
) -> LocationWorkforcePoolDeleteCall<'a, C>
pub fn workforce_pools_delete( &self, name: &str, ) -> LocationWorkforcePoolDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes a WorkforcePool. You cannot use a deleted WorkforcePool to exchange external credentials for Google Cloud credentials. However, deletion does not revoke credentials that have already been issued. Credentials issued for a deleted pool do not grant access to resources. If the pool is undeleted, and the credentials are not expired, they grant access again. You can undelete a pool for 30 days. After 30 days, deletion is permanent. You cannot update deleted pools. However, you can view and list them.
§Arguments
name- Required. The name of the pool to delete. Format:locations/{location}/workforcePools/{workforce_pool_id}
Sourcepub fn workforce_pools_get(
&self,
name: &str,
) -> LocationWorkforcePoolGetCall<'a, C>
pub fn workforce_pools_get( &self, name: &str, ) -> LocationWorkforcePoolGetCall<'a, C>
Create a builder to help you perform the following task:
Gets an individual WorkforcePool.
§Arguments
name- Required. The name of the pool to retrieve. Format:locations/{location}/workforcePools/{workforce_pool_id}
Sourcepub fn workforce_pools_get_iam_policy(
&self,
request: GetIamPolicyRequest,
resource: &str,
) -> LocationWorkforcePoolGetIamPolicyCall<'a, C>
pub fn workforce_pools_get_iam_policy( &self, request: GetIamPolicyRequest, resource: &str, ) -> LocationWorkforcePoolGetIamPolicyCall<'a, C>
Create a builder to help you perform the following task:
Gets IAM policies on a WorkforcePool.
§Arguments
request- No description provided.resource- REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.
Sourcepub fn workforce_pools_list(
&self,
location: &str,
) -> LocationWorkforcePoolListCall<'a, C>
pub fn workforce_pools_list( &self, location: &str, ) -> LocationWorkforcePoolListCall<'a, C>
Create a builder to help you perform the following task:
Lists all non-deleted WorkforcePools under the specified parent. If show_deleted is set to true, then deleted pools are also listed.
§Arguments
location- The location of the pool. Format:locations/{location}.
Sourcepub fn workforce_pools_patch(
&self,
request: WorkforcePool,
name: &str,
) -> LocationWorkforcePoolPatchCall<'a, C>
pub fn workforce_pools_patch( &self, request: WorkforcePool, name: &str, ) -> LocationWorkforcePoolPatchCall<'a, C>
Create a builder to help you perform the following task:
Updates an existing WorkforcePool.
§Arguments
request- No description provided.name- Identifier. The resource name of the pool. Format:locations/{location}/workforcePools/{workforce_pool_id}
Sourcepub fn workforce_pools_set_iam_policy(
&self,
request: SetIamPolicyRequest,
resource: &str,
) -> LocationWorkforcePoolSetIamPolicyCall<'a, C>
pub fn workforce_pools_set_iam_policy( &self, request: SetIamPolicyRequest, resource: &str, ) -> LocationWorkforcePoolSetIamPolicyCall<'a, C>
Create a builder to help you perform the following task:
Sets IAM policies on a WorkforcePool.
§Arguments
request- No description provided.resource- REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.
Sourcepub fn workforce_pools_test_iam_permissions(
&self,
request: TestIamPermissionsRequest,
resource: &str,
) -> LocationWorkforcePoolTestIamPermissionCall<'a, C>
pub fn workforce_pools_test_iam_permissions( &self, request: TestIamPermissionsRequest, resource: &str, ) -> LocationWorkforcePoolTestIamPermissionCall<'a, C>
Create a builder to help you perform the following task:
Returns the caller’s permissions on the WorkforcePool. If the pool doesn’t exist, this call returns an empty set of permissions. It doesn’t return a NOT_FOUND error.
§Arguments
request- No description provided.resource- REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.
Sourcepub fn workforce_pools_undelete(
&self,
request: UndeleteWorkforcePoolRequest,
name: &str,
) -> LocationWorkforcePoolUndeleteCall<'a, C>
pub fn workforce_pools_undelete( &self, request: UndeleteWorkforcePoolRequest, name: &str, ) -> LocationWorkforcePoolUndeleteCall<'a, C>
Create a builder to help you perform the following task:
Undeletes a WorkforcePool, as long as it was deleted fewer than 30 days ago.
§Arguments
request- No description provided.name- Required. The name of the pool to undelete. Format:locations/{location}/workforcePools/{workforce_pool_id}