File: //snap/google-cloud-cli/current/help/man/man1/gcloud_iam_workforce-pools_subjects_undelete.1
.TH "GCLOUD_IAM_WORKFORCE\-POOLS_SUBJECTS_UNDELETE" 1
.SH "NAME"
.HP
gcloud iam workforce\-pools subjects undelete \- undelete a workforce pool subject
.SH "SYNOPSIS"
.HP
\f5gcloud iam workforce\-pools subjects undelete\fR (\fISUBJECT\fR\ :\ \fB\-\-location\fR=\fILOCATION\fR\ \fB\-\-workforce\-pool\fR=\fIWORKFORCE_POOL\fR) [\fB\-\-async\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
Undelete a workforce pool subject.
.SH "EXAMPLES"
The following command undeletes a workforce pool subject with the ID
\f5my\-workforce\-pool\-subject\fR:
.RS 2m
$ gcloud iam workforce\-pools subjects undelete \e
my\-workforce\-pool\-subject \-\-workforce\-pool="my\-workforce\-pool" \e
\-\-location="global"
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
Workforce pool subject resource \- The workforce pool subject to undelete. The
arguments in this group can be used to specify the attributes of this resource.
This must be specified.
.RS 2m
.TP 2m
\fISUBJECT\fR
ID of the workforce pool subject or fully qualified identifier for the workforce
pool subject.
To set the \f5subject\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5subject\fR on the command line.
.RE
.sp
This positional argument must be specified if any of the other arguments in this
group are specified.
.TP 2m
\fB\-\-location\fR=\fILOCATION\fR
The location for the workforce pool.
To set the \f5location\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5subject\fR on the command line with a fully specified
name;
.IP "\(bu" 2m
provide the argument \f5\-\-location\fR on the command line.
.RE
.sp
.TP 2m
\fB\-\-workforce\-pool\fR=\fIWORKFORCE_POOL\fR
The ID to use for the workforce pool, which becomes the final component of the
resource name. This value must be a globally unique string of 6 to 63 lowercase
letters, digits, or hyphens. It must start with a letter, and cannot have a
trailing hyphen. The prefix \f5gcp\-\fR is reserved for use by Google, and may
not be specified.
To set the \f5workforce\-pool\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5subject\fR on the command line with a fully specified
name;
.IP "\(bu" 2m
provide the argument \f5\-\-workforce\-pool\fR on the command line.
.RE
.sp
.RE
.RE
.sp
.SH "FLAGS"
.RS 2m
.TP 2m
\fB\-\-async\fR
Return immediately, without waiting for the operation in progress to complete.
.RE
.sp
.SH "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 \fB$ gcloud help\fR for details.
.SH "API REFERENCE"
This command uses the \fBiam/v1\fR API. The full documentation for this API can
be found at: https://cloud.google.com/iam/