
    I                         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S	.r	\R                   " S
 S\R                  5      5       r\	\l        g)z'logging views list' command.    )absolute_import)division)unicode_literals)util)basez>
        Lists the available locations for Cloud Logging.
    zE
     To list the available locations, run:

        $ {command}
    )DESCRIPTIONEXAMPLESc                   .    \ rS rSrSr\S 5       rS rSrg)List%   zList the availables location.c                 h    [         R                  " U S5        U R                  R                  S5        g)z Register flags for this command.zlocations to listztable(locationId)N)r   AddParentArgsdisplay_info	AddFormat)parsers    %lib/surface/logging/locations/list.pyArgs	List.Args)   s*     	v23
!!"56    c              #      #    [         R                  " 5       R                  R                  [         R                  " 5       R                  [         R                  " U5      S95      nUR                   H  nUv   M	     g7f)zThis is what gets called when the user runs this command.

Args:
  args: an argparse namespace. All the arguments that were provided to this
  command invocation.

Yields:
  The list of locations.
)nameN)r   	GetClientprojects_locationsr   GetMessages#LoggingProjectsLocationsListRequestGetParentFromArgs	locations)selfargsresultlocations       r   RunList.Run0   se      ^^0055>>''- 	? 	/0F $$n %s   A;A= N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r"   __static_attributes__r$   r   r   r   r   %   s    %7 7r   r   N)r)   
__future__r   r   r   googlecloudsdk.api_lib.loggingr   googlecloudsdk.callioper   DETAILED_HELPUniverseCompatibleListCommandr   detailed_helpr$   r   r   <module>r3      s[     $ &  ' / (		 4  6 # r   