
                             S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  SSKJ	r	  SSK
Jr  SS	KJr  SS
KJr   " S S\	R                  5      rg)z1The gcloud firestore operations describe command.    )absolute_import)division)unicode_literals)	api_utils)
operations)base)flags)
properties)	resourcesc                   6    \ rS rSrSrSS0r\S 5       rS rSr	g)	Describe   z>Retrieves information about a Cloud Firestore admin operation.EXAMPLESz          To retrieve information about the `exampleOperationId` operation, run:

            $ {command} exampleOperationId
      c                 \    U R                  S[        SSS9  [        R                  " U 5        g)z Register flags for this command.nameNz
        The unique name of the Operation to retrieve, formatted as either the
        full or relative resource path:

          projects/my-app-id/databases/(default)/operations/foo

        or:

          foo
        )typedefaulthelp)add_argumentstrr	   AddDatabaseIdFlag)parsers    ,lib/surface/firestore/operations/describe.pyArgsDescribe.Args)   s5     		   
F#    c                 ,   [         R                  R                  UR                  [        R
                  R                  R                  R                  UR                  S.[        R                  SS9R                  5       n[        R                  " U5      $ )N)
projectsIddatabasesIdz'firestore.projects.databases.operations)paramsapi_version
collection)r   REGISTRYParser   r
   VALUEScoreproject	GetOrFaildatabaser   FIRESTORE_API_VERSIONRelativeNamer   GetOperation)selfargsr   s      r   RunDescribe.Run<   sy    ##		$++0088BB==
 33< $ > ?Kln 	 ""4((r    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r/   __static_attributes__r1   r   r   r   r      s/    F 
- $ $$	)r   r   N)r6   
__future__r   r   r    googlecloudsdk.api_lib.firestorer   r   googlecloudsdk.callioper   $googlecloudsdk.command_lib.firestorer	   googlecloudsdk.corer
   r   DescribeCommandr   r1   r   r   <module>r@      s7    8 &  ' 6 7 ( 6 * )()t## ()r   