- release_tracks: [ALPHA]
  hidden: true
  help_text:
    brief: |
      List Dataplex Governance Rules.
    description: |
      List Dataplex Governance Rules based on project and location.

      {command} --project={project_id} --location={location}
    examples: |
      To list Governance Rules in project `test-dataplex` at location `us-central1`, run:

          $ {command} --location=us-central1 --project=test-dataplex

  request:
    ALPHA:
      api_version: v1
    collection: dataplex.projects.locations.governanceRules

  response:
    id_field: name

  arguments:
    resource:
      help_text: |
        Location to list Governance Rules in.
      spec: !REF googlecloudsdk.command_lib.dataplex.resources:location
