- release_tracks: [ALPHA, GA]

  help_text:
    brief: |
      Delete a Looker instance.
    description: |
      Delete a Looker instance.

      This command can fail for the following reasons:
        * The instance specified does not exist.
        * The active account does not have permission to access the given
          instance.
    examples: |
      To delete an instance with the name `my-looker-instance` in your default region, run:

        $ {command} my-looker-instance --async

  arguments:
    resource:
      spec: !REF googlecloudsdk.command_lib.looker.resources:instance
      help_text: |
        Arguments and flags that specify the Looker instance you want
        to delete.
    params:
    - arg_name: force
      api_field: force
      required: false
      type: bool
      help_text: |
        Force delete an instance.

  input:
    confirmation_prompt: |
      You are about to delete instance [{__name__}] in [{locationsId}].
      Any associated data will be lost.

  request:
    ALPHA:
      api_version: v1alpha2
    GA:
      api_version: v1
    collection: looker.projects.locations.instances

  async:
    collection: looker.projects.locations.operations
