title: Google Drive Api v3 Create Shared File
body: <p>I am using Node.js google-api client for creating file in google drive normally when i create file everything work fine , here is an example : </p>
  
  <pre><code>drive.files.create({
        resource: {
          name: 'Another File 5',
          mimeType: 'text/plain',
        },
        media: {
          mimeType: 'text/plain',
          body: 'It\'s Another Fucking File',
        }
  
      }, function(err,result){
          if(err) console.log(err) 
          else console.log(result)
      });
  </code></pre>
  
  <p>Now i want create a shared  <code>"shared": true</code> its give me this error : </p>
  
  <pre><code>drive.files.create({
    resource: {
      name: 'Another File 5',
      mimeType: 'text/plain',
      "shared": true
    },
    media: {
      mimeType: 'text/plain',
      body: 'It\'s Another Fucking File',
    }
  
  }, function(err,result){
      if(err) console.log(err) 
      else console.log(result)
  });
  </code></pre>
  
  <p>Error : </p>
  
  <pre><code>{ [Error: The resource body includes fields which are not directly writable.]
    code: 403,
    errors: 
     [ { domain: 'global',
         reason: 'fieldNotWritable',
         message: 'The resource body includes fields which are not directly writable.' } ] }
  </code></pre>
  
  <p>I tried this in Google APIs Explorer and gave same error.</p>
  
  <p>I am new to google Api and appreciate any help.</p>