title: How to rename file with google drive api v3? electron, nodejs
body: <p>for v2, we can get an example how to rename file with google drive API. here's the link
  <a href="https://developers.google.com/drive/api/v2/reference/files/patch#examples" rel="nofollow noreferrer">https://developers.google.com/drive/api/v2/reference/files/patch#examples</a><br />
  here's how we can rename a file with v2 in javascript</p>
  <pre class="lang-js prettyprint-override"><code>/**
   * Rename a file.
   *
   * @param {String} fileId &lt;span style=&quot;font-size: 13px; &quot;&gt;ID of the file to rename.&lt;/span&gt;&lt;br&gt; * @param {String} newTitle New title for the file.
   */
  function renameFile(fileId, newTitle) {
    var body = {'title': newTitle};
    var request = gapi.client.drive.files.patch({
      'fileId': fileId,
      'resource': body
    });
    request.execute(function(resp) {
      console.log('New Title: ' + resp.title);
    });
  }
  </code></pre>
  <p>i need to create function like example from v2 with electron and nodejs.
  here's what i've done so far <a href="https://github.com/dhanyn10/mfm-gdrive" rel="nofollow noreferrer">mfm-gdrive</a></p>