Google_Service_Books_Cloudloading_Resource

The "cloudloading" collection of methods.

Defined (1)

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

/includes/api-libs/Google/Service/Books.php  
  1. class Google_Service_Books_Cloudloading_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * (cloudloading.addBook) 
  5. * @param array $optParams Optional parameters. 
  6. * @opt_param string upload_client_token 
  7. * @opt_param string drive_document_id A drive document id. The 
  8. * upload_client_token must not be set. 
  9. * @opt_param string mime_type The document MIME type. It can be set only if the 
  10. * drive_document_id is set. 
  11. * @opt_param string name The document name. It can be set only if the 
  12. * drive_document_id is set. 
  13. * @return Google_Service_Books_BooksCloudloadingResource 
  14. */ 
  15. public function addBook($optParams = array()) 
  16. $params = array(); 
  17. $params = array_merge($params, $optParams); 
  18. return $this->call('addBook', array($params), "Google_Service_Books_BooksCloudloadingResource"); 
  19.  
  20. /** 
  21. * Remove the book and its contents (cloudloading.deleteBook) 
  22. * @param string $volumeId The id of the book to be removed. 
  23. * @param array $optParams Optional parameters. 
  24. */ 
  25. public function deleteBook($volumeId, $optParams = array()) 
  26. $params = array('volumeId' => $volumeId); 
  27. $params = array_merge($params, $optParams); 
  28. return $this->call('deleteBook', array($params)); 
  29.  
  30. /** 
  31. * (cloudloading.updateBook) 
  32. * @param Google_BooksCloudloadingResource $postBody 
  33. * @param array $optParams Optional parameters. 
  34. * @return Google_Service_Books_BooksCloudloadingResource 
  35. */ 
  36. public function updateBook(Google_Service_Books_BooksCloudloadingResource $postBody, $optParams = array()) 
  37. $params = array('postBody' => $postBody); 
  38. $params = array_merge($params, $optParams); 
  39. return $this->call('updateBook', array($params), "Google_Service_Books_BooksCloudloadingResource");