- release_tracks: [BETA]

  help_text:
    brief: Delete a gateway advertised route.
    description: Delete the specified advertised route for a gateway spoke.
    examples: |
      To delete an advertised route with name ``my-route'' for spoke ``my-spoke'' in region ``us-central1'', run:

        $ {command} my-route --region=us-central1 --spoke=my-spoke

  arguments:
    resource:
      spec: !REF googlecloudsdk.command_lib.network_connectivity.resources:gatewayAdvertisedRoute
      help_text: Name of the advertised route to be deleted.

  async:
    collection: networkconnectivity.projects.locations.operations

  request: &request
    BETA:
      api_version: v1beta
    method: delete
    collection: networkconnectivity.projects.locations.spokes.gatewayAdvertisedRoutes
