
    	                        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KJr  SSKJr  \R&                  " \R(                  R*                  \R(                  R,                  \R(                  R.                  5      \R0                   " S S\R2                  5      5       5       r\R6                  " S5      \l        g)zCommand to list VPN Gateways.    )absolute_import)division)unicode_literals)base_classes)filter_rewrite)lister)vpn_gateways_utils)base)flags)
properties)resource_projection_specc                   6    \ rS rSrSrSS0r\S 5       rS rSr	g)	List   z2List Compute Engine Highly Available VPN Gateways.EXAMPLESzX          To list all VPN gateways, run:

              $ {command} --region=us-central1c                     U R                   R                  [        R                  5        [        R
                  " U 5        g )N)display_info	AddFormatr   DEFAULT_LIST_FORMATr   AddRegionsArg)parsers    (lib/surface/compute/vpn_gateways/list.pyArgs	List.Args-   s*    
!!%";";<
     c                    [         R                  " U R                  5       5      n[        R                  " U5      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'                  XGUR(                  S9$ )z,Issues the request to list all VPN Gateways.)symbolsaliases)defaults)projectfilter_exprregions)r   ComputeApiHolderReleaseTrackr	   VpnGatewayHelperr   VALUEScorer    	GetOrFailGetDisplayInfor   ProjectionSpec
transformsr   r   RewriterRewritefilterr   r"   )selfargsholderhelperr    r   r   r!   s           r   RunList.Run2   s    **4+<+<+>?F008F$$,,668G&&(L'66''1E1EGH-668@@h  A  (DK;;$,,   r    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r3   __static_attributes__r5   r   r   r   r      s1     ; 2- ! !r   r   zHighly Available VPN GatewaysN)r:   
__future__r   r   r   googlecloudsdk.api_lib.computer   r   r   +googlecloudsdk.api_lib.compute.vpn_gatewaysr	   googlecloudsdk.callioper
   /googlecloudsdk.command_lib.compute.vpn_gatewaysr   googlecloudsdk.corer   googlecloudsdk.core.resourcer   ReleaseTracksr$   ALPHABETAGAUniverseCompatibleListCommandr   GetRegionalListerHelpr;   r5   r   r   <module>rL      s    $ &  ' 7 9 1 J ( A * A D%%++T->->-C-C%%((*4  *@ "77#% r   