
                             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                   R"                  \	R                   R$                  \	R                   R&                  5       " S
 S\	R(                  5      5       5       r\R,                  " S5      \l        g)z-Command for listing interconnect attachments.    )absolute_import)division)unicode_literals)base_classes)filter_rewrite)base)
properties)resource_projection_specc                   8    \ rS rSrSrSr\S 5       rS rS r	Sr
g)List   zList InterconnectAttachments.Nc                 :    UR                   R                  S5        g )Nz
        table(
          name,
          region.basename(),
          type.basename(),
          interconnect.basename(),
          router.basename(),
          attachmentGroup.basename()
        )
    )display_info	AddFormat)clsparsers     5lib/surface/compute/interconnects/attachments/list.pyArgs	List.Args%   s    
!! 	# 		    c                     UR                  U5      n/ nUR                  R                   H  nUUR                  R                  -  nM     XCR
                  4$ )N)AggregatedListitemsadditionalPropertiesvalueinterconnectAttachmentsnextPageToken)self compute_interconnect_attachmentsrequestresponseinterconnect_attachments_listsattachment_in_scopes         r   _GetListPageList._GetListPage2   sY    />>wGH%'"'~~BB$

#
#
;
;=$  C *+A+AAAr   c                    [         R                  " U R                  5       5      R                  R                  nUR
                  nUR                  n[        R                  R                  R                  R                  5       nUR                  5       n[        R                  " UR                  UR                   S9n["        R$                  " 5       R'                  UR(                  US9u  Ul        nUR+                  XXS9n	[-        U	S5      (       a  SU	l        U R1                  X95      u  pU(       a&  Xl        U R1                  X95      u  pX-  n
U(       a  M&  U
$ )N)symbolsaliases)defaults)projectfilterreturnPartialSuccessT)r   ComputeApiHolderReleaseTrackclientapitools_clientr   MESSAGES_MODULEr	   VALUEScorer*   	GetOrFailGetDisplayInfor
   ProjectionSpec
transformsr(   r   RewriterRewriter+   3ComputeInterconnectAttachmentsAggregatedListRequesthasattrr,   r$   	pageToken)r   argsr/   r   messagesr*   r   r)   filter_exprr    r"   next_page_token"interconnect_attachments_list_pages                r   RunList.Run:   sB   **#VOO  (.'E'E$%%H$$,,668G&&(L'66''1E1EGH-668@@h  A  (DKJJ K -Gw.//%)g" 7;6G6G(733"
)<@<M<M
*=59($J$	 / *)r    )__name__
__module____qualname____firstlineno____doc__INTERCONNECT_ATTACHMENT_ARGclassmethodr   r$   rB   __static_attributes__rD   r   r   r   r      s*    
 & $
	 
	B*r   r   zinterconnect attachmentsN)rI   
__future__r   r   r   googlecloudsdk.api_lib.computer   r   googlecloudsdk.callioper   googlecloudsdk.corer	   googlecloudsdk.core.resourcer
   UniverseCompatibleReleaseTracksr.   ALPHABETAGAListCommandr   GetRegionalListerHelpdetailed_helprD   r   r   <module>rZ      s    4 &  ' 7 9 ( * A T..33T5F5F5I5I5*4 5* 5*p "77  r   