
    f                         S r SSKJr  SSKJr  SSKJr  SSS.rSr\R                  " \R                  R                  \R                  R                  5      \R                   " S	 S
\R                  5      5       5       rg)z<Command to list all message buses in a project and location.    )message_buses)base)flagsz{description}z        To list all message buses in location ``us-central1'', run:

          $ {command} --location=us-central1

        To list all message buses in all locations, run:

          $ {command} --location=-

        or

          $ {command}
        )DESCRIPTIONEXAMPLESztable(
    name.scope("messageBuses"):label=NAME,
    name.scope("locations").segment(0):label=LOCATION,
    loggingConfig.logSeverity:label=LOGGING_CONFIG
)
c                   2    \ rS rSrSr\r\S 5       rS r	Sr
g)List0   zList Eventarc message buses.c                     [         R                  " U SSSS9  [         R                  " U 5        U R                  R	                  [
        5        U R                  R                  [        R                  5        g )NzZThe location for which to list message buses. This should be one of the supported regions.FT)requiredallow_aggregation)	r   AddLocationResourceArgAddProjectResourceArgdisplay_info	AddFormat_FORMAT
AddUriFuncr   GetMessageBusURI)parsers    *lib/surface/eventarc/message_buses/list.pyArgs	List.Args7   s\    	  	" 
'
!!'*
""=#A#AB    c                     [         R                  " 5       nUR                  R                  R	                  5       nUR                  X1R                  UR                  5      $ )N)r   MessageBusClientV1CONCEPTSlocationParser	   limit	page_size)selfargsclientlocation_refs       r   RunList.RunD   sA    --/F==))//1L;;|ZZ@@r    N)__name__
__module____qualname____firstlineno____doc___DETAILED_HELPdetailed_helpstaticmethodr   r%   __static_attributes__r'   r   r   r	   r	   0   s&     % -
C 
CAr   r	   N)r,   googlecloudsdk.api_lib.eventarcr   googlecloudsdk.callioper   #googlecloudsdk.command_lib.eventarcr   r-   r   ReleaseTracksReleaseTrackBETAGADefaultUniverseOnlyListCommandr	   r'   r   r   <module>r:      s    C : ( 5 #" D%%**D,=,=,@,@AA4 A  BAr   