Google_Service_Books_BookshelvesVolumes_Resource

The "volumes" 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_BookshelvesVolumes_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Retrieves volumes in a specific bookshelf for the specified user. 
  5. * (volumes.listBookshelvesVolumes) 
  6. * @param string $userId ID of user for whom to retrieve bookshelf volumes. 
  7. * @param string $shelf ID of bookshelf to retrieve volumes. 
  8. * @param array $optParams Optional parameters. 
  9. * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults 
  10. * to false. 
  11. * @opt_param string maxResults Maximum number of results to return 
  12. * @opt_param string source String to identify the originator of this request. 
  13. * @opt_param string startIndex Index of the first element to return (starts at 
  14. * 0) 
  15. * @return Google_Service_Books_Volumes 
  16. */ 
  17. public function listBookshelvesVolumes($userId, $shelf, $optParams = array()) 
  18. $params = array('userId' => $userId, 'shelf' => $shelf); 
  19. $params = array_merge($params, $optParams); 
  20. return $this->call('list', array($params), "Google_Service_Books_Volumes");