Google_FreebusyServiceResource

The "freebusy" collection of methods.

Defined (1)

The class is defined in the following location(s).

/inc/google-api-php-client/src/contrib/Google_CalendarService.php  
  1. class Google_FreebusyServiceResource extends Google_ServiceResource { 
  2.  
  3.  
  4. /** 
  5. * Returns free/busy information for a set of calendars. (freebusy.query) 
  6. * @param Google_FreeBusyRequest $postBody 
  7. * @param array $optParams Optional parameters. 
  8. * @return Google_FreeBusyResponse 
  9. */ 
  10. public function query(Google_FreeBusyRequest $postBody, $optParams = array()) { 
  11. $params = array('postBody' => $postBody); 
  12. $params = array_merge($params, $optParams); 
  13. $data = $this->__call('query', array($params)); 
  14. if ($this->useObjects()) { 
  15. return new Google_FreeBusyResponse($data); 
  16. } else { 
  17. return $data;