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

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