get_gmail_credentials#

langchain_community.tools.gmail.utils.get_gmail_credentials(token_file: str | None = None, client_secrets_file: str | None = None, scopes: List[str] | None = None) Credentials[source]#

Get credentials.

Parameters:
  • token_file (Optional[str]) –

  • client_secrets_file (Optional[str]) –

  • scopes (Optional[List[str]]) –

Return type:

Credentials