Updating a file contents with Google Drive v3 (JavaScript)
<p>I'm trying to update the file contents of a file that already exists in Google Drive using JavaScript and the v3 API:</p>

<p><a href="https://developers.google.com/drive/v3/reference/files/update#http-request" rel="nofollow">https://developers.google.com/drive/v3/reference/files/update#http-request</a></p>

<p>says that I should use the HTTP PATCH method to update a file using v3.  Unfortunately it gives no examples and I can't find any reasonable documentation on what "patch semantics" mean here for file contents.</p>

<p>Can anyone provide an example?</p>