
                            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	  \R                  " \R                  R                  \R                  R                  5      \R                   " S S	\R                  5      5       5       rg
)z,List all route views for Meshes or Gateways.    )absolute_import)division)unicode_literals)base)flags)utilc                   .    \ rS rSrSr\S 5       rS rSrg)List   a  Route View for a Mesh or Gateway.

List all Route Views for a Mesh or Gateway

## EXAMPLES

List Route Views for a mesh.

  $ {command} --mesh projects/-/locations/-/meshes/mesh1
  $ {command} --project $PROJECT --location $LOCATION --mesh
  projects/-/locations/-/meshes/mesh1
List Route Views for a gateway.

  $ {command} --gateway projects/-/locations/-/gateways/gateway1
  $ {command} --project $PROJECT --location $LOCATION --gateway
  projects/-/locations/-/gateways/gateway1
c                     [         R                  " U 5        [         R                  " U 5        U R                  R	                  S5        g)zSet args for route-views list.z,
     table(
        name:label=NAME
      )N)r   AddFilteredListFlagsAddGatewayAndMeshFlagsdisplay_info	AddFormat)parsers    0lib/surface/network_services/route_views/list.pyArgs	List.Args1   s9     
v&	  (
!! #     c                    SnUR                  S5      (       a5  UR                  R                  R                  5       nUR	                  5       nOJUR                  S5      (       a4  UR                  R
                  R                  5       nUR	                  5       n[        R                  " U R                  5       X!R                  UR                  5      $ )N meshgateway)IsSpecifiedCONCEPTSr   ParseRelativeNamer   r   ListRouteViewsReleaseTrack	page_sizelimit)selfargsnamer   r   s        r   RunList.Run<   s    D]]%%'d d			)	$	$%%++-g!!#dT>>4:: r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r%   __static_attributes__r'   r   r   r
   r
      s     
$  r   r
   N)r,   
__future__r   r   r   googlecloudsdk.callioper   +googlecloudsdk.command_lib.network_servicesr   r   ReleaseTracksr   ALPHAGADefaultUniverseOnlyListCommandr
   r'   r   r   <module>r7      su    3 &  ' ( = < T..11 *4 * *r   