- release_tracks: [ALPHA, GA]
  help_text:
    brief: |
      List Dataplex Entry Groups.
    description: |
      List Dataplex Entry Groups based on project and location.

      {command} --project={project_id} --location={location}
    examples: |
      To list Entry Groups in project `test-dataplex` at location `us-central1`

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

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

  response:
    id_field: name

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