gcloud datastore operations list

NAME
gcloud datastore operations list - list pending Cloud Datastore admin operations and their status
SYNOPSIS
gcloud datastore operations list[--filter=EXPRESSION][--limit=LIMIT; default=100][--page-size=PAGE_SIZE; default=100][--sort-by=[FIELD,…]][--uri][GCLOUD_WIDE_FLAG]
DESCRIPTION
Filters are case-sensitive and have the following syntax:
field=value[AND[field=value]]

wherefield is one ofkind,namespace,type, orlabels.[KEY], and[KEY] is alabel key.kind andnamespace may be* toquery for operations on all kinds and/or all namespaces.type maybe one ofexport_entities orimport_entities.

Only the logicalAND operator is supported; space-separated itemsare treated as having an implicitAND operator.

EXAMPLES
To see the list of all operations, run:
gclouddatastoreoperationslist

To see the list of all export operations, run:

gclouddatastoreoperationslist--filter='type:export_entities'

To see the list of all export operations for kind 'MyKind', run:

gclouddatastoreoperationslist--filter='type:export_entities AND kind:MyKind'

To see the list of all operations with particular labels, run:

gclouddatastoreoperationslist--filter='labels.run = daily'
LIST COMMAND FLAGS
--filter=EXPRESSION
Apply a Boolean filterEXPRESSION to each resource itemto be listed. If the expression evaluatesTrue, then that item islisted. For more details and examples of filter expressions, run $gcloud topic filters. This flaginteracts with other flags that are applied in this order:--flatten,--sort-by,--filter,--limit.
--limit=LIMIT; default=100
Maximum number of resources to list. The default is100. This flaginteracts with other flags that are applied in this order:--flatten,--sort-by,--filter,--limit.
--page-size=PAGE_SIZE; default=100
Some services group resource list output into pages. This flag specifies themaximum number of resources per page. The default is100. Pagingmay be applied before or after--filter and--limitdepending on the service.
--sort-by=[FIELD,…]
Comma-separated list of resource field key names to sort by. The default orderis ascending. Prefix a field with ``~´´ for descending order on thatfield. This flag interacts with other flags that are applied in this order:--flatten,--sort-by,--filter,--limit.
--uri
Print a list of resource URIs instead of the default output, and change thecommand output to a list of URIs. If this flag is used with--format, the formatting is applied on this URI list. To displayURIs alongside other keys instead, use theuri() transform.
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 help for details.

NOTES
These variants are also available:
gcloudalphadatastoreoperationslist
gcloudbetadatastoreoperationslist

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-07-22 UTC.