title: API Google Calendar, Hangout is not created
body: <p>We have a PHP application and when we create an event in Google Calendar using de API, this event is generated without Hangout Link, but if we create the event manually, the event is created with the Hangout Link. The option to create automatically hangouts when we create an event is checked.</p>
  
  <p>The code is:</p>
  
  <pre><code>    $event = new Google_Service_Calendar_Event();
      $event-&gt;setSummary($summary);
      $event-&gt;setLocation('hangout');
      $start = new Google_Service_Calendar_EventDateTime();
      $start-&gt;setDateTime($startDate-&gt;format(\DateTime::ISO8601));
      $event-&gt;setStart($start);
      $end = new Google_Service_Calendar_EventDateTime();
      $end-&gt;setDateTime($endDate-&gt;format(\DateTime::ISO8601));
      $event-&gt;setEnd($end);
  
  
      $attendee1 = new Google_Service_Calendar_EventAttendee();
      $attendee1-&gt;setEmail($this-&gt;masterAccount);
  
  
      $attendees= [];
      $attendees[] = $attendee1;
  
      foreach($company-&gt;getUsers()-&gt;toArray() as $user){
          $attendee1 = new Google_Service_Calendar_EventAttendee();
          $attendee1-&gt;setEmail($user-&gt;getEmail());
          $attendees[] = $attendee1;
      }
      $event-&gt;attendees = $attendees;
      $createdEvent = $this-&gt;google_calendar_service-&gt;events-&gt;insert($company-&gt;getCalendar()-&gt;getCalendarId(), $event);
  </code></pre>
  
  <p>If we use the form <a href="https://developers.google.com/google-apps/calendar/v3/reference/events/insert#try-it" rel="nofollow">https://developers.google.com/google-apps/calendar/v3/reference/events/insert#try-it</a> to create de Event, the hangout link is created without problems.</p>
  
  <p>Any solutions?
  Thanks :)</p>