gcloud composer operations delete

NAME
gcloud composer operations delete - delete one or more completed Cloud Composer operations
SYNOPSIS
gcloud composer operations delete(OPERATIONS [OPERATIONS …] :--location=LOCATION)[GCLOUD_WIDE_FLAG]
DESCRIPTION
Delete operations that are done. If more than one operation is specified, alldeletes will be attempted. If any of the deletes fail, those operations andtheir failure messages will be listed on the standard error, and the commandwill exit with a non-zero status.
EXAMPLES
To delete the operationoperation-1, run:
gcloudcomposeroperationsdeleteoperation-1
POSITIONAL ARGUMENTS
Operation resource - The operations to delete. The arguments in this group canbe used to specify the attributes of this resource. (NOTE) Some attributes arenot given arguments in this group but can be set in other ways.

To set theproject attribute:

  • provide the argumentoperations on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

OPERATIONS [OPERATIONS …]
IDs of the operations or fully qualified identifiers for the operations.

To set theoperation attribute:

  • provide the argumentoperations on the command line.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--location=LOCATION
Compute Engine region in which to create the operations.

To set thelocation attribute:

  • provide the argumentoperations on the command line with a fullyspecified name;
  • provide the argument--location on the command line;
  • set the propertycomposer/location.
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:
gcloudalphacomposeroperationsdelete
gcloudbetacomposeroperationsdelete

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.