- release_tracks: [ALPHA, GA]

  help_text:
    brief: Update an Immersive Stream for XR content resource.
    description: Update an Immersive Stream for XR content resource.
    examples: |
      To update the Cloud Storage bucket used by the content resource `my-content`, to `my-new-bucket` run:

        $ {command} my-content --bucket=my-new-bucket

  request:
    collection: stream.projects.locations.streamContents
    ALPHA:
      api_version: v1alpha1
    GA:
      api_version: v1
    method: patch
    modify_request_hooks:
    - googlecloudsdk.command_lib.immersive_stream.xr.util:SetContentUpdateMask
  arguments:
    resource:
      help_text: Immersive Stream for XR content resource to be updated.
      spec: !REF googlecloudsdk.command_lib.immersive_stream.xr.resources:content

    params:
    - group:
        mutex: true
        required: true
        params:
        - arg_name: bucket
          api_field: streamContent.bucketName
          help_text: |
            The name of the Cloud Storage bucket in the consumer project that stores the content source.

  async:
    collection: stream.projects.locations.operations
