release_tracks: [GA, ALPHA, BETA]
help_text:
  brief: |
    Update a multicast group consumer activation.
  description: |
    Update a multicast group consumer activation in the specified location of the current project.
  examples: |
    Update a multicast group consumer activation with the name 'my-multicast-group-consumer-activation'
    and location 'zone'.

      $ {command} my-multicast-group-consumer-activation --enable-logging --location=zone
arguments:
  resource:
    spec: !REF googlecloudsdk.command_lib.network_services.resources:multicastGroupConsumerActivation
    help_text: |
      Name of the multicast group consumer activation to be updated.
  params:
  - arg_name: enable-logging
    api_field: multicastGroupConsumerActivation.logConfig.enabled
    help_text: Whether to enable logging for this multicast group consumer activation.
    action: store_true_false
  - arg_name: description
    api_field: multicastGroupConsumerActivation.description
    help_text: The description for the multicast group consumer activation.
  labels:
    api_field: multicastGroupConsumerActivation.labels
update:
  read_modify_update: true
async:
  collection: networkservices.projects.locations.operations
request: &request
  GA:
    api_version: v1
  ALPHA:
    api_version: v1alpha1
  BETA:
    api_version: v1beta1
  collection: networkservices.projects.locations.multicastGroupConsumerActivations
  method: patch
