# google-auth 2.62.0 (Apache-2.0), harvested by tools/harvest_corpus.py
=== input
Performs credential-specific before request logic.
        Refreshes the credentials if necessary, then calls :meth:`apply` to
        apply the token to the x-goog-api-key header.
        Args:
            request (google.auth.transport.Request): The object used to make
                HTTP requests.
            method (str): The request's HTTP method or the RPC method being
                invoked.
            url (str): The request's URI or the RPC service's URI.
            headers (Mapping): The request's headers.
        
=== parse google
short_description: |
  Performs credential-specific before request logic.
  Refreshes the credentials if necessary, then calls :meth:`apply` to
  apply the token to the x-goog-api-key header.
blank_after_short_description: False
blank_after_long_description: False
style: google
- DocstringParam
  description: |
    The object used to make
    HTTP requests.
  kind: param
  key: 'param'
  arg_name: 'request'
  type_name: 'google.auth.transport.Request'
  is_optional: False
- DocstringParam
  description: |
    The request's HTTP method or the RPC method being
    invoked.
  kind: param
  key: 'param'
  arg_name: 'method'
  type_name: 'str'
  is_optional: False
- DocstringParam
  description: "The request's URI or the RPC service's URI."
  kind: param
  key: 'param'
  arg_name: 'url'
  type_name: 'str'
  is_optional: False
- DocstringParam
  description: "The request's headers."
  kind: param
  key: 'param'
  arg_name: 'headers'
  type_name: 'Mapping'
  is_optional: False
=== detect
google
=== compose google
Performs credential-specific before request logic.
Refreshes the credentials if necessary, then calls :meth:`apply` to
apply the token to the x-goog-api-key header.
Args:
    request (google.auth.transport.Request): The object used to make
        HTTP requests.
    method (str): The request's HTTP method or the RPC method being
        invoked.
    url (str): The request's URI or the RPC service's URI.
    headers (Mapping): The request's headers.
