
                         <    S r SSKJr  SSKJr  SSKrSrSrS r	S r
g)	z&Common utilities for the Eventarc API.    )apis)baseNeventarcv1c                 L    U [         R                  R                  :X  a  [        $ g )N)r   ReleaseTrackGAAPI_VERSION_1)release_tracks    -lib/googlecloudsdk/api_lib/eventarc/common.pyGetApiVersionr      s    d''***    c                     [         R                  " [        U 5      n[        R                  R
                  R                  R                  U5      R                  $ )z;Gets the service name based on the configured API endpoint.)	r   GetEffectiveApiEndpointAPI_NAMEsixmovesurllibparseurlparsehostname)api_versionendpoints     r   GetApiServiceNamer   "   s;    ))(K@(						(	(	2	;	;;r   )__doc__googlecloudsdk.api_lib.utilr   googlecloudsdk.callioper   six.moves.urllib.parser   r   r
   r   r    r   r   <module>r       s)    - - ( <r   