File: //snap/google-cloud-cli/394/lib/surface/pam/operations/wait.yaml
- release_tracks: [ALPHA, BETA, GA]
  help_text:
    brief: Poll a Privileged Access Manager (PAM) long running operation.
    description: Poll a Privileged Access Manager (PAM) long running operation until it completes and then display its result.
    examples: |
      The following command polls an operation with the full name ``OPERATION_NAME'':
      $ {command} OPERATION_NAME
  request:
    ALPHA:
      api_version: v1alpha
    BETA:
      api_version: v1beta
    GA:
      api_version: v1
    collection:
    - privilegedaccessmanager.projects.locations.operations
    - privilegedaccessmanager.folders.locations.operations
    - privilegedaccessmanager.organizations.locations.operations
  arguments:
    resource:
      spec: !REF googlecloudsdk.command_lib.pam.resources:operation
      help_text: |
        Name of the operation to poll.
  async:
    ALPHA:
      api_version: v1alpha
    BETA:
      api_version: v1beta
    collection:
    - privilegedaccessmanager.projects.locations.operations
    - privilegedaccessmanager.folders.locations.operations
    - privilegedaccessmanager.organizations.locations.operations