- release_tracks: []

  help_text:
    brief: Poll long-running video analysis operation until it completes.
    description: |
      Poll a long-running video analysis operation until it completes. When
      the operation is complete, this command will display the results of the
      analysis.
    examples: |
      To poll a long-running video analysis operation named 'projects/my-project/locations/us-east1/operations/123' until it completes, run the following:

        $ {command} projects/my-project/locations/us-east1/operations/123

  request:
    collection: videointelligence.projects.locations.operations
    api_version: v1

  arguments:
    resource:
      help_text: ID for the operation to poll until complete.
      spec: !REF googlecloudsdk.command_lib.ml.video.resources:operation

  async:
    collection: videointelligence.projects.locations.operations
    result_attribute: response

  output:
    format: json
