gcloud firestore operations cancel (original) (raw)

gcloud firestore operations cancel

NAME

gcloud firestore operations cancel - cancel a currently-running Cloud Firestore admin operation

SYNOPSIS

gcloud firestore operations cancel [NAME](#NAME) [[--database](#--database)=DATABASE; default="(default)"] [[GCLOUD_WIDE_FLAG](#GCLOUD-WIDE-FLAGS) …]

DESCRIPTION

Cancel a currently-running Cloud Firestore admin operation.

EXAMPLES

To cancel the currently-running exampleOperationId operation, run:

gcloud firestore operations cancel exampleOperationId

POSITIONAL ARGUMENTS

NAME

The unique name of the Operation to cancel, formatted as either the full or relative resource path:

projects/my-app-id/databases/(default)/operations/foo

or:

foo

FLAGS

--database=DATABASE; default="(default)"

The database to operate on. The default value is (default).

For example, to operate on database foo:

gcloud firestore operations cancel --database='foo'

GCLOUD WIDE FLAGS

These flags are available to all commands: [--access-token-file](/sdk/gcloud/reference#--access-token-file),[--account](/sdk/gcloud/reference#--account), [--billing-project](/sdk/gcloud/reference#--billing-project),[--configuration](/sdk/gcloud/reference#--configuration),[--flags-file](/sdk/gcloud/reference#--flags-file),[--flatten](/sdk/gcloud/reference#--flatten), [--format](/sdk/gcloud/reference#--format), [--help](/sdk/gcloud/reference#--help), [--impersonate-service-account](/sdk/gcloud/reference#--impersonate-service-account),[--log-http](/sdk/gcloud/reference#--log-http),[--project](/sdk/gcloud/reference#--project), [--quiet](/sdk/gcloud/reference#--quiet), [--trace-token](/sdk/gcloud/reference#--trace-token), [--user-output-enabled](/sdk/gcloud/reference#--user-output-enabled),[--verbosity](/sdk/gcloud/reference#--verbosity).

Run $ [gcloud help](/sdk/gcloud/reference) for details.

NOTES

These variants are also available:

gcloud alpha firestore operations cancel
gcloud beta firestore operations cancel

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-05-27 UTC.