- release_tracks: [GA]

  help_text:
    brief: |
      Delete an Artifact Registry rule.
    description: |
      Delete an Artifact Registry rule.

      This command can fail for the following reasons:
        * The specified rule does not exist.
        * The active account does not have permission to delete rules.

    examples: |
      To delete a rule named `my-rule` under the current project, repository, and location, run:

          $ {command} my-repo

  arguments:
    resource:
      spec: !REF googlecloudsdk.command_lib.artifacts.resources:rule
      help_text: |
        The Artifact Registry rule to delete.

  request: &request
    api_version: v1
    collection: artifactregistry.projects.locations.repositories.rules
