חזרה אל 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
בטא
הרשאות
  • https://www.googleapis.com/auth/drive.file
הרשאות אופציונליות
  • https://www.googleapis.com/auth/drive
פרמטרים
שםסוגתיאורנדרש
documentIdfile Select the Google Docs document to update.כן
startIndexmustache Document start index (inclusive) of the range to update. Uses Docs API document index (UTF-16 code units).כן
endIndexmustache Document end index (exclusive) of the range to update. Must be greater than or equal to startIndex.כן
textmustache New text to insert at startIndex. If omitted or empty, the specified range will simply be deleted.לא
החזרות
שםסוגתיאור
statusstring UPDATED or ERROR.
startIndexnumber The original start index used for the update.
oldEndIndexnumber The original end index used for the update.
newEndIndexnumber The new end index after inserting the replacement text (startIndex + inserted text length).
sensitive.documentIdstring ID of the document that was updated.