gcloud eventarc google-api-sources delete

NAME
gcloud eventarc google-api-sources delete - delete an Eventarc Google API source
SYNOPSIS
gcloud eventarc google-api-sources delete(GOOGLE_API_SOURCE :--location=LOCATION)[--async][GCLOUD_WIDE_FLAG]
DESCRIPTION
Delete an Eventarc Google API source.
EXAMPLES
To delete the Google API sourcemy-google-api-source in locationus-central1, run:
gcloudeventarcgoogle-api-sourcesdeletemy-google-api-source--location=us-central1
POSITIONAL ARGUMENTS
Google API source resource - Google API source to delete. The arguments in thisgroup can be used to specify the attributes of this resource. (NOTE) Someattributes are not given arguments in this group but can be set in other ways.

To set theproject attribute:

  • provide the argumentgoogle_api_source on the command line with afully specified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

GOOGLE_API_SOURCE
ID of the Google API source or fully qualified identifier for the Google APIsource.

To set thegoogle-api-source attribute:

  • provide the argumentgoogle_api_source on the command line.

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

--location=LOCATION
The location for the Eventarc Google API source, which should be one of thesupported regions. Alternatively, set the [eventarc/location] property.

To set thelocation attribute:

  • provide the argumentgoogle_api_source on the command line with afully specified name;
  • provide the argument--location on the command line;
  • set the propertyeventarc/location.
FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.
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
This variant is also available:
gcloudbetaeventarcgoogle-api-sourcesdelete

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-29 UTC.