POST
gdrive_comments_create.py
Requires
https://www.googleapis.com/auth/drive. Costs 1 against the provider’s own quota.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create a comment on a file. The fields parameter is required. Set content to the plain text of the comment.
from charter.packs import gdrive
result = await gdrive.comments_create.ainvoke({"fileId": ..., "comment": ..., "fields": ...})
https://www.googleapis.com/auth/drive. Costs 1 against the provider’s own quota.| Field | Type | Description |
|---|---|---|
fileId * | string | The ID of the file. |
| Field | Type | Description |
|---|---|---|
fields * | string | Required. The fields parameter must be set. To return the exact fields you need, see Return specific fields. Example: comments(id,content,author,createdTime,modifiedTime,resolved,replies(id,content,author,createdTime,action)). |
| Field | Type | Description |
|---|---|---|
comment * | Comment | The comment to create. |
Was this page helpful?