- release_tracks: [ALPHA, GA]
  help_text:
    brief: |
      Delete a Dataplex task resource.
    description: |
      Delete a Dataplex task resource.

    examples: |
      To delete a Dataplex task `test-task` within lake `test-lake` in location `us-central1`, run:

          $ {command} test-task --location=us-central1 --lake=test-lake
  request:
    ALPHA:
      api_version: v1
    collection: dataplex.projects.locations.lakes.tasks
  arguments:
    resource:
      help_text: |
        Arguments and flags that define the Dataplex Task you want to delete.
      spec: !REF googlecloudsdk.command_lib.dataplex.resources:task
  async:
    collection: dataplex.projects.locations.operations
