original_docstring: Apply the API key token to the x-goog-api-key header.
  
          Args:
              headers (Mapping): The HTTP request headers.
              token (Optional[str]): If specified, overrides the current access
                  token.
          
docstring: Apply the API key token to the x-goog-api-key header.
docstring_tokens: Apply the API key token to the x - goog - api - key header .
code: def apply(self, headers, token=None):
          """Apply the API key token to the x-goog-api-key header.
  
          Args:
              headers (Mapping): The HTTP request headers.
              token (Optional[str]): If specified, overrides the current access
                  token.
          """
          headers["x-goog-api-key"] = token or self.token
code_tokens: def apply ( self , headers , token = None ) : headers [ "x-goog-api-key" ] = token or self . token
short_docstring: Apply the API key token to the x-goog-api-key header.
short_docstring_tokens: Apply the API key token to the x - goog - api - key header .
comment: """Apply the API key token to the x-goog-api-key header.
  
          Args:
              headers (Mapping): The HTTP request headers.
              token (Optional[str]): If specified, overrides the current access
                  token.
          """