Google_VolumesAssociatedServiceResource

The "associated" collection of methods.

Defined (1)

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

/inc/google-api-php-client/src/contrib/Google_BooksService.php  
  1. class Google_VolumesAssociatedServiceResource extends Google_ServiceResource { 
  2.  
  3.  
  4. /** 
  5. * Return a list of associated books. (associated.list) 
  6. * @param string $volumeId ID of the source volume. 
  7. * @param array $optParams Optional parameters. 
  8. * @opt_param string projection Restrict information returned to a set of selected fields. 
  9. * @opt_param string maxResults Maximum number of results to return. 
  10. * @opt_param string filter Filter search results. 
  11. * @opt_param string source String to identify the originator of this request. 
  12. * @opt_param string startIndex Index of the first result to return (starts at 0) 
  13. * @opt_param string association Association type. 
  14. * @return Google_Volumes 
  15. */ 
  16. public function listVolumesAssociated($volumeId, $optParams = array()) { 
  17. $params = array('volumeId' => $volumeId); 
  18. $params = array_merge($params, $optParams); 
  19. $data = $this->__call('list', array($params)); 
  20. if ($this->useObjects()) { 
  21. return new Google_Volumes($data); 
  22. } else { 
  23. return $data;