- release_tracks: [ALPHA, GA]

  help_text:
    brief: Poll long-running edge network operation until it completes.
    description: |
      Poll a long-running edge network operation until it completes. When
      the operation is complete, this command will display the results of the
      analysis.
    examples: |
      To poll a long-running edge network 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: edgenetwork.projects.locations.operations
    ALPHA:
      api_version: v1alpha1
    GA:
      api_version: v1

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

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

  output:
    format: json
