Google_AboutServiceResource

The "about" collection of methods.

Defined (1)

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

/gdwpm-api/contrib/Google_DriveService.php  
  1. class Google_AboutServiceResource extends Google_ServiceResource { 
  2.  
  3. /** 
  4. * Gets the information about the current user along with Drive API settings (about.get) 
  5. * @param array $optParams Optional parameters. 
  6. * @opt_param bool includeSubscribed When calculating the number of remaining change IDs, whether to include shared files and public files the user has opened. When set to false, this counts only change IDs for owned files and any shared or public files that the user has explictly added to a folder in Drive. 
  7. * @opt_param string maxChangeIdCount Maximum number of remaining change IDs to count 
  8. * @opt_param string startChangeId Change ID to start counting from when calculating number of remaining change IDs 
  9. * @return Google_About 
  10. */ 
  11. public function get($optParams = array()) { 
  12. $params = array(); 
  13. $params = array_merge($params, $optParams); 
  14. $data = $this->__call('get', array($params)); 
  15. if ($this->useObjects()) { 
  16. return new Google_About($data); 
  17. } else { 
  18. return $data;