Updates the content of an attachment (in an AODocs document). The new content can come either from an already pushed revision of the Drive file (the latest) or from another file in Drive. When updating the content, the document may be versioned to keep reference to the previous content of the attachment.
The access token received from the authorization server in the OAuth 2.0 flow.
The ID of the document
The ID of the file on Drive to be updated (must belong to the document identified by parameter documentId)
Whether a new version of the document should be created based on the new content of the attachment (else it's just an update of the current version)
The name of the new version to be created (required if createNewDocumentVersion = true)
The description of the new version to be created (optional but only relevant if createNewDocumentVersion = true)
The ID of a file in Drive to update the selected attachment's content with. Leave empty if a new revision of the attachment file was already uploaded in Drive.
The security code
The G Suite domain
Retrieve the latest state of the file from Drive and update the document accordingly