ย้อนกลับไปยัง 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. |