# IDocument Interface

> A Google document.

A Google document.

**Namespace:** UiPath.GSuite.Activities.API

**Assembly:** UiPath.GSuite.Activities.API (in UiPath.GSuite.Activities.API.dll)

## Syntax

```
public interface IDocument
```

## Properties

| Name | Description |
| --- | --- |
| Item | The `GDriveRemoteItem` item for the document. |
| Id | The Id of the document. |
| Name | The name of the document. |

## Methods

| Name | Description |
| --- | --- |
| ReadText | Reads the text from the Google document. |
| WriteText | Writes text to the Google document. |
| DeleteText | Deletes searched text from the whole Google document, or deletes the whole section from the Google document. |
| FillDocumentTemplate | Inserts text in marked fields in the Google document. |
| FindAndReplaceText | Finds and replaces the text inside the Google document. |
