release_tracks: [GA, BETA, ALPHA]
help_text:
  brief: |
    List multicast domain groups.
  description: |
    List all multicast domain groups in the specified location of the current project.
  examples: |
    To list multicast domain groups in the current project, run:

      $ {command} --location=global
request: &request
  GA:
    api_version: v1
  ALPHA:
    api_version: v1alpha1
  BETA:
    api_version: v1beta1
  collection: networkservices.projects.locations.multicastDomainGroups
arguments:
  resource:
    spec: !REF googlecloudsdk.command_lib.network_services.resources:location
    help_text: The location of the multicast domain groups to display.
response:
  id_field: name
output:
  format: |
     table(
        name.basename():label=NAME, create_time, update_time, multicast_domains
      )
