release_tracks: [GA, BETA, ALPHA]
help_text:
  brief: |
    Create a multicast domain group.
  description: |
    Create a multicast domain group in the specified location of the current project.
  examples: |
    Create a multicast domain group with the name 'my-multicast-domain-group',
    and location `global`.

      $ {command} my-multicast-domain-group --location=global
arguments:
  resource:
    spec: !REF googlecloudsdk.command_lib.network_services.resources:multicastDomainGroup
    help_text: |
      Name of the multicast domain group to be created.
  params:
  - arg_name: description
    api_field: multicastDomainGroup.description
    help_text: The description for the multicast domain group.
  labels:
    api_field: multicastDomainGroup.labels
async:
  collection: networkservices.projects.locations.operations
request: &request
  GA:
    api_version: v1
  ALPHA:
    api_version: v1alpha1
  BETA:
    api_version: v1beta1
  collection: networkservices.projects.locations.multicastDomainGroups
  method: create
