
    	                     "   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	S
.rSr\R                  " \R                  R                  \R                  R                   5      \R"                   " S S\R$                  5      5       5       rg)zACommand to list all Google API sources in a project and location.    )absolute_import)division)unicode_literals)google_api_sources)base)flagsz{description}a          To list all Google API sources in location ``us-central1'', run:

          $ {command} --location=us-central1

        To list all Google API sources in all locations, run:

          $ {command} --location=-

        or

          $ {command}
        )DESCRIPTIONEXAMPLESa#  table(
    name.scope("googleApiSources"):label=NAME,
    destination.scope("messageBuses"):label=DESTINATION,
    destination.scope("projects").segment(1):label=DESTINATION_PROJECT,
    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)List5   z!List Eventarc Google API sources.c                     [         R                  " U SSSS9  [         R                  " U 5        U R                  R	                  [
        5        U R                  R                  [        R                  5        g )Nz_The location for which to list Google API sources. This should be one of the supported regions.FT)requiredallow_aggregation)	r   AddLocationResourceArgAddProjectResourceArgdisplay_info	AddFormat_FORMAT
AddUriFuncr   GetGoogleAPISourceURI)parsers    /lib/surface/eventarc/google_api_sources/list.pyArgs	List.Args<   s]    	  	% 
'
!!'*
""#5#K#KL    c                     [         R                  " 5       nUR                  R                  R	                  5       nUR                  X1R                  UR                  5      $ )N)r   GoogleApiSourceClientV1CONCEPTSlocationParser   limit	page_size)selfargsclientlocation_refs       r   RunList.RunI   sA    779F==))//1L;;|ZZ@@r    N)__name__
__module____qualname____firstlineno____doc___DETAILED_HELPdetailed_helpstaticmethodr   r(   __static_attributes__r*   r   r   r   r   5   s&     * -
M 
MAr   r   N)r/   
__future__r   r   r   googlecloudsdk.api_lib.eventarcr   googlecloudsdk.callioper   #googlecloudsdk.command_lib.eventarcr   r0   r   ReleaseTracksReleaseTrackBETAGADefaultUniverseOnlyListCommandr   r*   r   r   <module>r>      s    H &  ' > ( 5 #" D%%**D,=,=,@,@AA4 A  BAr   