- release_tracks: [ALPHA, GA]
  help_text:
    brief: Poll long-running Immersive Stream for XR operation until it completes.
    description: |
      Poll a long-running Immersive Stream for XR operation until it completes. When
      the operation is complete, this command will display the results of the
      analysis.
    examples: |
      To poll a long-running Immersive Stream for XR operation named `projects/my-project/locations/global/operations/operation-123` until it completes, run the following:

        $ {command} projects/my-project/locations/global/operations/operation-123

      or simply run

        $ {command} operation-123

  request:
    collection: stream.projects.locations.operations
    ALPHA:
      api_version: v1alpha1
    GA:
      api_version: v1

  arguments:
    resource:
      help_text: The ID of the operation to poll until complete.
      spec: !REF googlecloudsdk.command_lib.immersive_stream.xr.resources:operation

  async:
    collection: stream.projects.locations.operations
