- release_tracks: [ALPHA, BETA, GA]

  help_text:
    brief: Delete a Compute Engine reservation.
    description: Delete a Compute Engine reservation.
    examples: |
      To delete a given Compute Engine reservation, run:

        $ {command} my-reservation --zone=ZONE

  arguments:
    resource:
      spec: !REF googlecloudsdk.command_lib.compute.resources:reservation
      help_text: The name of the reservation to delete.

  request:
    collection: compute.reservations
    api_version: v1
    BETA:
      api_version: beta
    ALPHA:
      api_version: alpha

  async:
    api_version: v1
    BETA:
      api_version: beta
    ALPHA:
      api_version: alpha
    method: wait
    collection: compute.zoneOperations
    response_name_field: selfLink
    state:
      field: status
      success_values: ['DONE']
