
                            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	r\	R                  " \	R                   R"                  \	R                   R$                  5       " S
 S\	R&                  5      5       rg)zCommmand to list operations.    )absolute_import)division)unicode_literals)
operations)base)resource_args)endpoint_utilzX
To list all operations in location ``us-west1'', run:

$ {command} --location=us-west1
c                   6    \ rS rSrSrS\0r\S 5       rS r	Sr
g)List"   zList operations.EXAMPLESc                 ^    [         R                  " U S5        [        R                  " U 5        g)z!Registers flags for this command.zto list operationsN)r   AddLocationResourceArgr   	AddFormat)parsers    1lib/surface/container/attached/operations/list.pyArgs	List.Args(   s#     ((1EF     c                    U R                  5       nUR                  R                  R                  5       n[        R
                  " UR                  U5         [        R                  " 5       nUR                  X1R                  UR                  SS9u  pVU(       d  [        R                  " US5        UsSSS5        $ ! , (       d  f       g= f)zRuns the describe command.name)parent_fieldattachedN)ReleaseTrackCONCEPTSlocationParser	   GkemulticloudEndpointOverridelocationsIdop_api_utilOperationsClientr   	page_sizelimitr   	AddFilter)selfargsrelease_tracklocation_ref	op_clientitemsemptys          r   RunList.Run.   s    %%'M==))//1L		4	4  -
 ..0i^^


 $ le  	T:.
 
 
s   AB<<
C
 N)__name__
__module____qualname____firstlineno____doc__	_EXAMPLESdetailed_helpstaticmethodr   r,   __static_attributes__r.   r   r   r   r   "   s&    y)-! !
r   r   N)r3   
__future__r   r   r   .googlecloudsdk.api_lib.container.gkemulticloudr   r    googlecloudsdk.callioper   -googlecloudsdk.command_lib.container.attachedr   2googlecloudsdk.command_lib.container.gkemulticloudr	   r4   ReleaseTracksr   ALPHAGAListCommandr   r.   r   r   <module>rA      sp    # &  ' T ( G L I	 D%%++T->->-A-AB4  Cr   