- release_tracks: [GA]
  help_text:
    brief: Update a Data Catalog entry group.
    description: |-
      Update a Data Catalog entry group.
    examples: |-
      To update the description of entry group 'group1' , run:

        $ {command} group1 \
            --location=us-central1 --description="new description"

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

  arguments:
    resource:
      help_text: Entry group to update.
      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: Update a Data Catalog entry group.
    description: |-
      Update a Data Catalog entry group.
    examples: |-
      To update the description of entry group 'group1' , run:

        $ {command} group1 \
            --location=us-central1 --description="new description"

  request:
    collection: datacatalog.projects.locations.entryGroups

  arguments:
    resource:
      help_text: Entry group to update.
      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
