gcloud alpha iam workforce-pools undelete Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud alpha iam workforce-pools undelete - undelete a workforce pool
- SYNOPSIS
gcloud alpha iam workforce-pools undelete(WORKFORCE_POOL:--location=LOCATION)[--async][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(ALPHA)Undelete a workforce pool.- EXAMPLES
- The following command undeletes a workforce pool with ID
:my-workforce-poolgcloudalphaiamworkforce-poolsundeletemy-workforce-pool--location=global - POSITIONAL ARGUMENTS
- Workforce pool resource - The workforce pool to undelete. The arguments in thisgroup can be used to specify the attributes of this resource.
This must be specified.
WORKFORCE_POOL- ID of the workforce pool or fully qualified identifier for the workforce pool.
To set the
workforce_poolattribute:- provide the argument
workforce_poolon the command line.
This positional argument must be specified if any of the other arguments in thisgroup are specified.
- provide the argument
--location=LOCATION- The location for the workforce pool.
To set the
locationattribute:- provide the argument
workforce_poolon the command line with afully specified name; - provide the argument
--locationon the command line.
- provide the argument
- Workforce pool resource - The workforce pool to undelete. The arguments in thisgroup can be used to specify the attributes of this resource.
- FLAGS
--async- Return immediately, without waiting for the operation in progress to complete.
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$gcloud helpfor details. - API REFERENCE
- This command uses the
iam/v1API. The full documentation for thisAPI can be found at:https://cloud.google.com/iam/ - NOTES
- This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. These variants are also available:
gcloudiamworkforce-poolsundeletegcloudbetaiamworkforce-poolsundelete
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.