
                             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\R                  5      r\R                   " S5      \l        g)z+Command for listing interconnect locations.    )absolute_import)division)unicode_literals)
list_pager)base_classes)filter_rewrite)base)
propertiesc                   .    \ rS rSrSr\S 5       rS rSrg)List   z?List Google Compute Engine Cloud Interconnect remote locations.c                 :    UR                   R                  S5        g )NzD
        table(
          name,
          description
        )
    )display_info	AddFormat)clsparsers     :lib/surface/compute/interconnects/remote_locations/list.pyArgs	List.Args   s    
!! # 	    c              #     #    [         R                  " U R                  5       5      nUR                  R                  nUR
                  n[        R                  R                  R                  R                  5       n[        R                  " 5       R                  UR                  5      u  Ul        nUR                  XVS9n[         R"                  " UR$                  USUR&                  S S9nU H  n	U	v   M	     g 7f)N)projectfilteritems)fieldlimit
batch_size)r   ComputeApiHolderReleaseTrackclientapitools_clientMESSAGES_MODULEr
   VALUEScorer   	GetOrFailr   RewriterRewriter   -ComputeInterconnectRemoteLocationsListRequestr   YieldFromListinterconnectRemoteLocationsr   )
selfargsholderr    messagesr   filter_exprrequestresultsitems
             r   RunList.Run(   s     **4+<+<+>?F]]**F%%H$$,,668G-668@@MDKDD E -G &&**jjG j s   C8C: N)	__name__
__module____qualname____firstlineno____doc__classmethodr   r3   __static_attributes__r5   r   r   r   r      s    G	 	r   r   z#Cloud Interconnect remote locationsN)r:   
__future__r   r   r   apitools.base.pyr   googlecloudsdk.api_lib.computer   r   googlecloudsdk.callioper	   googlecloudsdk.corer
   ListCommandr   GetGlobalListerHelpdetailed_helpr5   r   r   <module>rE      sM    2 &  ' ' 7 9 ( *!4 !H "55)+ r   