- release_tracks: [ALPHA, GA]

  help_text:
    brief: Build an Immersive Stream for XR content resource.
    description: Build an Immersive Stream for XR content resource and tag it with a user specified version tag.
    examples: |
      To build a content resource `my-content` tagged with version tag `my-version`, run:

        $ {command} my-content --version=my-version

  request:
    collection: stream.projects.locations.streamContents
    method: build
    ALPHA:
      api_version: v1alpha1
    GA:
      api_version: v1

  arguments:
    resource:
      help_text: Immersive Stream for XR content resource to be built.
      spec: !REF googlecloudsdk.command_lib.immersive_stream.xr.resources:content

    params:
    - arg_name: version
      api_field: buildStreamContentRequest.contentVersionTag
      required: true
      help_text: |
        User-specified version tag of content build.

  async:
    collection: stream.projects.locations.operations
