# get_google_credentials

> **Function** in `langchain_google_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-google-community/_utils/get_google_credentials)

Get credentials.

## Signature

```python
get_google_credentials(
    scopes: List[str],
    token_file: Optional[str] = None,
    client_secrets_file: Optional[str] = None,
    service_account_file: Optional[str] = None,
    use_domain_wide: bool = False,
    delegated_user: Optional[str] = None,
) -> Credentials
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain-google/blob/982e4015b249de8b9ba1e787746d8cc1f6d6b790/libs/community/langchain_google_community/_utils.py#L107)