title: "Invalid number of arguments" error when trying to update an event
body: <p>I am trying to update calendar events from google apps script. I have the calendar ID, event ID, and objects I am trying to update as a variable:</p>
  <pre><code>   var eventinfo = {
     &quot;calendarId&quot;: calID
        &quot;eventId&quot;: eventID,
        &quot;resource&quot;: {
          &quot;description&quot;: &quot;1234&quot;
        }
     };
  
   //update the event description and location
  
     var updater;
     try {
      updater = Calendar.Events.update(eventinfo);
      Logger.log('Successfully updated event: ' + i);
     } catch (e) {
      Logger.log('Fetch threw an exception: ' + e);
      } 
  </code></pre>
  <p>I am getting this error:</p>
  <blockquote>
  <p>Fetch threw an exception: Exception: Invalid number of arguments provided. Expected 3-5 only</p>
  </blockquote>
  <p>Previously, I had attempted to invoke the update method this way <code>.update(calID, eventID, eventinfo)</code> where event info was an object with just a description, but that was returning the error saying bad call.</p>
  <p>I think I am missing something in my object argument.</p>