File: //snap/google-cloud-cli/396/help/man/man1/gcloud_storage_operations_list.1
.TH "GCLOUD_STORAGE_OPERATIONS_LIST" 1
.SH "NAME"
.HP
gcloud storage operations list \- list storage operations
.SH "SYNOPSIS"
.HP
\f5gcloud storage operations list\fR \fIPARENT_RESOURCE_NAME\fR [\fB\-\-server\-filter\fR=\fISERVER_FILTER\fR] [\fB\-\-filter\fR=\fIEXPRESSION\fR] [\fB\-\-limit\fR=\fILIMIT\fR] [\fB\-\-sort\-by\fR=[\fIFIELD\fR,...]] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
List storage operations.
.SH "EXAMPLES"
To list all storage operations that belong to the bucket "my\-bucket", run:
.RS 2m
$ gcloud storage operations list projects/_/buckets/my\-bucket
.RE
To list operations in JSON format, run:
.RS 2m
$ gcloud storage operations list projects/_/buckets/my\-bucket \e
\-\-format=json
.RE
An alternative bucket format is available:
.RS 2m
$ gcloud storage operations list gs://my\-bucket
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fIPARENT_RESOURCE_NAME\fR
The operation parent resource in the format "projects/\f5_\fR/buckets/BUCKET".
.RE
.sp
.SH "FLAGS"
.RS 2m
.TP 2m
\fB\-\-server\-filter\fR=\fISERVER_FILTER\fR
Server\-side filter string used to determine what operations to return. Example:
\'(done = true AND complete_time >= "2023\-01\-01T00:00:00Z") OR
requested_cancellation = true' Note that the entire filter string must be in
quotes and date strings within the filter must be in embedded quotes.
.RE
.sp
.SH "LIST COMMAND FLAGS"
.RS 2m
.TP 2m
\fB\-\-filter\fR=\fIEXPRESSION\fR
Apply a Boolean filter \fIEXPRESSION\fR to each resource item to be listed. If
the expression evaluates \f5True\fR, then that item is listed. For more details
and examples of filter expressions, run $ gcloud topic filters. This flag
interacts with other flags that are applied in this order: \fB\-\-flatten\fR,
\fB\-\-sort\-by\fR, \fB\-\-filter\fR, \fB\-\-limit\fR.
.TP 2m
\fB\-\-limit\fR=\fILIMIT\fR
Maximum number of resources to list. The default is \fBunlimited\fR. This flag
interacts with other flags that are applied in this order: \fB\-\-flatten\fR,
\fB\-\-sort\-by\fR, \fB\-\-filter\fR, \fB\-\-limit\fR.
.TP 2m
\fB\-\-sort\-by\fR=[\fIFIELD\fR,...]
Comma\-separated list of resource field key names to sort by. The default order
is ascending. Prefix a field with ``~'' for descending order on that field. This
flag interacts with other flags that are applied in this order:
\fB\-\-flatten\fR, \fB\-\-sort\-by\fR, \fB\-\-filter\fR, \fB\-\-limit\fR.
.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 "NOTES"
This variant is also available:
.RS 2m
$ gcloud alpha storage operations list
.RE