
                         D   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
S.r\R                  " \R                  R                   \R                  R"                  \R                  R$                  5       " S S\R&                  5      5       r\\l        g)z#'notebooks locations list' command.    )absolute_import)division)unicode_literals)
list_pager)	locations)util)basez,
        Request for listing locations.
    z3
    To list locations, run:
      $ {command}
    )DESCRIPTIONEXAMPLESc                   .    \ rS rSrSr\S 5       rS rSrg)List%   zRequest for listing locations.c                     UR                   R                  S5        UR                   R                  [        R                  5        g)z Register flags for this command.ztable(locationId)N)display_info	AddFormat
AddUriFuncloc_utilGetLocationURI)clsparsers     'lib/surface/notebooks/locations/list.pyArgs	List.Args*   s3     !!"56
""8#:#:;    c                     U R                  5       n[        R                  " U5      n[        R                  " U5      nUR                  n[
        R                  " U[        R                  " X5      SUR                  SS9$ )z9This is what gets called when the user runs this command.r   pageSize)fieldlimitbatch_size_attribute)
ReleaseTrackr   	GetClientGetMessagesprojects_locationsr   YieldFromListr   CreateLocationListRequestr   )selfargsrelease_trackclientmessageslocation_services         r   RunList.Run0   sk    %%'M^^M*F.H00##**4:jj') )r    N)	__name__
__module____qualname____firstlineno____doc__classmethodr   r,   __static_attributes__r.   r   r   r   r   %   s     '< <
)r   r   N)r3   
__future__r   r   r   apitools.base.pyr    googlecloudsdk.api_lib.notebooksr   r   r   googlecloudsdk.callioper	   DETAILED_HELPReleaseTracksr    ALPHABETAGAListCommandr   detailed_helpr.   r   r   <module>rA      s    * &  ' ' B 1 (	 D%%++T->->-C-C%%((*)4 )*). # r   