/var/www/flurhymez/vendor/google/apiclient-services/src/Books/Resource
Edit: /var/www/flurhymez/vendor/google/apiclient-services/src/Books/Resource/BookshelvesVolumes.php (2045B)
* $booksService = new Google\Service\Books(...);
* $volumes = $booksService->volumes;
*
*/
class BookshelvesVolumes extends \Google\Service\Resource
{
/**
* Retrieves volumes in a specific bookshelf for the specified user.
* (volumes.listBookshelvesVolumes)
*
* @param string $userId ID of user for whom to retrieve bookshelf volumes.
* @param string $shelf ID of bookshelf to retrieve volumes.
* @param array $optParams Optional parameters.
*
* @opt_param string maxResults Maximum number of results to return
* @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults
* to false.
* @opt_param string source String to identify the originator of this request.
* @opt_param string startIndex Index of the first element to return (starts at
* 0)
* @return Volumes
*/
public function listBookshelvesVolumes($userId, $shelf, $optParams = [])
{
$params = ['userId' => $userId, 'shelf' => $shelf];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], VolumesModel::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BookshelvesVolumes::class, 'Google_Service_Books_Resource_BookshelvesVolumes');