- release_tracks: [GA]
  help_text:
    brief: Create a Data Catalog entry group.
    description: Create a Data Catalog entry group.
    examples: |-
      To create an entry group for some data, run:

        $ {command} group1 \
          --location=us-central1 --display-name="analytics data - jan 2011" \
          --description="Entries related to January 2011 analytics data."

  request:
    api_version: v1
    collection: datacatalog.projects.locations.entryGroups

  arguments:
    resource:
      help_text: Entry group to create.
      spec: !REF googlecloudsdk.command_lib.data_catalog.resources:entry_group
      is_positional: true
    params:
    - !REF googlecloudsdk.command_lib.data_catalog.entry_groups.v1_flags:display_name
    - !REF googlecloudsdk.command_lib.data_catalog.entry_groups.v1_flags:description

- release_tracks: [ALPHA, BETA]
  help_text:
    brief: Create a Data Catalog entry group.
    description: Create a Data Catalog entry group.
    examples: |-
      To create an entry group for some data, run:

        $ {command} group1 \
          --location=us-central1 --display-name="analytics data - jan 2011" \
          --description="Entries related to January 2011 analytics data."

  request:
    collection: datacatalog.projects.locations.entryGroups

  arguments:
    resource:
      help_text: Entry group to create.
      spec: !REF googlecloudsdk.command_lib.data_catalog.resources:entry_group
      is_positional: true
    params:
    - !REF googlecloudsdk.command_lib.data_catalog.entry_groups.flags:display_name
    - !REF googlecloudsdk.command_lib.data_catalog.entry_groups.flags:description
