- release_tracks: [ALPHA, BETA]

  help_text:
    brief: Cancel a Compute Engine future reservation.
    description: Cancel a Compute Engine future reservation.
    examples: |
      To cancel a given Compute Engine future reservation, run:

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

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

  request:
    api_version: beta
    collection: compute.futureReservations
    method: cancel
    BETA:
      api_version: beta
    ALPHA:
      api_version: alpha

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