Google_VolumesAssociatedServiceResource
The "associated" collection of methods.
Defined (1)
The class is defined in the following location(s).
- /google-api/src/contrib/Google_BooksService.php
- class Google_VolumesAssociatedServiceResource extends Google_ServiceResource {
- /**
- * Return a list of associated books. (associated.list)
- *
- * @param string $volumeId ID of the source volume.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string projection Restrict information returned to a set of selected fields.
- * @opt_param string maxResults Maximum number of results to return.
- * @opt_param string filter Filter search results.
- * @opt_param string source String to identify the originator of this request.
- * @opt_param string startIndex Index of the first result to return (starts at 0)
- * @opt_param string association Association type.
- * @return Google_Volumes
- */
- public function listVolumesAssociated($volumeId, $optParams = array()) {
- $params = array('volumeId' => $volumeId);
- $params = array_merge($params, $optParams);
- $data = $this->__call('list', array($params));
- if ($this->useObjects()) {
- return new Google_Volumes($data);
- } else {
- return $data;
- }
- }
- }