- release_tracks: [ALPHA, BETA, GA]

  help_text:
    brief: Delete a hub.
    description: Delete the specified hub.

    examples: |
      To delete a hub named ``my-hub'', run:

        $ {command} my-hub

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

  async:
    collection: networkconnectivity.projects.locations.operations

  request: &request
    ALPHA:
      api_version: v1alpha1
    BETA:
      api_version: v1beta
    GA:
      api_version: v1
    collection: networkconnectivity.projects.locations.global.hubs
