
    |                         S 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 scopes list' command.    )util)basez0
        List the log scopes for a project.
    z^
     To list the log scopes in a project, run:

        $ {command} --project=my-project
    )DESCRIPTIONEXAMPLESc                   .    \ rS rSrSr\S 5       rS rSrg)List"   zList the defined log scopes.c                     [         R                  " U SSS9  U R                  R                  S5        U R                  R	                  S5        g)z Register flags for this command.zlog scopes to listT)exclude_billing_accountztable(name.segment(-3):label=LOCATION, name.segment(-1):label=LOG_SCOPE_ID, resource_name, description, create_time, update_time)N)r   AddParentArgsdisplay_info	AddFormatAddCacheUpdater)parsers    "lib/surface/logging/scopes/list.pyArgs	List.Args&   sL     	$d !!	@
 ''-    c           	   #   Z  #    [         R                  " 5       R                  R                  [         R                  " 5       R                  [         R                  " [         R                  " UR                  5      R                  5       SS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 log scopes.
	locationsglobal)parentN)r   	GetClientprojects_locations_logScopesr   GetMessages,LoggingProjectsLocationsLogScopesListRequestCreateResourceNameGetProjectResourceprojectRelativeName	logScopes)selfargsresultscopes       r   RunList.Run4   s      ^^::??GG**''5BBD 	H 	
F !!k "s   B)B+ N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r&   __static_attributes__r(   r   r   r   r   "   s    $. .r   r   N)
r-   googlecloudsdk.api_lib.loggingr   googlecloudsdk.callioper   DETAILED_HELPUniverseCompatibleListCommandr   detailed_helpr(   r   r   <module>r6      sU     % 0 (		 %4 % %P # r   