Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]

   1  <?php
   2  /*
   3   * Copyright 2010 Google Inc.
   4   *
   5   * Licensed under the Apache License, Version 2.0 (the "License"); you may not
   6   * use this file except in compliance with the License. You may obtain a copy of
   7   * the License at
   8   *
   9   * http://www.apache.org/licenses/LICENSE-2.0
  10   *
  11   * Unless required by applicable law or agreed to in writing, software
  12   * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13   * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14   * License for the specific language governing permissions and limitations under
  15   * the License.
  16   */
  17  
  18  /**
  19   * Service definition for Books (v1).
  20   *
  21   * <p>
  22   * Lets you search for books and manage your Google Books library.</p>
  23   *
  24   * <p>
  25   * For more information about this service, see the API
  26   * <a href="https://developers.google.com/books/docs/v1/getting_started" target="_blank">Documentation</a>
  27   * </p>
  28   *
  29   * @author Google, Inc.
  30   */
  31  #[AllowDynamicProperties]
  32  class Google_Service_Books extends Google_Service
  33  {
  34    /** Manage your books. */
  35    const BOOKS =
  36        "https://www.googleapis.com/auth/books";
  37  
  38    public $bookshelves;
  39    public $bookshelves_volumes;
  40    public $cloudloading;
  41    public $dictionary;
  42    public $layers;
  43    public $layers_annotationData;
  44    public $layers_volumeAnnotations;
  45    public $myconfig;
  46    public $mylibrary_annotations;
  47    public $mylibrary_bookshelves;
  48    public $mylibrary_bookshelves_volumes;
  49    public $mylibrary_readingpositions;
  50    public $notification;
  51    public $onboarding;
  52    public $personalizedstream;
  53    public $promooffer;
  54    public $volumes;
  55    public $volumes_associated;
  56    public $volumes_mybooks;
  57    public $volumes_recommended;
  58    public $volumes_useruploaded;
  59    
  60  
  61    /**
  62     * Constructs the internal representation of the Books service.
  63     *
  64     * @param Google_Client $client
  65     */
  66    public function __construct(Google_Client $client)
  67    {
  68      parent::__construct($client);
  69      $this->rootUrl = 'https://www.googleapis.com/';
  70      $this->servicePath = 'books/v1/';
  71      $this->version = 'v1';
  72      $this->serviceName = 'books';
  73  
  74      $this->bookshelves = new Google_Service_Books_Bookshelves_Resource(
  75          $this,
  76          $this->serviceName,
  77          'bookshelves',
  78          array(
  79            'methods' => array(
  80              'get' => array(
  81                'path' => 'users/{userId}/bookshelves/{shelf}',
  82                'httpMethod' => 'GET',
  83                'parameters' => array(
  84                  'userId' => array(
  85                    'location' => 'path',
  86                    'type' => 'string',
  87                    'required' => true,
  88                  ),
  89                  'shelf' => array(
  90                    'location' => 'path',
  91                    'type' => 'string',
  92                    'required' => true,
  93                  ),
  94                  'source' => array(
  95                    'location' => 'query',
  96                    'type' => 'string',
  97                  ),
  98                ),
  99              ),'list' => array(
 100                'path' => 'users/{userId}/bookshelves',
 101                'httpMethod' => 'GET',
 102                'parameters' => array(
 103                  'userId' => array(
 104                    'location' => 'path',
 105                    'type' => 'string',
 106                    'required' => true,
 107                  ),
 108                  'source' => array(
 109                    'location' => 'query',
 110                    'type' => 'string',
 111                  ),
 112                ),
 113              ),
 114            )
 115          )
 116      );
 117      $this->bookshelves_volumes = new Google_Service_Books_BookshelvesVolumes_Resource(
 118          $this,
 119          $this->serviceName,
 120          'volumes',
 121          array(
 122            'methods' => array(
 123              'list' => array(
 124                'path' => 'users/{userId}/bookshelves/{shelf}/volumes',
 125                'httpMethod' => 'GET',
 126                'parameters' => array(
 127                  'userId' => array(
 128                    'location' => 'path',
 129                    'type' => 'string',
 130                    'required' => true,
 131                  ),
 132                  'shelf' => array(
 133                    'location' => 'path',
 134                    'type' => 'string',
 135                    'required' => true,
 136                  ),
 137                  'showPreorders' => array(
 138                    'location' => 'query',
 139                    'type' => 'boolean',
 140                  ),
 141                  'maxResults' => array(
 142                    'location' => 'query',
 143                    'type' => 'integer',
 144                  ),
 145                  'source' => array(
 146                    'location' => 'query',
 147                    'type' => 'string',
 148                  ),
 149                  'startIndex' => array(
 150                    'location' => 'query',
 151                    'type' => 'integer',
 152                  ),
 153                ),
 154              ),
 155            )
 156          )
 157      );
 158      $this->cloudloading = new Google_Service_Books_Cloudloading_Resource(
 159          $this,
 160          $this->serviceName,
 161          'cloudloading',
 162          array(
 163            'methods' => array(
 164              'addBook' => array(
 165                'path' => 'cloudloading/addBook',
 166                'httpMethod' => 'POST',
 167                'parameters' => array(
 168                  'upload_client_token' => array(
 169                    'location' => 'query',
 170                    'type' => 'string',
 171                  ),
 172                  'drive_document_id' => array(
 173                    'location' => 'query',
 174                    'type' => 'string',
 175                  ),
 176                  'mime_type' => array(
 177                    'location' => 'query',
 178                    'type' => 'string',
 179                  ),
 180                  'name' => array(
 181                    'location' => 'query',
 182                    'type' => 'string',
 183                  ),
 184                ),
 185              ),'deleteBook' => array(
 186                'path' => 'cloudloading/deleteBook',
 187                'httpMethod' => 'POST',
 188                'parameters' => array(
 189                  'volumeId' => array(
 190                    'location' => 'query',
 191                    'type' => 'string',
 192                    'required' => true,
 193                  ),
 194                ),
 195              ),'updateBook' => array(
 196                'path' => 'cloudloading/updateBook',
 197                'httpMethod' => 'POST',
 198                'parameters' => array(),
 199              ),
 200            )
 201          )
 202      );
 203      $this->dictionary = new Google_Service_Books_Dictionary_Resource(
 204          $this,
 205          $this->serviceName,
 206          'dictionary',
 207          array(
 208            'methods' => array(
 209              'listOfflineMetadata' => array(
 210                'path' => 'dictionary/listOfflineMetadata',
 211                'httpMethod' => 'GET',
 212                'parameters' => array(
 213                  'cpksver' => array(
 214                    'location' => 'query',
 215                    'type' => 'string',
 216                    'required' => true,
 217                  ),
 218                ),
 219              ),
 220            )
 221          )
 222      );
 223      $this->layers = new Google_Service_Books_Layers_Resource(
 224          $this,
 225          $this->serviceName,
 226          'layers',
 227          array(
 228            'methods' => array(
 229              'get' => array(
 230                'path' => 'volumes/{volumeId}/layersummary/{summaryId}',
 231                'httpMethod' => 'GET',
 232                'parameters' => array(
 233                  'volumeId' => array(
 234                    'location' => 'path',
 235                    'type' => 'string',
 236                    'required' => true,
 237                  ),
 238                  'summaryId' => array(
 239                    'location' => 'path',
 240                    'type' => 'string',
 241                    'required' => true,
 242                  ),
 243                  'source' => array(
 244                    'location' => 'query',
 245                    'type' => 'string',
 246                  ),
 247                  'contentVersion' => array(
 248                    'location' => 'query',
 249                    'type' => 'string',
 250                  ),
 251                ),
 252              ),'list' => array(
 253                'path' => 'volumes/{volumeId}/layersummary',
 254                'httpMethod' => 'GET',
 255                'parameters' => array(
 256                  'volumeId' => array(
 257                    'location' => 'path',
 258                    'type' => 'string',
 259                    'required' => true,
 260                  ),
 261                  'pageToken' => array(
 262                    'location' => 'query',
 263                    'type' => 'string',
 264                  ),
 265                  'contentVersion' => array(
 266                    'location' => 'query',
 267                    'type' => 'string',
 268                  ),
 269                  'maxResults' => array(
 270                    'location' => 'query',
 271                    'type' => 'integer',
 272                  ),
 273                  'source' => array(
 274                    'location' => 'query',
 275                    'type' => 'string',
 276                  ),
 277                ),
 278              ),
 279            )
 280          )
 281      );
 282      $this->layers_annotationData = new Google_Service_Books_LayersAnnotationData_Resource(
 283          $this,
 284          $this->serviceName,
 285          'annotationData',
 286          array(
 287            'methods' => array(
 288              'get' => array(
 289                'path' => 'volumes/{volumeId}/layers/{layerId}/data/{annotationDataId}',
 290                'httpMethod' => 'GET',
 291                'parameters' => array(
 292                  'volumeId' => array(
 293                    'location' => 'path',
 294                    'type' => 'string',
 295                    'required' => true,
 296                  ),
 297                  'layerId' => array(
 298                    'location' => 'path',
 299                    'type' => 'string',
 300                    'required' => true,
 301                  ),
 302                  'annotationDataId' => array(
 303                    'location' => 'path',
 304                    'type' => 'string',
 305                    'required' => true,
 306                  ),
 307                  'contentVersion' => array(
 308                    'location' => 'query',
 309                    'type' => 'string',
 310                    'required' => true,
 311                  ),
 312                  'scale' => array(
 313                    'location' => 'query',
 314                    'type' => 'integer',
 315                  ),
 316                  'source' => array(
 317                    'location' => 'query',
 318                    'type' => 'string',
 319                  ),
 320                  'allowWebDefinitions' => array(
 321                    'location' => 'query',
 322                    'type' => 'boolean',
 323                  ),
 324                  'h' => array(
 325                    'location' => 'query',
 326                    'type' => 'integer',
 327                  ),
 328                  'locale' => array(
 329                    'location' => 'query',
 330                    'type' => 'string',
 331                  ),
 332                  'w' => array(
 333                    'location' => 'query',
 334                    'type' => 'integer',
 335                  ),
 336                ),
 337              ),'list' => array(
 338                'path' => 'volumes/{volumeId}/layers/{layerId}/data',
 339                'httpMethod' => 'GET',
 340                'parameters' => array(
 341                  'volumeId' => array(
 342                    'location' => 'path',
 343                    'type' => 'string',
 344                    'required' => true,
 345                  ),
 346                  'layerId' => array(
 347                    'location' => 'path',
 348                    'type' => 'string',
 349                    'required' => true,
 350                  ),
 351                  'contentVersion' => array(
 352                    'location' => 'query',
 353                    'type' => 'string',
 354                    'required' => true,
 355                  ),
 356                  'scale' => array(
 357                    'location' => 'query',
 358                    'type' => 'integer',
 359                  ),
 360                  'source' => array(
 361                    'location' => 'query',
 362                    'type' => 'string',
 363                  ),
 364                  'locale' => array(
 365                    'location' => 'query',
 366                    'type' => 'string',
 367                  ),
 368                  'h' => array(
 369                    'location' => 'query',
 370                    'type' => 'integer',
 371                  ),
 372                  'updatedMax' => array(
 373                    'location' => 'query',
 374                    'type' => 'string',
 375                  ),
 376                  'maxResults' => array(
 377                    'location' => 'query',
 378                    'type' => 'integer',
 379                  ),
 380                  'annotationDataId' => array(
 381                    'location' => 'query',
 382                    'type' => 'string',
 383                    'repeated' => true,
 384                  ),
 385                  'pageToken' => array(
 386                    'location' => 'query',
 387                    'type' => 'string',
 388                  ),
 389                  'w' => array(
 390                    'location' => 'query',
 391                    'type' => 'integer',
 392                  ),
 393                  'updatedMin' => array(
 394                    'location' => 'query',
 395                    'type' => 'string',
 396                  ),
 397                ),
 398              ),
 399            )
 400          )
 401      );
 402      $this->layers_volumeAnnotations = new Google_Service_Books_LayersVolumeAnnotations_Resource(
 403          $this,
 404          $this->serviceName,
 405          'volumeAnnotations',
 406          array(
 407            'methods' => array(
 408              'get' => array(
 409                'path' => 'volumes/{volumeId}/layers/{layerId}/annotations/{annotationId}',
 410                'httpMethod' => 'GET',
 411                'parameters' => array(
 412                  'volumeId' => array(
 413                    'location' => 'path',
 414                    'type' => 'string',
 415                    'required' => true,
 416                  ),
 417                  'layerId' => array(
 418                    'location' => 'path',
 419                    'type' => 'string',
 420                    'required' => true,
 421                  ),
 422                  'annotationId' => array(
 423                    'location' => 'path',
 424                    'type' => 'string',
 425                    'required' => true,
 426                  ),
 427                  'locale' => array(
 428                    'location' => 'query',
 429                    'type' => 'string',
 430                  ),
 431                  'source' => array(
 432                    'location' => 'query',
 433                    'type' => 'string',
 434                  ),
 435                ),
 436              ),'list' => array(
 437                'path' => 'volumes/{volumeId}/layers/{layerId}',
 438                'httpMethod' => 'GET',
 439                'parameters' => array(
 440                  'volumeId' => array(
 441                    'location' => 'path',
 442                    'type' => 'string',
 443                    'required' => true,
 444                  ),
 445                  'layerId' => array(
 446                    'location' => 'path',
 447                    'type' => 'string',
 448                    'required' => true,
 449                  ),
 450                  'contentVersion' => array(
 451                    'location' => 'query',
 452                    'type' => 'string',
 453                    'required' => true,
 454                  ),
 455                  'showDeleted' => array(
 456                    'location' => 'query',
 457                    'type' => 'boolean',
 458                  ),
 459                  'volumeAnnotationsVersion' => array(
 460                    'location' => 'query',
 461                    'type' => 'string',
 462                  ),
 463                  'endPosition' => array(
 464                    'location' => 'query',
 465                    'type' => 'string',
 466                  ),
 467                  'endOffset' => array(
 468                    'location' => 'query',
 469                    'type' => 'string',
 470                  ),
 471                  'locale' => array(
 472                    'location' => 'query',
 473                    'type' => 'string',
 474                  ),
 475                  'updatedMin' => array(
 476                    'location' => 'query',
 477                    'type' => 'string',
 478                  ),
 479                  'updatedMax' => array(
 480                    'location' => 'query',
 481                    'type' => 'string',
 482                  ),
 483                  'maxResults' => array(
 484                    'location' => 'query',
 485                    'type' => 'integer',
 486                  ),
 487                  'pageToken' => array(
 488                    'location' => 'query',
 489                    'type' => 'string',
 490                  ),
 491                  'source' => array(
 492                    'location' => 'query',
 493                    'type' => 'string',
 494                  ),
 495                  'startOffset' => array(
 496                    'location' => 'query',
 497                    'type' => 'string',
 498                  ),
 499                  'startPosition' => array(
 500                    'location' => 'query',
 501                    'type' => 'string',
 502                  ),
 503                ),
 504              ),
 505            )
 506          )
 507      );
 508      $this->myconfig = new Google_Service_Books_Myconfig_Resource(
 509          $this,
 510          $this->serviceName,
 511          'myconfig',
 512          array(
 513            'methods' => array(
 514              'getUserSettings' => array(
 515                'path' => 'myconfig/getUserSettings',
 516                'httpMethod' => 'GET',
 517                'parameters' => array(),
 518              ),'releaseDownloadAccess' => array(
 519                'path' => 'myconfig/releaseDownloadAccess',
 520                'httpMethod' => 'POST',
 521                'parameters' => array(
 522                  'volumeIds' => array(
 523                    'location' => 'query',
 524                    'type' => 'string',
 525                    'repeated' => true,
 526                    'required' => true,
 527                  ),
 528                  'cpksver' => array(
 529                    'location' => 'query',
 530                    'type' => 'string',
 531                    'required' => true,
 532                  ),
 533                  'locale' => array(
 534                    'location' => 'query',
 535                    'type' => 'string',
 536                  ),
 537                  'source' => array(
 538                    'location' => 'query',
 539                    'type' => 'string',
 540                  ),
 541                ),
 542              ),'requestAccess' => array(
 543                'path' => 'myconfig/requestAccess',
 544                'httpMethod' => 'POST',
 545                'parameters' => array(
 546                  'source' => array(
 547                    'location' => 'query',
 548                    'type' => 'string',
 549                    'required' => true,
 550                  ),
 551                  'volumeId' => array(
 552                    'location' => 'query',
 553                    'type' => 'string',
 554                    'required' => true,
 555                  ),
 556                  'nonce' => array(
 557                    'location' => 'query',
 558                    'type' => 'string',
 559                    'required' => true,
 560                  ),
 561                  'cpksver' => array(
 562                    'location' => 'query',
 563                    'type' => 'string',
 564                    'required' => true,
 565                  ),
 566                  'licenseTypes' => array(
 567                    'location' => 'query',
 568                    'type' => 'string',
 569                  ),
 570                  'locale' => array(
 571                    'location' => 'query',
 572                    'type' => 'string',
 573                  ),
 574                ),
 575              ),'syncVolumeLicenses' => array(
 576                'path' => 'myconfig/syncVolumeLicenses',
 577                'httpMethod' => 'POST',
 578                'parameters' => array(
 579                  'source' => array(
 580                    'location' => 'query',
 581                    'type' => 'string',
 582                    'required' => true,
 583                  ),
 584                  'nonce' => array(
 585                    'location' => 'query',
 586                    'type' => 'string',
 587                    'required' => true,
 588                  ),
 589                  'cpksver' => array(
 590                    'location' => 'query',
 591                    'type' => 'string',
 592                    'required' => true,
 593                  ),
 594                  'features' => array(
 595                    'location' => 'query',
 596                    'type' => 'string',
 597                    'repeated' => true,
 598                  ),
 599                  'locale' => array(
 600                    'location' => 'query',
 601                    'type' => 'string',
 602                  ),
 603                  'showPreorders' => array(
 604                    'location' => 'query',
 605                    'type' => 'boolean',
 606                  ),
 607                  'volumeIds' => array(
 608                    'location' => 'query',
 609                    'type' => 'string',
 610                    'repeated' => true,
 611                  ),
 612                ),
 613              ),'updateUserSettings' => array(
 614                'path' => 'myconfig/updateUserSettings',
 615                'httpMethod' => 'POST',
 616                'parameters' => array(),
 617              ),
 618            )
 619          )
 620      );
 621      $this->mylibrary_annotations = new Google_Service_Books_MylibraryAnnotations_Resource(
 622          $this,
 623          $this->serviceName,
 624          'annotations',
 625          array(
 626            'methods' => array(
 627              'delete' => array(
 628                'path' => 'mylibrary/annotations/{annotationId}',
 629                'httpMethod' => 'DELETE',
 630                'parameters' => array(
 631                  'annotationId' => array(
 632                    'location' => 'path',
 633                    'type' => 'string',
 634                    'required' => true,
 635                  ),
 636                  'source' => array(
 637                    'location' => 'query',
 638                    'type' => 'string',
 639                  ),
 640                ),
 641              ),'insert' => array(
 642                'path' => 'mylibrary/annotations',
 643                'httpMethod' => 'POST',
 644                'parameters' => array(
 645                  'country' => array(
 646                    'location' => 'query',
 647                    'type' => 'string',
 648                  ),
 649                  'showOnlySummaryInResponse' => array(
 650                    'location' => 'query',
 651                    'type' => 'boolean',
 652                  ),
 653                  'source' => array(
 654                    'location' => 'query',
 655                    'type' => 'string',
 656                  ),
 657                ),
 658              ),'list' => array(
 659                'path' => 'mylibrary/annotations',
 660                'httpMethod' => 'GET',
 661                'parameters' => array(
 662                  'showDeleted' => array(
 663                    'location' => 'query',
 664                    'type' => 'boolean',
 665                  ),
 666                  'updatedMin' => array(
 667                    'location' => 'query',
 668                    'type' => 'string',
 669                  ),
 670                  'layerIds' => array(
 671                    'location' => 'query',
 672                    'type' => 'string',
 673                    'repeated' => true,
 674                  ),
 675                  'volumeId' => array(
 676                    'location' => 'query',
 677                    'type' => 'string',
 678                  ),
 679                  'maxResults' => array(
 680                    'location' => 'query',
 681                    'type' => 'integer',
 682                  ),
 683                  'pageToken' => array(
 684                    'location' => 'query',
 685                    'type' => 'string',
 686                  ),
 687                  'updatedMax' => array(
 688                    'location' => 'query',
 689                    'type' => 'string',
 690                  ),
 691                  'contentVersion' => array(
 692                    'location' => 'query',
 693                    'type' => 'string',
 694                  ),
 695                  'source' => array(
 696                    'location' => 'query',
 697                    'type' => 'string',
 698                  ),
 699                  'layerId' => array(
 700                    'location' => 'query',
 701                    'type' => 'string',
 702                  ),
 703                ),
 704              ),'summary' => array(
 705                'path' => 'mylibrary/annotations/summary',
 706                'httpMethod' => 'POST',
 707                'parameters' => array(
 708                  'layerIds' => array(
 709                    'location' => 'query',
 710                    'type' => 'string',
 711                    'repeated' => true,
 712                    'required' => true,
 713                  ),
 714                  'volumeId' => array(
 715                    'location' => 'query',
 716                    'type' => 'string',
 717                    'required' => true,
 718                  ),
 719                ),
 720              ),'update' => array(
 721                'path' => 'mylibrary/annotations/{annotationId}',
 722                'httpMethod' => 'PUT',
 723                'parameters' => array(
 724                  'annotationId' => array(
 725                    'location' => 'path',
 726                    'type' => 'string',
 727                    'required' => true,
 728                  ),
 729                  'source' => array(
 730                    'location' => 'query',
 731                    'type' => 'string',
 732                  ),
 733                ),
 734              ),
 735            )
 736          )
 737      );
 738      $this->mylibrary_bookshelves = new Google_Service_Books_MylibraryBookshelves_Resource(
 739          $this,
 740          $this->serviceName,
 741          'bookshelves',
 742          array(
 743            'methods' => array(
 744              'addVolume' => array(
 745                'path' => 'mylibrary/bookshelves/{shelf}/addVolume',
 746                'httpMethod' => 'POST',
 747                'parameters' => array(
 748                  'shelf' => array(
 749                    'location' => 'path',
 750                    'type' => 'string',
 751                    'required' => true,
 752                  ),
 753                  'volumeId' => array(
 754                    'location' => 'query',
 755                    'type' => 'string',
 756                    'required' => true,
 757                  ),
 758                  'reason' => array(
 759                    'location' => 'query',
 760                    'type' => 'string',
 761                  ),
 762                  'source' => array(
 763                    'location' => 'query',
 764                    'type' => 'string',
 765                  ),
 766                ),
 767              ),'clearVolumes' => array(
 768                'path' => 'mylibrary/bookshelves/{shelf}/clearVolumes',
 769                'httpMethod' => 'POST',
 770                'parameters' => array(
 771                  'shelf' => array(
 772                    'location' => 'path',
 773                    'type' => 'string',
 774                    'required' => true,
 775                  ),
 776                  'source' => array(
 777                    'location' => 'query',
 778                    'type' => 'string',
 779                  ),
 780                ),
 781              ),'get' => array(
 782                'path' => 'mylibrary/bookshelves/{shelf}',
 783                'httpMethod' => 'GET',
 784                'parameters' => array(
 785                  'shelf' => array(
 786                    'location' => 'path',
 787                    'type' => 'string',
 788                    'required' => true,
 789                  ),
 790                  'source' => array(
 791                    'location' => 'query',
 792                    'type' => 'string',
 793                  ),
 794                ),
 795              ),'list' => array(
 796                'path' => 'mylibrary/bookshelves',
 797                'httpMethod' => 'GET',
 798                'parameters' => array(
 799                  'source' => array(
 800                    'location' => 'query',
 801                    'type' => 'string',
 802                  ),
 803                ),
 804              ),'moveVolume' => array(
 805                'path' => 'mylibrary/bookshelves/{shelf}/moveVolume',
 806                'httpMethod' => 'POST',
 807                'parameters' => array(
 808                  'shelf' => array(
 809                    'location' => 'path',
 810                    'type' => 'string',
 811                    'required' => true,
 812                  ),
 813                  'volumeId' => array(
 814                    'location' => 'query',
 815                    'type' => 'string',
 816                    'required' => true,
 817                  ),
 818                  'volumePosition' => array(
 819                    'location' => 'query',
 820                    'type' => 'integer',
 821                    'required' => true,
 822                  ),
 823                  'source' => array(
 824                    'location' => 'query',
 825                    'type' => 'string',
 826                  ),
 827                ),
 828              ),'removeVolume' => array(
 829                'path' => 'mylibrary/bookshelves/{shelf}/removeVolume',
 830                'httpMethod' => 'POST',
 831                'parameters' => array(
 832                  'shelf' => array(
 833                    'location' => 'path',
 834                    'type' => 'string',
 835                    'required' => true,
 836                  ),
 837                  'volumeId' => array(
 838                    'location' => 'query',
 839                    'type' => 'string',
 840                    'required' => true,
 841                  ),
 842                  'reason' => array(
 843                    'location' => 'query',
 844                    'type' => 'string',
 845                  ),
 846                  'source' => array(
 847                    'location' => 'query',
 848                    'type' => 'string',
 849                  ),
 850                ),
 851              ),
 852            )
 853          )
 854      );
 855      $this->mylibrary_bookshelves_volumes = new Google_Service_Books_MylibraryBookshelvesVolumes_Resource(
 856          $this,
 857          $this->serviceName,
 858          'volumes',
 859          array(
 860            'methods' => array(
 861              'list' => array(
 862                'path' => 'mylibrary/bookshelves/{shelf}/volumes',
 863                'httpMethod' => 'GET',
 864                'parameters' => array(
 865                  'shelf' => array(
 866                    'location' => 'path',
 867                    'type' => 'string',
 868                    'required' => true,
 869                  ),
 870                  'projection' => array(
 871                    'location' => 'query',
 872                    'type' => 'string',
 873                  ),
 874                  'country' => array(
 875                    'location' => 'query',
 876                    'type' => 'string',
 877                  ),
 878                  'showPreorders' => array(
 879                    'location' => 'query',
 880                    'type' => 'boolean',
 881                  ),
 882                  'maxResults' => array(
 883                    'location' => 'query',
 884                    'type' => 'integer',
 885                  ),
 886                  'q' => array(
 887                    'location' => 'query',
 888                    'type' => 'string',
 889                  ),
 890                  'source' => array(
 891                    'location' => 'query',
 892                    'type' => 'string',
 893                  ),
 894                  'startIndex' => array(
 895                    'location' => 'query',
 896                    'type' => 'integer',
 897                  ),
 898                ),
 899              ),
 900            )
 901          )
 902      );
 903      $this->mylibrary_readingpositions = new Google_Service_Books_MylibraryReadingpositions_Resource(
 904          $this,
 905          $this->serviceName,
 906          'readingpositions',
 907          array(
 908            'methods' => array(
 909              'get' => array(
 910                'path' => 'mylibrary/readingpositions/{volumeId}',
 911                'httpMethod' => 'GET',
 912                'parameters' => array(
 913                  'volumeId' => array(
 914                    'location' => 'path',
 915                    'type' => 'string',
 916                    'required' => true,
 917                  ),
 918                  'source' => array(
 919                    'location' => 'query',
 920                    'type' => 'string',
 921                  ),
 922                  'contentVersion' => array(
 923                    'location' => 'query',
 924                    'type' => 'string',
 925                  ),
 926                ),
 927              ),'setPosition' => array(
 928                'path' => 'mylibrary/readingpositions/{volumeId}/setPosition',
 929                'httpMethod' => 'POST',
 930                'parameters' => array(
 931                  'volumeId' => array(
 932                    'location' => 'path',
 933                    'type' => 'string',
 934                    'required' => true,
 935                  ),
 936                  'timestamp' => array(
 937                    'location' => 'query',
 938                    'type' => 'string',
 939                    'required' => true,
 940                  ),
 941                  'position' => array(
 942                    'location' => 'query',
 943                    'type' => 'string',
 944                    'required' => true,
 945                  ),
 946                  'deviceCookie' => array(
 947                    'location' => 'query',
 948                    'type' => 'string',
 949                  ),
 950                  'source' => array(
 951                    'location' => 'query',
 952                    'type' => 'string',
 953                  ),
 954                  'contentVersion' => array(
 955                    'location' => 'query',
 956                    'type' => 'string',
 957                  ),
 958                  'action' => array(
 959                    'location' => 'query',
 960                    'type' => 'string',
 961                  ),
 962                ),
 963              ),
 964            )
 965          )
 966      );
 967      $this->notification = new Google_Service_Books_Notification_Resource(
 968          $this,
 969          $this->serviceName,
 970          'notification',
 971          array(
 972            'methods' => array(
 973              'get' => array(
 974                'path' => 'notification/get',
 975                'httpMethod' => 'GET',
 976                'parameters' => array(
 977                  'notification_id' => array(
 978                    'location' => 'query',
 979                    'type' => 'string',
 980                    'required' => true,
 981                  ),
 982                  'locale' => array(
 983                    'location' => 'query',
 984                    'type' => 'string',
 985                  ),
 986                  'source' => array(
 987                    'location' => 'query',
 988                    'type' => 'string',
 989                  ),
 990                ),
 991              ),
 992            )
 993          )
 994      );
 995      $this->onboarding = new Google_Service_Books_Onboarding_Resource(
 996          $this,
 997          $this->serviceName,
 998          'onboarding',
 999          array(
1000            'methods' => array(
1001              'listCategories' => array(
1002                'path' => 'onboarding/listCategories',
1003                'httpMethod' => 'GET',
1004                'parameters' => array(
1005                  'locale' => array(
1006                    'location' => 'query',
1007                    'type' => 'string',
1008                  ),
1009                ),
1010              ),'listCategoryVolumes' => array(
1011                'path' => 'onboarding/listCategoryVolumes',
1012                'httpMethod' => 'GET',
1013                'parameters' => array(
1014                  'locale' => array(
1015                    'location' => 'query',
1016                    'type' => 'string',
1017                  ),
1018                  'pageToken' => array(
1019                    'location' => 'query',
1020                    'type' => 'string',
1021                  ),
1022                  'maxAllowedMaturityRating' => array(
1023                    'location' => 'query',
1024                    'type' => 'string',
1025                  ),
1026                  'categoryId' => array(
1027                    'location' => 'query',
1028                    'type' => 'string',
1029                    'repeated' => true,
1030                  ),
1031                  'pageSize' => array(
1032                    'location' => 'query',
1033                    'type' => 'integer',
1034                  ),
1035                ),
1036              ),
1037            )
1038          )
1039      );
1040      $this->personalizedstream = new Google_Service_Books_Personalizedstream_Resource(
1041          $this,
1042          $this->serviceName,
1043          'personalizedstream',
1044          array(
1045            'methods' => array(
1046              'get' => array(
1047                'path' => 'personalizedstream/get',
1048                'httpMethod' => 'GET',
1049                'parameters' => array(
1050                  'locale' => array(
1051                    'location' => 'query',
1052                    'type' => 'string',
1053                  ),
1054                  'source' => array(
1055                    'location' => 'query',
1056                    'type' => 'string',
1057                  ),
1058                  'maxAllowedMaturityRating' => array(
1059                    'location' => 'query',
1060                    'type' => 'string',
1061                  ),
1062                ),
1063              ),
1064            )
1065          )
1066      );
1067      $this->promooffer = new Google_Service_Books_Promooffer_Resource(
1068          $this,
1069          $this->serviceName,
1070          'promooffer',
1071          array(
1072            'methods' => array(
1073              'accept' => array(
1074                'path' => 'promooffer/accept',
1075                'httpMethod' => 'POST',
1076                'parameters' => array(
1077                  'product' => array(
1078                    'location' => 'query',
1079                    'type' => 'string',
1080                  ),
1081                  'volumeId' => array(
1082                    'location' => 'query',
1083                    'type' => 'string',
1084                  ),
1085                  'offerId' => array(
1086                    'location' => 'query',
1087                    'type' => 'string',
1088                  ),
1089                  'androidId' => array(
1090                    'location' => 'query',
1091                    'type' => 'string',
1092                  ),
1093                  'device' => array(
1094                    'location' => 'query',
1095                    'type' => 'string',
1096                  ),
1097                  'model' => array(
1098                    'location' => 'query',
1099                    'type' => 'string',
1100                  ),
1101                  'serial' => array(
1102                    'location' => 'query',
1103                    'type' => 'string',
1104                  ),
1105                  'manufacturer' => array(
1106                    'location' => 'query',
1107                    'type' => 'string',
1108                  ),
1109                ),
1110              ),'dismiss' => array(
1111                'path' => 'promooffer/dismiss',
1112                'httpMethod' => 'POST',
1113                'parameters' => array(
1114                  'product' => array(
1115                    'location' => 'query',
1116                    'type' => 'string',
1117                  ),
1118                  'offerId' => array(
1119                    'location' => 'query',
1120                    'type' => 'string',
1121                  ),
1122                  'androidId' => array(
1123                    'location' => 'query',
1124                    'type' => 'string',
1125                  ),
1126                  'device' => array(
1127                    'location' => 'query',
1128                    'type' => 'string',
1129                  ),
1130                  'model' => array(
1131                    'location' => 'query',
1132                    'type' => 'string',
1133                  ),
1134                  'serial' => array(
1135                    'location' => 'query',
1136                    'type' => 'string',
1137                  ),
1138                  'manufacturer' => array(
1139                    'location' => 'query',
1140                    'type' => 'string',
1141                  ),
1142                ),
1143              ),'get' => array(
1144                'path' => 'promooffer/get',
1145                'httpMethod' => 'GET',
1146                'parameters' => array(
1147                  'product' => array(
1148                    'location' => 'query',
1149                    'type' => 'string',
1150                  ),
1151                  'androidId' => array(
1152                    'location' => 'query',
1153                    'type' => 'string',
1154                  ),
1155                  'device' => array(
1156                    'location' => 'query',
1157                    'type' => 'string',
1158                  ),
1159                  'model' => array(
1160                    'location' => 'query',
1161                    'type' => 'string',
1162                  ),
1163                  'serial' => array(
1164                    'location' => 'query',
1165                    'type' => 'string',
1166                  ),
1167                  'manufacturer' => array(
1168                    'location' => 'query',
1169                    'type' => 'string',
1170                  ),
1171                ),
1172              ),
1173            )
1174          )
1175      );
1176      $this->volumes = new Google_Service_Books_Volumes_Resource(
1177          $this,
1178          $this->serviceName,
1179          'volumes',
1180          array(
1181            'methods' => array(
1182              'get' => array(
1183                'path' => 'volumes/{volumeId}',
1184                'httpMethod' => 'GET',
1185                'parameters' => array(
1186                  'volumeId' => array(
1187                    'location' => 'path',
1188                    'type' => 'string',
1189                    'required' => true,
1190                  ),
1191                  'user_library_consistent_read' => array(
1192                    'location' => 'query',
1193                    'type' => 'boolean',
1194                  ),
1195                  'projection' => array(
1196                    'location' => 'query',
1197                    'type' => 'string',
1198                  ),
1199                  'country' => array(
1200                    'location' => 'query',
1201                    'type' => 'string',
1202                  ),
1203                  'source' => array(
1204                    'location' => 'query',
1205                    'type' => 'string',
1206                  ),
1207                  'partner' => array(
1208                    'location' => 'query',
1209                    'type' => 'string',
1210                  ),
1211                ),
1212              ),'list' => array(
1213                'path' => 'volumes',
1214                'httpMethod' => 'GET',
1215                'parameters' => array(
1216                  'q' => array(
1217                    'location' => 'query',
1218                    'type' => 'string',
1219                    'required' => true,
1220                  ),
1221                  'orderBy' => array(
1222                    'location' => 'query',
1223                    'type' => 'string',
1224                  ),
1225                  'projection' => array(
1226                    'location' => 'query',
1227                    'type' => 'string',
1228                  ),
1229                  'libraryRestrict' => array(
1230                    'location' => 'query',
1231                    'type' => 'string',
1232                  ),
1233                  'langRestrict' => array(
1234                    'location' => 'query',
1235                    'type' => 'string',
1236                  ),
1237                  'showPreorders' => array(
1238                    'location' => 'query',
1239                    'type' => 'boolean',
1240                  ),
1241                  'printType' => array(
1242                    'location' => 'query',
1243                    'type' => 'string',
1244                  ),
1245                  'maxResults' => array(
1246                    'location' => 'query',
1247                    'type' => 'integer',
1248                  ),
1249                  'filter' => array(
1250                    'location' => 'query',
1251                    'type' => 'string',
1252                  ),
1253                  'source' => array(
1254                    'location' => 'query',
1255                    'type' => 'string',
1256                  ),
1257                  'startIndex' => array(
1258                    'location' => 'query',
1259                    'type' => 'integer',
1260                  ),
1261                  'download' => array(
1262                    'location' => 'query',
1263                    'type' => 'string',
1264                  ),
1265                  'partner' => array(
1266                    'location' => 'query',
1267                    'type' => 'string',
1268                  ),
1269                ),
1270              ),
1271            )
1272          )
1273      );
1274      $this->volumes_associated = new Google_Service_Books_VolumesAssociated_Resource(
1275          $this,
1276          $this->serviceName,
1277          'associated',
1278          array(
1279            'methods' => array(
1280              'list' => array(
1281                'path' => 'volumes/{volumeId}/associated',
1282                'httpMethod' => 'GET',
1283                'parameters' => array(
1284                  'volumeId' => array(
1285                    'location' => 'path',
1286                    'type' => 'string',
1287                    'required' => true,
1288                  ),
1289                  'locale' => array(
1290                    'location' => 'query',
1291                    'type' => 'string',
1292                  ),
1293                  'source' => array(
1294                    'location' => 'query',
1295                    'type' => 'string',
1296                  ),
1297                  'maxAllowedMaturityRating' => array(
1298                    'location' => 'query',
1299                    'type' => 'string',
1300                  ),
1301                  'association' => array(
1302                    'location' => 'query',
1303                    'type' => 'string',
1304                  ),
1305                ),
1306              ),
1307            )
1308          )
1309      );
1310      $this->volumes_mybooks = new Google_Service_Books_VolumesMybooks_Resource(
1311          $this,
1312          $this->serviceName,
1313          'mybooks',
1314          array(
1315            'methods' => array(
1316              'list' => array(
1317                'path' => 'volumes/mybooks',
1318                'httpMethod' => 'GET',
1319                'parameters' => array(
1320                  'locale' => array(
1321                    'location' => 'query',
1322                    'type' => 'string',
1323                  ),
1324                  'startIndex' => array(
1325                    'location' => 'query',
1326                    'type' => 'integer',
1327                  ),
1328                  'maxResults' => array(
1329                    'location' => 'query',
1330                    'type' => 'integer',
1331                  ),
1332                  'source' => array(
1333                    'location' => 'query',
1334                    'type' => 'string',
1335                  ),
1336                  'acquireMethod' => array(
1337                    'location' => 'query',
1338                    'type' => 'string',
1339                    'repeated' => true,
1340                  ),
1341                  'processingState' => array(
1342                    'location' => 'query',
1343                    'type' => 'string',
1344                    'repeated' => true,
1345                  ),
1346                ),
1347              ),
1348            )
1349          )
1350      );
1351      $this->volumes_recommended = new Google_Service_Books_VolumesRecommended_Resource(
1352          $this,
1353          $this->serviceName,
1354          'recommended',
1355          array(
1356            'methods' => array(
1357              'list' => array(
1358                'path' => 'volumes/recommended',
1359                'httpMethod' => 'GET',
1360                'parameters' => array(
1361                  'locale' => array(
1362                    'location' => 'query',
1363                    'type' => 'string',
1364                  ),
1365                  'source' => array(
1366                    'location' => 'query',
1367                    'type' => 'string',
1368                  ),
1369                  'maxAllowedMaturityRating' => array(
1370                    'location' => 'query',
1371                    'type' => 'string',
1372                  ),
1373                ),
1374              ),'rate' => array(
1375                'path' => 'volumes/recommended/rate',
1376                'httpMethod' => 'POST',
1377                'parameters' => array(
1378                  'rating' => array(
1379                    'location' => 'query',
1380                    'type' => 'string',
1381                    'required' => true,
1382                  ),
1383                  'volumeId' => array(
1384                    'location' => 'query',
1385                    'type' => 'string',
1386                    'required' => true,
1387                  ),
1388                  'locale' => array(
1389                    'location' => 'query',
1390                    'type' => 'string',
1391                  ),
1392                  'source' => array(
1393                    'location' => 'query',
1394                    'type' => 'string',
1395                  ),
1396                ),
1397              ),
1398            )
1399          )
1400      );
1401      $this->volumes_useruploaded = new Google_Service_Books_VolumesUseruploaded_Resource(
1402          $this,
1403          $this->serviceName,
1404          'useruploaded',
1405          array(
1406            'methods' => array(
1407              'list' => array(
1408                'path' => 'volumes/useruploaded',
1409                'httpMethod' => 'GET',
1410                'parameters' => array(
1411                  'locale' => array(
1412                    'location' => 'query',
1413                    'type' => 'string',
1414                  ),
1415                  'volumeId' => array(
1416                    'location' => 'query',
1417                    'type' => 'string',
1418                    'repeated' => true,
1419                  ),
1420                  'maxResults' => array(
1421                    'location' => 'query',
1422                    'type' => 'integer',
1423                  ),
1424                  'source' => array(
1425                    'location' => 'query',
1426                    'type' => 'string',
1427                  ),
1428                  'startIndex' => array(
1429                    'location' => 'query',
1430                    'type' => 'integer',
1431                  ),
1432                  'processingState' => array(
1433                    'location' => 'query',
1434                    'type' => 'string',
1435                    'repeated' => true,
1436                  ),
1437                ),
1438              ),
1439            )
1440          )
1441      );
1442    }
1443  }
1444  
1445  
1446  /**
1447   * The "bookshelves" collection of methods.
1448   * Typical usage is:
1449   *  <code>
1450   *   $booksService = new Google_Service_Books(...);
1451   *   $bookshelves = $booksService->bookshelves;
1452   *  </code>
1453   */
1454  #[AllowDynamicProperties]
1455  class Google_Service_Books_Bookshelves_Resource extends Google_Service_Resource
1456  {
1457  
1458    /**
1459     * Retrieves metadata for a specific bookshelf for the specified user.
1460     * (bookshelves.get)
1461     *
1462     * @param string $userId ID of user for whom to retrieve bookshelves.
1463     * @param string $shelf ID of bookshelf to retrieve.
1464     * @param array $optParams Optional parameters.
1465     *
1466     * @opt_param string source String to identify the originator of this request.
1467     * @return Google_Service_Books_Bookshelf
1468     */
1469    public function get($userId, $shelf, $optParams = array())
1470    {
1471      $params = array('userId' => $userId, 'shelf' => $shelf);
1472      $params = array_merge($params, $optParams);
1473      return $this->call('get', array($params), "Google_Service_Books_Bookshelf");
1474    }
1475  
1476    /**
1477     * Retrieves a list of public bookshelves for the specified user.
1478     * (bookshelves.listBookshelves)
1479     *
1480     * @param string $userId ID of user for whom to retrieve bookshelves.
1481     * @param array $optParams Optional parameters.
1482     *
1483     * @opt_param string source String to identify the originator of this request.
1484     * @return Google_Service_Books_Bookshelves
1485     */
1486    public function listBookshelves($userId, $optParams = array())
1487    {
1488      $params = array('userId' => $userId);
1489      $params = array_merge($params, $optParams);
1490      return $this->call('list', array($params), "Google_Service_Books_Bookshelves");
1491    }
1492  }
1493  
1494  /**
1495   * The "volumes" collection of methods.
1496   * Typical usage is:
1497   *  <code>
1498   *   $booksService = new Google_Service_Books(...);
1499   *   $volumes = $booksService->volumes;
1500   *  </code>
1501   */
1502  #[AllowDynamicProperties]
1503  class Google_Service_Books_BookshelvesVolumes_Resource extends Google_Service_Resource
1504  {
1505  
1506    /**
1507     * Retrieves volumes in a specific bookshelf for the specified user.
1508     * (volumes.listBookshelvesVolumes)
1509     *
1510     * @param string $userId ID of user for whom to retrieve bookshelf volumes.
1511     * @param string $shelf ID of bookshelf to retrieve volumes.
1512     * @param array $optParams Optional parameters.
1513     *
1514     * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults
1515     * to false.
1516     * @opt_param string maxResults Maximum number of results to return
1517     * @opt_param string source String to identify the originator of this request.
1518     * @opt_param string startIndex Index of the first element to return (starts at
1519     * 0)
1520     * @return Google_Service_Books_Volumes
1521     */
1522    public function listBookshelvesVolumes($userId, $shelf, $optParams = array())
1523    {
1524      $params = array('userId' => $userId, 'shelf' => $shelf);
1525      $params = array_merge($params, $optParams);
1526      return $this->call('list', array($params), "Google_Service_Books_Volumes");
1527    }
1528  }
1529  
1530  /**
1531   * The "cloudloading" collection of methods.
1532   * Typical usage is:
1533   *  <code>
1534   *   $booksService = new Google_Service_Books(...);
1535   *   $cloudloading = $booksService->cloudloading;
1536   *  </code>
1537   */
1538  #[AllowDynamicProperties]
1539  class Google_Service_Books_Cloudloading_Resource extends Google_Service_Resource
1540  {
1541  
1542    /**
1543     * (cloudloading.addBook)
1544     *
1545     * @param array $optParams Optional parameters.
1546     *
1547     * @opt_param string upload_client_token
1548     * @opt_param string drive_document_id A drive document id. The
1549     * upload_client_token must not be set.
1550     * @opt_param string mime_type The document MIME type. It can be set only if the
1551     * drive_document_id is set.
1552     * @opt_param string name The document name. It can be set only if the
1553     * drive_document_id is set.
1554     * @return Google_Service_Books_BooksCloudloadingResource
1555     */
1556    public function addBook($optParams = array())
1557    {
1558      $params = array();
1559      $params = array_merge($params, $optParams);
1560      return $this->call('addBook', array($params), "Google_Service_Books_BooksCloudloadingResource");
1561    }
1562  
1563    /**
1564     * Remove the book and its contents (cloudloading.deleteBook)
1565     *
1566     * @param string $volumeId The id of the book to be removed.
1567     * @param array $optParams Optional parameters.
1568     */
1569    public function deleteBook($volumeId, $optParams = array())
1570    {
1571      $params = array('volumeId' => $volumeId);
1572      $params = array_merge($params, $optParams);
1573      return $this->call('deleteBook', array($params));
1574    }
1575  
1576    /**
1577     * (cloudloading.updateBook)
1578     *
1579     * @param Google_BooksCloudloadingResource $postBody
1580     * @param array $optParams Optional parameters.
1581     * @return Google_Service_Books_BooksCloudloadingResource
1582     */
1583    public function updateBook(Google_Service_Books_BooksCloudloadingResource $postBody, $optParams = array())
1584    {
1585      $params = array('postBody' => $postBody);
1586      $params = array_merge($params, $optParams);
1587      return $this->call('updateBook', array($params), "Google_Service_Books_BooksCloudloadingResource");
1588    }
1589  }
1590  
1591  /**
1592   * The "dictionary" collection of methods.
1593   * Typical usage is:
1594   *  <code>
1595   *   $booksService = new Google_Service_Books(...);
1596   *   $dictionary = $booksService->dictionary;
1597   *  </code>
1598   */
1599  #[AllowDynamicProperties]
1600  class Google_Service_Books_Dictionary_Resource extends Google_Service_Resource
1601  {
1602  
1603    /**
1604     * Returns a list of offline dictionary metadata available
1605     * (dictionary.listOfflineMetadata)
1606     *
1607     * @param string $cpksver The device/version ID from which to request the data.
1608     * @param array $optParams Optional parameters.
1609     * @return Google_Service_Books_Metadata
1610     */
1611    public function listOfflineMetadata($cpksver, $optParams = array())
1612    {
1613      $params = array('cpksver' => $cpksver);
1614      $params = array_merge($params, $optParams);
1615      return $this->call('listOfflineMetadata', array($params), "Google_Service_Books_Metadata");
1616    }
1617  }
1618  
1619  /**
1620   * The "layers" collection of methods.
1621   * Typical usage is:
1622   *  <code>
1623   *   $booksService = new Google_Service_Books(...);
1624   *   $layers = $booksService->layers;
1625   *  </code>
1626   */
1627  #[AllowDynamicProperties]
1628  class Google_Service_Books_Layers_Resource extends Google_Service_Resource
1629  {
1630  
1631    /**
1632     * Gets the layer summary for a volume. (layers.get)
1633     *
1634     * @param string $volumeId The volume to retrieve layers for.
1635     * @param string $summaryId The ID for the layer to get the summary for.
1636     * @param array $optParams Optional parameters.
1637     *
1638     * @opt_param string source String to identify the originator of this request.
1639     * @opt_param string contentVersion The content version for the requested
1640     * volume.
1641     * @return Google_Service_Books_Layersummary
1642     */
1643    public function get($volumeId, $summaryId, $optParams = array())
1644    {
1645      $params = array('volumeId' => $volumeId, 'summaryId' => $summaryId);
1646      $params = array_merge($params, $optParams);
1647      return $this->call('get', array($params), "Google_Service_Books_Layersummary");
1648    }
1649  
1650    /**
1651     * List the layer summaries for a volume. (layers.listLayers)
1652     *
1653     * @param string $volumeId The volume to retrieve layers for.
1654     * @param array $optParams Optional parameters.
1655     *
1656     * @opt_param string pageToken The value of the nextToken from the previous
1657     * page.
1658     * @opt_param string contentVersion The content version for the requested
1659     * volume.
1660     * @opt_param string maxResults Maximum number of results to return
1661     * @opt_param string source String to identify the originator of this request.
1662     * @return Google_Service_Books_Layersummaries
1663     */
1664    public function listLayers($volumeId, $optParams = array())
1665    {
1666      $params = array('volumeId' => $volumeId);
1667      $params = array_merge($params, $optParams);
1668      return $this->call('list', array($params), "Google_Service_Books_Layersummaries");
1669    }
1670  }
1671  
1672  /**
1673   * The "annotationData" collection of methods.
1674   * Typical usage is:
1675   *  <code>
1676   *   $booksService = new Google_Service_Books(...);
1677   *   $annotationData = $booksService->annotationData;
1678   *  </code>
1679   */
1680  #[AllowDynamicProperties]
1681  class Google_Service_Books_LayersAnnotationData_Resource extends Google_Service_Resource
1682  {
1683  
1684    /**
1685     * Gets the annotation data. (annotationData.get)
1686     *
1687     * @param string $volumeId The volume to retrieve annotations for.
1688     * @param string $layerId The ID for the layer to get the annotations.
1689     * @param string $annotationDataId The ID of the annotation data to retrieve.
1690     * @param string $contentVersion The content version for the volume you are
1691     * trying to retrieve.
1692     * @param array $optParams Optional parameters.
1693     *
1694     * @opt_param int scale The requested scale for the image.
1695     * @opt_param string source String to identify the originator of this request.
1696     * @opt_param bool allowWebDefinitions For the dictionary layer. Whether or not
1697     * to allow web definitions.
1698     * @opt_param int h The requested pixel height for any images. If height is
1699     * provided width must also be provided.
1700     * @opt_param string locale The locale information for the data. ISO-639-1
1701     * language and ISO-3166-1 country code. Ex: 'en_US'.
1702     * @opt_param int w The requested pixel width for any images. If width is
1703     * provided height must also be provided.
1704     * @return Google_Service_Books_Annotationdata
1705     */
1706    public function get($volumeId, $layerId, $annotationDataId, $contentVersion, $optParams = array())
1707    {
1708      $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'annotationDataId' => $annotationDataId, 'contentVersion' => $contentVersion);
1709      $params = array_merge($params, $optParams);
1710      return $this->call('get', array($params), "Google_Service_Books_Annotationdata");
1711    }
1712  
1713    /**
1714     * Gets the annotation data for a volume and layer.
1715     * (annotationData.listLayersAnnotationData)
1716     *
1717     * @param string $volumeId The volume to retrieve annotation data for.
1718     * @param string $layerId The ID for the layer to get the annotation data.
1719     * @param string $contentVersion The content version for the requested volume.
1720     * @param array $optParams Optional parameters.
1721     *
1722     * @opt_param int scale The requested scale for the image.
1723     * @opt_param string source String to identify the originator of this request.
1724     * @opt_param string locale The locale information for the data. ISO-639-1
1725     * language and ISO-3166-1 country code. Ex: 'en_US'.
1726     * @opt_param int h The requested pixel height for any images. If height is
1727     * provided width must also be provided.
1728     * @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated
1729     * prior to this timestamp (exclusive).
1730     * @opt_param string maxResults Maximum number of results to return
1731     * @opt_param string annotationDataId The list of Annotation Data Ids to
1732     * retrieve. Pagination is ignored if this is set.
1733     * @opt_param string pageToken The value of the nextToken from the previous
1734     * page.
1735     * @opt_param int w The requested pixel width for any images. If width is
1736     * provided height must also be provided.
1737     * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated
1738     * since this timestamp (inclusive).
1739     * @return Google_Service_Books_Annotationsdata
1740     */
1741    public function listLayersAnnotationData($volumeId, $layerId, $contentVersion, $optParams = array())
1742    {
1743      $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'contentVersion' => $contentVersion);
1744      $params = array_merge($params, $optParams);
1745      return $this->call('list', array($params), "Google_Service_Books_Annotationsdata");
1746    }
1747  }
1748  /**
1749   * The "volumeAnnotations" collection of methods.
1750   * Typical usage is:
1751   *  <code>
1752   *   $booksService = new Google_Service_Books(...);
1753   *   $volumeAnnotations = $booksService->volumeAnnotations;
1754   *  </code>
1755   */
1756  #[AllowDynamicProperties]
1757  class Google_Service_Books_LayersVolumeAnnotations_Resource extends Google_Service_Resource
1758  {
1759  
1760    /**
1761     * Gets the volume annotation. (volumeAnnotations.get)
1762     *
1763     * @param string $volumeId The volume to retrieve annotations for.
1764     * @param string $layerId The ID for the layer to get the annotations.
1765     * @param string $annotationId The ID of the volume annotation to retrieve.
1766     * @param array $optParams Optional parameters.
1767     *
1768     * @opt_param string locale The locale information for the data. ISO-639-1
1769     * language and ISO-3166-1 country code. Ex: 'en_US'.
1770     * @opt_param string source String to identify the originator of this request.
1771     * @return Google_Service_Books_Volumeannotation
1772     */
1773    public function get($volumeId, $layerId, $annotationId, $optParams = array())
1774    {
1775      $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'annotationId' => $annotationId);
1776      $params = array_merge($params, $optParams);
1777      return $this->call('get', array($params), "Google_Service_Books_Volumeannotation");
1778    }
1779  
1780    /**
1781     * Gets the volume annotations for a volume and layer.
1782     * (volumeAnnotations.listLayersVolumeAnnotations)
1783     *
1784     * @param string $volumeId The volume to retrieve annotations for.
1785     * @param string $layerId The ID for the layer to get the annotations.
1786     * @param string $contentVersion The content version for the requested volume.
1787     * @param array $optParams Optional parameters.
1788     *
1789     * @opt_param bool showDeleted Set to true to return deleted annotations.
1790     * updatedMin must be in the request to use this. Defaults to false.
1791     * @opt_param string volumeAnnotationsVersion The version of the volume
1792     * annotations that you are requesting.
1793     * @opt_param string endPosition The end position to end retrieving data from.
1794     * @opt_param string endOffset The end offset to end retrieving data from.
1795     * @opt_param string locale The locale information for the data. ISO-639-1
1796     * language and ISO-3166-1 country code. Ex: 'en_US'.
1797     * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated
1798     * since this timestamp (inclusive).
1799     * @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated
1800     * prior to this timestamp (exclusive).
1801     * @opt_param string maxResults Maximum number of results to return
1802     * @opt_param string pageToken The value of the nextToken from the previous
1803     * page.
1804     * @opt_param string source String to identify the originator of this request.
1805     * @opt_param string startOffset The start offset to start retrieving data from.
1806     * @opt_param string startPosition The start position to start retrieving data
1807     * from.
1808     * @return Google_Service_Books_Volumeannotations
1809     */
1810    public function listLayersVolumeAnnotations($volumeId, $layerId, $contentVersion, $optParams = array())
1811    {
1812      $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'contentVersion' => $contentVersion);
1813      $params = array_merge($params, $optParams);
1814      return $this->call('list', array($params), "Google_Service_Books_Volumeannotations");
1815    }
1816  }
1817  
1818  /**
1819   * The "myconfig" collection of methods.
1820   * Typical usage is:
1821   *  <code>
1822   *   $booksService = new Google_Service_Books(...);
1823   *   $myconfig = $booksService->myconfig;
1824   *  </code>
1825   */
1826  #[AllowDynamicProperties]
1827  class Google_Service_Books_Myconfig_Resource extends Google_Service_Resource
1828  {
1829  
1830    /**
1831     * Gets the current settings for the user. (myconfig.getUserSettings)
1832     *
1833     * @param array $optParams Optional parameters.
1834     * @return Google_Service_Books_Usersettings
1835     */
1836    public function getUserSettings($optParams = array())
1837    {
1838      $params = array();
1839      $params = array_merge($params, $optParams);
1840      return $this->call('getUserSettings', array($params), "Google_Service_Books_Usersettings");
1841    }
1842  
1843    /**
1844     * Release downloaded content access restriction.
1845     * (myconfig.releaseDownloadAccess)
1846     *
1847     * @param string $volumeIds The volume(s) to release restrictions for.
1848     * @param string $cpksver The device/version ID from which to release the
1849     * restriction.
1850     * @param array $optParams Optional parameters.
1851     *
1852     * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message
1853     * localization, i.e. en_US.
1854     * @opt_param string source String to identify the originator of this request.
1855     * @return Google_Service_Books_DownloadAccesses
1856     */
1857    public function releaseDownloadAccess($volumeIds, $cpksver, $optParams = array())
1858    {
1859      $params = array('volumeIds' => $volumeIds, 'cpksver' => $cpksver);
1860      $params = array_merge($params, $optParams);
1861      return $this->call('releaseDownloadAccess', array($params), "Google_Service_Books_DownloadAccesses");
1862    }
1863  
1864    /**
1865     * Request concurrent and download access restrictions. (myconfig.requestAccess)
1866     *
1867     * @param string $source String to identify the originator of this request.
1868     * @param string $volumeId The volume to request concurrent/download
1869     * restrictions for.
1870     * @param string $nonce The client nonce value.
1871     * @param string $cpksver The device/version ID from which to request the
1872     * restrictions.
1873     * @param array $optParams Optional parameters.
1874     *
1875     * @opt_param string licenseTypes The type of access license to request. If not
1876     * specified, the default is BOTH.
1877     * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message
1878     * localization, i.e. en_US.
1879     * @return Google_Service_Books_RequestAccess
1880     */
1881    public function requestAccess($source, $volumeId, $nonce, $cpksver, $optParams = array())
1882    {
1883      $params = array('source' => $source, 'volumeId' => $volumeId, 'nonce' => $nonce, 'cpksver' => $cpksver);
1884      $params = array_merge($params, $optParams);
1885      return $this->call('requestAccess', array($params), "Google_Service_Books_RequestAccess");
1886    }
1887  
1888    /**
1889     * Request downloaded content access for specified volumes on the My eBooks
1890     * shelf. (myconfig.syncVolumeLicenses)
1891     *
1892     * @param string $source String to identify the originator of this request.
1893     * @param string $nonce The client nonce value.
1894     * @param string $cpksver The device/version ID from which to release the
1895     * restriction.
1896     * @param array $optParams Optional parameters.
1897     *
1898     * @opt_param string features List of features supported by the client, i.e.,
1899     * 'RENTALS'
1900     * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message
1901     * localization, i.e. en_US.
1902     * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults
1903     * to false.
1904     * @opt_param string volumeIds The volume(s) to request download restrictions
1905     * for.
1906     * @return Google_Service_Books_Volumes
1907     */
1908    public function syncVolumeLicenses($source, $nonce, $cpksver, $optParams = array())
1909    {
1910      $params = array('source' => $source, 'nonce' => $nonce, 'cpksver' => $cpksver);
1911      $params = array_merge($params, $optParams);
1912      return $this->call('syncVolumeLicenses', array($params), "Google_Service_Books_Volumes");
1913    }
1914  
1915    /**
1916     * Sets the settings for the user. If a sub-object is specified, it will
1917     * overwrite the existing sub-object stored in the server. Unspecified sub-
1918     * objects will retain the existing value. (myconfig.updateUserSettings)
1919     *
1920     * @param Google_Usersettings $postBody
1921     * @param array $optParams Optional parameters.
1922     * @return Google_Service_Books_Usersettings
1923     */
1924    public function updateUserSettings(Google_Service_Books_Usersettings $postBody, $optParams = array())
1925    {
1926      $params = array('postBody' => $postBody);
1927      $params = array_merge($params, $optParams);
1928      return $this->call('updateUserSettings', array($params), "Google_Service_Books_Usersettings");
1929    }
1930  }
1931  
1932  /**
1933   * The "mylibrary" collection of methods.
1934   * Typical usage is:
1935   *  <code>
1936   *   $booksService = new Google_Service_Books(...);
1937   *   $mylibrary = $booksService->mylibrary;
1938   *  </code>
1939   */
1940  #[AllowDynamicProperties]
1941  class Google_Service_Books_Mylibrary_Resource extends Google_Service_Resource
1942  {
1943  }
1944  
1945  /**
1946   * The "annotations" collection of methods.
1947   * Typical usage is:
1948   *  <code>
1949   *   $booksService = new Google_Service_Books(...);
1950   *   $annotations = $booksService->annotations;
1951   *  </code>
1952   */
1953  #[AllowDynamicProperties]
1954  class Google_Service_Books_MylibraryAnnotations_Resource extends Google_Service_Resource
1955  {
1956  
1957    /**
1958     * Deletes an annotation. (annotations.delete)
1959     *
1960     * @param string $annotationId The ID for the annotation to delete.
1961     * @param array $optParams Optional parameters.
1962     *
1963     * @opt_param string source String to identify the originator of this request.
1964     */
1965    public function delete($annotationId, $optParams = array())
1966    {
1967      $params = array('annotationId' => $annotationId);
1968      $params = array_merge($params, $optParams);
1969      return $this->call('delete', array($params));
1970    }
1971  
1972    /**
1973     * Inserts a new annotation. (annotations.insert)
1974     *
1975     * @param Google_Annotation $postBody
1976     * @param array $optParams Optional parameters.
1977     *
1978     * @opt_param string country ISO-3166-1 code to override the IP-based location.
1979     * @opt_param bool showOnlySummaryInResponse Requests that only the summary of
1980     * the specified layer be provided in the response.
1981     * @opt_param string source String to identify the originator of this request.
1982     * @return Google_Service_Books_Annotation
1983     */
1984    public function insert(Google_Service_Books_Annotation $postBody, $optParams = array())
1985    {
1986      $params = array('postBody' => $postBody);
1987      $params = array_merge($params, $optParams);
1988      return $this->call('insert', array($params), "Google_Service_Books_Annotation");
1989    }
1990  
1991    /**
1992     * Retrieves a list of annotations, possibly filtered.
1993     * (annotations.listMylibraryAnnotations)
1994     *
1995     * @param array $optParams Optional parameters.
1996     *
1997     * @opt_param bool showDeleted Set to true to return deleted annotations.
1998     * updatedMin must be in the request to use this. Defaults to false.
1999     * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated
2000     * since this timestamp (inclusive).
2001     * @opt_param string layerIds The layer ID(s) to limit annotation by.
2002     * @opt_param string volumeId The volume to restrict annotations to.
2003     * @opt_param string maxResults Maximum number of results to return
2004     * @opt_param string pageToken The value of the nextToken from the previous
2005     * page.
2006     * @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated
2007     * prior to this timestamp (exclusive).
2008     * @opt_param string contentVersion The content version for the requested
2009     * volume.
2010     * @opt_param string source String to identify the originator of this request.
2011     * @opt_param string layerId The layer ID to limit annotation by.
2012     * @return Google_Service_Books_Annotations
2013     */
2014    public function listMylibraryAnnotations($optParams = array())
2015    {
2016      $params = array();
2017      $params = array_merge($params, $optParams);
2018      return $this->call('list', array($params), "Google_Service_Books_Annotations");
2019    }
2020  
2021    /**
2022     * Gets the summary of specified layers. (annotations.summary)
2023     *
2024     * @param string $layerIds Array of layer IDs to get the summary for.
2025     * @param string $volumeId Volume id to get the summary for.
2026     * @param array $optParams Optional parameters.
2027     * @return Google_Service_Books_AnnotationsSummary
2028     */
2029    public function summary($layerIds, $volumeId, $optParams = array())
2030    {
2031      $params = array('layerIds' => $layerIds, 'volumeId' => $volumeId);
2032      $params = array_merge($params, $optParams);
2033      return $this->call('summary', array($params), "Google_Service_Books_AnnotationsSummary");
2034    }
2035  
2036    /**
2037     * Updates an existing annotation. (annotations.update)
2038     *
2039     * @param string $annotationId The ID for the annotation to update.
2040     * @param Google_Annotation $postBody
2041     * @param array $optParams Optional parameters.
2042     *
2043     * @opt_param string source String to identify the originator of this request.
2044     * @return Google_Service_Books_Annotation
2045     */
2046    public function update($annotationId, Google_Service_Books_Annotation $postBody, $optParams = array())
2047    {
2048      $params = array('annotationId' => $annotationId, 'postBody' => $postBody);
2049      $params = array_merge($params, $optParams);
2050      return $this->call('update', array($params), "Google_Service_Books_Annotation");
2051    }
2052  }
2053  /**
2054   * The "bookshelves" collection of methods.
2055   * Typical usage is:
2056   *  <code>
2057   *   $booksService = new Google_Service_Books(...);
2058   *   $bookshelves = $booksService->bookshelves;
2059   *  </code>
2060   */
2061  #[AllowDynamicProperties]
2062  class Google_Service_Books_MylibraryBookshelves_Resource extends Google_Service_Resource
2063  {
2064  
2065    /**
2066     * Adds a volume to a bookshelf. (bookshelves.addVolume)
2067     *
2068     * @param string $shelf ID of bookshelf to which to add a volume.
2069     * @param string $volumeId ID of volume to add.
2070     * @param array $optParams Optional parameters.
2071     *
2072     * @opt_param string reason The reason for which the book is added to the
2073     * library.
2074     * @opt_param string source String to identify the originator of this request.
2075     */
2076    public function addVolume($shelf, $volumeId, $optParams = array())
2077    {
2078      $params = array('shelf' => $shelf, 'volumeId' => $volumeId);
2079      $params = array_merge($params, $optParams);
2080      return $this->call('addVolume', array($params));
2081    }
2082  
2083    /**
2084     * Clears all volumes from a bookshelf. (bookshelves.clearVolumes)
2085     *
2086     * @param string $shelf ID of bookshelf from which to remove a volume.
2087     * @param array $optParams Optional parameters.
2088     *
2089     * @opt_param string source String to identify the originator of this request.
2090     */
2091    public function clearVolumes($shelf, $optParams = array())
2092    {
2093      $params = array('shelf' => $shelf);
2094      $params = array_merge($params, $optParams);
2095      return $this->call('clearVolumes', array($params));
2096    }
2097  
2098    /**
2099     * Retrieves metadata for a specific bookshelf belonging to the authenticated
2100     * user. (bookshelves.get)
2101     *
2102     * @param string $shelf ID of bookshelf to retrieve.
2103     * @param array $optParams Optional parameters.
2104     *
2105     * @opt_param string source String to identify the originator of this request.
2106     * @return Google_Service_Books_Bookshelf
2107     */
2108    public function get($shelf, $optParams = array())
2109    {
2110      $params = array('shelf' => $shelf);
2111      $params = array_merge($params, $optParams);
2112      return $this->call('get', array($params), "Google_Service_Books_Bookshelf");
2113    }
2114  
2115    /**
2116     * Retrieves a list of bookshelves belonging to the authenticated user.
2117     * (bookshelves.listMylibraryBookshelves)
2118     *
2119     * @param array $optParams Optional parameters.
2120     *
2121     * @opt_param string source String to identify the originator of this request.
2122     * @return Google_Service_Books_Bookshelves
2123     */
2124    public function listMylibraryBookshelves($optParams = array())
2125    {
2126      $params = array();
2127      $params = array_merge($params, $optParams);
2128      return $this->call('list', array($params), "Google_Service_Books_Bookshelves");
2129    }
2130  
2131    /**
2132     * Moves a volume within a bookshelf. (bookshelves.moveVolume)
2133     *
2134     * @param string $shelf ID of bookshelf with the volume.
2135     * @param string $volumeId ID of volume to move.
2136     * @param int $volumePosition Position on shelf to move the item (0 puts the
2137     * item before the current first item, 1 puts it between the first and the
2138     * second and so on.)
2139     * @param array $optParams Optional parameters.
2140     *
2141     * @opt_param string source String to identify the originator of this request.
2142     */
2143    public function moveVolume($shelf, $volumeId, $volumePosition, $optParams = array())
2144    {
2145      $params = array('shelf' => $shelf, 'volumeId' => $volumeId, 'volumePosition' => $volumePosition);
2146      $params = array_merge($params, $optParams);
2147      return $this->call('moveVolume', array($params));
2148    }
2149  
2150    /**
2151     * Removes a volume from a bookshelf. (bookshelves.removeVolume)
2152     *
2153     * @param string $shelf ID of bookshelf from which to remove a volume.
2154     * @param string $volumeId ID of volume to remove.
2155     * @param array $optParams Optional parameters.
2156     *
2157     * @opt_param string reason The reason for which the book is removed from the
2158     * library.
2159     * @opt_param string source String to identify the originator of this request.
2160     */
2161    public function removeVolume($shelf, $volumeId, $optParams = array())
2162    {
2163      $params = array('shelf' => $shelf, 'volumeId' => $volumeId);
2164      $params = array_merge($params, $optParams);
2165      return $this->call('removeVolume', array($params));
2166    }
2167  }
2168  
2169  /**
2170   * The "volumes" collection of methods.
2171   * Typical usage is:
2172   *  <code>
2173   *   $booksService = new Google_Service_Books(...);
2174   *   $volumes = $booksService->volumes;
2175   *  </code>
2176   */
2177  #[AllowDynamicProperties]
2178  class Google_Service_Books_MylibraryBookshelvesVolumes_Resource extends Google_Service_Resource
2179  {
2180  
2181    /**
2182     * Gets volume information for volumes on a bookshelf.
2183     * (volumes.listMylibraryBookshelvesVolumes)
2184     *
2185     * @param string $shelf The bookshelf ID or name retrieve volumes for.
2186     * @param array $optParams Optional parameters.
2187     *
2188     * @opt_param string projection Restrict information returned to a set of
2189     * selected fields.
2190     * @opt_param string country ISO-3166-1 code to override the IP-based location.
2191     * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults
2192     * to false.
2193     * @opt_param string maxResults Maximum number of results to return
2194     * @opt_param string q Full-text search query string in this bookshelf.
2195     * @opt_param string source String to identify the originator of this request.
2196     * @opt_param string startIndex Index of the first element to return (starts at
2197     * 0)
2198     * @return Google_Service_Books_Volumes
2199     */
2200    public function listMylibraryBookshelvesVolumes($shelf, $optParams = array())
2201    {
2202      $params = array('shelf' => $shelf);
2203      $params = array_merge($params, $optParams);
2204      return $this->call('list', array($params), "Google_Service_Books_Volumes");
2205    }
2206  }
2207  /**
2208   * The "readingpositions" collection of methods.
2209   * Typical usage is:
2210   *  <code>
2211   *   $booksService = new Google_Service_Books(...);
2212   *   $readingpositions = $booksService->readingpositions;
2213   *  </code>
2214   */
2215  #[AllowDynamicProperties]
2216  class Google_Service_Books_MylibraryReadingpositions_Resource extends Google_Service_Resource
2217  {
2218  
2219    /**
2220     * Retrieves my reading position information for a volume.
2221     * (readingpositions.get)
2222     *
2223     * @param string $volumeId ID of volume for which to retrieve a reading
2224     * position.
2225     * @param array $optParams Optional parameters.
2226     *
2227     * @opt_param string source String to identify the originator of this request.
2228     * @opt_param string contentVersion Volume content version for which this
2229     * reading position is requested.
2230     * @return Google_Service_Books_ReadingPosition
2231     */
2232    public function get($volumeId, $optParams = array())
2233    {
2234      $params = array('volumeId' => $volumeId);
2235      $params = array_merge($params, $optParams);
2236      return $this->call('get', array($params), "Google_Service_Books_ReadingPosition");
2237    }
2238  
2239    /**
2240     * Sets my reading position information for a volume.
2241     * (readingpositions.setPosition)
2242     *
2243     * @param string $volumeId ID of volume for which to update the reading
2244     * position.
2245     * @param string $timestamp RFC 3339 UTC format timestamp associated with this
2246     * reading position.
2247     * @param string $position Position string for the new volume reading position.
2248     * @param array $optParams Optional parameters.
2249     *
2250     * @opt_param string deviceCookie Random persistent device cookie optional on
2251     * set position.
2252     * @opt_param string source String to identify the originator of this request.
2253     * @opt_param string contentVersion Volume content version for which this
2254     * reading position applies.
2255     * @opt_param string action Action that caused this reading position to be set.
2256     */
2257    public function setPosition($volumeId, $timestamp, $position, $optParams = array())
2258    {
2259      $params = array('volumeId' => $volumeId, 'timestamp' => $timestamp, 'position' => $position);
2260      $params = array_merge($params, $optParams);
2261      return $this->call('setPosition', array($params));
2262    }
2263  }
2264  
2265  /**
2266   * The "notification" collection of methods.
2267   * Typical usage is:
2268   *  <code>
2269   *   $booksService = new Google_Service_Books(...);
2270   *   $notification = $booksService->notification;
2271   *  </code>
2272   */
2273  #[AllowDynamicProperties]
2274  class Google_Service_Books_Notification_Resource extends Google_Service_Resource
2275  {
2276  
2277    /**
2278     * Returns notification details for a given notification id. (notification.get)
2279     *
2280     * @param string $notificationId String to identify the notification.
2281     * @param array $optParams Optional parameters.
2282     *
2283     * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
2284     * 'en_US'. Used for generating notification title and body.
2285     * @opt_param string source String to identify the originator of this request.
2286     * @return Google_Service_Books_Notification
2287     */
2288    public function get($notificationId, $optParams = array())
2289    {
2290      $params = array('notification_id' => $notificationId);
2291      $params = array_merge($params, $optParams);
2292      return $this->call('get', array($params), "Google_Service_Books_Notification");
2293    }
2294  }
2295  
2296  /**
2297   * The "onboarding" collection of methods.
2298   * Typical usage is:
2299   *  <code>
2300   *   $booksService = new Google_Service_Books(...);
2301   *   $onboarding = $booksService->onboarding;
2302   *  </code>
2303   */
2304  #[AllowDynamicProperties]
2305  class Google_Service_Books_Onboarding_Resource extends Google_Service_Resource
2306  {
2307  
2308    /**
2309     * List categories for onboarding experience. (onboarding.listCategories)
2310     *
2311     * @param array $optParams Optional parameters.
2312     *
2313     * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code.
2314     * Default is en-US if unset.
2315     * @return Google_Service_Books_Category
2316     */
2317    public function listCategories($optParams = array())
2318    {
2319      $params = array();
2320      $params = array_merge($params, $optParams);
2321      return $this->call('listCategories', array($params), "Google_Service_Books_Category");
2322    }
2323  
2324    /**
2325     * List available volumes under categories for onboarding experience.
2326     * (onboarding.listCategoryVolumes)
2327     *
2328     * @param array $optParams Optional parameters.
2329     *
2330     * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code.
2331     * Default is en-US if unset.
2332     * @opt_param string pageToken The value of the nextToken from the previous
2333     * page.
2334     * @opt_param string maxAllowedMaturityRating The maximum allowed maturity
2335     * rating of returned volumes. Books with a higher maturity rating are filtered
2336     * out.
2337     * @opt_param string categoryId List of category ids requested.
2338     * @opt_param string pageSize Number of maximum results per page to be included
2339     * in the response.
2340     * @return Google_Service_Books_Volume2
2341     */
2342    public function listCategoryVolumes($optParams = array())
2343    {
2344      $params = array();
2345      $params = array_merge($params, $optParams);
2346      return $this->call('listCategoryVolumes', array($params), "Google_Service_Books_Volume2");
2347    }
2348  }
2349  
2350  /**
2351   * The "personalizedstream" collection of methods.
2352   * Typical usage is:
2353   *  <code>
2354   *   $booksService = new Google_Service_Books(...);
2355   *   $personalizedstream = $booksService->personalizedstream;
2356   *  </code>
2357   */
2358  #[AllowDynamicProperties]
2359  class Google_Service_Books_Personalizedstream_Resource extends Google_Service_Resource
2360  {
2361  
2362    /**
2363     * Returns a stream of personalized book clusters (personalizedstream.get)
2364     *
2365     * @param array $optParams Optional parameters.
2366     *
2367     * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
2368     * 'en_US'. Used for generating recommendations.
2369     * @opt_param string source String to identify the originator of this request.
2370     * @opt_param string maxAllowedMaturityRating The maximum allowed maturity
2371     * rating of returned recommendations. Books with a higher maturity rating are
2372     * filtered out.
2373     * @return Google_Service_Books_Discoveryclusters
2374     */
2375    public function get($optParams = array())
2376    {
2377      $params = array();
2378      $params = array_merge($params, $optParams);
2379      return $this->call('get', array($params), "Google_Service_Books_Discoveryclusters");
2380    }
2381  }
2382  
2383  /**
2384   * The "promooffer" collection of methods.
2385   * Typical usage is:
2386   *  <code>
2387   *   $booksService = new Google_Service_Books(...);
2388   *   $promooffer = $booksService->promooffer;
2389   *  </code>
2390   */
2391  #[AllowDynamicProperties]
2392  class Google_Service_Books_Promooffer_Resource extends Google_Service_Resource
2393  {
2394  
2395    /**
2396     * (promooffer.accept)
2397     *
2398     * @param array $optParams Optional parameters.
2399     *
2400     * @opt_param string product device product
2401     * @opt_param string volumeId Volume id to exercise the offer
2402     * @opt_param string offerId
2403     * @opt_param string androidId device android_id
2404     * @opt_param string device device device
2405     * @opt_param string model device model
2406     * @opt_param string serial device serial
2407     * @opt_param string manufacturer device manufacturer
2408     */
2409    public function accept($optParams = array())
2410    {
2411      $params = array();
2412      $params = array_merge($params, $optParams);
2413      return $this->call('accept', array($params));
2414    }
2415  
2416    /**
2417     * (promooffer.dismiss)
2418     *
2419     * @param array $optParams Optional parameters.
2420     *
2421     * @opt_param string product device product
2422     * @opt_param string offerId Offer to dimiss
2423     * @opt_param string androidId device android_id
2424     * @opt_param string device device device
2425     * @opt_param string model device model
2426     * @opt_param string serial device serial
2427     * @opt_param string manufacturer device manufacturer
2428     */
2429    public function dismiss($optParams = array())
2430    {
2431      $params = array();
2432      $params = array_merge($params, $optParams);
2433      return $this->call('dismiss', array($params));
2434    }
2435  
2436    /**
2437     * Returns a list of promo offers available to the user (promooffer.get)
2438     *
2439     * @param array $optParams Optional parameters.
2440     *
2441     * @opt_param string product device product
2442     * @opt_param string androidId device android_id
2443     * @opt_param string device device device
2444     * @opt_param string model device model
2445     * @opt_param string serial device serial
2446     * @opt_param string manufacturer device manufacturer
2447     * @return Google_Service_Books_Offers
2448     */
2449    public function get($optParams = array())
2450    {
2451      $params = array();
2452      $params = array_merge($params, $optParams);
2453      return $this->call('get', array($params), "Google_Service_Books_Offers");
2454    }
2455  }
2456  
2457  /**
2458   * The "volumes" collection of methods.
2459   * Typical usage is:
2460   *  <code>
2461   *   $booksService = new Google_Service_Books(...);
2462   *   $volumes = $booksService->volumes;
2463   *  </code>
2464   */
2465  #[AllowDynamicProperties]
2466  class Google_Service_Books_Volumes_Resource extends Google_Service_Resource
2467  {
2468  
2469    /**
2470     * Gets volume information for a single volume. (volumes.get)
2471     *
2472     * @param string $volumeId ID of volume to retrieve.
2473     * @param array $optParams Optional parameters.
2474     *
2475     * @opt_param bool user_library_consistent_read
2476     * @opt_param string projection Restrict information returned to a set of
2477     * selected fields.
2478     * @opt_param string country ISO-3166-1 code to override the IP-based location.
2479     * @opt_param string source String to identify the originator of this request.
2480     * @opt_param string partner Brand results for partner ID.
2481     * @return Google_Service_Books_Volume
2482     */
2483    public function get($volumeId, $optParams = array())
2484    {
2485      $params = array('volumeId' => $volumeId);
2486      $params = array_merge($params, $optParams);
2487      return $this->call('get', array($params), "Google_Service_Books_Volume");
2488    }
2489  
2490    /**
2491     * Performs a book search. (volumes.listVolumes)
2492     *
2493     * @param string $q Full-text search query string.
2494     * @param array $optParams Optional parameters.
2495     *
2496     * @opt_param string orderBy Sort search results.
2497     * @opt_param string projection Restrict information returned to a set of
2498     * selected fields.
2499     * @opt_param string libraryRestrict Restrict search to this user's library.
2500     * @opt_param string langRestrict Restrict results to books with this language
2501     * code.
2502     * @opt_param bool showPreorders Set to true to show books available for
2503     * preorder. Defaults to false.
2504     * @opt_param string printType Restrict to books or magazines.
2505     * @opt_param string maxResults Maximum number of results to return.
2506     * @opt_param string filter Filter search results.
2507     * @opt_param string source String to identify the originator of this request.
2508     * @opt_param string startIndex Index of the first result to return (starts at
2509     * 0)
2510     * @opt_param string download Restrict to volumes by download availability.
2511     * @opt_param string partner Restrict and brand results for partner ID.
2512     * @return Google_Service_Books_Volumes
2513     */
2514    public function listVolumes($q, $optParams = array())
2515    {
2516      $params = array('q' => $q);
2517      $params = array_merge($params, $optParams);
2518      return $this->call('list', array($params), "Google_Service_Books_Volumes");
2519    }
2520  }
2521  
2522  /**
2523   * The "associated" collection of methods.
2524   * Typical usage is:
2525   *  <code>
2526   *   $booksService = new Google_Service_Books(...);
2527   *   $associated = $booksService->associated;
2528   *  </code>
2529   */
2530  #[AllowDynamicProperties]
2531  class Google_Service_Books_VolumesAssociated_Resource extends Google_Service_Resource
2532  {
2533  
2534    /**
2535     * Return a list of associated books. (associated.listVolumesAssociated)
2536     *
2537     * @param string $volumeId ID of the source volume.
2538     * @param array $optParams Optional parameters.
2539     *
2540     * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
2541     * 'en_US'. Used for generating recommendations.
2542     * @opt_param string source String to identify the originator of this request.
2543     * @opt_param string maxAllowedMaturityRating The maximum allowed maturity
2544     * rating of returned recommendations. Books with a higher maturity rating are
2545     * filtered out.
2546     * @opt_param string association Association type.
2547     * @return Google_Service_Books_Volumes
2548     */
2549    public function listVolumesAssociated($volumeId, $optParams = array())
2550    {
2551      $params = array('volumeId' => $volumeId);
2552      $params = array_merge($params, $optParams);
2553      return $this->call('list', array($params), "Google_Service_Books_Volumes");
2554    }
2555  }
2556  /**
2557   * The "mybooks" collection of methods.
2558   * Typical usage is:
2559   *  <code>
2560   *   $booksService = new Google_Service_Books(...);
2561   *   $mybooks = $booksService->mybooks;
2562   *  </code>
2563   */
2564  #[AllowDynamicProperties]
2565  class Google_Service_Books_VolumesMybooks_Resource extends Google_Service_Resource
2566  {
2567  
2568    /**
2569     * Return a list of books in My Library. (mybooks.listVolumesMybooks)
2570     *
2571     * @param array $optParams Optional parameters.
2572     *
2573     * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code.
2574     * Ex:'en_US'. Used for generating recommendations.
2575     * @opt_param string startIndex Index of the first result to return (starts at
2576     * 0)
2577     * @opt_param string maxResults Maximum number of results to return.
2578     * @opt_param string source String to identify the originator of this request.
2579     * @opt_param string acquireMethod How the book was aquired
2580     * @opt_param string processingState The processing state of the user uploaded
2581     * volumes to be returned. Applicable only if the UPLOADED is specified in the
2582     * acquireMethod.
2583     * @return Google_Service_Books_Volumes
2584     */
2585    public function listVolumesMybooks($optParams = array())
2586    {
2587      $params = array();
2588      $params = array_merge($params, $optParams);
2589      return $this->call('list', array($params), "Google_Service_Books_Volumes");
2590    }
2591  }
2592  /**
2593   * The "recommended" collection of methods.
2594   * Typical usage is:
2595   *  <code>
2596   *   $booksService = new Google_Service_Books(...);
2597   *   $recommended = $booksService->recommended;
2598   *  </code>
2599   */
2600  #[AllowDynamicProperties]
2601  class Google_Service_Books_VolumesRecommended_Resource extends Google_Service_Resource
2602  {
2603  
2604    /**
2605     * Return a list of recommended books for the current user.
2606     * (recommended.listVolumesRecommended)
2607     *
2608     * @param array $optParams Optional parameters.
2609     *
2610     * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
2611     * 'en_US'. Used for generating recommendations.
2612     * @opt_param string source String to identify the originator of this request.
2613     * @opt_param string maxAllowedMaturityRating The maximum allowed maturity
2614     * rating of returned recommendations. Books with a higher maturity rating are
2615     * filtered out.
2616     * @return Google_Service_Books_Volumes
2617     */
2618    public function listVolumesRecommended($optParams = array())
2619    {
2620      $params = array();
2621      $params = array_merge($params, $optParams);
2622      return $this->call('list', array($params), "Google_Service_Books_Volumes");
2623    }
2624  
2625    /**
2626     * Rate a recommended book for the current user. (recommended.rate)
2627     *
2628     * @param string $rating Rating to be given to the volume.
2629     * @param string $volumeId ID of the source volume.
2630     * @param array $optParams Optional parameters.
2631     *
2632     * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
2633     * 'en_US'. Used for generating recommendations.
2634     * @opt_param string source String to identify the originator of this request.
2635     * @return Google_Service_Books_BooksVolumesRecommendedRateResponse
2636     */
2637    public function rate($rating, $volumeId, $optParams = array())
2638    {
2639      $params = array('rating' => $rating, 'volumeId' => $volumeId);
2640      $params = array_merge($params, $optParams);
2641      return $this->call('rate', array($params), "Google_Service_Books_BooksVolumesRecommendedRateResponse");
2642    }
2643  }
2644  /**
2645   * The "useruploaded" collection of methods.
2646   * Typical usage is:
2647   *  <code>
2648   *   $booksService = new Google_Service_Books(...);
2649   *   $useruploaded = $booksService->useruploaded;
2650   *  </code>
2651   */
2652  #[AllowDynamicProperties]
2653  class Google_Service_Books_VolumesUseruploaded_Resource extends Google_Service_Resource
2654  {
2655  
2656    /**
2657     * Return a list of books uploaded by the current user.
2658     * (useruploaded.listVolumesUseruploaded)
2659     *
2660     * @param array $optParams Optional parameters.
2661     *
2662     * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
2663     * 'en_US'. Used for generating recommendations.
2664     * @opt_param string volumeId The ids of the volumes to be returned. If not
2665     * specified all that match the processingState are returned.
2666     * @opt_param string maxResults Maximum number of results to return.
2667     * @opt_param string source String to identify the originator of this request.
2668     * @opt_param string startIndex Index of the first result to return (starts at
2669     * 0)
2670     * @opt_param string processingState The processing state of the user uploaded
2671     * volumes to be returned.
2672     * @return Google_Service_Books_Volumes
2673     */
2674    public function listVolumesUseruploaded($optParams = array())
2675    {
2676      $params = array();
2677      $params = array_merge($params, $optParams);
2678      return $this->call('list', array($params), "Google_Service_Books_Volumes");
2679    }
2680  }
2681  
2682  
2683  
2684  
2685  #[AllowDynamicProperties]
2686  class Google_Service_Books_Annotation extends Google_Collection
2687  {
2688    protected $collection_key = 'pageIds';
2689    protected $internal_gapi_mappings = array(
2690    );
2691    public $afterSelectedText;
2692    public $beforeSelectedText;
2693    protected $clientVersionRangesType = 'Google_Service_Books_AnnotationClientVersionRanges';
2694    protected $clientVersionRangesDataType = '';
2695    public $created;
2696    protected $currentVersionRangesType = 'Google_Service_Books_AnnotationCurrentVersionRanges';
2697    protected $currentVersionRangesDataType = '';
2698    public $data;
2699    public $deleted;
2700    public $highlightStyle;
2701    public $id;
2702    public $kind;
2703    public $layerId;
2704    protected $layerSummaryType = 'Google_Service_Books_AnnotationLayerSummary';
2705    protected $layerSummaryDataType = '';
2706    public $pageIds;
2707    public $selectedText;
2708    public $selfLink;
2709    public $updated;
2710    public $volumeId;
2711  
2712  
2713    public function setAfterSelectedText($afterSelectedText)
2714    {
2715      $this->afterSelectedText = $afterSelectedText;
2716    }
2717    public function getAfterSelectedText()
2718    {
2719      return $this->afterSelectedText;
2720    }
2721    public function setBeforeSelectedText($beforeSelectedText)
2722    {
2723      $this->beforeSelectedText = $beforeSelectedText;
2724    }
2725    public function getBeforeSelectedText()
2726    {
2727      return $this->beforeSelectedText;
2728    }
2729    public function setClientVersionRanges(Google_Service_Books_AnnotationClientVersionRanges $clientVersionRanges)
2730    {
2731      $this->clientVersionRanges = $clientVersionRanges;
2732    }
2733    public function getClientVersionRanges()
2734    {
2735      return $this->clientVersionRanges;
2736    }
2737    public function setCreated($created)
2738    {
2739      $this->created = $created;
2740    }
2741    public function getCreated()
2742    {
2743      return $this->created;
2744    }
2745    public function setCurrentVersionRanges(Google_Service_Books_AnnotationCurrentVersionRanges $currentVersionRanges)
2746    {
2747      $this->currentVersionRanges = $currentVersionRanges;
2748    }
2749    public function getCurrentVersionRanges()
2750    {
2751      return $this->currentVersionRanges;
2752    }
2753    public function setData($data)
2754    {
2755      $this->data = $data;
2756    }
2757    public function getData()
2758    {
2759      return $this->data;
2760    }
2761    public function setDeleted($deleted)
2762    {
2763      $this->deleted = $deleted;
2764    }
2765    public function getDeleted()
2766    {
2767      return $this->deleted;
2768    }
2769    public function setHighlightStyle($highlightStyle)
2770    {
2771      $this->highlightStyle = $highlightStyle;
2772    }
2773    public function getHighlightStyle()
2774    {
2775      return $this->highlightStyle;
2776    }
2777    public function setId($id)
2778    {
2779      $this->id = $id;
2780    }
2781    public function getId()
2782    {
2783      return $this->id;
2784    }
2785    public function setKind($kind)
2786    {
2787      $this->kind = $kind;
2788    }
2789    public function getKind()
2790    {
2791      return $this->kind;
2792    }
2793    public function setLayerId($layerId)
2794    {
2795      $this->layerId = $layerId;
2796    }
2797    public function getLayerId()
2798    {
2799      return $this->layerId;
2800    }
2801    public function setLayerSummary(Google_Service_Books_AnnotationLayerSummary $layerSummary)
2802    {
2803      $this->layerSummary = $layerSummary;
2804    }
2805    public function getLayerSummary()
2806    {
2807      return $this->layerSummary;
2808    }
2809    public function setPageIds($pageIds)
2810    {
2811      $this->pageIds = $pageIds;
2812    }
2813    public function getPageIds()
2814    {
2815      return $this->pageIds;
2816    }
2817    public function setSelectedText($selectedText)
2818    {
2819      $this->selectedText = $selectedText;
2820    }
2821    public function getSelectedText()
2822    {
2823      return $this->selectedText;
2824    }
2825    public function setSelfLink($selfLink)
2826    {
2827      $this->selfLink = $selfLink;
2828    }
2829    public function getSelfLink()
2830    {
2831      return $this->selfLink;
2832    }
2833    public function setUpdated($updated)
2834    {
2835      $this->updated = $updated;
2836    }
2837    public function getUpdated()
2838    {
2839      return $this->updated;
2840    }
2841    public function setVolumeId($volumeId)
2842    {
2843      $this->volumeId = $volumeId;
2844    }
2845    public function getVolumeId()
2846    {
2847      return $this->volumeId;
2848    }
2849  }
2850  
2851  #[AllowDynamicProperties]
2852  class Google_Service_Books_AnnotationClientVersionRanges extends Google_Model
2853  {
2854    protected $internal_gapi_mappings = array(
2855    );
2856    protected $cfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2857    protected $cfiRangeDataType = '';
2858    public $contentVersion;
2859    protected $gbImageRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2860    protected $gbImageRangeDataType = '';
2861    protected $gbTextRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2862    protected $gbTextRangeDataType = '';
2863    protected $imageCfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2864    protected $imageCfiRangeDataType = '';
2865  
2866  
2867    public function setCfiRange(Google_Service_Books_BooksAnnotationsRange $cfiRange)
2868    {
2869      $this->cfiRange = $cfiRange;
2870    }
2871    public function getCfiRange()
2872    {
2873      return $this->cfiRange;
2874    }
2875    public function setContentVersion($contentVersion)
2876    {
2877      $this->contentVersion = $contentVersion;
2878    }
2879    public function getContentVersion()
2880    {
2881      return $this->contentVersion;
2882    }
2883    public function setGbImageRange(Google_Service_Books_BooksAnnotationsRange $gbImageRange)
2884    {
2885      $this->gbImageRange = $gbImageRange;
2886    }
2887    public function getGbImageRange()
2888    {
2889      return $this->gbImageRange;
2890    }
2891    public function setGbTextRange(Google_Service_Books_BooksAnnotationsRange $gbTextRange)
2892    {
2893      $this->gbTextRange = $gbTextRange;
2894    }
2895    public function getGbTextRange()
2896    {
2897      return $this->gbTextRange;
2898    }
2899    public function setImageCfiRange(Google_Service_Books_BooksAnnotationsRange $imageCfiRange)
2900    {
2901      $this->imageCfiRange = $imageCfiRange;
2902    }
2903    public function getImageCfiRange()
2904    {
2905      return $this->imageCfiRange;
2906    }
2907  }
2908  
2909  #[AllowDynamicProperties]
2910  class Google_Service_Books_AnnotationCurrentVersionRanges extends Google_Model
2911  {
2912    protected $internal_gapi_mappings = array(
2913    );
2914    protected $cfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2915    protected $cfiRangeDataType = '';
2916    public $contentVersion;
2917    protected $gbImageRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2918    protected $gbImageRangeDataType = '';
2919    protected $gbTextRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2920    protected $gbTextRangeDataType = '';
2921    protected $imageCfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
2922    protected $imageCfiRangeDataType = '';
2923  
2924  
2925    public function setCfiRange(Google_Service_Books_BooksAnnotationsRange $cfiRange)
2926    {
2927      $this->cfiRange = $cfiRange;
2928    }
2929    public function getCfiRange()
2930    {
2931      return $this->cfiRange;
2932    }
2933    public function setContentVersion($contentVersion)
2934    {
2935      $this->contentVersion = $contentVersion;
2936    }
2937    public function getContentVersion()
2938    {
2939      return $this->contentVersion;
2940    }
2941    public function setGbImageRange(Google_Service_Books_BooksAnnotationsRange $gbImageRange)
2942    {
2943      $this->gbImageRange = $gbImageRange;
2944    }
2945    public function getGbImageRange()
2946    {
2947      return $this->gbImageRange;
2948    }
2949    public function setGbTextRange(Google_Service_Books_BooksAnnotationsRange $gbTextRange)
2950    {
2951      $this->gbTextRange = $gbTextRange;
2952    }
2953    public function getGbTextRange()
2954    {
2955      return $this->gbTextRange;
2956    }
2957    public function setImageCfiRange(Google_Service_Books_BooksAnnotationsRange $imageCfiRange)
2958    {
2959      $this->imageCfiRange = $imageCfiRange;
2960    }
2961    public function getImageCfiRange()
2962    {
2963      return $this->imageCfiRange;
2964    }
2965  }
2966  
2967  #[AllowDynamicProperties]
2968  class Google_Service_Books_AnnotationLayerSummary extends Google_Model
2969  {
2970    protected $internal_gapi_mappings = array(
2971    );
2972    public $allowedCharacterCount;
2973    public $limitType;
2974    public $remainingCharacterCount;
2975  
2976  
2977    public function setAllowedCharacterCount($allowedCharacterCount)
2978    {
2979      $this->allowedCharacterCount = $allowedCharacterCount;
2980    }
2981    public function getAllowedCharacterCount()
2982    {
2983      return $this->allowedCharacterCount;
2984    }
2985    public function setLimitType($limitType)
2986    {
2987      $this->limitType = $limitType;
2988    }
2989    public function getLimitType()
2990    {
2991      return $this->limitType;
2992    }
2993    public function setRemainingCharacterCount($remainingCharacterCount)
2994    {
2995      $this->remainingCharacterCount = $remainingCharacterCount;
2996    }
2997    public function getRemainingCharacterCount()
2998    {
2999      return $this->remainingCharacterCount;
3000    }
3001  }
3002  
3003  #[AllowDynamicProperties]
3004  class Google_Service_Books_Annotationdata extends Google_Model
3005  {
3006    protected $internal_gapi_mappings = array(
3007          "encodedData" => "encoded_data",
3008    );
3009    public $annotationType;
3010    public $data;
3011    public $encodedData;
3012    public $id;
3013    public $kind;
3014    public $layerId;
3015    public $selfLink;
3016    public $updated;
3017    public $volumeId;
3018  
3019  
3020    public function setAnnotationType($annotationType)
3021    {
3022      $this->annotationType = $annotationType;
3023    }
3024    public function getAnnotationType()
3025    {
3026      return $this->annotationType;
3027    }
3028    public function setData($data)
3029    {
3030      $this->data = $data;
3031    }
3032    public function getData()
3033    {
3034      return $this->data;
3035    }
3036    public function setEncodedData($encodedData)
3037    {
3038      $this->encodedData = $encodedData;
3039    }
3040    public function getEncodedData()
3041    {
3042      return $this->encodedData;
3043    }
3044    public function setId($id)
3045    {
3046      $this->id = $id;
3047    }
3048    public function getId()
3049    {
3050      return $this->id;
3051    }
3052    public function setKind($kind)
3053    {
3054      $this->kind = $kind;
3055    }
3056    public function getKind()
3057    {
3058      return $this->kind;
3059    }
3060    public function setLayerId($layerId)
3061    {
3062      $this->layerId = $layerId;
3063    }
3064    public function getLayerId()
3065    {
3066      return $this->layerId;
3067    }
3068    public function setSelfLink($selfLink)
3069    {
3070      $this->selfLink = $selfLink;
3071    }
3072    public function getSelfLink()
3073    {
3074      return $this->selfLink;
3075    }
3076    public function setUpdated($updated)
3077    {
3078      $this->updated = $updated;
3079    }
3080    public function getUpdated()
3081    {
3082      return $this->updated;
3083    }
3084    public function setVolumeId($volumeId)
3085    {
3086      $this->volumeId = $volumeId;
3087    }
3088    public function getVolumeId()
3089    {
3090      return $this->volumeId;
3091    }
3092  }
3093  
3094  #[AllowDynamicProperties]
3095  class Google_Service_Books_Annotations extends Google_Collection
3096  {
3097    protected $collection_key = 'items';
3098    protected $internal_gapi_mappings = array(
3099    );
3100    protected $itemsType = 'Google_Service_Books_Annotation';
3101    protected $itemsDataType = 'array';
3102    public $kind;
3103    public $nextPageToken;
3104    public $totalItems;
3105  
3106  
3107    public function setItems($items)
3108    {
3109      $this->items = $items;
3110    }
3111    public function getItems()
3112    {
3113      return $this->items;
3114    }
3115    public function setKind($kind)
3116    {
3117      $this->kind = $kind;
3118    }
3119    public function getKind()
3120    {
3121      return $this->kind;
3122    }
3123    public function setNextPageToken($nextPageToken)
3124    {
3125      $this->nextPageToken = $nextPageToken;
3126    }
3127    public function getNextPageToken()
3128    {
3129      return $this->nextPageToken;
3130    }
3131    public function setTotalItems($totalItems)
3132    {
3133      $this->totalItems = $totalItems;
3134    }
3135    public function getTotalItems()
3136    {
3137      return $this->totalItems;
3138    }
3139  }
3140  
3141  #[AllowDynamicProperties]
3142  class Google_Service_Books_AnnotationsSummary extends Google_Collection
3143  {
3144    protected $collection_key = 'layers';
3145    protected $internal_gapi_mappings = array(
3146    );
3147    public $kind;
3148    protected $layersType = 'Google_Service_Books_AnnotationsSummaryLayers';
3149    protected $layersDataType = 'array';
3150  
3151  
3152    public function setKind($kind)
3153    {
3154      $this->kind = $kind;
3155    }
3156    public function getKind()
3157    {
3158      return $this->kind;
3159    }
3160    public function setLayers($layers)
3161    {
3162      $this->layers = $layers;
3163    }
3164    public function getLayers()
3165    {
3166      return $this->layers;
3167    }
3168  }
3169  
3170  #[AllowDynamicProperties]
3171  class Google_Service_Books_AnnotationsSummaryLayers extends Google_Model
3172  {
3173    protected $internal_gapi_mappings = array(
3174    );
3175    public $allowedCharacterCount;
3176    public $layerId;
3177    public $limitType;
3178    public $remainingCharacterCount;
3179    public $updated;
3180  
3181  
3182    public function setAllowedCharacterCount($allowedCharacterCount)
3183    {
3184      $this->allowedCharacterCount = $allowedCharacterCount;
3185    }
3186    public function getAllowedCharacterCount()
3187    {
3188      return $this->allowedCharacterCount;
3189    }
3190    public function setLayerId($layerId)
3191    {
3192      $this->layerId = $layerId;
3193    }
3194    public function getLayerId()
3195    {
3196      return $this->layerId;
3197    }
3198    public function setLimitType($limitType)
3199    {
3200      $this->limitType = $limitType;
3201    }
3202    public function getLimitType()
3203    {
3204      return $this->limitType;
3205    }
3206    public function setRemainingCharacterCount($remainingCharacterCount)
3207    {
3208      $this->remainingCharacterCount = $remainingCharacterCount;
3209    }
3210    public function getRemainingCharacterCount()
3211    {
3212      return $this->remainingCharacterCount;
3213    }
3214    public function setUpdated($updated)
3215    {
3216      $this->updated = $updated;
3217    }
3218    public function getUpdated()
3219    {
3220      return $this->updated;
3221    }
3222  }
3223  
3224  #[AllowDynamicProperties]
3225  class Google_Service_Books_Annotationsdata extends Google_Collection
3226  {
3227    protected $collection_key = 'items';
3228    protected $internal_gapi_mappings = array(
3229    );
3230    protected $itemsType = 'Google_Service_Books_Annotationdata';
3231    protected $itemsDataType = 'array';
3232    public $kind;
3233    public $nextPageToken;
3234    public $totalItems;
3235  
3236  
3237    public function setItems($items)
3238    {
3239      $this->items = $items;
3240    }
3241    public function getItems()
3242    {
3243      return $this->items;
3244    }
3245    public function setKind($kind)
3246    {
3247      $this->kind = $kind;
3248    }
3249    public function getKind()
3250    {
3251      return $this->kind;
3252    }
3253    public function setNextPageToken($nextPageToken)
3254    {
3255      $this->nextPageToken = $nextPageToken;
3256    }
3257    public function getNextPageToken()
3258    {
3259      return $this->nextPageToken;
3260    }
3261    public function setTotalItems($totalItems)
3262    {
3263      $this->totalItems = $totalItems;
3264    }
3265    public function getTotalItems()
3266    {
3267      return $this->totalItems;
3268    }
3269  }
3270  
3271  #[AllowDynamicProperties]
3272  class Google_Service_Books_BooksAnnotationsRange extends Google_Model
3273  {
3274    protected $internal_gapi_mappings = array(
3275    );
3276    public $endOffset;
3277    public $endPosition;
3278    public $startOffset;
3279    public $startPosition;
3280  
3281  
3282    public function setEndOffset($endOffset)
3283    {
3284      $this->endOffset = $endOffset;
3285    }
3286    public function getEndOffset()
3287    {
3288      return $this->endOffset;
3289    }
3290    public function setEndPosition($endPosition)
3291    {
3292      $this->endPosition = $endPosition;
3293    }
3294    public function getEndPosition()
3295    {
3296      return $this->endPosition;
3297    }
3298    public function setStartOffset($startOffset)
3299    {
3300      $this->startOffset = $startOffset;
3301    }
3302    public function getStartOffset()
3303    {
3304      return $this->startOffset;
3305    }
3306    public function setStartPosition($startPosition)
3307    {
3308      $this->startPosition = $startPosition;
3309    }
3310    public function getStartPosition()
3311    {
3312      return $this->startPosition;
3313    }
3314  }
3315  
3316  #[AllowDynamicProperties]
3317  class Google_Service_Books_BooksCloudloadingResource extends Google_Model
3318  {
3319    protected $internal_gapi_mappings = array(
3320    );
3321    public $author;
3322    public $processingState;
3323    public $title;
3324    public $volumeId;
3325  
3326  
3327    public function setAuthor($author)
3328    {
3329      $this->author = $author;
3330    }
3331    public function getAuthor()
3332    {
3333      return $this->author;
3334    }
3335    public function setProcessingState($processingState)
3336    {
3337      $this->processingState = $processingState;
3338    }
3339    public function getProcessingState()
3340    {
3341      return $this->processingState;
3342    }
3343    public function setTitle($title)
3344    {
3345      $this->title = $title;
3346    }
3347    public function getTitle()
3348    {
3349      return $this->title;
3350    }
3351    public function setVolumeId($volumeId)
3352    {
3353      $this->volumeId = $volumeId;
3354    }
3355    public function getVolumeId()
3356    {
3357      return $this->volumeId;
3358    }
3359  }
3360  
3361  #[AllowDynamicProperties]
3362  class Google_Service_Books_BooksVolumesRecommendedRateResponse extends Google_Model
3363  {
3364    protected $internal_gapi_mappings = array(
3365          "consistencyToken" => "consistency_token",
3366    );
3367    public $consistencyToken;
3368  
3369  
3370    public function setConsistencyToken($consistencyToken)
3371    {
3372      $this->consistencyToken = $consistencyToken;
3373    }
3374    public function getConsistencyToken()
3375    {
3376      return $this->consistencyToken;
3377    }
3378  }
3379  
3380  #[AllowDynamicProperties]
3381  class Google_Service_Books_Bookshelf extends Google_Model
3382  {
3383    protected $internal_gapi_mappings = array(
3384    );
3385    public $access;
3386    public $created;
3387    public $description;
3388    public $id;
3389    public $kind;
3390    public $selfLink;
3391    public $title;
3392    public $updated;
3393    public $volumeCount;
3394    public $volumesLastUpdated;
3395  
3396  
3397    public function setAccess($access)
3398    {
3399      $this->access = $access;
3400    }
3401    public function getAccess()
3402    {
3403      return $this->access;
3404    }
3405    public function setCreated($created)
3406    {
3407      $this->created = $created;
3408    }
3409    public function getCreated()
3410    {
3411      return $this->created;
3412    }
3413    public function setDescription($description)
3414    {
3415      $this->description = $description;
3416    }
3417    public function getDescription()
3418    {
3419      return $this->description;
3420    }
3421    public function setId($id)
3422    {
3423      $this->id = $id;
3424    }
3425    public function getId()
3426    {
3427      return $this->id;
3428    }
3429    public function setKind($kind)
3430    {
3431      $this->kind = $kind;
3432    }
3433    public function getKind()
3434    {
3435      return $this->kind;
3436    }
3437    public function setSelfLink($selfLink)
3438    {
3439      $this->selfLink = $selfLink;
3440    }
3441    public function getSelfLink()
3442    {
3443      return $this->selfLink;
3444    }
3445    public function setTitle($title)
3446    {
3447      $this->title = $title;
3448    }
3449    public function getTitle()
3450    {
3451      return $this->title;
3452    }
3453    public function setUpdated($updated)
3454    {
3455      $this->updated = $updated;
3456    }
3457    public function getUpdated()
3458    {
3459      return $this->updated;
3460    }
3461    public function setVolumeCount($volumeCount)
3462    {
3463      $this->volumeCount = $volumeCount;
3464    }
3465    public function getVolumeCount()
3466    {
3467      return $this->volumeCount;
3468    }
3469    public function setVolumesLastUpdated($volumesLastUpdated)
3470    {
3471      $this->volumesLastUpdated = $volumesLastUpdated;
3472    }
3473    public function getVolumesLastUpdated()
3474    {
3475      return $this->volumesLastUpdated;
3476    }
3477  }
3478  
3479  #[AllowDynamicProperties]
3480  class Google_Service_Books_Bookshelves extends Google_Collection
3481  {
3482    protected $collection_key = 'items';
3483    protected $internal_gapi_mappings = array(
3484    );
3485    protected $itemsType = 'Google_Service_Books_Bookshelf';
3486    protected $itemsDataType = 'array';
3487    public $kind;
3488  
3489  
3490    public function setItems($items)
3491    {
3492      $this->items = $items;
3493    }
3494    public function getItems()
3495    {
3496      return $this->items;
3497    }
3498    public function setKind($kind)
3499    {
3500      $this->kind = $kind;
3501    }
3502    public function getKind()
3503    {
3504      return $this->kind;
3505    }
3506  }
3507  
3508  #[AllowDynamicProperties]
3509  class Google_Service_Books_Category extends Google_Collection
3510  {
3511    protected $collection_key = 'items';
3512    protected $internal_gapi_mappings = array(
3513    );
3514    protected $itemsType = 'Google_Service_Books_CategoryItems';
3515    protected $itemsDataType = 'array';
3516    public $kind;
3517  
3518  
3519    public function setItems($items)
3520    {
3521      $this->items = $items;
3522    }
3523    public function getItems()
3524    {
3525      return $this->items;
3526    }
3527    public function setKind($kind)
3528    {
3529      $this->kind = $kind;
3530    }
3531    public function getKind()
3532    {
3533      return $this->kind;
3534    }
3535  }
3536  
3537  #[AllowDynamicProperties]
3538  class Google_Service_Books_CategoryItems extends Google_Model
3539  {
3540    protected $internal_gapi_mappings = array(
3541    );
3542    public $badgeUrl;
3543    public $categoryId;
3544    public $name;
3545  
3546  
3547    public function setBadgeUrl($badgeUrl)
3548    {
3549      $this->badgeUrl = $badgeUrl;
3550    }
3551    public function getBadgeUrl()
3552    {
3553      return $this->badgeUrl;
3554    }
3555    public function setCategoryId($categoryId)
3556    {
3557      $this->categoryId = $categoryId;
3558    }
3559    public function getCategoryId()
3560    {
3561      return $this->categoryId;
3562    }
3563    public function setName($name)
3564    {
3565      $this->name = $name;
3566    }
3567    public function getName()
3568    {
3569      return $this->name;
3570    }
3571  }
3572  
3573  #[AllowDynamicProperties]
3574  class Google_Service_Books_ConcurrentAccessRestriction extends Google_Model
3575  {
3576    protected $internal_gapi_mappings = array(
3577    );
3578    public $deviceAllowed;
3579    public $kind;
3580    public $maxConcurrentDevices;
3581    public $message;
3582    public $nonce;
3583    public $reasonCode;
3584    public $restricted;
3585    public $signature;
3586    public $source;
3587    public $timeWindowSeconds;
3588    public $volumeId;
3589  
3590  
3591    public function setDeviceAllowed($deviceAllowed)
3592    {
3593      $this->deviceAllowed = $deviceAllowed;
3594    }
3595    public function getDeviceAllowed()
3596    {
3597      return $this->deviceAllowed;
3598    }
3599    public function setKind($kind)
3600    {
3601      $this->kind = $kind;
3602    }
3603    public function getKind()
3604    {
3605      return $this->kind;
3606    }
3607    public function setMaxConcurrentDevices($maxConcurrentDevices)
3608    {
3609      $this->maxConcurrentDevices = $maxConcurrentDevices;
3610    }
3611    public function getMaxConcurrentDevices()
3612    {
3613      return $this->maxConcurrentDevices;
3614    }
3615    public function setMessage($message)
3616    {
3617      $this->message = $message;
3618    }
3619    public function getMessage()
3620    {
3621      return $this->message;
3622    }
3623    public function setNonce($nonce)
3624    {
3625      $this->nonce = $nonce;
3626    }
3627    public function getNonce()
3628    {
3629      return $this->nonce;
3630    }
3631    public function setReasonCode($reasonCode)
3632    {
3633      $this->reasonCode = $reasonCode;
3634    }
3635    public function getReasonCode()
3636    {
3637      return $this->reasonCode;
3638    }
3639    public function setRestricted($restricted)
3640    {
3641      $this->restricted = $restricted;
3642    }
3643    public function getRestricted()
3644    {
3645      return $this->restricted;
3646    }
3647    public function setSignature($signature)
3648    {
3649      $this->signature = $signature;
3650    }
3651    public function getSignature()
3652    {
3653      return $this->signature;
3654    }
3655    public function setSource($source)
3656    {
3657      $this->source = $source;
3658    }
3659    public function getSource()
3660    {
3661      return $this->source;
3662    }
3663    public function setTimeWindowSeconds($timeWindowSeconds)
3664    {
3665      $this->timeWindowSeconds = $timeWindowSeconds;
3666    }
3667    public function getTimeWindowSeconds()
3668    {
3669      return $this->timeWindowSeconds;
3670    }
3671    public function setVolumeId($volumeId)
3672    {
3673      $this->volumeId = $volumeId;
3674    }
3675    public function getVolumeId()
3676    {
3677      return $this->volumeId;
3678    }
3679  }
3680  
3681  #[AllowDynamicProperties]
3682  class Google_Service_Books_Dictlayerdata extends Google_Model
3683  {
3684    protected $internal_gapi_mappings = array(
3685    );
3686    protected $commonType = 'Google_Service_Books_DictlayerdataCommon';
3687    protected $commonDataType = '';
3688    protected $dictType = 'Google_Service_Books_DictlayerdataDict';
3689    protected $dictDataType = '';
3690    public $kind;
3691  
3692  
3693    public function setCommon(Google_Service_Books_DictlayerdataCommon $common)
3694    {
3695      $this->common = $common;
3696    }
3697    public function getCommon()
3698    {
3699      return $this->common;
3700    }
3701    public function setDict(Google_Service_Books_DictlayerdataDict $dict)
3702    {
3703      $this->dict = $dict;
3704    }
3705    public function getDict()
3706    {
3707      return $this->dict;
3708    }
3709    public function setKind($kind)
3710    {
3711      $this->kind = $kind;
3712    }
3713    public function getKind()
3714    {
3715      return $this->kind;
3716    }
3717  }
3718  
3719  #[AllowDynamicProperties]
3720  class Google_Service_Books_DictlayerdataCommon extends Google_Model
3721  {
3722    protected $internal_gapi_mappings = array(
3723    );
3724    public $title;
3725  
3726  
3727    public function setTitle($title)
3728    {
3729      $this->title = $title;
3730    }
3731    public function getTitle()
3732    {
3733      return $this->title;
3734    }
3735  }
3736  
3737  #[AllowDynamicProperties]
3738  class Google_Service_Books_DictlayerdataDict extends Google_Collection
3739  {
3740    protected $collection_key = 'words';
3741    protected $internal_gapi_mappings = array(
3742    );
3743    protected $sourceType = 'Google_Service_Books_DictlayerdataDictSource';
3744    protected $sourceDataType = '';
3745    protected $wordsType = 'Google_Service_Books_DictlayerdataDictWords';
3746    protected $wordsDataType = 'array';
3747  
3748  
3749    public function setSource(Google_Service_Books_DictlayerdataDictSource $source)
3750    {
3751      $this->source = $source;
3752    }
3753    public function getSource()
3754    {
3755      return $this->source;
3756    }
3757    public function setWords($words)
3758    {
3759      $this->words = $words;
3760    }
3761    public function getWords()
3762    {
3763      return $this->words;
3764    }
3765  }
3766  
3767  #[AllowDynamicProperties]
3768  class Google_Service_Books_DictlayerdataDictSource extends Google_Model
3769  {
3770    protected $internal_gapi_mappings = array(
3771    );
3772    public $attribution;
3773    public $url;
3774  
3775  
3776    public function setAttribution($attribution)
3777    {
3778      $this->attribution = $attribution;
3779    }
3780    public function getAttribution()
3781    {
3782      return $this->attribution;
3783    }
3784    public function setUrl($url)
3785    {
3786      $this->url = $url;
3787    }
3788    public function getUrl()
3789    {
3790      return $this->url;
3791    }
3792  }
3793  
3794  #[AllowDynamicProperties]
3795  class Google_Service_Books_DictlayerdataDictWords extends Google_Collection
3796  {
3797    protected $collection_key = 'senses';
3798    protected $internal_gapi_mappings = array(
3799    );
3800    protected $derivativesType = 'Google_Service_Books_DictlayerdataDictWordsDerivatives';
3801    protected $derivativesDataType = 'array';
3802    protected $examplesType = 'Google_Service_Books_DictlayerdataDictWordsExamples';
3803    protected $examplesDataType = 'array';
3804    protected $sensesType = 'Google_Service_Books_DictlayerdataDictWordsSenses';
3805    protected $sensesDataType = 'array';
3806    protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSource';
3807    protected $sourceDataType = '';
3808  
3809  
3810    public function setDerivatives($derivatives)
3811    {
3812      $this->derivatives = $derivatives;
3813    }
3814    public function getDerivatives()
3815    {
3816      return $this->derivatives;
3817    }
3818    public function setExamples($examples)
3819    {
3820      $this->examples = $examples;
3821    }
3822    public function getExamples()
3823    {
3824      return $this->examples;
3825    }
3826    public function setSenses($senses)
3827    {
3828      $this->senses = $senses;
3829    }
3830    public function getSenses()
3831    {
3832      return $this->senses;
3833    }
3834    public function setSource(Google_Service_Books_DictlayerdataDictWordsSource $source)
3835    {
3836      $this->source = $source;
3837    }
3838    public function getSource()
3839    {
3840      return $this->source;
3841    }
3842  }
3843  
3844  #[AllowDynamicProperties]
3845  class Google_Service_Books_DictlayerdataDictWordsDerivatives extends Google_Model
3846  {
3847    protected $internal_gapi_mappings = array(
3848    );
3849    protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsDerivativesSource';
3850    protected $sourceDataType = '';
3851    public $text;
3852  
3853  
3854    public function setSource(Google_Service_Books_DictlayerdataDictWordsDerivativesSource $source)
3855    {
3856      $this->source = $source;
3857    }
3858    public function getSource()
3859    {
3860      return $this->source;
3861    }
3862    public function setText($text)
3863    {
3864      $this->text = $text;
3865    }
3866    public function getText()
3867    {
3868      return $this->text;
3869    }
3870  }
3871  
3872  #[AllowDynamicProperties]
3873  class Google_Service_Books_DictlayerdataDictWordsDerivativesSource extends Google_Model
3874  {
3875    protected $internal_gapi_mappings = array(
3876    );
3877    public $attribution;
3878    public $url;
3879  
3880  
3881    public function setAttribution($attribution)
3882    {
3883      $this->attribution = $attribution;
3884    }
3885    public function getAttribution()
3886    {
3887      return $this->attribution;
3888    }
3889    public function setUrl($url)
3890    {
3891      $this->url = $url;
3892    }
3893    public function getUrl()
3894    {
3895      return $this->url;
3896    }
3897  }
3898  
3899  #[AllowDynamicProperties]
3900  class Google_Service_Books_DictlayerdataDictWordsExamples extends Google_Model
3901  {
3902    protected $internal_gapi_mappings = array(
3903    );
3904    protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsExamplesSource';
3905    protected $sourceDataType = '';
3906    public $text;
3907  
3908  
3909    public function setSource(Google_Service_Books_DictlayerdataDictWordsExamplesSource $source)
3910    {
3911      $this->source = $source;
3912    }
3913    public function getSource()
3914    {
3915      return $this->source;
3916    }
3917    public function setText($text)
3918    {
3919      $this->text = $text;
3920    }
3921    public function getText()
3922    {
3923      return $this->text;
3924    }
3925  }
3926  
3927  #[AllowDynamicProperties]
3928  class Google_Service_Books_DictlayerdataDictWordsExamplesSource extends Google_Model
3929  {
3930    protected $internal_gapi_mappings = array(
3931    );
3932    public $attribution;
3933    public $url;
3934  
3935  
3936    public function setAttribution($attribution)
3937    {
3938      $this->attribution = $attribution;
3939    }
3940    public function getAttribution()
3941    {
3942      return $this->attribution;
3943    }
3944    public function setUrl($url)
3945    {
3946      $this->url = $url;
3947    }
3948    public function getUrl()
3949    {
3950      return $this->url;
3951    }
3952  }
3953  
3954  #[AllowDynamicProperties]
3955  class Google_Service_Books_DictlayerdataDictWordsSenses extends Google_Collection
3956  {
3957    protected $collection_key = 'synonyms';
3958    protected $internal_gapi_mappings = array(
3959    );
3960    protected $conjugationsType = 'Google_Service_Books_DictlayerdataDictWordsSensesConjugations';
3961    protected $conjugationsDataType = 'array';
3962    protected $definitionsType = 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitions';
3963    protected $definitionsDataType = 'array';
3964    public $partOfSpeech;
3965    public $pronunciation;
3966    public $pronunciationUrl;
3967    protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSensesSource';
3968    protected $sourceDataType = '';
3969    public $syllabification;
3970    protected $synonymsType = 'Google_Service_Books_DictlayerdataDictWordsSensesSynonyms';
3971    protected $synonymsDataType = 'array';
3972  
3973  
3974    public function setConjugations($conjugations)
3975    {
3976      $this->conjugations = $conjugations;
3977    }
3978    public function getConjugations()
3979    {
3980      return $this->conjugations;
3981    }
3982    public function setDefinitions($definitions)
3983    {
3984      $this->definitions = $definitions;
3985    }
3986    public function getDefinitions()
3987    {
3988      return $this->definitions;
3989    }
3990    public function setPartOfSpeech($partOfSpeech)
3991    {
3992      $this->partOfSpeech = $partOfSpeech;
3993    }
3994    public function getPartOfSpeech()
3995    {
3996      return $this->partOfSpeech;
3997    }
3998    public function setPronunciation($pronunciation)
3999    {
4000      $this->pronunciation = $pronunciation;
4001    }
4002    public function getPronunciation()
4003    {
4004      return $this->pronunciation;
4005    }
4006    public function setPronunciationUrl($pronunciationUrl)
4007    {
4008      $this->pronunciationUrl = $pronunciationUrl;
4009    }
4010    public function getPronunciationUrl()
4011    {
4012      return $this->pronunciationUrl;
4013    }
4014    public function setSource(Google_Service_Books_DictlayerdataDictWordsSensesSource $source)
4015    {
4016      $this->source = $source;
4017    }
4018    public function getSource()
4019    {
4020      return $this->source;
4021    }
4022    public function setSyllabification($syllabification)
4023    {
4024      $this->syllabification = $syllabification;
4025    }
4026    public function getSyllabification()
4027    {
4028      return $this->syllabification;
4029    }
4030    public function setSynonyms($synonyms)
4031    {
4032      $this->synonyms = $synonyms;
4033    }
4034    public function getSynonyms()
4035    {
4036      return $this->synonyms;
4037    }
4038  }
4039  
4040  #[AllowDynamicProperties]
4041  class Google_Service_Books_DictlayerdataDictWordsSensesConjugations extends Google_Model
4042  {
4043    protected $internal_gapi_mappings = array(
4044    );
4045    public $type;
4046    public $value;
4047  
4048  
4049    public function setType($type)
4050    {
4051      $this->type = $type;
4052    }
4053    public function getType()
4054    {
4055      return $this->type;
4056    }
4057    public function setValue($value)
4058    {
4059      $this->value = $value;
4060    }
4061    public function getValue()
4062    {
4063      return $this->value;
4064    }
4065  }
4066  
4067  #[AllowDynamicProperties]
4068  class Google_Service_Books_DictlayerdataDictWordsSensesDefinitions extends Google_Collection
4069  {
4070    protected $collection_key = 'examples';
4071    protected $internal_gapi_mappings = array(
4072    );
4073    public $definition;
4074    protected $examplesType = 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamples';
4075    protected $examplesDataType = 'array';
4076  
4077  
4078    public function setDefinition($definition)
4079    {
4080      $this->definition = $definition;
4081    }
4082    public function getDefinition()
4083    {
4084      return $this->definition;
4085    }
4086    public function setExamples($examples)
4087    {
4088      $this->examples = $examples;
4089    }
4090    public function getExamples()
4091    {
4092      return $this->examples;
4093    }
4094  }
4095  
4096  #[AllowDynamicProperties]
4097  class Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamples extends Google_Model
4098  {
4099    protected $internal_gapi_mappings = array(
4100    );
4101    protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource';
4102    protected $sourceDataType = '';
4103    public $text;
4104  
4105  
4106    public function setSource(Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource $source)
4107    {
4108      $this->source = $source;
4109    }
4110    public function getSource()
4111    {
4112      return $this->source;
4113    }
4114    public function setText($text)
4115    {
4116      $this->text = $text;
4117    }
4118    public function getText()
4119    {
4120      return $this->text;
4121    }
4122  }
4123  
4124  #[AllowDynamicProperties]
4125  class Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource extends Google_Model
4126  {
4127    protected $internal_gapi_mappings = array(
4128    );
4129    public $attribution;
4130    public $url;
4131  
4132  
4133    public function setAttribution($attribution)
4134    {
4135      $this->attribution = $attribution;
4136    }
4137    public function getAttribution()
4138    {
4139      return $this->attribution;
4140    }
4141    public function setUrl($url)
4142    {
4143      $this->url = $url;
4144    }
4145    public function getUrl()
4146    {
4147      return $this->url;
4148    }
4149  }
4150  
4151  #[AllowDynamicProperties]
4152  class Google_Service_Books_DictlayerdataDictWordsSensesSource extends Google_Model
4153  {
4154    protected $internal_gapi_mappings = array(
4155    );
4156    public $attribution;
4157    public $url;
4158  
4159  
4160    public function setAttribution($attribution)
4161    {
4162      $this->attribution = $attribution;
4163    }
4164    public function getAttribution()
4165    {
4166      return $this->attribution;
4167    }
4168    public function setUrl($url)
4169    {
4170      $this->url = $url;
4171    }
4172    public function getUrl()
4173    {
4174      return $this->url;
4175    }
4176  }
4177  
4178  #[AllowDynamicProperties]
4179  class Google_Service_Books_DictlayerdataDictWordsSensesSynonyms extends Google_Model
4180  {
4181    protected $internal_gapi_mappings = array(
4182    );
4183    protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource';
4184    protected $sourceDataType = '';
4185    public $text;
4186  
4187  
4188    public function setSource(Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource $source)
4189    {
4190      $this->source = $source;
4191    }
4192    public function getSource()
4193    {
4194      return $this->source;
4195    }
4196    public function setText($text)
4197    {
4198      $this->text = $text;
4199    }
4200    public function getText()
4201    {
4202      return $this->text;
4203    }
4204  }
4205  
4206  #[AllowDynamicProperties]
4207  class Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource extends Google_Model
4208  {
4209    protected $internal_gapi_mappings = array(
4210    );
4211    public $attribution;
4212    public $url;
4213  
4214  
4215    public function setAttribution($attribution)
4216    {
4217      $this->attribution = $attribution;
4218    }
4219    public function getAttribution()
4220    {
4221      return $this->attribution;
4222    }
4223    public function setUrl($url)
4224    {
4225      $this->url = $url;
4226    }
4227    public function getUrl()
4228    {
4229      return $this->url;
4230    }
4231  }
4232  
4233  #[AllowDynamicProperties]
4234  class Google_Service_Books_DictlayerdataDictWordsSource extends Google_Model
4235  {
4236    protected $internal_gapi_mappings = array(
4237    );
4238    public $attribution;
4239    public $url;
4240  
4241  
4242    public function setAttribution($attribution)
4243    {
4244      $this->attribution = $attribution;
4245    }
4246    public function getAttribution()
4247    {
4248      return $this->attribution;
4249    }
4250    public function setUrl($url)
4251    {
4252      $this->url = $url;
4253    }
4254    public function getUrl()
4255    {
4256      return $this->url;
4257    }
4258  }
4259  
4260  #[AllowDynamicProperties]
4261  class Google_Service_Books_Discoveryclusters extends Google_Collection
4262  {
4263    protected $collection_key = 'clusters';
4264    protected $internal_gapi_mappings = array(
4265    );
4266    protected $clustersType = 'Google_Service_Books_DiscoveryclustersClusters';
4267    protected $clustersDataType = 'array';
4268    public $kind;
4269    public $totalClusters;
4270  
4271  
4272    public function setClusters($clusters)
4273    {
4274      $this->clusters = $clusters;
4275    }
4276    public function getClusters()
4277    {
4278      return $this->clusters;
4279    }
4280    public function setKind($kind)
4281    {
4282      $this->kind = $kind;
4283    }
4284    public function getKind()
4285    {
4286      return $this->kind;
4287    }
4288    public function setTotalClusters($totalClusters)
4289    {
4290      $this->totalClusters = $totalClusters;
4291    }
4292    public function getTotalClusters()
4293    {
4294      return $this->totalClusters;
4295    }
4296  }
4297  
4298  #[AllowDynamicProperties]
4299  class Google_Service_Books_DiscoveryclustersClusters extends Google_Collection
4300  {
4301    protected $collection_key = 'volumes';
4302    protected $internal_gapi_mappings = array(
4303          "bannerWithContentContainer" => "banner_with_content_container",
4304    );
4305    protected $bannerWithContentContainerType = 'Google_Service_Books_DiscoveryclustersClustersBannerWithContentContainer';
4306    protected $bannerWithContentContainerDataType = '';
4307    public $subTitle;
4308    public $title;
4309    public $totalVolumes;
4310    public $uid;
4311    protected $volumesType = 'Google_Service_Books_Volume';
4312    protected $volumesDataType = 'array';
4313  
4314  
4315    public function setBannerWithContentContainer(Google_Service_Books_DiscoveryclustersClustersBannerWithContentContainer $bannerWithContentContainer)
4316    {
4317      $this->bannerWithContentContainer = $bannerWithContentContainer;
4318    }
4319    public function getBannerWithContentContainer()
4320    {
4321      return $this->bannerWithContentContainer;
4322    }
4323    public function setSubTitle($subTitle)
4324    {
4325      $this->subTitle = $subTitle;
4326    }
4327    public function getSubTitle()
4328    {
4329      return $this->subTitle;
4330    }
4331    public function setTitle($title)
4332    {
4333      $this->title = $title;
4334    }
4335    public function getTitle()
4336    {
4337      return $this->title;
4338    }
4339    public function setTotalVolumes($totalVolumes)
4340    {
4341      $this->totalVolumes = $totalVolumes;
4342    }
4343    public function getTotalVolumes()
4344    {
4345      return $this->totalVolumes;
4346    }
4347    public function setUid($uid)
4348    {
4349      $this->uid = $uid;
4350    }
4351    public function getUid()
4352    {
4353      return $this->uid;
4354    }
4355    public function setVolumes($volumes)
4356    {
4357      $this->volumes = $volumes;
4358    }
4359    public function getVolumes()
4360    {
4361      return $this->volumes;
4362    }
4363  }
4364  
4365  #[AllowDynamicProperties]
4366  class Google_Service_Books_DiscoveryclustersClustersBannerWithContentContainer extends Google_Model
4367  {
4368    protected $internal_gapi_mappings = array(
4369    );
4370    public $fillColorArgb;
4371    public $imageUrl;
4372    public $maskColorArgb;
4373    public $moreButtonText;
4374    public $moreButtonUrl;
4375    public $textColorArgb;
4376  
4377  
4378    public function setFillColorArgb($fillColorArgb)
4379    {
4380      $this->fillColorArgb = $fillColorArgb;
4381    }
4382    public function getFillColorArgb()
4383    {
4384      return $this->fillColorArgb;
4385    }
4386    public function setImageUrl($imageUrl)
4387    {
4388      $this->imageUrl = $imageUrl;
4389    }
4390    public function getImageUrl()
4391    {
4392      return $this->imageUrl;
4393    }
4394    public function setMaskColorArgb($maskColorArgb)
4395    {
4396      $this->maskColorArgb = $maskColorArgb;
4397    }
4398    public function getMaskColorArgb()
4399    {
4400      return $this->maskColorArgb;
4401    }
4402    public function setMoreButtonText($moreButtonText)
4403    {
4404      $this->moreButtonText = $moreButtonText;
4405    }
4406    public function getMoreButtonText()
4407    {
4408      return $this->moreButtonText;
4409    }
4410    public function setMoreButtonUrl($moreButtonUrl)
4411    {
4412      $this->moreButtonUrl = $moreButtonUrl;
4413    }
4414    public function getMoreButtonUrl()
4415    {
4416      return $this->moreButtonUrl;
4417    }
4418    public function setTextColorArgb($textColorArgb)
4419    {
4420      $this->textColorArgb = $textColorArgb;
4421    }
4422    public function getTextColorArgb()
4423    {
4424      return $this->textColorArgb;
4425    }
4426  }
4427  
4428  #[AllowDynamicProperties]
4429  class Google_Service_Books_DownloadAccessRestriction extends Google_Model
4430  {
4431    protected $internal_gapi_mappings = array(
4432    );
4433    public $deviceAllowed;
4434    public $downloadsAcquired;
4435    public $justAcquired;
4436    public $kind;
4437    public $maxDownloadDevices;
4438    public $message;
4439    public $nonce;
4440    public $reasonCode;
4441    public $restricted;
4442    public $signature;
4443    public $source;
4444    public $volumeId;
4445  
4446  
4447    public function setDeviceAllowed($deviceAllowed)
4448    {
4449      $this->deviceAllowed = $deviceAllowed;
4450    }
4451    public function getDeviceAllowed()
4452    {
4453      return $this->deviceAllowed;
4454    }
4455    public function setDownloadsAcquired($downloadsAcquired)
4456    {
4457      $this->downloadsAcquired = $downloadsAcquired;
4458    }
4459    public function getDownloadsAcquired()
4460    {
4461      return $this->downloadsAcquired;
4462    }
4463    public function setJustAcquired($justAcquired)
4464    {
4465      $this->justAcquired = $justAcquired;
4466    }
4467    public function getJustAcquired()
4468    {
4469      return $this->justAcquired;
4470    }
4471    public function setKind($kind)
4472    {
4473      $this->kind = $kind;
4474    }
4475    public function getKind()
4476    {
4477      return $this->kind;
4478    }
4479    public function setMaxDownloadDevices($maxDownloadDevices)
4480    {
4481      $this->maxDownloadDevices = $maxDownloadDevices;
4482    }
4483    public function getMaxDownloadDevices()
4484    {
4485      return $this->maxDownloadDevices;
4486    }
4487    public function setMessage($message)
4488    {
4489      $this->message = $message;
4490    }
4491    public function getMessage()
4492    {
4493      return $this->message;
4494    }
4495    public function setNonce($nonce)
4496    {
4497      $this->nonce = $nonce;
4498    }
4499    public function getNonce()
4500    {
4501      return $this->nonce;
4502    }
4503    public function setReasonCode($reasonCode)
4504    {
4505      $this->reasonCode = $reasonCode;
4506    }
4507    public function getReasonCode()
4508    {
4509      return $this->reasonCode;
4510    }
4511    public function setRestricted($restricted)
4512    {
4513      $this->restricted = $restricted;
4514    }
4515    public function getRestricted()
4516    {
4517      return $this->restricted;
4518    }
4519    public function setSignature($signature)
4520    {
4521      $this->signature = $signature;
4522    }
4523    public function getSignature()
4524    {
4525      return $this->signature;
4526    }
4527    public function setSource($source)
4528    {
4529      $this->source = $source;
4530    }
4531    public function getSource()
4532    {
4533      return $this->source;
4534    }
4535    public function setVolumeId($volumeId)
4536    {
4537      $this->volumeId = $volumeId;
4538    }
4539    public function getVolumeId()
4540    {
4541      return $this->volumeId;
4542    }
4543  }
4544  
4545  #[AllowDynamicProperties]
4546  class Google_Service_Books_DownloadAccesses extends Google_Collection
4547  {
4548    protected $collection_key = 'downloadAccessList';
4549    protected $internal_gapi_mappings = array(
4550    );
4551    protected $downloadAccessListType = 'Google_Service_Books_DownloadAccessRestriction';
4552    protected $downloadAccessListDataType = 'array';
4553    public $kind;
4554  
4555  
4556    public function setDownloadAccessList($downloadAccessList)
4557    {
4558      $this->downloadAccessList = $downloadAccessList;
4559    }
4560    public function getDownloadAccessList()
4561    {
4562      return $this->downloadAccessList;
4563    }
4564    public function setKind($kind)
4565    {
4566      $this->kind = $kind;
4567    }
4568    public function getKind()
4569    {
4570      return $this->kind;
4571    }
4572  }
4573  
4574  #[AllowDynamicProperties]
4575  class Google_Service_Books_Geolayerdata extends Google_Model
4576  {
4577    protected $internal_gapi_mappings = array(
4578    );
4579    protected $commonType = 'Google_Service_Books_GeolayerdataCommon';
4580    protected $commonDataType = '';
4581    protected $geoType = 'Google_Service_Books_GeolayerdataGeo';
4582    protected $geoDataType = '';
4583    public $kind;
4584  
4585  
4586    public function setCommon(Google_Service_Books_GeolayerdataCommon $common)
4587    {
4588      $this->common = $common;
4589    }
4590    public function getCommon()
4591    {
4592      return $this->common;
4593    }
4594    public function setGeo(Google_Service_Books_GeolayerdataGeo $geo)
4595    {
4596      $this->geo = $geo;
4597    }
4598    public function getGeo()
4599    {
4600      return $this->geo;
4601    }
4602    public function setKind($kind)
4603    {
4604      $this->kind = $kind;
4605    }
4606    public function getKind()
4607    {
4608      return $this->kind;
4609    }
4610  }
4611  
4612  #[AllowDynamicProperties]
4613  class Google_Service_Books_GeolayerdataCommon extends Google_Model
4614  {
4615    protected $internal_gapi_mappings = array(
4616    );
4617    public $lang;
4618    public $previewImageUrl;
4619    public $snippet;
4620    public $snippetUrl;
4621    public $title;
4622  
4623  
4624    public function setLang($lang)
4625    {
4626      $this->lang = $lang;
4627    }
4628    public function getLang()
4629    {
4630      return $this->lang;
4631    }
4632    public function setPreviewImageUrl($previewImageUrl)
4633    {
4634      $this->previewImageUrl = $previewImageUrl;
4635    }
4636    public function getPreviewImageUrl()
4637    {
4638      return $this->previewImageUrl;
4639    }
4640    public function setSnippet($snippet)
4641    {
4642      $this->snippet = $snippet;
4643    }
4644    public function getSnippet()
4645    {
4646      return $this->snippet;
4647    }
4648    public function setSnippetUrl($snippetUrl)
4649    {
4650      $this->snippetUrl = $snippetUrl;
4651    }
4652    public function getSnippetUrl()
4653    {
4654      return $this->snippetUrl;
4655    }
4656    public function setTitle($title)
4657    {
4658      $this->title = $title;
4659    }
4660    public function getTitle()
4661    {
4662      return $this->title;
4663    }
4664  }
4665  
4666  #[AllowDynamicProperties]
4667  class Google_Service_Books_GeolayerdataGeo extends Google_Collection
4668  {
4669    protected $collection_key = 'boundary';
4670    protected $internal_gapi_mappings = array(
4671    );
4672    protected $boundaryType = 'Google_Service_Books_GeolayerdataGeoBoundary';
4673    protected $boundaryDataType = 'array';
4674    public $cachePolicy;
4675    public $countryCode;
4676    public $latitude;
4677    public $longitude;
4678    public $mapType;
4679    protected $viewportType = 'Google_Service_Books_GeolayerdataGeoViewport';
4680    protected $viewportDataType = '';
4681    public $zoom;
4682  
4683  
4684    public function setBoundary($boundary)
4685    {
4686      $this->boundary = $boundary;
4687    }
4688    public function getBoundary()
4689    {
4690      return $this->boundary;
4691    }
4692    public function setCachePolicy($cachePolicy)
4693    {
4694      $this->cachePolicy = $cachePolicy;
4695    }
4696    public function getCachePolicy()
4697    {
4698      return $this->cachePolicy;
4699    }
4700    public function setCountryCode($countryCode)
4701    {
4702      $this->countryCode = $countryCode;
4703    }
4704    public function getCountryCode()
4705    {
4706      return $this->countryCode;
4707    }
4708    public function setLatitude($latitude)
4709    {
4710      $this->latitude = $latitude;
4711    }
4712    public function getLatitude()
4713    {
4714      return $this->latitude;
4715    }
4716    public function setLongitude($longitude)
4717    {
4718      $this->longitude = $longitude;
4719    }
4720    public function getLongitude()
4721    {
4722      return $this->longitude;
4723    }
4724    public function setMapType($mapType)
4725    {
4726      $this->mapType = $mapType;
4727    }
4728    public function getMapType()
4729    {
4730      return $this->mapType;
4731    }
4732    public function setViewport(Google_Service_Books_GeolayerdataGeoViewport $viewport)
4733    {
4734      $this->viewport = $viewport;
4735    }
4736    public function getViewport()
4737    {
4738      return $this->viewport;
4739    }
4740    public function setZoom($zoom)
4741    {
4742      $this->zoom = $zoom;
4743    }
4744    public function getZoom()
4745    {
4746      return $this->zoom;
4747    }
4748  }
4749  
4750  #[AllowDynamicProperties]
4751  class Google_Service_Books_GeolayerdataGeoBoundary extends Google_Model
4752  {
4753    protected $internal_gapi_mappings = array(
4754    );
4755    public $latitude;
4756    public $longitude;
4757  
4758  
4759    public function setLatitude($latitude)
4760    {
4761      $this->latitude = $latitude;
4762    }
4763    public function getLatitude()
4764    {
4765      return $this->latitude;
4766    }
4767    public function setLongitude($longitude)
4768    {
4769      $this->longitude = $longitude;
4770    }
4771    public function getLongitude()
4772    {
4773      return $this->longitude;
4774    }
4775  }
4776  
4777  #[AllowDynamicProperties]
4778  class Google_Service_Books_GeolayerdataGeoViewport extends Google_Model
4779  {
4780    protected $internal_gapi_mappings = array(
4781    );
4782    protected $hiType = 'Google_Service_Books_GeolayerdataGeoViewportHi';
4783    protected $hiDataType = '';
4784    protected $loType = 'Google_Service_Books_GeolayerdataGeoViewportLo';
4785    protected $loDataType = '';
4786  
4787  
4788    public function setHi(Google_Service_Books_GeolayerdataGeoViewportHi $hi)
4789    {
4790      $this->hi = $hi;
4791    }
4792    public function getHi()
4793    {
4794      return $this->hi;
4795    }
4796    public function setLo(Google_Service_Books_GeolayerdataGeoViewportLo $lo)
4797    {
4798      $this->lo = $lo;
4799    }
4800    public function getLo()
4801    {
4802      return $this->lo;
4803    }
4804  }
4805  
4806  #[AllowDynamicProperties]
4807  class Google_Service_Books_GeolayerdataGeoViewportHi extends Google_Model
4808  {
4809    protected $internal_gapi_mappings = array(
4810    );
4811    public $latitude;
4812    public $longitude;
4813  
4814  
4815    public function setLatitude($latitude)
4816    {
4817      $this->latitude = $latitude;
4818    }
4819    public function getLatitude()
4820    {
4821      return $this->latitude;
4822    }
4823    public function setLongitude($longitude)
4824    {
4825      $this->longitude = $longitude;
4826    }
4827    public function getLongitude()
4828    {
4829      return $this->longitude;
4830    }
4831  }
4832  
4833  #[AllowDynamicProperties]
4834  class Google_Service_Books_GeolayerdataGeoViewportLo extends Google_Model
4835  {
4836    protected $internal_gapi_mappings = array(
4837    );
4838    public $latitude;
4839    public $longitude;
4840  
4841  
4842    public function setLatitude($latitude)
4843    {
4844      $this->latitude = $latitude;
4845    }
4846    public function getLatitude()
4847    {
4848      return $this->latitude;
4849    }
4850    public function setLongitude($longitude)
4851    {
4852      $this->longitude = $longitude;
4853    }
4854    public function getLongitude()
4855    {
4856      return $this->longitude;
4857    }
4858  }
4859  
4860  #[AllowDynamicProperties]
4861  class Google_Service_Books_Layersummaries extends Google_Collection
4862  {
4863    protected $collection_key = 'items';
4864    protected $internal_gapi_mappings = array(
4865    );
4866    protected $itemsType = 'Google_Service_Books_Layersummary';
4867    protected $itemsDataType = 'array';
4868    public $kind;
4869    public $totalItems;
4870  
4871  
4872    public function setItems($items)
4873    {
4874      $this->items = $items;
4875    }
4876    public function getItems()
4877    {
4878      return $this->items;
4879    }
4880    public function setKind($kind)
4881    {
4882      $this->kind = $kind;
4883    }
4884    public function getKind()
4885    {
4886      return $this->kind;
4887    }
4888    public function setTotalItems($totalItems)
4889    {
4890      $this->totalItems = $totalItems;
4891    }
4892    public function getTotalItems()
4893    {
4894      return $this->totalItems;
4895    }
4896  }
4897  
4898  #[AllowDynamicProperties]
4899  class Google_Service_Books_Layersummary extends Google_Collection
4900  {
4901    protected $collection_key = 'annotationTypes';
4902    protected $internal_gapi_mappings = array(
4903    );
4904    public $annotationCount;
4905    public $annotationTypes;
4906    public $annotationsDataLink;
4907    public $annotationsLink;
4908    public $contentVersion;
4909    public $dataCount;
4910    public $id;
4911    public $kind;
4912    public $layerId;
4913    public $selfLink;
4914    public $updated;
4915    public $volumeAnnotationsVersion;
4916    public $volumeId;
4917  
4918  
4919    public function setAnnotationCount($annotationCount)
4920    {
4921      $this->annotationCount = $annotationCount;
4922    }
4923    public function getAnnotationCount()
4924    {
4925      return $this->annotationCount;
4926    }
4927    public function setAnnotationTypes($annotationTypes)
4928    {
4929      $this->annotationTypes = $annotationTypes;
4930    }
4931    public function getAnnotationTypes()
4932    {
4933      return $this->annotationTypes;
4934    }
4935    public function setAnnotationsDataLink($annotationsDataLink)
4936    {
4937      $this->annotationsDataLink = $annotationsDataLink;
4938    }
4939    public function getAnnotationsDataLink()
4940    {
4941      return $this->annotationsDataLink;
4942    }
4943    public function setAnnotationsLink($annotationsLink)
4944    {
4945      $this->annotationsLink = $annotationsLink;
4946    }
4947    public function getAnnotationsLink()
4948    {
4949      return $this->annotationsLink;
4950    }
4951    public function setContentVersion($contentVersion)
4952    {
4953      $this->contentVersion = $contentVersion;
4954    }
4955    public function getContentVersion()
4956    {
4957      return $this->contentVersion;
4958    }
4959    public function setDataCount($dataCount)
4960    {
4961      $this->dataCount = $dataCount;
4962    }
4963    public function getDataCount()
4964    {
4965      return $this->dataCount;
4966    }
4967    public function setId($id)
4968    {
4969      $this->id = $id;
4970    }
4971    public function getId()
4972    {
4973      return $this->id;
4974    }
4975    public function setKind($kind)
4976    {
4977      $this->kind = $kind;
4978    }
4979    public function getKind()
4980    {
4981      return $this->kind;
4982    }
4983    public function setLayerId($layerId)
4984    {
4985      $this->layerId = $layerId;
4986    }
4987    public function getLayerId()
4988    {
4989      return $this->layerId;
4990    }
4991    public function setSelfLink($selfLink)
4992    {
4993      $this->selfLink = $selfLink;
4994    }
4995    public function getSelfLink()
4996    {
4997      return $this->selfLink;
4998    }
4999    public function setUpdated($updated)
5000    {
5001      $this->updated = $updated;
5002    }
5003    public function getUpdated()
5004    {
5005      return $this->updated;
5006    }
5007    public function setVolumeAnnotationsVersion($volumeAnnotationsVersion)
5008    {
5009      $this->volumeAnnotationsVersion = $volumeAnnotationsVersion;
5010    }
5011    public function getVolumeAnnotationsVersion()
5012    {
5013      return $this->volumeAnnotationsVersion;
5014    }
5015    public function setVolumeId($volumeId)
5016    {
5017      $this->volumeId = $volumeId;
5018    }
5019    public function getVolumeId()
5020    {
5021      return $this->volumeId;
5022    }
5023  }
5024  
5025  #[AllowDynamicProperties]
5026  class Google_Service_Books_Metadata extends Google_Collection
5027  {
5028    protected $collection_key = 'items';
5029    protected $internal_gapi_mappings = array(
5030    );
5031    protected $itemsType = 'Google_Service_Books_MetadataItems';
5032    protected $itemsDataType = 'array';
5033    public $kind;
5034  
5035  
5036    public function setItems($items)
5037    {
5038      $this->items = $items;
5039    }
5040    public function getItems()
5041    {
5042      return $this->items;
5043    }
5044    public function setKind($kind)
5045    {
5046      $this->kind = $kind;
5047    }
5048    public function getKind()
5049    {
5050      return $this->kind;
5051    }
5052  }
5053  
5054  #[AllowDynamicProperties]
5055  class Google_Service_Books_MetadataItems extends Google_Model
5056  {
5057    protected $internal_gapi_mappings = array(
5058          "downloadUrl" => "download_url",
5059          "encryptedKey" => "encrypted_key",
5060    );
5061    public $downloadUrl;
5062    public $encryptedKey;
5063    public $language;
5064    public $size;
5065    public $version;
5066  
5067  
5068    public function setDownloadUrl($downloadUrl)
5069    {
5070      $this->downloadUrl = $downloadUrl;
5071    }
5072    public function getDownloadUrl()
5073    {
5074      return $this->downloadUrl;
5075    }
5076    public function setEncryptedKey($encryptedKey)
5077    {
5078      $this->encryptedKey = $encryptedKey;
5079    }
5080    public function getEncryptedKey()
5081    {
5082      return $this->encryptedKey;
5083    }
5084    public function setLanguage($language)
5085    {
5086      $this->language = $language;
5087    }
5088    public function getLanguage()
5089    {
5090      return $this->language;
5091    }
5092    public function setSize($size)
5093    {
5094      $this->size = $size;
5095    }
5096    public function getSize()
5097    {
5098      return $this->size;
5099    }
5100    public function setVersion($version)
5101    {
5102      $this->version = $version;
5103    }
5104    public function getVersion()
5105    {
5106      return $this->version;
5107    }
5108  }
5109  
5110  #[AllowDynamicProperties]
5111  class Google_Service_Books_Notification extends Google_Model
5112  {
5113    protected $internal_gapi_mappings = array(
5114    );
5115    public $body;
5116    public $iconUrl;
5117    public $kind;
5118    public $linkUrl;
5119    public $title;
5120  
5121  
5122    public function setBody($body)
5123    {
5124      $this->body = $body;
5125    }
5126    public function getBody()
5127    {
5128      return $this->body;
5129    }
5130    public function setIconUrl($iconUrl)
5131    {
5132      $this->iconUrl = $iconUrl;
5133    }
5134    public function getIconUrl()
5135    {
5136      return $this->iconUrl;
5137    }
5138    public function setKind($kind)
5139    {
5140      $this->kind = $kind;
5141    }
5142    public function getKind()
5143    {
5144      return $this->kind;
5145    }
5146    public function setLinkUrl($linkUrl)
5147    {
5148      $this->linkUrl = $linkUrl;
5149    }
5150    public function getLinkUrl()
5151    {
5152      return $this->linkUrl;
5153    }
5154    public function setTitle($title)
5155    {
5156      $this->title = $title;
5157    }
5158    public function getTitle()
5159    {
5160      return $this->title;
5161    }
5162  }
5163  
5164  #[AllowDynamicProperties]
5165  class Google_Service_Books_Offers extends Google_Collection
5166  {
5167    protected $collection_key = 'items';
5168    protected $internal_gapi_mappings = array(
5169    );
5170    protected $itemsType = 'Google_Service_Books_OffersItems';
5171    protected $itemsDataType = 'array';
5172    public $kind;
5173  
5174  
5175    public function setItems($items)
5176    {
5177      $this->items = $items;
5178    }
5179    public function getItems()
5180    {
5181      return $this->items;
5182    }
5183    public function setKind($kind)
5184    {
5185      $this->kind = $kind;
5186    }
5187    public function getKind()
5188    {
5189      return $this->kind;
5190    }
5191  }
5192  
5193  #[AllowDynamicProperties]
5194  class Google_Service_Books_OffersItems extends Google_Collection
5195  {
5196    protected $collection_key = 'items';
5197    protected $internal_gapi_mappings = array(
5198    );
5199    public $artUrl;
5200    public $gservicesKey;
5201    public $id;
5202    protected $itemsType = 'Google_Service_Books_OffersItemsItems';
5203    protected $itemsDataType = 'array';
5204  
5205  
5206    public function setArtUrl($artUrl)
5207    {
5208      $this->artUrl = $artUrl;
5209    }
5210    public function getArtUrl()
5211    {
5212      return $this->artUrl;
5213    }
5214    public function setGservicesKey($gservicesKey)
5215    {
5216      $this->gservicesKey = $gservicesKey;
5217    }
5218    public function getGservicesKey()
5219    {
5220      return $this->gservicesKey;
5221    }
5222    public function setId($id)
5223    {
5224      $this->id = $id;
5225    }
5226    public function getId()
5227    {
5228      return $this->id;
5229    }
5230    public function setItems($items)
5231    {
5232      $this->items = $items;
5233    }
5234    public function getItems()
5235    {
5236      return $this->items;
5237    }
5238  }
5239  
5240  #[AllowDynamicProperties]
5241  class Google_Service_Books_OffersItemsItems extends Google_Model
5242  {
5243    protected $internal_gapi_mappings = array(
5244    );
5245    public $author;
5246    public $canonicalVolumeLink;
5247    public $coverUrl;
5248    public $description;
5249    public $title;
5250    public $volumeId;
5251  
5252  
5253    public function setAuthor($author)
5254    {
5255      $this->author = $author;
5256    }
5257    public function getAuthor()
5258    {
5259      return $this->author;
5260    }
5261    public function setCanonicalVolumeLink($canonicalVolumeLink)
5262    {
5263      $this->canonicalVolumeLink = $canonicalVolumeLink;
5264    }
5265    public function getCanonicalVolumeLink()
5266    {
5267      return $this->canonicalVolumeLink;
5268    }
5269    public function setCoverUrl($coverUrl)
5270    {
5271      $this->coverUrl = $coverUrl;
5272    }
5273    public function getCoverUrl()
5274    {
5275      return $this->coverUrl;
5276    }
5277    public function setDescription($description)
5278    {
5279      $this->description = $description;
5280    }
5281    public function getDescription()
5282    {
5283      return $this->description;
5284    }
5285    public function setTitle($title)
5286    {
5287      $this->title = $title;
5288    }
5289    public function getTitle()
5290    {
5291      return $this->title;
5292    }
5293    public function setVolumeId($volumeId)
5294    {
5295      $this->volumeId = $volumeId;
5296    }
5297    public function getVolumeId()
5298    {
5299      return $this->volumeId;
5300    }
5301  }
5302  
5303  #[AllowDynamicProperties]
5304  class Google_Service_Books_ReadingPosition extends Google_Model
5305  {
5306    protected $internal_gapi_mappings = array(
5307    );
5308    public $epubCfiPosition;
5309    public $gbImagePosition;
5310    public $gbTextPosition;
5311    public $kind;
5312    public $pdfPosition;
5313    public $updated;
5314    public $volumeId;
5315  
5316  
5317    public function setEpubCfiPosition($epubCfiPosition)
5318    {
5319      $this->epubCfiPosition = $epubCfiPosition;
5320    }
5321    public function getEpubCfiPosition()
5322    {
5323      return $this->epubCfiPosition;
5324    }
5325    public function setGbImagePosition($gbImagePosition)
5326    {
5327      $this->gbImagePosition = $gbImagePosition;
5328    }
5329    public function getGbImagePosition()
5330    {
5331      return $this->gbImagePosition;
5332    }
5333    public function setGbTextPosition($gbTextPosition)
5334    {
5335      $this->gbTextPosition = $gbTextPosition;
5336    }
5337    public function getGbTextPosition()
5338    {
5339      return $this->gbTextPosition;
5340    }
5341    public function setKind($kind)
5342    {
5343      $this->kind = $kind;
5344    }
5345    public function getKind()
5346    {
5347      return $this->kind;
5348    }
5349    public function setPdfPosition($pdfPosition)
5350    {
5351      $this->pdfPosition = $pdfPosition;
5352    }
5353    public function getPdfPosition()
5354    {
5355      return $this->pdfPosition;
5356    }
5357    public function setUpdated($updated)
5358    {
5359      $this->updated = $updated;
5360    }
5361    public function getUpdated()
5362    {
5363      return $this->updated;
5364    }
5365    public function setVolumeId($volumeId)
5366    {
5367      $this->volumeId = $volumeId;
5368    }
5369    public function getVolumeId()
5370    {
5371      return $this->volumeId;
5372    }
5373  }
5374  
5375  #[AllowDynamicProperties]
5376  class Google_Service_Books_RequestAccess extends Google_Model
5377  {
5378    protected $internal_gapi_mappings = array(
5379    );
5380    protected $concurrentAccessType = 'Google_Service_Books_ConcurrentAccessRestriction';
5381    protected $concurrentAccessDataType = '';
5382    protected $downloadAccessType = 'Google_Service_Books_DownloadAccessRestriction';
5383    protected $downloadAccessDataType = '';
5384    public $kind;
5385  
5386  
5387    public function setConcurrentAccess(Google_Service_Books_ConcurrentAccessRestriction $concurrentAccess)
5388    {
5389      $this->concurrentAccess = $concurrentAccess;
5390    }
5391    public function getConcurrentAccess()
5392    {
5393      return $this->concurrentAccess;
5394    }
5395    public function setDownloadAccess(Google_Service_Books_DownloadAccessRestriction $downloadAccess)
5396    {
5397      $this->downloadAccess = $downloadAccess;
5398    }
5399    public function getDownloadAccess()
5400    {
5401      return $this->downloadAccess;
5402    }
5403    public function setKind($kind)
5404    {
5405      $this->kind = $kind;
5406    }
5407    public function getKind()
5408    {
5409      return $this->kind;
5410    }
5411  }
5412  
5413  #[AllowDynamicProperties]
5414  class Google_Service_Books_Review extends Google_Model
5415  {
5416    protected $internal_gapi_mappings = array(
5417    );
5418    protected $authorType = 'Google_Service_Books_ReviewAuthor';
5419    protected $authorDataType = '';
5420    public $content;
5421    public $date;
5422    public $fullTextUrl;
5423    public $kind;
5424    public $rating;
5425    protected $sourceType = 'Google_Service_Books_ReviewSource';
5426    protected $sourceDataType = '';
5427    public $title;
5428    public $type;
5429    public $volumeId;
5430  
5431  
5432    public function setAuthor(Google_Service_Books_ReviewAuthor $author)
5433    {
5434      $this->author = $author;
5435    }
5436    public function getAuthor()
5437    {
5438      return $this->author;
5439    }
5440    public function setContent($content)
5441    {
5442      $this->content = $content;
5443    }
5444    public function getContent()
5445    {
5446      return $this->content;
5447    }
5448    public function setDate($date)
5449    {
5450      $this->date = $date;
5451    }
5452    public function getDate()
5453    {
5454      return $this->date;
5455    }
5456    public function setFullTextUrl($fullTextUrl)
5457    {
5458      $this->fullTextUrl = $fullTextUrl;
5459    }
5460    public function getFullTextUrl()
5461    {
5462      return $this->fullTextUrl;
5463    }
5464    public function setKind($kind)
5465    {
5466      $this->kind = $kind;
5467    }
5468    public function getKind()
5469    {
5470      return $this->kind;
5471    }
5472    public function setRating($rating)
5473    {
5474      $this->rating = $rating;
5475    }
5476    public function getRating()
5477    {
5478      return $this->rating;
5479    }
5480    public function setSource(Google_Service_Books_ReviewSource $source)
5481    {
5482      $this->source = $source;
5483    }
5484    public function getSource()
5485    {
5486      return $this->source;
5487    }
5488    public function setTitle($title)
5489    {
5490      $this->title = $title;
5491    }
5492    public function getTitle()
5493    {
5494      return $this->title;
5495    }
5496    public function setType($type)
5497    {
5498      $this->type = $type;
5499    }
5500    public function getType()
5501    {
5502      return $this->type;
5503    }
5504    public function setVolumeId($volumeId)
5505    {
5506      $this->volumeId = $volumeId;
5507    }
5508    public function getVolumeId()
5509    {
5510      return $this->volumeId;
5511    }
5512  }
5513  
5514  #[AllowDynamicProperties]
5515  class Google_Service_Books_ReviewAuthor extends Google_Model
5516  {
5517    protected $internal_gapi_mappings = array(
5518    );
5519    public $displayName;
5520  
5521  
5522    public function setDisplayName($displayName)
5523    {
5524      $this->displayName = $displayName;
5525    }
5526    public function getDisplayName()
5527    {
5528      return $this->displayName;
5529    }
5530  }
5531  
5532  #[AllowDynamicProperties]
5533  class Google_Service_Books_ReviewSource extends Google_Model
5534  {
5535    protected $internal_gapi_mappings = array(
5536    );
5537    public $description;
5538    public $extraDescription;
5539    public $url;
5540  
5541  
5542    public function setDescription($description)
5543    {
5544      $this->description = $description;
5545    }
5546    public function getDescription()
5547    {
5548      return $this->description;
5549    }
5550    public function setExtraDescription($extraDescription)
5551    {
5552      $this->extraDescription = $extraDescription;
5553    }
5554    public function getExtraDescription()
5555    {
5556      return $this->extraDescription;
5557    }
5558    public function setUrl($url)
5559    {
5560      $this->url = $url;
5561    }
5562    public function getUrl()
5563    {
5564      return $this->url;
5565    }
5566  }
5567  
5568  #[AllowDynamicProperties]
5569  class Google_Service_Books_Usersettings extends Google_Model
5570  {
5571    protected $internal_gapi_mappings = array(
5572    );
5573    public $kind;
5574    protected $notesExportType = 'Google_Service_Books_UsersettingsNotesExport';
5575    protected $notesExportDataType = '';
5576    protected $notificationType = 'Google_Service_Books_UsersettingsNotification';
5577    protected $notificationDataType = '';
5578  
5579  
5580    public function setKind($kind)
5581    {
5582      $this->kind = $kind;
5583    }
5584    public function getKind()
5585    {
5586      return $this->kind;
5587    }
5588    public function setNotesExport(Google_Service_Books_UsersettingsNotesExport $notesExport)
5589    {
5590      $this->notesExport = $notesExport;
5591    }
5592    public function getNotesExport()
5593    {
5594      return $this->notesExport;
5595    }
5596    public function setNotification(Google_Service_Books_UsersettingsNotification $notification)
5597    {
5598      $this->notification = $notification;
5599    }
5600    public function getNotification()
5601    {
5602      return $this->notification;
5603    }
5604  }
5605  
5606  #[AllowDynamicProperties]
5607  class Google_Service_Books_UsersettingsNotesExport extends Google_Model
5608  {
5609    protected $internal_gapi_mappings = array(
5610    );
5611    public $folderName;
5612    public $isEnabled;
5613  
5614  
5615    public function setFolderName($folderName)
5616    {
5617      $this->folderName = $folderName;
5618    }
5619    public function getFolderName()
5620    {
5621      return $this->folderName;
5622    }
5623    public function setIsEnabled($isEnabled)
5624    {
5625      $this->isEnabled = $isEnabled;
5626    }
5627    public function getIsEnabled()
5628    {
5629      return $this->isEnabled;
5630    }
5631  }
5632  
5633  #[AllowDynamicProperties]
5634  class Google_Service_Books_UsersettingsNotification extends Google_Model
5635  {
5636    protected $internal_gapi_mappings = array(
5637    );
5638    protected $moreFromAuthorsType = 'Google_Service_Books_UsersettingsNotificationMoreFromAuthors';
5639    protected $moreFromAuthorsDataType = '';
5640  
5641  
5642    public function setMoreFromAuthors(Google_Service_Books_UsersettingsNotificationMoreFromAuthors $moreFromAuthors)
5643    {
5644      $this->moreFromAuthors = $moreFromAuthors;
5645    }
5646    public function getMoreFromAuthors()
5647    {
5648      return $this->moreFromAuthors;
5649    }
5650  }
5651  
5652  #[AllowDynamicProperties]
5653  class Google_Service_Books_UsersettingsNotificationMoreFromAuthors extends Google_Model
5654  {
5655    protected $internal_gapi_mappings = array(
5656          "optedState" => "opted_state",
5657    );
5658    public $optedState;
5659  
5660  
5661    public function setOptedState($optedState)
5662    {
5663      $this->optedState = $optedState;
5664    }
5665    public function getOptedState()
5666    {
5667      return $this->optedState;
5668    }
5669  }
5670  
5671  #[AllowDynamicProperties]
5672  class Google_Service_Books_Volume extends Google_Model
5673  {
5674    protected $internal_gapi_mappings = array(
5675    );
5676    protected $accessInfoType = 'Google_Service_Books_VolumeAccessInfo';
5677    protected $accessInfoDataType = '';
5678    public $etag;
5679    public $id;
5680    public $kind;
5681    protected $layerInfoType = 'Google_Service_Books_VolumeLayerInfo';
5682    protected $layerInfoDataType = '';
5683    protected $recommendedInfoType = 'Google_Service_Books_VolumeRecommendedInfo';
5684    protected $recommendedInfoDataType = '';
5685    protected $saleInfoType = 'Google_Service_Books_VolumeSaleInfo';
5686    protected $saleInfoDataType = '';
5687    protected $searchInfoType = 'Google_Service_Books_VolumeSearchInfo';
5688    protected $searchInfoDataType = '';
5689    public $selfLink;
5690    protected $userInfoType = 'Google_Service_Books_VolumeUserInfo';
5691    protected $userInfoDataType = '';
5692    protected $volumeInfoType = 'Google_Service_Books_VolumeVolumeInfo';
5693    protected $volumeInfoDataType = '';
5694  
5695  
5696    public function setAccessInfo(Google_Service_Books_VolumeAccessInfo $accessInfo)
5697    {
5698      $this->accessInfo = $accessInfo;
5699    }
5700    public function getAccessInfo()
5701    {
5702      return $this->accessInfo;
5703    }
5704    public function setEtag($etag)
5705    {
5706      $this->etag = $etag;
5707    }
5708    public function getEtag()
5709    {
5710      return $this->etag;
5711    }
5712    public function setId($id)
5713    {
5714      $this->id = $id;
5715    }
5716    public function getId()
5717    {
5718      return $this->id;
5719    }
5720    public function setKind($kind)
5721    {
5722      $this->kind = $kind;
5723    }
5724    public function getKind()
5725    {
5726      return $this->kind;
5727    }
5728    public function setLayerInfo(Google_Service_Books_VolumeLayerInfo $layerInfo)
5729    {
5730      $this->layerInfo = $layerInfo;
5731    }
5732    public function getLayerInfo()
5733    {
5734      return $this->layerInfo;
5735    }
5736    public function setRecommendedInfo(Google_Service_Books_VolumeRecommendedInfo $recommendedInfo)
5737    {
5738      $this->recommendedInfo = $recommendedInfo;
5739    }
5740    public function getRecommendedInfo()
5741    {
5742      return $this->recommendedInfo;
5743    }
5744    public function setSaleInfo(Google_Service_Books_VolumeSaleInfo $saleInfo)
5745    {
5746      $this->saleInfo = $saleInfo;
5747    }
5748    public function getSaleInfo()
5749    {
5750      return $this->saleInfo;
5751    }
5752    public function setSearchInfo(Google_Service_Books_VolumeSearchInfo $searchInfo)
5753    {
5754      $this->searchInfo = $searchInfo;
5755    }
5756    public function getSearchInfo()
5757    {
5758      return $this->searchInfo;
5759    }
5760    public function setSelfLink($selfLink)
5761    {
5762      $this->selfLink = $selfLink;
5763    }
5764    public function getSelfLink()
5765    {
5766      return $this->selfLink;
5767    }
5768    public function setUserInfo(Google_Service_Books_VolumeUserInfo $userInfo)
5769    {
5770      $this->userInfo = $userInfo;
5771    }
5772    public function getUserInfo()
5773    {
5774      return $this->userInfo;
5775    }
5776    public function setVolumeInfo(Google_Service_Books_VolumeVolumeInfo $volumeInfo)
5777    {
5778      $this->volumeInfo = $volumeInfo;
5779    }
5780    public function getVolumeInfo()
5781    {
5782      return $this->volumeInfo;
5783    }
5784  }
5785  
5786  #[AllowDynamicProperties]
5787  class Google_Service_Books_Volume2 extends Google_Collection
5788  {
5789    protected $collection_key = 'items';
5790    protected $internal_gapi_mappings = array(
5791    );
5792    protected $itemsType = 'Google_Service_Books_Volume';
5793    protected $itemsDataType = 'array';
5794    public $kind;
5795    public $nextPageToken;
5796  
5797  
5798    public function setItems($items)
5799    {
5800      $this->items = $items;
5801    }
5802    public function getItems()
5803    {
5804      return $this->items;
5805    }
5806    public function setKind($kind)
5807    {
5808      $this->kind = $kind;
5809    }
5810    public function getKind()
5811    {
5812      return $this->kind;
5813    }
5814    public function setNextPageToken($nextPageToken)
5815    {
5816      $this->nextPageToken = $nextPageToken;
5817    }
5818    public function getNextPageToken()
5819    {
5820      return $this->nextPageToken;
5821    }
5822  }
5823  
5824  #[AllowDynamicProperties]
5825  class Google_Service_Books_VolumeAccessInfo extends Google_Model
5826  {
5827    protected $internal_gapi_mappings = array(
5828    );
5829    public $accessViewStatus;
5830    public $country;
5831    protected $downloadAccessType = 'Google_Service_Books_DownloadAccessRestriction';
5832    protected $downloadAccessDataType = '';
5833    public $driveImportedContentLink;
5834    public $embeddable;
5835    protected $epubType = 'Google_Service_Books_VolumeAccessInfoEpub';
5836    protected $epubDataType = '';
5837    public $explicitOfflineLicenseManagement;
5838    protected $pdfType = 'Google_Service_Books_VolumeAccessInfoPdf';
5839    protected $pdfDataType = '';
5840    public $publicDomain;
5841    public $quoteSharingAllowed;
5842    public $textToSpeechPermission;
5843    public $viewOrderUrl;
5844    public $viewability;
5845    public $webReaderLink;
5846  
5847  
5848    public function setAccessViewStatus($accessViewStatus)
5849    {
5850      $this->accessViewStatus = $accessViewStatus;
5851    }
5852    public function getAccessViewStatus()
5853    {
5854      return $this->accessViewStatus;
5855    }
5856    public function setCountry($country)
5857    {
5858      $this->country = $country;
5859    }
5860    public function getCountry()
5861    {
5862      return $this->country;
5863    }
5864    public function setDownloadAccess(Google_Service_Books_DownloadAccessRestriction $downloadAccess)
5865    {
5866      $this->downloadAccess = $downloadAccess;
5867    }
5868    public function getDownloadAccess()
5869    {
5870      return $this->downloadAccess;
5871    }
5872    public function setDriveImportedContentLink($driveImportedContentLink)
5873    {
5874      $this->driveImportedContentLink = $driveImportedContentLink;
5875    }
5876    public function getDriveImportedContentLink()
5877    {
5878      return $this->driveImportedContentLink;
5879    }
5880    public function setEmbeddable($embeddable)
5881    {
5882      $this->embeddable = $embeddable;
5883    }
5884    public function getEmbeddable()
5885    {
5886      return $this->embeddable;
5887    }
5888    public function setEpub(Google_Service_Books_VolumeAccessInfoEpub $epub)
5889    {
5890      $this->epub = $epub;
5891    }
5892    public function getEpub()
5893    {
5894      return $this->epub;
5895    }
5896    public function setExplicitOfflineLicenseManagement($explicitOfflineLicenseManagement)
5897    {
5898      $this->explicitOfflineLicenseManagement = $explicitOfflineLicenseManagement;
5899    }
5900    public function getExplicitOfflineLicenseManagement()
5901    {
5902      return $this->explicitOfflineLicenseManagement;
5903    }
5904    public function setPdf(Google_Service_Books_VolumeAccessInfoPdf $pdf)
5905    {
5906      $this->pdf = $pdf;
5907    }
5908    public function getPdf()
5909    {
5910      return $this->pdf;
5911    }
5912    public function setPublicDomain($publicDomain)
5913    {
5914      $this->publicDomain = $publicDomain;
5915    }
5916    public function getPublicDomain()
5917    {
5918      return $this->publicDomain;
5919    }
5920    public function setQuoteSharingAllowed($quoteSharingAllowed)
5921    {
5922      $this->quoteSharingAllowed = $quoteSharingAllowed;
5923    }
5924    public function getQuoteSharingAllowed()
5925    {
5926      return $this->quoteSharingAllowed;
5927    }
5928    public function setTextToSpeechPermission($textToSpeechPermission)
5929    {
5930      $this->textToSpeechPermission = $textToSpeechPermission;
5931    }
5932    public function getTextToSpeechPermission()
5933    {
5934      return $this->textToSpeechPermission;
5935    }
5936    public function setViewOrderUrl($viewOrderUrl)
5937    {
5938      $this->viewOrderUrl = $viewOrderUrl;
5939    }
5940    public function getViewOrderUrl()
5941    {
5942      return $this->viewOrderUrl;
5943    }
5944    public function setViewability($viewability)
5945    {
5946      $this->viewability = $viewability;
5947    }
5948    public function getViewability()
5949    {
5950      return $this->viewability;
5951    }
5952    public function setWebReaderLink($webReaderLink)
5953    {
5954      $this->webReaderLink = $webReaderLink;
5955    }
5956    public function getWebReaderLink()
5957    {
5958      return $this->webReaderLink;
5959    }
5960  }
5961  
5962  #[AllowDynamicProperties]
5963  class Google_Service_Books_VolumeAccessInfoEpub extends Google_Model
5964  {
5965    protected $internal_gapi_mappings = array(
5966    );
5967    public $acsTokenLink;
5968    public $downloadLink;
5969    public $isAvailable;
5970  
5971  
5972    public function setAcsTokenLink($acsTokenLink)
5973    {
5974      $this->acsTokenLink = $acsTokenLink;
5975    }
5976    public function getAcsTokenLink()
5977    {
5978      return $this->acsTokenLink;
5979    }
5980    public function setDownloadLink($downloadLink)
5981    {
5982      $this->downloadLink = $downloadLink;
5983    }
5984    public function getDownloadLink()
5985    {
5986      return $this->downloadLink;
5987    }
5988    public function setIsAvailable($isAvailable)
5989    {
5990      $this->isAvailable = $isAvailable;
5991    }
5992    public function getIsAvailable()
5993    {
5994      return $this->isAvailable;
5995    }
5996  }
5997  
5998  #[AllowDynamicProperties]
5999  class Google_Service_Books_VolumeAccessInfoPdf extends Google_Model
6000  {
6001    protected $internal_gapi_mappings = array(
6002    );
6003    public $acsTokenLink;
6004    public $downloadLink;
6005    public $isAvailable;
6006  
6007  
6008    public function setAcsTokenLink($acsTokenLink)
6009    {
6010      $this->acsTokenLink = $acsTokenLink;
6011    }
6012    public function getAcsTokenLink()
6013    {
6014      return $this->acsTokenLink;
6015    }
6016    public function setDownloadLink($downloadLink)
6017    {
6018      $this->downloadLink = $downloadLink;
6019    }
6020    public function getDownloadLink()
6021    {
6022      return $this->downloadLink;
6023    }
6024    public function setIsAvailable($isAvailable)
6025    {
6026      $this->isAvailable = $isAvailable;
6027    }
6028    public function getIsAvailable()
6029    {
6030      return $this->isAvailable;
6031    }
6032  }
6033  
6034  #[AllowDynamicProperties]
6035  class Google_Service_Books_VolumeLayerInfo extends Google_Collection
6036  {
6037    protected $collection_key = 'layers';
6038    protected $internal_gapi_mappings = array(
6039    );
6040    protected $layersType = 'Google_Service_Books_VolumeLayerInfoLayers';
6041    protected $layersDataType = 'array';
6042  
6043  
6044    public function setLayers($layers)
6045    {
6046      $this->layers = $layers;
6047    }
6048    public function getLayers()
6049    {
6050      return $this->layers;
6051    }
6052  }
6053  
6054  #[AllowDynamicProperties]
6055  class Google_Service_Books_VolumeLayerInfoLayers extends Google_Model
6056  {
6057    protected $internal_gapi_mappings = array(
6058    );
6059    public $layerId;
6060    public $volumeAnnotationsVersion;
6061  
6062  
6063    public function setLayerId($layerId)
6064    {
6065      $this->layerId = $layerId;
6066    }
6067    public function getLayerId()
6068    {
6069      return $this->layerId;
6070    }
6071    public function setVolumeAnnotationsVersion($volumeAnnotationsVersion)
6072    {
6073      $this->volumeAnnotationsVersion = $volumeAnnotationsVersion;
6074    }
6075    public function getVolumeAnnotationsVersion()
6076    {
6077      return $this->volumeAnnotationsVersion;
6078    }
6079  }
6080  
6081  #[AllowDynamicProperties]
6082  class Google_Service_Books_VolumeRecommendedInfo extends Google_Model
6083  {
6084    protected $internal_gapi_mappings = array(
6085    );
6086    public $explanation;
6087  
6088  
6089    public function setExplanation($explanation)
6090    {
6091      $this->explanation = $explanation;
6092    }
6093    public function getExplanation()
6094    {
6095      return $this->explanation;
6096    }
6097  }
6098  
6099  #[AllowDynamicProperties]
6100  class Google_Service_Books_VolumeSaleInfo extends Google_Collection
6101  {
6102    protected $collection_key = 'offers';
6103    protected $internal_gapi_mappings = array(
6104    );
6105    public $buyLink;
6106    public $country;
6107    public $isEbook;
6108    protected $listPriceType = 'Google_Service_Books_VolumeSaleInfoListPrice';
6109    protected $listPriceDataType = '';
6110    protected $offersType = 'Google_Service_Books_VolumeSaleInfoOffers';
6111    protected $offersDataType = 'array';
6112    public $onSaleDate;
6113    protected $retailPriceType = 'Google_Service_Books_VolumeSaleInfoRetailPrice';
6114    protected $retailPriceDataType = '';
6115    public $saleability;
6116  
6117  
6118    public function setBuyLink($buyLink)
6119    {
6120      $this->buyLink = $buyLink;
6121    }
6122    public function getBuyLink()
6123    {
6124      return $this->buyLink;
6125    }
6126    public function setCountry($country)
6127    {
6128      $this->country = $country;
6129    }
6130    public function getCountry()
6131    {
6132      return $this->country;
6133    }
6134    public function setIsEbook($isEbook)
6135    {
6136      $this->isEbook = $isEbook;
6137    }
6138    public function getIsEbook()
6139    {
6140      return $this->isEbook;
6141    }
6142    public function setListPrice(Google_Service_Books_VolumeSaleInfoListPrice $listPrice)
6143    {
6144      $this->listPrice = $listPrice;
6145    }
6146    public function getListPrice()
6147    {
6148      return $this->listPrice;
6149    }
6150    public function setOffers($offers)
6151    {
6152      $this->offers = $offers;
6153    }
6154    public function getOffers()
6155    {
6156      return $this->offers;
6157    }
6158    public function setOnSaleDate($onSaleDate)
6159    {
6160      $this->onSaleDate = $onSaleDate;
6161    }
6162    public function getOnSaleDate()
6163    {
6164      return $this->onSaleDate;
6165    }
6166    public function setRetailPrice(Google_Service_Books_VolumeSaleInfoRetailPrice $retailPrice)
6167    {
6168      $this->retailPrice = $retailPrice;
6169    }
6170    public function getRetailPrice()
6171    {
6172      return $this->retailPrice;
6173    }
6174    public function setSaleability($saleability)
6175    {
6176      $this->saleability = $saleability;
6177    }
6178    public function getSaleability()
6179    {
6180      return $this->saleability;
6181    }
6182  }
6183  
6184  #[AllowDynamicProperties]
6185  class Google_Service_Books_VolumeSaleInfoListPrice extends Google_Model
6186  {
6187    protected $internal_gapi_mappings = array(
6188    );
6189    public $amount;
6190    public $currencyCode;
6191  
6192  
6193    public function setAmount($amount)
6194    {
6195      $this->amount = $amount;
6196    }
6197    public function getAmount()
6198    {
6199      return $this->amount;
6200    }
6201    public function setCurrencyCode($currencyCode)
6202    {
6203      $this->currencyCode = $currencyCode;
6204    }
6205    public function getCurrencyCode()
6206    {
6207      return $this->currencyCode;
6208    }
6209  }
6210  
6211  #[AllowDynamicProperties]
6212  class Google_Service_Books_VolumeSaleInfoOffers extends Google_Model
6213  {
6214    protected $internal_gapi_mappings = array(
6215    );
6216    public $finskyOfferType;
6217    protected $listPriceType = 'Google_Service_Books_VolumeSaleInfoOffersListPrice';
6218    protected $listPriceDataType = '';
6219    protected $rentalDurationType = 'Google_Service_Books_VolumeSaleInfoOffersRentalDuration';
6220    protected $rentalDurationDataType = '';
6221    protected $retailPriceType = 'Google_Service_Books_VolumeSaleInfoOffersRetailPrice';
6222    protected $retailPriceDataType = '';
6223  
6224  
6225    public function setFinskyOfferType($finskyOfferType)
6226    {
6227      $this->finskyOfferType = $finskyOfferType;
6228    }
6229    public function getFinskyOfferType()
6230    {
6231      return $this->finskyOfferType;
6232    }
6233    public function setListPrice(Google_Service_Books_VolumeSaleInfoOffersListPrice $listPrice)
6234    {
6235      $this->listPrice = $listPrice;
6236    }
6237    public function getListPrice()
6238    {
6239      return $this->listPrice;
6240    }
6241    public function setRentalDuration(Google_Service_Books_VolumeSaleInfoOffersRentalDuration $rentalDuration)
6242    {
6243      $this->rentalDuration = $rentalDuration;
6244    }
6245    public function getRentalDuration()
6246    {
6247      return $this->rentalDuration;
6248    }
6249    public function setRetailPrice(Google_Service_Books_VolumeSaleInfoOffersRetailPrice $retailPrice)
6250    {
6251      $this->retailPrice = $retailPrice;
6252    }
6253    public function getRetailPrice()
6254    {
6255      return $this->retailPrice;
6256    }
6257  }
6258  
6259  #[AllowDynamicProperties]
6260  class Google_Service_Books_VolumeSaleInfoOffersListPrice extends Google_Model
6261  {
6262    protected $internal_gapi_mappings = array(
6263    );
6264    public $amountInMicros;
6265    public $currencyCode;
6266  
6267  
6268    public function setAmountInMicros($amountInMicros)
6269    {
6270      $this->amountInMicros = $amountInMicros;
6271    }
6272    public function getAmountInMicros()
6273    {
6274      return $this->amountInMicros;
6275    }
6276    public function setCurrencyCode($currencyCode)
6277    {
6278      $this->currencyCode = $currencyCode;
6279    }
6280    public function getCurrencyCode()
6281    {
6282      return $this->currencyCode;
6283    }
6284  }
6285  
6286  #[AllowDynamicProperties]
6287  class Google_Service_Books_VolumeSaleInfoOffersRentalDuration extends Google_Model
6288  {
6289    protected $internal_gapi_mappings = array(
6290    );
6291    public $count;
6292    public $unit;
6293  
6294  
6295    public function setCount($count)
6296    {
6297      $this->count = $count;
6298    }
6299    public function getCount()
6300    {
6301      return $this->count;
6302    }
6303    public function setUnit($unit)
6304    {
6305      $this->unit = $unit;
6306    }
6307    public function getUnit()
6308    {
6309      return $this->unit;
6310    }
6311  }
6312  
6313  #[AllowDynamicProperties]
6314  class Google_Service_Books_VolumeSaleInfoOffersRetailPrice extends Google_Model
6315  {
6316    protected $internal_gapi_mappings = array(
6317    );
6318    public $amountInMicros;
6319    public $currencyCode;
6320  
6321  
6322    public function setAmountInMicros($amountInMicros)
6323    {
6324      $this->amountInMicros = $amountInMicros;
6325    }
6326    public function getAmountInMicros()
6327    {
6328      return $this->amountInMicros;
6329    }
6330    public function setCurrencyCode($currencyCode)
6331    {
6332      $this->currencyCode = $currencyCode;
6333    }
6334    public function getCurrencyCode()
6335    {
6336      return $this->currencyCode;
6337    }
6338  }
6339  
6340  #[AllowDynamicProperties]
6341  class Google_Service_Books_VolumeSaleInfoRetailPrice extends Google_Model
6342  {
6343    protected $internal_gapi_mappings = array(
6344    );
6345    public $amount;
6346    public $currencyCode;
6347  
6348  
6349    public function setAmount($amount)
6350    {
6351      $this->amount = $amount;
6352    }
6353    public function getAmount()
6354    {
6355      return $this->amount;
6356    }
6357    public function setCurrencyCode($currencyCode)
6358    {
6359      $this->currencyCode = $currencyCode;
6360    }
6361    public function getCurrencyCode()
6362    {
6363      return $this->currencyCode;
6364    }
6365  }
6366  
6367  #[AllowDynamicProperties]
6368  class Google_Service_Books_VolumeSearchInfo extends Google_Model
6369  {
6370    protected $internal_gapi_mappings = array(
6371    );
6372    public $textSnippet;
6373  
6374  
6375    public function setTextSnippet($textSnippet)
6376    {
6377      $this->textSnippet = $textSnippet;
6378    }
6379    public function getTextSnippet()
6380    {
6381      return $this->textSnippet;
6382    }
6383  }
6384  
6385  #[AllowDynamicProperties]
6386  class Google_Service_Books_VolumeUserInfo extends Google_Model
6387  {
6388    protected $internal_gapi_mappings = array(
6389    );
6390    public $acquisitionType;
6391    protected $copyType = 'Google_Service_Books_VolumeUserInfoCopy';
6392    protected $copyDataType = '';
6393    public $entitlementType;
6394    public $isInMyBooks;
6395    public $isPreordered;
6396    public $isPurchased;
6397    public $isUploaded;
6398    protected $readingPositionType = 'Google_Service_Books_ReadingPosition';
6399    protected $readingPositionDataType = '';
6400    protected $rentalPeriodType = 'Google_Service_Books_VolumeUserInfoRentalPeriod';
6401    protected $rentalPeriodDataType = '';
6402    public $rentalState;
6403    protected $reviewType = 'Google_Service_Books_Review';
6404    protected $reviewDataType = '';
6405    public $updated;
6406    protected $userUploadedVolumeInfoType = 'Google_Service_Books_VolumeUserInfoUserUploadedVolumeInfo';
6407    protected $userUploadedVolumeInfoDataType = '';
6408  
6409  
6410    public function setAcquisitionType($acquisitionType)
6411    {
6412      $this->acquisitionType = $acquisitionType;
6413    }
6414    public function getAcquisitionType()
6415    {
6416      return $this->acquisitionType;
6417    }
6418    public function setCopy(Google_Service_Books_VolumeUserInfoCopy $copy)
6419    {
6420      $this->copy = $copy;
6421    }
6422    public function getCopy()
6423    {
6424      return $this->copy;
6425    }
6426    public function setEntitlementType($entitlementType)
6427    {
6428      $this->entitlementType = $entitlementType;
6429    }
6430    public function getEntitlementType()
6431    {
6432      return $this->entitlementType;
6433    }
6434    public function setIsInMyBooks($isInMyBooks)
6435    {
6436      $this->isInMyBooks = $isInMyBooks;
6437    }
6438    public function getIsInMyBooks()
6439    {
6440      return $this->isInMyBooks;
6441    }
6442    public function setIsPreordered($isPreordered)
6443    {
6444      $this->isPreordered = $isPreordered;
6445    }
6446    public function getIsPreordered()
6447    {
6448      return $this->isPreordered;
6449    }
6450    public function setIsPurchased($isPurchased)
6451    {
6452      $this->isPurchased = $isPurchased;
6453    }
6454    public function getIsPurchased()
6455    {
6456      return $this->isPurchased;
6457    }
6458    public function setIsUploaded($isUploaded)
6459    {
6460      $this->isUploaded = $isUploaded;
6461    }
6462    public function getIsUploaded()
6463    {
6464      return $this->isUploaded;
6465    }
6466    public function setReadingPosition(Google_Service_Books_ReadingPosition $readingPosition)
6467    {
6468      $this->readingPosition = $readingPosition;
6469    }
6470    public function getReadingPosition()
6471    {
6472      return $this->readingPosition;
6473    }
6474    public function setRentalPeriod(Google_Service_Books_VolumeUserInfoRentalPeriod $rentalPeriod)
6475    {
6476      $this->rentalPeriod = $rentalPeriod;
6477    }
6478    public function getRentalPeriod()
6479    {
6480      return $this->rentalPeriod;
6481    }
6482    public function setRentalState($rentalState)
6483    {
6484      $this->rentalState = $rentalState;
6485    }
6486    public function getRentalState()
6487    {
6488      return $this->rentalState;
6489    }
6490    public function setReview(Google_Service_Books_Review $review)
6491    {
6492      $this->review = $review;
6493    }
6494    public function getReview()
6495    {
6496      return $this->review;
6497    }
6498    public function setUpdated($updated)
6499    {
6500      $this->updated = $updated;
6501    }
6502    public function getUpdated()
6503    {
6504      return $this->updated;
6505    }
6506    public function setUserUploadedVolumeInfo(Google_Service_Books_VolumeUserInfoUserUploadedVolumeInfo $userUploadedVolumeInfo)
6507    {
6508      $this->userUploadedVolumeInfo = $userUploadedVolumeInfo;
6509    }
6510    public function getUserUploadedVolumeInfo()
6511    {
6512      return $this->userUploadedVolumeInfo;
6513    }
6514  }
6515  
6516  #[AllowDynamicProperties]
6517  class Google_Service_Books_VolumeUserInfoCopy extends Google_Model
6518  {
6519    protected $internal_gapi_mappings = array(
6520    );
6521    public $allowedCharacterCount;
6522    public $limitType;
6523    public $remainingCharacterCount;
6524    public $updated;
6525  
6526  
6527    public function setAllowedCharacterCount($allowedCharacterCount)
6528    {
6529      $this->allowedCharacterCount = $allowedCharacterCount;
6530    }
6531    public function getAllowedCharacterCount()
6532    {
6533      return $this->allowedCharacterCount;
6534    }
6535    public function setLimitType($limitType)
6536    {
6537      $this->limitType = $limitType;
6538    }
6539    public function getLimitType()
6540    {
6541      return $this->limitType;
6542    }
6543    public function setRemainingCharacterCount($remainingCharacterCount)
6544    {
6545      $this->remainingCharacterCount = $remainingCharacterCount;
6546    }
6547    public function getRemainingCharacterCount()
6548    {
6549      return $this->remainingCharacterCount;
6550    }
6551    public function setUpdated($updated)
6552    {
6553      $this->updated = $updated;
6554    }
6555    public function getUpdated()
6556    {
6557      return $this->updated;
6558    }
6559  }
6560  
6561  #[AllowDynamicProperties]
6562  class Google_Service_Books_VolumeUserInfoRentalPeriod extends Google_Model
6563  {
6564    protected $internal_gapi_mappings = array(
6565    );
6566    public $endUtcSec;
6567    public $startUtcSec;
6568  
6569  
6570    public function setEndUtcSec($endUtcSec)
6571    {
6572      $this->endUtcSec = $endUtcSec;
6573    }
6574    public function getEndUtcSec()
6575    {
6576      return $this->endUtcSec;
6577    }
6578    public function setStartUtcSec($startUtcSec)
6579    {
6580      $this->startUtcSec = $startUtcSec;
6581    }
6582    public function getStartUtcSec()
6583    {
6584      return $this->startUtcSec;
6585    }
6586  }
6587  
6588  #[AllowDynamicProperties]
6589  class Google_Service_Books_VolumeUserInfoUserUploadedVolumeInfo extends Google_Model
6590  {
6591    protected $internal_gapi_mappings = array(
6592    );
6593    public $processingState;
6594  
6595  
6596    public function setProcessingState($processingState)
6597    {
6598      $this->processingState = $processingState;
6599    }
6600    public function getProcessingState()
6601    {
6602      return $this->processingState;
6603    }
6604  }
6605  
6606  #[AllowDynamicProperties]
6607  class Google_Service_Books_VolumeVolumeInfo extends Google_Collection
6608  {
6609    protected $collection_key = 'industryIdentifiers';
6610    protected $internal_gapi_mappings = array(
6611    );
6612    public $allowAnonLogging;
6613    public $authors;
6614    public $averageRating;
6615    public $canonicalVolumeLink;
6616    public $categories;
6617    public $contentVersion;
6618    public $description;
6619    protected $dimensionsType = 'Google_Service_Books_VolumeVolumeInfoDimensions';
6620    protected $dimensionsDataType = '';
6621    protected $imageLinksType = 'Google_Service_Books_VolumeVolumeInfoImageLinks';
6622    protected $imageLinksDataType = '';
6623    protected $industryIdentifiersType = 'Google_Service_Books_VolumeVolumeInfoIndustryIdentifiers';
6624    protected $industryIdentifiersDataType = 'array';
6625    public $infoLink;
6626    public $language;
6627    public $mainCategory;
6628    public $maturityRating;
6629    public $pageCount;
6630    public $previewLink;
6631    public $printType;
6632    public $printedPageCount;
6633    public $publishedDate;
6634    public $publisher;
6635    public $ratingsCount;
6636    public $readingModes;
6637    public $samplePageCount;
6638    public $subtitle;
6639    public $title;
6640  
6641  
6642    public function setAllowAnonLogging($allowAnonLogging)
6643    {
6644      $this->allowAnonLogging = $allowAnonLogging;
6645    }
6646    public function getAllowAnonLogging()
6647    {
6648      return $this->allowAnonLogging;
6649    }
6650    public function setAuthors($authors)
6651    {
6652      $this->authors = $authors;
6653    }
6654    public function getAuthors()
6655    {
6656      return $this->authors;
6657    }
6658    public function setAverageRating($averageRating)
6659    {
6660      $this->averageRating = $averageRating;
6661    }
6662    public function getAverageRating()
6663    {
6664      return $this->averageRating;
6665    }
6666    public function setCanonicalVolumeLink($canonicalVolumeLink)
6667    {
6668      $this->canonicalVolumeLink = $canonicalVolumeLink;
6669    }
6670    public function getCanonicalVolumeLink()
6671    {
6672      return $this->canonicalVolumeLink;
6673    }
6674    public function setCategories($categories)
6675    {
6676      $this->categories = $categories;
6677    }
6678    public function getCategories()
6679    {
6680      return $this->categories;
6681    }
6682    public function setContentVersion($contentVersion)
6683    {
6684      $this->contentVersion = $contentVersion;
6685    }
6686    public function getContentVersion()
6687    {
6688      return $this->contentVersion;
6689    }
6690    public function setDescription($description)
6691    {
6692      $this->description = $description;
6693    }
6694    public function getDescription()
6695    {
6696      return $this->description;
6697    }
6698    public function setDimensions(Google_Service_Books_VolumeVolumeInfoDimensions $dimensions)
6699    {
6700      $this->dimensions = $dimensions;
6701    }
6702    public function getDimensions()
6703    {
6704      return $this->dimensions;
6705    }
6706    public function setImageLinks(Google_Service_Books_VolumeVolumeInfoImageLinks $imageLinks)
6707    {
6708      $this->imageLinks = $imageLinks;
6709    }
6710    public function getImageLinks()
6711    {
6712      return $this->imageLinks;
6713    }
6714    public function setIndustryIdentifiers($industryIdentifiers)
6715    {
6716      $this->industryIdentifiers = $industryIdentifiers;
6717    }
6718    public function getIndustryIdentifiers()
6719    {
6720      return $this->industryIdentifiers;
6721    }
6722    public function setInfoLink($infoLink)
6723    {
6724      $this->infoLink = $infoLink;
6725    }
6726    public function getInfoLink()
6727    {
6728      return $this->infoLink;
6729    }
6730    public function setLanguage($language)
6731    {
6732      $this->language = $language;
6733    }
6734    public function getLanguage()
6735    {
6736      return $this->language;
6737    }
6738    public function setMainCategory($mainCategory)
6739    {
6740      $this->mainCategory = $mainCategory;
6741    }
6742    public function getMainCategory()
6743    {
6744      return $this->mainCategory;
6745    }
6746    public function setMaturityRating($maturityRating)
6747    {
6748      $this->maturityRating = $maturityRating;
6749    }
6750    public function getMaturityRating()
6751    {
6752      return $this->maturityRating;
6753    }
6754    public function setPageCount($pageCount)
6755    {
6756      $this->pageCount = $pageCount;
6757    }
6758    public function getPageCount()
6759    {
6760      return $this->pageCount;
6761    }
6762    public function setPreviewLink($previewLink)
6763    {
6764      $this->previewLink = $previewLink;
6765    }
6766    public function getPreviewLink()
6767    {
6768      return $this->previewLink;
6769    }
6770    public function setPrintType($printType)
6771    {
6772      $this->printType = $printType;
6773    }
6774    public function getPrintType()
6775    {
6776      return $this->printType;
6777    }
6778    public function setPrintedPageCount($printedPageCount)
6779    {
6780      $this->printedPageCount = $printedPageCount;
6781    }
6782    public function getPrintedPageCount()
6783    {
6784      return $this->printedPageCount;
6785    }
6786    public function setPublishedDate($publishedDate)
6787    {
6788      $this->publishedDate = $publishedDate;
6789    }
6790    public function getPublishedDate()
6791    {
6792      return $this->publishedDate;
6793    }
6794    public function setPublisher($publisher)
6795    {
6796      $this->publisher = $publisher;
6797    }
6798    public function getPublisher()
6799    {
6800      return $this->publisher;
6801    }
6802    public function setRatingsCount($ratingsCount)
6803    {
6804      $this->ratingsCount = $ratingsCount;
6805    }
6806    public function getRatingsCount()
6807    {
6808      return $this->ratingsCount;
6809    }
6810    public function setReadingModes($readingModes)
6811    {
6812      $this->readingModes = $readingModes;
6813    }
6814    public function getReadingModes()
6815    {
6816      return $this->readingModes;
6817    }
6818    public function setSamplePageCount($samplePageCount)
6819    {
6820      $this->samplePageCount = $samplePageCount;
6821    }
6822    public function getSamplePageCount()
6823    {
6824      return $this->samplePageCount;
6825    }
6826    public function setSubtitle($subtitle)
6827    {
6828      $this->subtitle = $subtitle;
6829    }
6830    public function getSubtitle()
6831    {
6832      return $this->subtitle;
6833    }
6834    public function setTitle($title)
6835    {
6836      $this->title = $title;
6837    }
6838    public function getTitle()
6839    {
6840      return $this->title;
6841    }
6842  }
6843  
6844  #[AllowDynamicProperties]
6845  class Google_Service_Books_VolumeVolumeInfoDimensions extends Google_Model
6846  {
6847    protected $internal_gapi_mappings = array(
6848    );
6849    public $height;
6850    public $thickness;
6851    public $width;
6852  
6853  
6854    public function setHeight($height)
6855    {
6856      $this->height = $height;
6857    }
6858    public function getHeight()
6859    {
6860      return $this->height;
6861    }
6862    public function setThickness($thickness)
6863    {
6864      $this->thickness = $thickness;
6865    }
6866    public function getThickness()
6867    {
6868      return $this->thickness;
6869    }
6870    public function setWidth($width)
6871    {
6872      $this->width = $width;
6873    }
6874    public function getWidth()
6875    {
6876      return $this->width;
6877    }
6878  }
6879  
6880  #[AllowDynamicProperties]
6881  class Google_Service_Books_VolumeVolumeInfoImageLinks extends Google_Model
6882  {
6883    protected $internal_gapi_mappings = array(
6884    );
6885    public $extraLarge;
6886    public $large;
6887    public $medium;
6888    public $small;
6889    public $smallThumbnail;
6890    public $thumbnail;
6891  
6892  
6893    public function setExtraLarge($extraLarge)
6894    {
6895      $this->extraLarge = $extraLarge;
6896    }
6897    public function getExtraLarge()
6898    {
6899      return $this->extraLarge;
6900    }
6901    public function setLarge($large)
6902    {
6903      $this->large = $large;
6904    }
6905    public function getLarge()
6906    {
6907      return $this->large;
6908    }
6909    public function setMedium($medium)
6910    {
6911      $this->medium = $medium;
6912    }
6913    public function getMedium()
6914    {
6915      return $this->medium;
6916    }
6917    public function setSmall($small)
6918    {
6919      $this->small = $small;
6920    }
6921    public function getSmall()
6922    {
6923      return $this->small;
6924    }
6925    public function setSmallThumbnail($smallThumbnail)
6926    {
6927      $this->smallThumbnail = $smallThumbnail;
6928    }
6929    public function getSmallThumbnail()
6930    {
6931      return $this->smallThumbnail;
6932    }
6933    public function setThumbnail($thumbnail)
6934    {
6935      $this->thumbnail = $thumbnail;
6936    }
6937    public function getThumbnail()
6938    {
6939      return $this->thumbnail;
6940    }
6941  }
6942  
6943  #[AllowDynamicProperties]
6944  class Google_Service_Books_VolumeVolumeInfoIndustryIdentifiers extends Google_Model
6945  {
6946    protected $internal_gapi_mappings = array(
6947    );
6948    public $identifier;
6949    public $type;
6950  
6951  
6952    public function setIdentifier($identifier)
6953    {
6954      $this->identifier = $identifier;
6955    }
6956    public function getIdentifier()
6957    {
6958      return $this->identifier;
6959    }
6960    public function setType($type)
6961    {
6962      $this->type = $type;
6963    }
6964    public function getType()
6965    {
6966      return $this->type;
6967    }
6968  }
6969  
6970  #[AllowDynamicProperties]
6971  class Google_Service_Books_Volumeannotation extends Google_Collection
6972  {
6973    protected $collection_key = 'pageIds';
6974    protected $internal_gapi_mappings = array(
6975    );
6976    public $annotationDataId;
6977    public $annotationDataLink;
6978    public $annotationType;
6979    protected $contentRangesType = 'Google_Service_Books_VolumeannotationContentRanges';
6980    protected $contentRangesDataType = '';
6981    public $data;
6982    public $deleted;
6983    public $id;
6984    public $kind;
6985    public $layerId;
6986    public $pageIds;
6987    public $selectedText;
6988    public $selfLink;
6989    public $updated;
6990    public $volumeId;
6991  
6992  
6993    public function setAnnotationDataId($annotationDataId)
6994    {
6995      $this->annotationDataId = $annotationDataId;
6996    }
6997    public function getAnnotationDataId()
6998    {
6999      return $this->annotationDataId;
7000    }
7001    public function setAnnotationDataLink($annotationDataLink)
7002    {
7003      $this->annotationDataLink = $annotationDataLink;
7004    }
7005    public function getAnnotationDataLink()
7006    {
7007      return $this->annotationDataLink;
7008    }
7009    public function setAnnotationType($annotationType)
7010    {
7011      $this->annotationType = $annotationType;
7012    }
7013    public function getAnnotationType()
7014    {
7015      return $this->annotationType;
7016    }
7017    public function setContentRanges(Google_Service_Books_VolumeannotationContentRanges $contentRanges)
7018    {
7019      $this->contentRanges = $contentRanges;
7020    }
7021    public function getContentRanges()
7022    {
7023      return $this->contentRanges;
7024    }
7025    public function setData($data)
7026    {
7027      $this->data = $data;
7028    }
7029    public function getData()
7030    {
7031      return $this->data;
7032    }
7033    public function setDeleted($deleted)
7034    {
7035      $this->deleted = $deleted;
7036    }
7037    public function getDeleted()
7038    {
7039      return $this->deleted;
7040    }
7041    public function setId($id)
7042    {
7043      $this->id = $id;
7044    }
7045    public function getId()
7046    {
7047      return $this->id;
7048    }
7049    public function setKind($kind)
7050    {
7051      $this->kind = $kind;
7052    }
7053    public function getKind()
7054    {
7055      return $this->kind;
7056    }
7057    public function setLayerId($layerId)
7058    {
7059      $this->layerId = $layerId;
7060    }
7061    public function getLayerId()
7062    {
7063      return $this->layerId;
7064    }
7065    public function setPageIds($pageIds)
7066    {
7067      $this->pageIds = $pageIds;
7068    }
7069    public function getPageIds()
7070    {
7071      return $this->pageIds;
7072    }
7073    public function setSelectedText($selectedText)
7074    {
7075      $this->selectedText = $selectedText;
7076    }
7077    public function getSelectedText()
7078    {
7079      return $this->selectedText;
7080    }
7081    public function setSelfLink($selfLink)
7082    {
7083      $this->selfLink = $selfLink;
7084    }
7085    public function getSelfLink()
7086    {
7087      return $this->selfLink;
7088    }
7089    public function setUpdated($updated)
7090    {
7091      $this->updated = $updated;
7092    }
7093    public function getUpdated()
7094    {
7095      return $this->updated;
7096    }
7097    public function setVolumeId($volumeId)
7098    {
7099      $this->volumeId = $volumeId;
7100    }
7101    public function getVolumeId()
7102    {
7103      return $this->volumeId;
7104    }
7105  }
7106  
7107  #[AllowDynamicProperties]
7108  class Google_Service_Books_VolumeannotationContentRanges extends Google_Model
7109  {
7110    protected $internal_gapi_mappings = array(
7111    );
7112    protected $cfiRangeType = 'Google_Service_Books_BooksAnnotationsRange';
7113    protected $cfiRangeDataType = '';
7114    public $contentVersion;
7115    protected $gbImageRangeType = 'Google_Service_Books_BooksAnnotationsRange';
7116    protected $gbImageRangeDataType = '';
7117    protected $gbTextRangeType = 'Google_Service_Books_BooksAnnotationsRange';
7118    protected $gbTextRangeDataType = '';
7119  
7120  
7121    public function setCfiRange(Google_Service_Books_BooksAnnotationsRange $cfiRange)
7122    {
7123      $this->cfiRange = $cfiRange;
7124    }
7125    public function getCfiRange()
7126    {
7127      return $this->cfiRange;
7128    }
7129    public function setContentVersion($contentVersion)
7130    {
7131      $this->contentVersion = $contentVersion;
7132    }
7133    public function getContentVersion()
7134    {
7135      return $this->contentVersion;
7136    }
7137    public function setGbImageRange(Google_Service_Books_BooksAnnotationsRange $gbImageRange)
7138    {
7139      $this->gbImageRange = $gbImageRange;
7140    }
7141    public function getGbImageRange()
7142    {
7143      return $this->gbImageRange;
7144    }
7145    public function setGbTextRange(Google_Service_Books_BooksAnnotationsRange $gbTextRange)
7146    {
7147      $this->gbTextRange = $gbTextRange;
7148    }
7149    public function getGbTextRange()
7150    {
7151      return $this->gbTextRange;
7152    }
7153  }
7154  
7155  #[AllowDynamicProperties]
7156  class Google_Service_Books_Volumeannotations extends Google_Collection
7157  {
7158    protected $collection_key = 'items';
7159    protected $internal_gapi_mappings = array(
7160    );
7161    protected $itemsType = 'Google_Service_Books_Volumeannotation';
7162    protected $itemsDataType = 'array';
7163    public $kind;
7164    public $nextPageToken;
7165    public $totalItems;
7166    public $version;
7167  
7168  
7169    public function setItems($items)
7170    {
7171      $this->items = $items;
7172    }
7173    public function getItems()
7174    {
7175      return $this->items;
7176    }
7177    public function setKind($kind)
7178    {
7179      $this->kind = $kind;
7180    }
7181    public function getKind()
7182    {
7183      return $this->kind;
7184    }
7185    public function setNextPageToken($nextPageToken)
7186    {
7187      $this->nextPageToken = $nextPageToken;
7188    }
7189    public function getNextPageToken()
7190    {
7191      return $this->nextPageToken;
7192    }
7193    public function setTotalItems($totalItems)
7194    {
7195      $this->totalItems = $totalItems;
7196    }
7197    public function getTotalItems()
7198    {
7199      return $this->totalItems;
7200    }
7201    public function setVersion($version)
7202    {
7203      $this->version = $version;
7204    }
7205    public function getVersion()
7206    {
7207      return $this->version;
7208    }
7209  }
7210  
7211  #[AllowDynamicProperties]
7212  class Google_Service_Books_Volumes extends Google_Collection
7213  {
7214    protected $collection_key = 'items';
7215    protected $internal_gapi_mappings = array(
7216    );
7217    protected $itemsType = 'Google_Service_Books_Volume';
7218    protected $itemsDataType = 'array';
7219    public $kind;
7220    public $totalItems;
7221  
7222  
7223    public function setItems($items)
7224    {
7225      $this->items = $items;
7226    }
7227    public function getItems()
7228    {
7229      return $this->items;
7230    }
7231    public function setKind($kind)
7232    {
7233      $this->kind = $kind;
7234    }
7235    public function getKind()
7236    {
7237      return $this->kind;
7238    }
7239    public function setTotalItems($totalItems)
7240    {
7241      $this->totalItems = $totalItems;
7242    }
7243    public function getTotalItems()
7244    {
7245      return $this->totalItems;
7246    }
7247  }