Google_RealtimeServiceResource

The "realtime" collection of methods.

Defined (1)

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

/gdwpm-api/contrib/Google_DriveService.php  
  1. class Google_RealtimeServiceResource extends Google_ServiceResource { 
  2.  
  3. /** 
  4. * Exports the contents of the Realtime API data model associated with this file as JSON. 
  5. * (realtime.get) 
  6. * @param string $fileId The ID of the file that the Realtime API data model is associated with. 
  7. * @param array $optParams Optional parameters. 
  8. */ 
  9. public function get($fileId, $optParams = array()) { 
  10. $params = array('fileId' => $fileId); 
  11. $params = array_merge($params, $optParams); 
  12. $data = $this->__call('get', array($params)); 
  13. return $data;