build_resource_service#
- langchain_google_community.gmail.utils.build_resource_service(credentials: Credentials | None = None, service_name: str = 'gmail', service_version: str = 'v1', use_domain_wide: bool = False, delegated_user: str | None = None, service_account_file: str | None = None, scopes: List[str] | None = None) Resource [来源]#
构建一个Gmail服务。
- Parameters:
credentials (可选[Credentials])
service_name (str)
service_version (str)
use_domain_wide (bool)
delegated_user (可选[str])
service_account_file (可选[str])
scopes (可选[列表[字符串]])
- Return type: