
                             d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ  ej                  ej                  j                         G d dej                               Zy	)
z-The gcloud firestore operations wait command.    )absolute_import)division)unicode_literals)
operations)basec                   .    e Zd ZdZddiZed        Zd Zy)Waitz4Waits a Cloud Firestore admin operation to complete.EXAMPLESz          To wait a Cloud Firestore admin operation `exampleOperationId` to
          complete, run:

            $ {command} exampleOperationId
      c                 6    | j                  dt        dd       y)z Register flags for this command.nameNz
        The unique name of the Operation to retrieve, formatted as full resource
        path:

          projects/my-app-id/databases/(default)/operations/foo
        )typedefaulthelp)add_argumentstr)parsers    (lib/surface/firestore/operations/wait.pyArgsz	Wait.Args)   s%     	  	    c                 @    t        j                  |j                        S )N)r   WaitForOperationWithNamer   )selfargss     r   RunzWait.Run7   s    ..tyy99r   N)__name__
__module____qualname____doc__detailed_helpstaticmethodr   r    r   r   r	   r	      s1     = 
-  :r   r	   N)r   
__future__r   r   r    googlecloudsdk.api_lib.firestorer   googlecloudsdk.callioper   ReleaseTracksReleaseTrackALPHACommandr	   r!   r   r   <module>r)      sT    4 &  ' 7 ( :4<< ::r   