Google Docs로 돌아가기
Knoon AI를 Google Docs (Google)과 연결하여 AI 워크플로우를 자동화하세요.
Replace the content in a Google Docs document between startIndex (inclusive) and endIndex (exclusive) with new text.
googleDocsUpdateContentRange
베타
권한
선택사항 권한
매개변수
| 이름 | 유형 | 설명 | 필수 |
|---|---|---|---|
| documentId | file | Select the Google Docs document to update. | 네 |
| startIndex | mustache | Document start index (inclusive) of the range to update. Uses Docs API document index (UTF-16 code units). | 네 |
| endIndex | mustache | Document end index (exclusive) of the range to update. Must be greater than or equal to startIndex. | 네 |
| text | mustache | New text to insert at startIndex. If omitted or empty, the specified range will simply be deleted. | 아니요 |
반환값
| 이름 | 유형 | 설명 |
|---|---|---|
| status | string | UPDATED or ERROR. |
| startIndex | number | The original start index used for the update. |
| oldEndIndex | number | The original end index used for the update. |
| newEndIndex | number | The new end index after inserting the replacement text (startIndex + inserted text length). |
| sensitive.documentId | string | ID of the document that was updated. |