langchain_community.tools.gmail.utils.build_resource_service¶

langchain_community.tools.gmail.utils.build_resource_service(credentials: Optional[Credentials] = None, service_name: str = 'gmail', service_version: str = 'v1') Resource[source]¶

Build a Gmail service.

Parameters
  • credentials (Optional[Credentials]) –

  • service_name (str) –

  • service_version (str) –

Return type

Resource

Examples using build_resource_service¶