
    \                         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  \R                  " \R                  R                   5       " S
 S\R"                  5      5       rg)zBCommand to list all lien IDs associated for the specified project.    )absolute_import)division)unicode_literals)
list_pager)error)liens)base)
propertiesc                   L    \ rS rSrSr\S 5       r\R                  S 5       r	Sr
g)List   zsList liens associated with the specified project.

List all liens which are associated with the specified project.
c                 :    U R                   R                  S5        g )Nzi
          table(
            name.segment(),
            origin,
            reason
          )
        )display_info	AddFormat)parsers    *lib/surface/resource_manager/liens/list.pyArgs	List.Args#   s    
!! #     c           	      *   S[         R                  R                  R                  R	                  SS9-   n[
        R                  " [        R                  " 5       [        R                  " 5       R                  US9UR                  SUR                  SS9$ )zRun the list command.z	projects/T)required)parentpageSizer   )limitbatch_size_attribute
batch_sizefield)r
   VALUEScoreprojectGetr   YieldFromListr   LiensServiceLiensMessages$CloudresourcemanagerLiensListRequestr   	page_size)selfargsr   s      r   RunList.Run-   s     :,,1199==t=LLF##BB 	C 	jj'>> r    N)__name__
__module____qualname____firstlineno____doc__staticmethodr   r   YieldErrorDetailsr)   __static_attributes__r+   r   r   r   r      s5    
   	
 
r   r   N)r0   
__future__r   r   r   apitools.base.pyr   'googlecloudsdk.api_lib.resource_managerr   r   googlecloudsdk.callioper	   googlecloudsdk.corer
   ReleaseTracksReleaseTrackALPHAListCommandr   r+   r   r   <module>r=      s[    I &  ' ' 9 9 ( * D%%++,4  -r   