Google_VolumesMybooksServiceResource

The "mybooks" collection of methods.

Defined (1)

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

/src/contrib/Google_BooksService.php  
  1. class Google_VolumesMybooksServiceResource extends Google_ServiceResource { 
  2.  
  3. /** 
  4. * Return a list of books in My Library. (mybooks.list) 
  5. * @param array $optParams Optional parameters. 
  6. * @opt_param string acquireMethod How the book was aquired 
  7. * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:'en_US'. Used for generating recommendations. 
  8. * @opt_param string maxResults Maximum number of results to return. 
  9. * @opt_param string processingState The processing state of the user uploaded volumes to be returned. Applicable only if the UPLOADED is specified in the acquireMethod. 
  10. * @opt_param string source String to identify the originator of this request. 
  11. * @opt_param string startIndex Index of the first result to return (starts at 0) 
  12. * @return Google_Volumes 
  13. */ 
  14. public function listVolumesMybooks($optParams = array()) { 
  15. $params = array(); 
  16. $params = array_merge($params, $optParams); 
  17. $data = $this->__call('list', array($params)); 
  18. if ($this->useObjects()) { 
  19. return new Google_Volumes($data); 
  20. } else { 
  21. return $data;