# GoogleDriveLoader

> **Class** in `langchain_google_community`

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

Load documents from Google Drive.

Inherits from [`BaseLoader`][langchain_core.document_loaders.BaseLoader].

Supports loading from folders, specific documents, or file IDs with authentication.

!!! note "Installation"

    Requires additional dependencies:

    ```bash
    pip install langchain-google-community[drive]
    ```

## Signature

```python
GoogleDriveLoader()
```

## Extends

- `BaseLoader`
- `BaseModel`

## Properties

- `VALID_SCOPES`
- `service_account_key`
- `credentials_path`
- `token_path`
- `credentials`
- `folder_id`
- `document_ids`
- `file_ids`
- `recursive`
- `file_types`
- `load_trashed_files`
- `file_loader_cls`
- `file_loader_kwargs`
- `load_auth`
- `load_extended_metadata`
- `scopes`

## Methods

- [`validate_inputs()`](https://reference.langchain.com/python/langchain-google-community/drive/GoogleDriveLoader/validate_inputs)
- [`validate_credentials_path()`](https://reference.langchain.com/python/langchain-google-community/drive/GoogleDriveLoader/validate_credentials_path)
- [`validate_scopes()`](https://reference.langchain.com/python/langchain-google-community/drive/GoogleDriveLoader/validate_scopes)
- [`load()`](https://reference.langchain.com/python/langchain-google-community/drive/GoogleDriveLoader/load)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-google/blob/a3f016b2a6c4af535df275545f76fa7424aa39e5/libs/community/langchain_google_community/drive.py#L19)