drive.approvals.comment
Adds a comment to a Drive approval and notifies the initiator and reviewers, with the message recorded in the approval activity log.
Instructions
Comments on an approval. For more information, see Manage approvals. This sends a notification to both the initiator and the reviewers. Additionally, a message is also added to the approval activity log [HTTP POST] — creates or triggers a change; refused under --readonly safety profiles. Returns the API's response resource as JSON — request body is a JSON CommentApprovalRequest object accepting message; pass it via params or whole via body_file Siblings over the same resource: approve, cancel, decline, get, list, reassign, start.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Extra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe. | |
| fileId | Yes | [URL path segment] Required. The ID of the file that the approval is on. | |
| params | No | Parameter map merged into the request; typed parameters win. | |
| dry_run | No | Return the request that would be sent, without sending it. | |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. The body is a JSON CommentApprovalRequest object. | |
| approvalId | Yes | [URL path segment] Required. The ID of the approval to comment on. | |
| request_body | No | Request body of type CommentApprovalRequest: pass it via `params` (merged into the built body) or whole via `body_file`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| status | No | ||
| dueTime | No | ||
| initiator | No | ||
| approvalId | No | ||
| createTime | No | ||
| modifyTime | No | ||
| completeTime | No | ||
| targetFileId | No | ||
| reviewerResponses | No | ||
| fileContentChangeBehavior | No |