- release_tracks: [GA]

  help_text:
    brief: |
      Describe an Artifact Registry rule.
    description: |
      Describe 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 view rules.

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

          $ {command} my-rule

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

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