+
    oi                         R t ^ RIt^ RIHt RtRtRtRtRtRt	R	t
R
tRtRtRtRtR tR tR tR tR tR tR tR tR tR tR tR tR tR# )zWe use x-goog-api-client header to report metrics. This module provides
the constants and helper methods to construct x-goog-api-client header.
N)versionzx-goog-api-clientzgoogle-byoid-sdkzauth-request-type/atzauth-request-type/itzauth-request-type/mdszauth-request-type/re-startzauth-request-type/re-contzcred-type/uzcred-type/sazcred-type/jwtzcred-type/mdszcred-type/impc                  h    R P                  \        P                  ! 4       \        P                  4      # )zgl-python/{} auth/{})formatplatformpython_versionr   __version__     v/Users/tonyclaw/.openclaw/workspace/scripts/youtube-playlists/venv/lib/python3.14/site-packages/google/auth/metrics.pypython_and_auth_lib_versionr   -   s$    !(()@)@)BGDWDWXXr	   c                  H    R P                  \        4       \        \        4      # z{} {} {})r   r   REQUEST_TYPE_ACCESS_TOKENCRED_TYPE_SA_MDSr   r	   r
   token_request_access_token_mdsr   6   s!    #%'@BR r	   c                  H    R P                  \        4       \        \        4      # r   )r   r   REQUEST_TYPE_ID_TOKENr   r   r	   r
   token_request_id_token_mdsr   >   s!    #%'<>N r	   c                  H    R P                  \        4       \        \        4      # r   )r   r   r   CRED_TYPE_SA_IMPERSONATEr   r	   r
   &token_request_access_token_impersonater   F   s!    #%!  r	   c                  H    R P                  \        4       \        \        4      # r   )r   r   r   r   r   r	   r
   "token_request_id_token_impersonater   P   s!    #%'<>V r	   c                  H    R P                  \        4       \        \        4      # r   )r   r   r   CRED_TYPE_SA_ASSERTIONr   r	   r
   'token_request_access_token_sa_assertionr   Y   s!    #%'@BX r	   c                  H    R P                  \        4       \        \        4      # r   )r   r   r   r   r   r	   r
   #token_request_id_token_sa_assertionr   b   s!    #%'<>T r	   c                  >    R P                  \        4       \        4      # {} {})r   r   CRED_TYPE_USERr   r	   r
   token_request_userr"   j   s    >>57HHr	   c                  >    R P                  \        4       \        4      # r   )r   r   REQUEST_TYPE_MDS_PINGr   r	   r
   mds_pingr%   s   s    >>579NOOr	   c                  >    R P                  \        4       \        4      # r   )r   r   REQUEST_TYPE_REAUTH_STARTr   r	   r
   reauth_startr(   y   s    >>579RSSr	   c                  >    R P                  \        4       \        4      # r   )r   r   REQUEST_TYPE_REAUTH_CONTINUEr   r	   r
   reauth_continuer+      s    >>579UVVr	   c                     R P                  \        4       \        4      pV P                  4        F  w  r#RP                  WV4      pK  	  V# )r    z{} {}/{})r   r   BYOID_HEADER_SECTIONitems)metrics_optionsheaderkeyvalues   &   r
   byoid_metrics_headerr3      sC    ^^79;OPF%++-
""66 .Mr	   c                    V'       g   R# \         V 9  d   W\         &   R# V \         ;;,          RV,           ,          uu&   R# )a  Add x-goog-api-client header with the given value.

Args:
    headers (Mapping[str, str]): The headers to which we will add the
        metric header.
    metric_header_value (Optional[str]): If value is None, do nothing;
        if headers already has a x-goog-api-client header, append the value
        to the existing header; otherwise add a new x-goog-api-client
        header with the given value.
N )API_CLIENT_HEADER)headersmetric_header_values   &&r
   add_metric_headerr9      s2     '%8!"!"c,?&??"r	   )__doc__r   google.authr   r6   r-   r   r   r$   r'   r*   r!   r   CRED_TYPE_SA_JWTr   r   r   r   r   r   r   r   r   r"   r%   r(   r+   r3   r9   r   r	   r
   <module>r=      s      (  *  3 . / 8 :  ' " " * YIPTW@r	   