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 Drive (v2).
  20   *
  21   * <p>
  22   * The API to interact with Drive.</p>
  23   *
  24   * <p>
  25   * For more information about this service, see the API
  26   * <a href="https://developers.google.com/drive/" target="_blank">Documentation</a>
  27   * </p>
  28   *
  29   * @author Google, Inc.
  30   */
  31  #[AllowDynamicProperties]
  32  class Google_Service_Drive extends Google_Service
  33  {
  34    /** View and manage the files in your Google Drive. */
  35    const DRIVE =
  36        "https://www.googleapis.com/auth/drive";
  37    /** View and manage its own configuration data in your Google Drive. */
  38    const DRIVE_APPDATA =
  39        "https://www.googleapis.com/auth/drive.appdata";
  40    /** View your Google Drive apps. */
  41    const DRIVE_APPS_READONLY =
  42        "https://www.googleapis.com/auth/drive.apps.readonly";
  43    /** View and manage Google Drive files and folders that you have opened or created with this app. */
  44    const DRIVE_FILE =
  45        "https://www.googleapis.com/auth/drive.file";
  46    /** View and manage metadata of files in your Google Drive. */
  47    const DRIVE_METADATA =
  48        "https://www.googleapis.com/auth/drive.metadata";
  49    /** View metadata for files in your Google Drive. */
  50    const DRIVE_METADATA_READONLY =
  51        "https://www.googleapis.com/auth/drive.metadata.readonly";
  52    /** View the photos, videos and albums in your Google Photos. */
  53    const DRIVE_PHOTOS_READONLY =
  54        "https://www.googleapis.com/auth/drive.photos.readonly";
  55    /** View the files in your Google Drive. */
  56    const DRIVE_READONLY =
  57        "https://www.googleapis.com/auth/drive.readonly";
  58    /** Modify your Google Apps Script scripts' behavior. */
  59    const DRIVE_SCRIPTS =
  60        "https://www.googleapis.com/auth/drive.scripts";
  61  
  62    public $about;
  63    public $apps;
  64    public $changes;
  65    public $channels;
  66    public $children;
  67    public $comments;
  68    public $files;
  69    public $parents;
  70    public $permissions;
  71    public $properties;
  72    public $realtime;
  73    public $replies;
  74    public $revisions;
  75    
  76  
  77    /**
  78     * Constructs the internal representation of the Drive service.
  79     *
  80     * @param Google_Client $client
  81     */
  82    public function __construct(Google_Client $client)
  83    {
  84      parent::__construct($client);
  85      $this->rootUrl = 'https://www.googleapis.com/';
  86      $this->servicePath = 'drive/v2/';
  87      $this->version = 'v2';
  88      $this->serviceName = 'drive';
  89  
  90      $this->about = new Google_Service_Drive_About_Resource(
  91          $this,
  92          $this->serviceName,
  93          'about',
  94          array(
  95            'methods' => array(
  96              'get' => array(
  97                'path' => 'about',
  98                'httpMethod' => 'GET',
  99                'parameters' => array(
 100                  'includeSubscribed' => array(
 101                    'location' => 'query',
 102                    'type' => 'boolean',
 103                  ),
 104                  'maxChangeIdCount' => array(
 105                    'location' => 'query',
 106                    'type' => 'string',
 107                  ),
 108                  'startChangeId' => array(
 109                    'location' => 'query',
 110                    'type' => 'string',
 111                  ),
 112                ),
 113              ),
 114            )
 115          )
 116      );
 117      $this->apps = new Google_Service_Drive_Apps_Resource(
 118          $this,
 119          $this->serviceName,
 120          'apps',
 121          array(
 122            'methods' => array(
 123              'get' => array(
 124                'path' => 'apps/{appId}',
 125                'httpMethod' => 'GET',
 126                'parameters' => array(
 127                  'appId' => array(
 128                    'location' => 'path',
 129                    'type' => 'string',
 130                    'required' => true,
 131                  ),
 132                ),
 133              ),'list' => array(
 134                'path' => 'apps',
 135                'httpMethod' => 'GET',
 136                'parameters' => array(
 137                  'languageCode' => array(
 138                    'location' => 'query',
 139                    'type' => 'string',
 140                  ),
 141                  'appFilterExtensions' => array(
 142                    'location' => 'query',
 143                    'type' => 'string',
 144                  ),
 145                  'appFilterMimeTypes' => array(
 146                    'location' => 'query',
 147                    'type' => 'string',
 148                  ),
 149                ),
 150              ),
 151            )
 152          )
 153      );
 154      $this->changes = new Google_Service_Drive_Changes_Resource(
 155          $this,
 156          $this->serviceName,
 157          'changes',
 158          array(
 159            'methods' => array(
 160              'get' => array(
 161                'path' => 'changes/{changeId}',
 162                'httpMethod' => 'GET',
 163                'parameters' => array(
 164                  'changeId' => array(
 165                    'location' => 'path',
 166                    'type' => 'string',
 167                    'required' => true,
 168                  ),
 169                ),
 170              ),'list' => array(
 171                'path' => 'changes',
 172                'httpMethod' => 'GET',
 173                'parameters' => array(
 174                  'includeSubscribed' => array(
 175                    'location' => 'query',
 176                    'type' => 'boolean',
 177                  ),
 178                  'includeDeleted' => array(
 179                    'location' => 'query',
 180                    'type' => 'boolean',
 181                  ),
 182                  'maxResults' => array(
 183                    'location' => 'query',
 184                    'type' => 'integer',
 185                  ),
 186                  'pageToken' => array(
 187                    'location' => 'query',
 188                    'type' => 'string',
 189                  ),
 190                  'spaces' => array(
 191                    'location' => 'query',
 192                    'type' => 'string',
 193                  ),
 194                  'startChangeId' => array(
 195                    'location' => 'query',
 196                    'type' => 'string',
 197                  ),
 198                ),
 199              ),'watch' => array(
 200                'path' => 'changes/watch',
 201                'httpMethod' => 'POST',
 202                'parameters' => array(
 203                  'includeSubscribed' => array(
 204                    'location' => 'query',
 205                    'type' => 'boolean',
 206                  ),
 207                  'includeDeleted' => array(
 208                    'location' => 'query',
 209                    'type' => 'boolean',
 210                  ),
 211                  'maxResults' => array(
 212                    'location' => 'query',
 213                    'type' => 'integer',
 214                  ),
 215                  'pageToken' => array(
 216                    'location' => 'query',
 217                    'type' => 'string',
 218                  ),
 219                  'spaces' => array(
 220                    'location' => 'query',
 221                    'type' => 'string',
 222                  ),
 223                  'startChangeId' => array(
 224                    'location' => 'query',
 225                    'type' => 'string',
 226                  ),
 227                ),
 228              ),
 229            )
 230          )
 231      );
 232      $this->channels = new Google_Service_Drive_Channels_Resource(
 233          $this,
 234          $this->serviceName,
 235          'channels',
 236          array(
 237            'methods' => array(
 238              'stop' => array(
 239                'path' => 'channels/stop',
 240                'httpMethod' => 'POST',
 241                'parameters' => array(),
 242              ),
 243            )
 244          )
 245      );
 246      $this->children = new Google_Service_Drive_Children_Resource(
 247          $this,
 248          $this->serviceName,
 249          'children',
 250          array(
 251            'methods' => array(
 252              'delete' => array(
 253                'path' => 'files/{folderId}/children/{childId}',
 254                'httpMethod' => 'DELETE',
 255                'parameters' => array(
 256                  'folderId' => array(
 257                    'location' => 'path',
 258                    'type' => 'string',
 259                    'required' => true,
 260                  ),
 261                  'childId' => array(
 262                    'location' => 'path',
 263                    'type' => 'string',
 264                    'required' => true,
 265                  ),
 266                ),
 267              ),'get' => array(
 268                'path' => 'files/{folderId}/children/{childId}',
 269                'httpMethod' => 'GET',
 270                'parameters' => array(
 271                  'folderId' => array(
 272                    'location' => 'path',
 273                    'type' => 'string',
 274                    'required' => true,
 275                  ),
 276                  'childId' => array(
 277                    'location' => 'path',
 278                    'type' => 'string',
 279                    'required' => true,
 280                  ),
 281                ),
 282              ),'insert' => array(
 283                'path' => 'files/{folderId}/children',
 284                'httpMethod' => 'POST',
 285                'parameters' => array(
 286                  'folderId' => array(
 287                    'location' => 'path',
 288                    'type' => 'string',
 289                    'required' => true,
 290                  ),
 291                ),
 292              ),'list' => array(
 293                'path' => 'files/{folderId}/children',
 294                'httpMethod' => 'GET',
 295                'parameters' => array(
 296                  'folderId' => array(
 297                    'location' => 'path',
 298                    'type' => 'string',
 299                    'required' => true,
 300                  ),
 301                  'orderBy' => array(
 302                    'location' => 'query',
 303                    'type' => 'string',
 304                  ),
 305                  'pageToken' => array(
 306                    'location' => 'query',
 307                    'type' => 'string',
 308                  ),
 309                  'q' => array(
 310                    'location' => 'query',
 311                    'type' => 'string',
 312                  ),
 313                  'maxResults' => array(
 314                    'location' => 'query',
 315                    'type' => 'integer',
 316                  ),
 317                ),
 318              ),
 319            )
 320          )
 321      );
 322      $this->comments = new Google_Service_Drive_Comments_Resource(
 323          $this,
 324          $this->serviceName,
 325          'comments',
 326          array(
 327            'methods' => array(
 328              'delete' => array(
 329                'path' => 'files/{fileId}/comments/{commentId}',
 330                'httpMethod' => 'DELETE',
 331                'parameters' => array(
 332                  'fileId' => array(
 333                    'location' => 'path',
 334                    'type' => 'string',
 335                    'required' => true,
 336                  ),
 337                  'commentId' => array(
 338                    'location' => 'path',
 339                    'type' => 'string',
 340                    'required' => true,
 341                  ),
 342                ),
 343              ),'get' => array(
 344                'path' => 'files/{fileId}/comments/{commentId}',
 345                'httpMethod' => 'GET',
 346                'parameters' => array(
 347                  'fileId' => array(
 348                    'location' => 'path',
 349                    'type' => 'string',
 350                    'required' => true,
 351                  ),
 352                  'commentId' => array(
 353                    'location' => 'path',
 354                    'type' => 'string',
 355                    'required' => true,
 356                  ),
 357                  'includeDeleted' => array(
 358                    'location' => 'query',
 359                    'type' => 'boolean',
 360                  ),
 361                ),
 362              ),'insert' => array(
 363                'path' => 'files/{fileId}/comments',
 364                'httpMethod' => 'POST',
 365                'parameters' => array(
 366                  'fileId' => array(
 367                    'location' => 'path',
 368                    'type' => 'string',
 369                    'required' => true,
 370                  ),
 371                ),
 372              ),'list' => array(
 373                'path' => 'files/{fileId}/comments',
 374                'httpMethod' => 'GET',
 375                'parameters' => array(
 376                  'fileId' => array(
 377                    'location' => 'path',
 378                    'type' => 'string',
 379                    'required' => true,
 380                  ),
 381                  'pageToken' => array(
 382                    'location' => 'query',
 383                    'type' => 'string',
 384                  ),
 385                  'updatedMin' => array(
 386                    'location' => 'query',
 387                    'type' => 'string',
 388                  ),
 389                  'includeDeleted' => array(
 390                    'location' => 'query',
 391                    'type' => 'boolean',
 392                  ),
 393                  'maxResults' => array(
 394                    'location' => 'query',
 395                    'type' => 'integer',
 396                  ),
 397                ),
 398              ),'patch' => array(
 399                'path' => 'files/{fileId}/comments/{commentId}',
 400                'httpMethod' => 'PATCH',
 401                'parameters' => array(
 402                  'fileId' => array(
 403                    'location' => 'path',
 404                    'type' => 'string',
 405                    'required' => true,
 406                  ),
 407                  'commentId' => array(
 408                    'location' => 'path',
 409                    'type' => 'string',
 410                    'required' => true,
 411                  ),
 412                ),
 413              ),'update' => array(
 414                'path' => 'files/{fileId}/comments/{commentId}',
 415                'httpMethod' => 'PUT',
 416                'parameters' => array(
 417                  'fileId' => array(
 418                    'location' => 'path',
 419                    'type' => 'string',
 420                    'required' => true,
 421                  ),
 422                  'commentId' => array(
 423                    'location' => 'path',
 424                    'type' => 'string',
 425                    'required' => true,
 426                  ),
 427                ),
 428              ),
 429            )
 430          )
 431      );
 432      $this->files = new Google_Service_Drive_Files_Resource(
 433          $this,
 434          $this->serviceName,
 435          'files',
 436          array(
 437            'methods' => array(
 438              'copy' => array(
 439                'path' => 'files/{fileId}/copy',
 440                'httpMethod' => 'POST',
 441                'parameters' => array(
 442                  'fileId' => array(
 443                    'location' => 'path',
 444                    'type' => 'string',
 445                    'required' => true,
 446                  ),
 447                  'convert' => array(
 448                    'location' => 'query',
 449                    'type' => 'boolean',
 450                  ),
 451                  'ocrLanguage' => array(
 452                    'location' => 'query',
 453                    'type' => 'string',
 454                  ),
 455                  'visibility' => array(
 456                    'location' => 'query',
 457                    'type' => 'string',
 458                  ),
 459                  'pinned' => array(
 460                    'location' => 'query',
 461                    'type' => 'boolean',
 462                  ),
 463                  'ocr' => array(
 464                    'location' => 'query',
 465                    'type' => 'boolean',
 466                  ),
 467                  'timedTextTrackName' => array(
 468                    'location' => 'query',
 469                    'type' => 'string',
 470                  ),
 471                  'timedTextLanguage' => array(
 472                    'location' => 'query',
 473                    'type' => 'string',
 474                  ),
 475                ),
 476              ),'delete' => array(
 477                'path' => 'files/{fileId}',
 478                'httpMethod' => 'DELETE',
 479                'parameters' => array(
 480                  'fileId' => array(
 481                    'location' => 'path',
 482                    'type' => 'string',
 483                    'required' => true,
 484                  ),
 485                ),
 486              ),'emptyTrash' => array(
 487                'path' => 'files/trash',
 488                'httpMethod' => 'DELETE',
 489                'parameters' => array(),
 490              ),'generateIds' => array(
 491                'path' => 'files/generateIds',
 492                'httpMethod' => 'GET',
 493                'parameters' => array(
 494                  'maxResults' => array(
 495                    'location' => 'query',
 496                    'type' => 'integer',
 497                  ),
 498                  'space' => array(
 499                    'location' => 'query',
 500                    'type' => 'string',
 501                  ),
 502                ),
 503              ),'get' => array(
 504                'path' => 'files/{fileId}',
 505                'httpMethod' => 'GET',
 506                'parameters' => array(
 507                  'fileId' => array(
 508                    'location' => 'path',
 509                    'type' => 'string',
 510                    'required' => true,
 511                  ),
 512                  'acknowledgeAbuse' => array(
 513                    'location' => 'query',
 514                    'type' => 'boolean',
 515                  ),
 516                  'updateViewedDate' => array(
 517                    'location' => 'query',
 518                    'type' => 'boolean',
 519                  ),
 520                  'revisionId' => array(
 521                    'location' => 'query',
 522                    'type' => 'string',
 523                  ),
 524                  'projection' => array(
 525                    'location' => 'query',
 526                    'type' => 'string',
 527                  ),
 528                ),
 529              ),'insert' => array(
 530                'path' => 'files',
 531                'httpMethod' => 'POST',
 532                'parameters' => array(
 533                  'convert' => array(
 534                    'location' => 'query',
 535                    'type' => 'boolean',
 536                  ),
 537                  'useContentAsIndexableText' => array(
 538                    'location' => 'query',
 539                    'type' => 'boolean',
 540                  ),
 541                  'ocrLanguage' => array(
 542                    'location' => 'query',
 543                    'type' => 'string',
 544                  ),
 545                  'visibility' => array(
 546                    'location' => 'query',
 547                    'type' => 'string',
 548                  ),
 549                  'pinned' => array(
 550                    'location' => 'query',
 551                    'type' => 'boolean',
 552                  ),
 553                  'ocr' => array(
 554                    'location' => 'query',
 555                    'type' => 'boolean',
 556                  ),
 557                  'timedTextTrackName' => array(
 558                    'location' => 'query',
 559                    'type' => 'string',
 560                  ),
 561                  'timedTextLanguage' => array(
 562                    'location' => 'query',
 563                    'type' => 'string',
 564                  ),
 565                ),
 566              ),'list' => array(
 567                'path' => 'files',
 568                'httpMethod' => 'GET',
 569                'parameters' => array(
 570                  'orderBy' => array(
 571                    'location' => 'query',
 572                    'type' => 'string',
 573                  ),
 574                  'projection' => array(
 575                    'location' => 'query',
 576                    'type' => 'string',
 577                  ),
 578                  'maxResults' => array(
 579                    'location' => 'query',
 580                    'type' => 'integer',
 581                  ),
 582                  'q' => array(
 583                    'location' => 'query',
 584                    'type' => 'string',
 585                  ),
 586                  'pageToken' => array(
 587                    'location' => 'query',
 588                    'type' => 'string',
 589                  ),
 590                  'spaces' => array(
 591                    'location' => 'query',
 592                    'type' => 'string',
 593                  ),
 594                  'corpus' => array(
 595                    'location' => 'query',
 596                    'type' => 'string',
 597                  ),
 598                ),
 599              ),'patch' => array(
 600                'path' => 'files/{fileId}',
 601                'httpMethod' => 'PATCH',
 602                'parameters' => array(
 603                  'fileId' => array(
 604                    'location' => 'path',
 605                    'type' => 'string',
 606                    'required' => true,
 607                  ),
 608                  'addParents' => array(
 609                    'location' => 'query',
 610                    'type' => 'string',
 611                  ),
 612                  'modifiedDateBehavior' => array(
 613                    'location' => 'query',
 614                    'type' => 'string',
 615                  ),
 616                  'removeParents' => array(
 617                    'location' => 'query',
 618                    'type' => 'string',
 619                  ),
 620                  'updateViewedDate' => array(
 621                    'location' => 'query',
 622                    'type' => 'boolean',
 623                  ),
 624                  'setModifiedDate' => array(
 625                    'location' => 'query',
 626                    'type' => 'boolean',
 627                  ),
 628                  'useContentAsIndexableText' => array(
 629                    'location' => 'query',
 630                    'type' => 'boolean',
 631                  ),
 632                  'convert' => array(
 633                    'location' => 'query',
 634                    'type' => 'boolean',
 635                  ),
 636                  'ocrLanguage' => array(
 637                    'location' => 'query',
 638                    'type' => 'string',
 639                  ),
 640                  'pinned' => array(
 641                    'location' => 'query',
 642                    'type' => 'boolean',
 643                  ),
 644                  'newRevision' => array(
 645                    'location' => 'query',
 646                    'type' => 'boolean',
 647                  ),
 648                  'ocr' => array(
 649                    'location' => 'query',
 650                    'type' => 'boolean',
 651                  ),
 652                  'timedTextLanguage' => array(
 653                    'location' => 'query',
 654                    'type' => 'string',
 655                  ),
 656                  'timedTextTrackName' => array(
 657                    'location' => 'query',
 658                    'type' => 'string',
 659                  ),
 660                ),
 661              ),'touch' => array(
 662                'path' => 'files/{fileId}/touch',
 663                'httpMethod' => 'POST',
 664                'parameters' => array(
 665                  'fileId' => array(
 666                    'location' => 'path',
 667                    'type' => 'string',
 668                    'required' => true,
 669                  ),
 670                ),
 671              ),'trash' => array(
 672                'path' => 'files/{fileId}/trash',
 673                'httpMethod' => 'POST',
 674                'parameters' => array(
 675                  'fileId' => array(
 676                    'location' => 'path',
 677                    'type' => 'string',
 678                    'required' => true,
 679                  ),
 680                ),
 681              ),'untrash' => array(
 682                'path' => 'files/{fileId}/untrash',
 683                'httpMethod' => 'POST',
 684                'parameters' => array(
 685                  'fileId' => array(
 686                    'location' => 'path',
 687                    'type' => 'string',
 688                    'required' => true,
 689                  ),
 690                ),
 691              ),'update' => array(
 692                'path' => 'files/{fileId}',
 693                'httpMethod' => 'PUT',
 694                'parameters' => array(
 695                  'fileId' => array(
 696                    'location' => 'path',
 697                    'type' => 'string',
 698                    'required' => true,
 699                  ),
 700                  'addParents' => array(
 701                    'location' => 'query',
 702                    'type' => 'string',
 703                  ),
 704                  'modifiedDateBehavior' => array(
 705                    'location' => 'query',
 706                    'type' => 'string',
 707                  ),
 708                  'removeParents' => array(
 709                    'location' => 'query',
 710                    'type' => 'string',
 711                  ),
 712                  'updateViewedDate' => array(
 713                    'location' => 'query',
 714                    'type' => 'boolean',
 715                  ),
 716                  'setModifiedDate' => array(
 717                    'location' => 'query',
 718                    'type' => 'boolean',
 719                  ),
 720                  'useContentAsIndexableText' => array(
 721                    'location' => 'query',
 722                    'type' => 'boolean',
 723                  ),
 724                  'convert' => array(
 725                    'location' => 'query',
 726                    'type' => 'boolean',
 727                  ),
 728                  'ocrLanguage' => array(
 729                    'location' => 'query',
 730                    'type' => 'string',
 731                  ),
 732                  'pinned' => array(
 733                    'location' => 'query',
 734                    'type' => 'boolean',
 735                  ),
 736                  'newRevision' => array(
 737                    'location' => 'query',
 738                    'type' => 'boolean',
 739                  ),
 740                  'ocr' => array(
 741                    'location' => 'query',
 742                    'type' => 'boolean',
 743                  ),
 744                  'timedTextLanguage' => array(
 745                    'location' => 'query',
 746                    'type' => 'string',
 747                  ),
 748                  'timedTextTrackName' => array(
 749                    'location' => 'query',
 750                    'type' => 'string',
 751                  ),
 752                ),
 753              ),'watch' => array(
 754                'path' => 'files/{fileId}/watch',
 755                'httpMethod' => 'POST',
 756                'parameters' => array(
 757                  'fileId' => array(
 758                    'location' => 'path',
 759                    'type' => 'string',
 760                    'required' => true,
 761                  ),
 762                  'acknowledgeAbuse' => array(
 763                    'location' => 'query',
 764                    'type' => 'boolean',
 765                  ),
 766                  'updateViewedDate' => array(
 767                    'location' => 'query',
 768                    'type' => 'boolean',
 769                  ),
 770                  'revisionId' => array(
 771                    'location' => 'query',
 772                    'type' => 'string',
 773                  ),
 774                  'projection' => array(
 775                    'location' => 'query',
 776                    'type' => 'string',
 777                  ),
 778                ),
 779              ),
 780            )
 781          )
 782      );
 783      $this->parents = new Google_Service_Drive_Parents_Resource(
 784          $this,
 785          $this->serviceName,
 786          'parents',
 787          array(
 788            'methods' => array(
 789              'delete' => array(
 790                'path' => 'files/{fileId}/parents/{parentId}',
 791                'httpMethod' => 'DELETE',
 792                'parameters' => array(
 793                  'fileId' => array(
 794                    'location' => 'path',
 795                    'type' => 'string',
 796                    'required' => true,
 797                  ),
 798                  'parentId' => array(
 799                    'location' => 'path',
 800                    'type' => 'string',
 801                    'required' => true,
 802                  ),
 803                ),
 804              ),'get' => array(
 805                'path' => 'files/{fileId}/parents/{parentId}',
 806                'httpMethod' => 'GET',
 807                'parameters' => array(
 808                  'fileId' => array(
 809                    'location' => 'path',
 810                    'type' => 'string',
 811                    'required' => true,
 812                  ),
 813                  'parentId' => array(
 814                    'location' => 'path',
 815                    'type' => 'string',
 816                    'required' => true,
 817                  ),
 818                ),
 819              ),'insert' => array(
 820                'path' => 'files/{fileId}/parents',
 821                'httpMethod' => 'POST',
 822                'parameters' => array(
 823                  'fileId' => array(
 824                    'location' => 'path',
 825                    'type' => 'string',
 826                    'required' => true,
 827                  ),
 828                ),
 829              ),'list' => array(
 830                'path' => 'files/{fileId}/parents',
 831                'httpMethod' => 'GET',
 832                'parameters' => array(
 833                  'fileId' => array(
 834                    'location' => 'path',
 835                    'type' => 'string',
 836                    'required' => true,
 837                  ),
 838                ),
 839              ),
 840            )
 841          )
 842      );
 843      $this->permissions = new Google_Service_Drive_Permissions_Resource(
 844          $this,
 845          $this->serviceName,
 846          'permissions',
 847          array(
 848            'methods' => array(
 849              'delete' => array(
 850                'path' => 'files/{fileId}/permissions/{permissionId}',
 851                'httpMethod' => 'DELETE',
 852                'parameters' => array(
 853                  'fileId' => array(
 854                    'location' => 'path',
 855                    'type' => 'string',
 856                    'required' => true,
 857                  ),
 858                  'permissionId' => array(
 859                    'location' => 'path',
 860                    'type' => 'string',
 861                    'required' => true,
 862                  ),
 863                ),
 864              ),'get' => array(
 865                'path' => 'files/{fileId}/permissions/{permissionId}',
 866                'httpMethod' => 'GET',
 867                'parameters' => array(
 868                  'fileId' => array(
 869                    'location' => 'path',
 870                    'type' => 'string',
 871                    'required' => true,
 872                  ),
 873                  'permissionId' => array(
 874                    'location' => 'path',
 875                    'type' => 'string',
 876                    'required' => true,
 877                  ),
 878                ),
 879              ),'getIdForEmail' => array(
 880                'path' => 'permissionIds/{email}',
 881                'httpMethod' => 'GET',
 882                'parameters' => array(
 883                  'email' => array(
 884                    'location' => 'path',
 885                    'type' => 'string',
 886                    'required' => true,
 887                  ),
 888                ),
 889              ),'insert' => array(
 890                'path' => 'files/{fileId}/permissions',
 891                'httpMethod' => 'POST',
 892                'parameters' => array(
 893                  'fileId' => array(
 894                    'location' => 'path',
 895                    'type' => 'string',
 896                    'required' => true,
 897                  ),
 898                  'emailMessage' => array(
 899                    'location' => 'query',
 900                    'type' => 'string',
 901                  ),
 902                  'sendNotificationEmails' => array(
 903                    'location' => 'query',
 904                    'type' => 'boolean',
 905                  ),
 906                ),
 907              ),'list' => array(
 908                'path' => 'files/{fileId}/permissions',
 909                'httpMethod' => 'GET',
 910                'parameters' => array(
 911                  'fileId' => array(
 912                    'location' => 'path',
 913                    'type' => 'string',
 914                    'required' => true,
 915                  ),
 916                ),
 917              ),'patch' => array(
 918                'path' => 'files/{fileId}/permissions/{permissionId}',
 919                'httpMethod' => 'PATCH',
 920                'parameters' => array(
 921                  'fileId' => array(
 922                    'location' => 'path',
 923                    'type' => 'string',
 924                    'required' => true,
 925                  ),
 926                  'permissionId' => array(
 927                    'location' => 'path',
 928                    'type' => 'string',
 929                    'required' => true,
 930                  ),
 931                  'transferOwnership' => array(
 932                    'location' => 'query',
 933                    'type' => 'boolean',
 934                  ),
 935                ),
 936              ),'update' => array(
 937                'path' => 'files/{fileId}/permissions/{permissionId}',
 938                'httpMethod' => 'PUT',
 939                'parameters' => array(
 940                  'fileId' => array(
 941                    'location' => 'path',
 942                    'type' => 'string',
 943                    'required' => true,
 944                  ),
 945                  'permissionId' => array(
 946                    'location' => 'path',
 947                    'type' => 'string',
 948                    'required' => true,
 949                  ),
 950                  'transferOwnership' => array(
 951                    'location' => 'query',
 952                    'type' => 'boolean',
 953                  ),
 954                ),
 955              ),
 956            )
 957          )
 958      );
 959      $this->properties = new Google_Service_Drive_Properties_Resource(
 960          $this,
 961          $this->serviceName,
 962          'properties',
 963          array(
 964            'methods' => array(
 965              'delete' => array(
 966                'path' => 'files/{fileId}/properties/{propertyKey}',
 967                'httpMethod' => 'DELETE',
 968                'parameters' => array(
 969                  'fileId' => array(
 970                    'location' => 'path',
 971                    'type' => 'string',
 972                    'required' => true,
 973                  ),
 974                  'propertyKey' => array(
 975                    'location' => 'path',
 976                    'type' => 'string',
 977                    'required' => true,
 978                  ),
 979                  'visibility' => array(
 980                    'location' => 'query',
 981                    'type' => 'string',
 982                  ),
 983                ),
 984              ),'get' => array(
 985                'path' => 'files/{fileId}/properties/{propertyKey}',
 986                'httpMethod' => 'GET',
 987                'parameters' => array(
 988                  'fileId' => array(
 989                    'location' => 'path',
 990                    'type' => 'string',
 991                    'required' => true,
 992                  ),
 993                  'propertyKey' => array(
 994                    'location' => 'path',
 995                    'type' => 'string',
 996                    'required' => true,
 997                  ),
 998                  'visibility' => array(
 999                    'location' => 'query',
1000                    'type' => 'string',
1001                  ),
1002                ),
1003              ),'insert' => array(
1004                'path' => 'files/{fileId}/properties',
1005                'httpMethod' => 'POST',
1006                'parameters' => array(
1007                  'fileId' => array(
1008                    'location' => 'path',
1009                    'type' => 'string',
1010                    'required' => true,
1011                  ),
1012                ),
1013              ),'list' => array(
1014                'path' => 'files/{fileId}/properties',
1015                'httpMethod' => 'GET',
1016                'parameters' => array(
1017                  'fileId' => array(
1018                    'location' => 'path',
1019                    'type' => 'string',
1020                    'required' => true,
1021                  ),
1022                ),
1023              ),'patch' => array(
1024                'path' => 'files/{fileId}/properties/{propertyKey}',
1025                'httpMethod' => 'PATCH',
1026                'parameters' => array(
1027                  'fileId' => array(
1028                    'location' => 'path',
1029                    'type' => 'string',
1030                    'required' => true,
1031                  ),
1032                  'propertyKey' => array(
1033                    'location' => 'path',
1034                    'type' => 'string',
1035                    'required' => true,
1036                  ),
1037                  'visibility' => array(
1038                    'location' => 'query',
1039                    'type' => 'string',
1040                  ),
1041                ),
1042              ),'update' => array(
1043                'path' => 'files/{fileId}/properties/{propertyKey}',
1044                'httpMethod' => 'PUT',
1045                'parameters' => array(
1046                  'fileId' => array(
1047                    'location' => 'path',
1048                    'type' => 'string',
1049                    'required' => true,
1050                  ),
1051                  'propertyKey' => array(
1052                    'location' => 'path',
1053                    'type' => 'string',
1054                    'required' => true,
1055                  ),
1056                  'visibility' => array(
1057                    'location' => 'query',
1058                    'type' => 'string',
1059                  ),
1060                ),
1061              ),
1062            )
1063          )
1064      );
1065      $this->realtime = new Google_Service_Drive_Realtime_Resource(
1066          $this,
1067          $this->serviceName,
1068          'realtime',
1069          array(
1070            'methods' => array(
1071              'get' => array(
1072                'path' => 'files/{fileId}/realtime',
1073                'httpMethod' => 'GET',
1074                'parameters' => array(
1075                  'fileId' => array(
1076                    'location' => 'path',
1077                    'type' => 'string',
1078                    'required' => true,
1079                  ),
1080                  'revision' => array(
1081                    'location' => 'query',
1082                    'type' => 'integer',
1083                  ),
1084                ),
1085              ),'update' => array(
1086                'path' => 'files/{fileId}/realtime',
1087                'httpMethod' => 'PUT',
1088                'parameters' => array(
1089                  'fileId' => array(
1090                    'location' => 'path',
1091                    'type' => 'string',
1092                    'required' => true,
1093                  ),
1094                  'baseRevision' => array(
1095                    'location' => 'query',
1096                    'type' => 'string',
1097                  ),
1098                ),
1099              ),
1100            )
1101          )
1102      );
1103      $this->replies = new Google_Service_Drive_Replies_Resource(
1104          $this,
1105          $this->serviceName,
1106          'replies',
1107          array(
1108            'methods' => array(
1109              'delete' => array(
1110                'path' => 'files/{fileId}/comments/{commentId}/replies/{replyId}',
1111                'httpMethod' => 'DELETE',
1112                'parameters' => array(
1113                  'fileId' => array(
1114                    'location' => 'path',
1115                    'type' => 'string',
1116                    'required' => true,
1117                  ),
1118                  'commentId' => array(
1119                    'location' => 'path',
1120                    'type' => 'string',
1121                    'required' => true,
1122                  ),
1123                  'replyId' => array(
1124                    'location' => 'path',
1125                    'type' => 'string',
1126                    'required' => true,
1127                  ),
1128                ),
1129              ),'get' => array(
1130                'path' => 'files/{fileId}/comments/{commentId}/replies/{replyId}',
1131                'httpMethod' => 'GET',
1132                'parameters' => array(
1133                  'fileId' => array(
1134                    'location' => 'path',
1135                    'type' => 'string',
1136                    'required' => true,
1137                  ),
1138                  'commentId' => array(
1139                    'location' => 'path',
1140                    'type' => 'string',
1141                    'required' => true,
1142                  ),
1143                  'replyId' => array(
1144                    'location' => 'path',
1145                    'type' => 'string',
1146                    'required' => true,
1147                  ),
1148                  'includeDeleted' => array(
1149                    'location' => 'query',
1150                    'type' => 'boolean',
1151                  ),
1152                ),
1153              ),'insert' => array(
1154                'path' => 'files/{fileId}/comments/{commentId}/replies',
1155                'httpMethod' => 'POST',
1156                'parameters' => array(
1157                  'fileId' => array(
1158                    'location' => 'path',
1159                    'type' => 'string',
1160                    'required' => true,
1161                  ),
1162                  'commentId' => array(
1163                    'location' => 'path',
1164                    'type' => 'string',
1165                    'required' => true,
1166                  ),
1167                ),
1168              ),'list' => array(
1169                'path' => 'files/{fileId}/comments/{commentId}/replies',
1170                'httpMethod' => 'GET',
1171                'parameters' => array(
1172                  'fileId' => array(
1173                    'location' => 'path',
1174                    'type' => 'string',
1175                    'required' => true,
1176                  ),
1177                  'commentId' => array(
1178                    'location' => 'path',
1179                    'type' => 'string',
1180                    'required' => true,
1181                  ),
1182                  'pageToken' => array(
1183                    'location' => 'query',
1184                    'type' => 'string',
1185                  ),
1186                  'includeDeleted' => array(
1187                    'location' => 'query',
1188                    'type' => 'boolean',
1189                  ),
1190                  'maxResults' => array(
1191                    'location' => 'query',
1192                    'type' => 'integer',
1193                  ),
1194                ),
1195              ),'patch' => array(
1196                'path' => 'files/{fileId}/comments/{commentId}/replies/{replyId}',
1197                'httpMethod' => 'PATCH',
1198                'parameters' => array(
1199                  'fileId' => array(
1200                    'location' => 'path',
1201                    'type' => 'string',
1202                    'required' => true,
1203                  ),
1204                  'commentId' => array(
1205                    'location' => 'path',
1206                    'type' => 'string',
1207                    'required' => true,
1208                  ),
1209                  'replyId' => array(
1210                    'location' => 'path',
1211                    'type' => 'string',
1212                    'required' => true,
1213                  ),
1214                ),
1215              ),'update' => array(
1216                'path' => 'files/{fileId}/comments/{commentId}/replies/{replyId}',
1217                'httpMethod' => 'PUT',
1218                'parameters' => array(
1219                  'fileId' => array(
1220                    'location' => 'path',
1221                    'type' => 'string',
1222                    'required' => true,
1223                  ),
1224                  'commentId' => array(
1225                    'location' => 'path',
1226                    'type' => 'string',
1227                    'required' => true,
1228                  ),
1229                  'replyId' => array(
1230                    'location' => 'path',
1231                    'type' => 'string',
1232                    'required' => true,
1233                  ),
1234                ),
1235              ),
1236            )
1237          )
1238      );
1239      $this->revisions = new Google_Service_Drive_Revisions_Resource(
1240          $this,
1241          $this->serviceName,
1242          'revisions',
1243          array(
1244            'methods' => array(
1245              'delete' => array(
1246                'path' => 'files/{fileId}/revisions/{revisionId}',
1247                'httpMethod' => 'DELETE',
1248                'parameters' => array(
1249                  'fileId' => array(
1250                    'location' => 'path',
1251                    'type' => 'string',
1252                    'required' => true,
1253                  ),
1254                  'revisionId' => array(
1255                    'location' => 'path',
1256                    'type' => 'string',
1257                    'required' => true,
1258                  ),
1259                ),
1260              ),'get' => array(
1261                'path' => 'files/{fileId}/revisions/{revisionId}',
1262                'httpMethod' => 'GET',
1263                'parameters' => array(
1264                  'fileId' => array(
1265                    'location' => 'path',
1266                    'type' => 'string',
1267                    'required' => true,
1268                  ),
1269                  'revisionId' => array(
1270                    'location' => 'path',
1271                    'type' => 'string',
1272                    'required' => true,
1273                  ),
1274                ),
1275              ),'list' => array(
1276                'path' => 'files/{fileId}/revisions',
1277                'httpMethod' => 'GET',
1278                'parameters' => array(
1279                  'fileId' => array(
1280                    'location' => 'path',
1281                    'type' => 'string',
1282                    'required' => true,
1283                  ),
1284                ),
1285              ),'patch' => array(
1286                'path' => 'files/{fileId}/revisions/{revisionId}',
1287                'httpMethod' => 'PATCH',
1288                'parameters' => array(
1289                  'fileId' => array(
1290                    'location' => 'path',
1291                    'type' => 'string',
1292                    'required' => true,
1293                  ),
1294                  'revisionId' => array(
1295                    'location' => 'path',
1296                    'type' => 'string',
1297                    'required' => true,
1298                  ),
1299                ),
1300              ),'update' => array(
1301                'path' => 'files/{fileId}/revisions/{revisionId}',
1302                'httpMethod' => 'PUT',
1303                'parameters' => array(
1304                  'fileId' => array(
1305                    'location' => 'path',
1306                    'type' => 'string',
1307                    'required' => true,
1308                  ),
1309                  'revisionId' => array(
1310                    'location' => 'path',
1311                    'type' => 'string',
1312                    'required' => true,
1313                  ),
1314                ),
1315              ),
1316            )
1317          )
1318      );
1319    }
1320  }
1321  
1322  
1323  /**
1324   * The "about" collection of methods.
1325   * Typical usage is:
1326   *  <code>
1327   *   $driveService = new Google_Service_Drive(...);
1328   *   $about = $driveService->about;
1329   *  </code>
1330   */
1331  #[AllowDynamicProperties]
1332  class Google_Service_Drive_About_Resource extends Google_Service_Resource
1333  {
1334  
1335    /**
1336     * Gets the information about the current user along with Drive API settings
1337     * (about.get)
1338     *
1339     * @param array $optParams Optional parameters.
1340     *
1341     * @opt_param bool includeSubscribed When calculating the number of remaining
1342     * change IDs, whether to include public files the user has opened and shared
1343     * files. When set to false, this counts only change IDs for owned files and any
1344     * shared or public files that the user has explicitly added to a folder they
1345     * own.
1346     * @opt_param string maxChangeIdCount Maximum number of remaining change IDs to
1347     * count
1348     * @opt_param string startChangeId Change ID to start counting from when
1349     * calculating number of remaining change IDs
1350     * @return Google_Service_Drive_About
1351     */
1352    public function get($optParams = array())
1353    {
1354      $params = array();
1355      $params = array_merge($params, $optParams);
1356      return $this->call('get', array($params), "Google_Service_Drive_About");
1357    }
1358  }
1359  
1360  /**
1361   * The "apps" collection of methods.
1362   * Typical usage is:
1363   *  <code>
1364   *   $driveService = new Google_Service_Drive(...);
1365   *   $apps = $driveService->apps;
1366   *  </code>
1367   */
1368  #[AllowDynamicProperties]
1369  class Google_Service_Drive_Apps_Resource extends Google_Service_Resource
1370  {
1371  
1372    /**
1373     * Gets a specific app. (apps.get)
1374     *
1375     * @param string $appId The ID of the app.
1376     * @param array $optParams Optional parameters.
1377     * @return Google_Service_Drive_App
1378     */
1379    public function get($appId, $optParams = array())
1380    {
1381      $params = array('appId' => $appId);
1382      $params = array_merge($params, $optParams);
1383      return $this->call('get', array($params), "Google_Service_Drive_App");
1384    }
1385  
1386    /**
1387     * Lists a user's installed apps. (apps.listApps)
1388     *
1389     * @param array $optParams Optional parameters.
1390     *
1391     * @opt_param string languageCode A language or locale code, as defined by BCP
1392     * 47, with some extensions from Unicode's LDML format
1393     * (http://www.unicode.org/reports/tr35/).
1394     * @opt_param string appFilterExtensions A comma-separated list of file
1395     * extensions for open with filtering. All apps within the given app query scope
1396     * which can open any of the given file extensions will be included in the
1397     * response. If appFilterMimeTypes are provided as well, the result is a union
1398     * of the two resulting app lists.
1399     * @opt_param string appFilterMimeTypes A comma-separated list of MIME types for
1400     * open with filtering. All apps within the given app query scope which can open
1401     * any of the given MIME types will be included in the response. If
1402     * appFilterExtensions are provided as well, the result is a union of the two
1403     * resulting app lists.
1404     * @return Google_Service_Drive_AppList
1405     */
1406    public function listApps($optParams = array())
1407    {
1408      $params = array();
1409      $params = array_merge($params, $optParams);
1410      return $this->call('list', array($params), "Google_Service_Drive_AppList");
1411    }
1412  }
1413  
1414  /**
1415   * The "changes" collection of methods.
1416   * Typical usage is:
1417   *  <code>
1418   *   $driveService = new Google_Service_Drive(...);
1419   *   $changes = $driveService->changes;
1420   *  </code>
1421   */
1422  #[AllowDynamicProperties]
1423  class Google_Service_Drive_Changes_Resource extends Google_Service_Resource
1424  {
1425  
1426    /**
1427     * Gets a specific change. (changes.get)
1428     *
1429     * @param string $changeId The ID of the change.
1430     * @param array $optParams Optional parameters.
1431     * @return Google_Service_Drive_Change
1432     */
1433    public function get($changeId, $optParams = array())
1434    {
1435      $params = array('changeId' => $changeId);
1436      $params = array_merge($params, $optParams);
1437      return $this->call('get', array($params), "Google_Service_Drive_Change");
1438    }
1439  
1440    /**
1441     * Lists the changes for a user. (changes.listChanges)
1442     *
1443     * @param array $optParams Optional parameters.
1444     *
1445     * @opt_param bool includeSubscribed Whether to include public files the user
1446     * has opened and shared files. When set to false, the list only includes owned
1447     * files plus any shared or public files the user has explicitly added to a
1448     * folder they own.
1449     * @opt_param bool includeDeleted Whether to include deleted items.
1450     * @opt_param int maxResults Maximum number of changes to return.
1451     * @opt_param string pageToken Page token for changes.
1452     * @opt_param string spaces A comma-separated list of spaces to query. Supported
1453     * values are 'drive', 'appDataFolder' and 'photos'.
1454     * @opt_param string startChangeId Change ID to start listing changes from.
1455     * @return Google_Service_Drive_ChangeList
1456     */
1457    public function listChanges($optParams = array())
1458    {
1459      $params = array();
1460      $params = array_merge($params, $optParams);
1461      return $this->call('list', array($params), "Google_Service_Drive_ChangeList");
1462    }
1463  
1464    /**
1465     * Subscribe to changes for a user. (changes.watch)
1466     *
1467     * @param Google_Channel $postBody
1468     * @param array $optParams Optional parameters.
1469     *
1470     * @opt_param bool includeSubscribed Whether to include public files the user
1471     * has opened and shared files. When set to false, the list only includes owned
1472     * files plus any shared or public files the user has explicitly added to a
1473     * folder they own.
1474     * @opt_param bool includeDeleted Whether to include deleted items.
1475     * @opt_param int maxResults Maximum number of changes to return.
1476     * @opt_param string pageToken Page token for changes.
1477     * @opt_param string spaces A comma-separated list of spaces to query. Supported
1478     * values are 'drive', 'appDataFolder' and 'photos'.
1479     * @opt_param string startChangeId Change ID to start listing changes from.
1480     * @return Google_Service_Drive_Channel
1481     */
1482    public function watch(Google_Service_Drive_Channel $postBody, $optParams = array())
1483    {
1484      $params = array('postBody' => $postBody);
1485      $params = array_merge($params, $optParams);
1486      return $this->call('watch', array($params), "Google_Service_Drive_Channel");
1487    }
1488  }
1489  
1490  /**
1491   * The "channels" collection of methods.
1492   * Typical usage is:
1493   *  <code>
1494   *   $driveService = new Google_Service_Drive(...);
1495   *   $channels = $driveService->channels;
1496   *  </code>
1497   */
1498  #[AllowDynamicProperties]
1499  class Google_Service_Drive_Channels_Resource extends Google_Service_Resource
1500  {
1501  
1502    /**
1503     * Stop watching resources through this channel (channels.stop)
1504     *
1505     * @param Google_Channel $postBody
1506     * @param array $optParams Optional parameters.
1507     */
1508    public function stop(Google_Service_Drive_Channel $postBody, $optParams = array())
1509    {
1510      $params = array('postBody' => $postBody);
1511      $params = array_merge($params, $optParams);
1512      return $this->call('stop', array($params));
1513    }
1514  }
1515  
1516  /**
1517   * The "children" collection of methods.
1518   * Typical usage is:
1519   *  <code>
1520   *   $driveService = new Google_Service_Drive(...);
1521   *   $children = $driveService->children;
1522   *  </code>
1523   */
1524  #[AllowDynamicProperties]
1525  class Google_Service_Drive_Children_Resource extends Google_Service_Resource
1526  {
1527  
1528    /**
1529     * Removes a child from a folder. (children.delete)
1530     *
1531     * @param string $folderId The ID of the folder.
1532     * @param string $childId The ID of the child.
1533     * @param array $optParams Optional parameters.
1534     */
1535    public function delete($folderId, $childId, $optParams = array())
1536    {
1537      $params = array('folderId' => $folderId, 'childId' => $childId);
1538      $params = array_merge($params, $optParams);
1539      return $this->call('delete', array($params));
1540    }
1541  
1542    /**
1543     * Gets a specific child reference. (children.get)
1544     *
1545     * @param string $folderId The ID of the folder.
1546     * @param string $childId The ID of the child.
1547     * @param array $optParams Optional parameters.
1548     * @return Google_Service_Drive_ChildReference
1549     */
1550    public function get($folderId, $childId, $optParams = array())
1551    {
1552      $params = array('folderId' => $folderId, 'childId' => $childId);
1553      $params = array_merge($params, $optParams);
1554      return $this->call('get', array($params), "Google_Service_Drive_ChildReference");
1555    }
1556  
1557    /**
1558     * Inserts a file into a folder. (children.insert)
1559     *
1560     * @param string $folderId The ID of the folder.
1561     * @param Google_ChildReference $postBody
1562     * @param array $optParams Optional parameters.
1563     * @return Google_Service_Drive_ChildReference
1564     */
1565    public function insert($folderId, Google_Service_Drive_ChildReference $postBody, $optParams = array())
1566    {
1567      $params = array('folderId' => $folderId, 'postBody' => $postBody);
1568      $params = array_merge($params, $optParams);
1569      return $this->call('insert', array($params), "Google_Service_Drive_ChildReference");
1570    }
1571  
1572    /**
1573     * Lists a folder's children. (children.listChildren)
1574     *
1575     * @param string $folderId The ID of the folder.
1576     * @param array $optParams Optional parameters.
1577     *
1578     * @opt_param string orderBy A comma-separated list of sort keys. Valid keys are
1579     * 'createdDate', 'folder', 'lastViewedByMeDate', 'modifiedByMeDate',
1580     * 'modifiedDate', 'quotaBytesUsed', 'recency', 'sharedWithMeDate', 'starred',
1581     * and 'title'. Each key sorts ascending by default, but may be reversed with
1582     * the 'desc' modifier. Example usage: ?orderBy=folder,modifiedDate desc,title.
1583     * Please note that there is a current limitation for users with approximately
1584     * one million files in which the requested sort order is ignored.
1585     * @opt_param string pageToken Page token for children.
1586     * @opt_param string q Query string for searching children.
1587     * @opt_param int maxResults Maximum number of children to return.
1588     * @return Google_Service_Drive_ChildList
1589     */
1590    public function listChildren($folderId, $optParams = array())
1591    {
1592      $params = array('folderId' => $folderId);
1593      $params = array_merge($params, $optParams);
1594      return $this->call('list', array($params), "Google_Service_Drive_ChildList");
1595    }
1596  }
1597  
1598  /**
1599   * The "comments" collection of methods.
1600   * Typical usage is:
1601   *  <code>
1602   *   $driveService = new Google_Service_Drive(...);
1603   *   $comments = $driveService->comments;
1604   *  </code>
1605   */
1606  #[AllowDynamicProperties]
1607  class Google_Service_Drive_Comments_Resource extends Google_Service_Resource
1608  {
1609  
1610    /**
1611     * Deletes a comment. (comments.delete)
1612     *
1613     * @param string $fileId The ID of the file.
1614     * @param string $commentId The ID of the comment.
1615     * @param array $optParams Optional parameters.
1616     */
1617    public function delete($fileId, $commentId, $optParams = array())
1618    {
1619      $params = array('fileId' => $fileId, 'commentId' => $commentId);
1620      $params = array_merge($params, $optParams);
1621      return $this->call('delete', array($params));
1622    }
1623  
1624    /**
1625     * Gets a comment by ID. (comments.get)
1626     *
1627     * @param string $fileId The ID of the file.
1628     * @param string $commentId The ID of the comment.
1629     * @param array $optParams Optional parameters.
1630     *
1631     * @opt_param bool includeDeleted If set, this will succeed when retrieving a
1632     * deleted comment, and will include any deleted replies.
1633     * @return Google_Service_Drive_Comment
1634     */
1635    public function get($fileId, $commentId, $optParams = array())
1636    {
1637      $params = array('fileId' => $fileId, 'commentId' => $commentId);
1638      $params = array_merge($params, $optParams);
1639      return $this->call('get', array($params), "Google_Service_Drive_Comment");
1640    }
1641  
1642    /**
1643     * Creates a new comment on the given file. (comments.insert)
1644     *
1645     * @param string $fileId The ID of the file.
1646     * @param Google_Comment $postBody
1647     * @param array $optParams Optional parameters.
1648     * @return Google_Service_Drive_Comment
1649     */
1650    public function insert($fileId, Google_Service_Drive_Comment $postBody, $optParams = array())
1651    {
1652      $params = array('fileId' => $fileId, 'postBody' => $postBody);
1653      $params = array_merge($params, $optParams);
1654      return $this->call('insert', array($params), "Google_Service_Drive_Comment");
1655    }
1656  
1657    /**
1658     * Lists a file's comments. (comments.listComments)
1659     *
1660     * @param string $fileId The ID of the file.
1661     * @param array $optParams Optional parameters.
1662     *
1663     * @opt_param string pageToken The continuation token, used to page through
1664     * large result sets. To get the next page of results, set this parameter to the
1665     * value of "nextPageToken" from the previous response.
1666     * @opt_param string updatedMin Only discussions that were updated after this
1667     * timestamp will be returned. Formatted as an RFC 3339 timestamp.
1668     * @opt_param bool includeDeleted If set, all comments and replies, including
1669     * deleted comments and replies (with content stripped) will be returned.
1670     * @opt_param int maxResults The maximum number of discussions to include in the
1671     * response, used for paging.
1672     * @return Google_Service_Drive_CommentList
1673     */
1674    public function listComments($fileId, $optParams = array())
1675    {
1676      $params = array('fileId' => $fileId);
1677      $params = array_merge($params, $optParams);
1678      return $this->call('list', array($params), "Google_Service_Drive_CommentList");
1679    }
1680  
1681    /**
1682     * Updates an existing comment. This method supports patch semantics.
1683     * (comments.patch)
1684     *
1685     * @param string $fileId The ID of the file.
1686     * @param string $commentId The ID of the comment.
1687     * @param Google_Comment $postBody
1688     * @param array $optParams Optional parameters.
1689     * @return Google_Service_Drive_Comment
1690     */
1691    public function patch($fileId, $commentId, Google_Service_Drive_Comment $postBody, $optParams = array())
1692    {
1693      $params = array('fileId' => $fileId, 'commentId' => $commentId, 'postBody' => $postBody);
1694      $params = array_merge($params, $optParams);
1695      return $this->call('patch', array($params), "Google_Service_Drive_Comment");
1696    }
1697  
1698    /**
1699     * Updates an existing comment. (comments.update)
1700     *
1701     * @param string $fileId The ID of the file.
1702     * @param string $commentId The ID of the comment.
1703     * @param Google_Comment $postBody
1704     * @param array $optParams Optional parameters.
1705     * @return Google_Service_Drive_Comment
1706     */
1707    public function update($fileId, $commentId, Google_Service_Drive_Comment $postBody, $optParams = array())
1708    {
1709      $params = array('fileId' => $fileId, 'commentId' => $commentId, 'postBody' => $postBody);
1710      $params = array_merge($params, $optParams);
1711      return $this->call('update', array($params), "Google_Service_Drive_Comment");
1712    }
1713  }
1714  
1715  /**
1716   * The "files" collection of methods.
1717   * Typical usage is:
1718   *  <code>
1719   *   $driveService = new Google_Service_Drive(...);
1720   *   $files = $driveService->files;
1721   *  </code>
1722   */
1723  #[AllowDynamicProperties]
1724  class Google_Service_Drive_Files_Resource extends Google_Service_Resource
1725  {
1726  
1727    /**
1728     * Creates a copy of the specified file. (files.copy)
1729     *
1730     * @param string $fileId The ID of the file to copy.
1731     * @param Google_DriveFile $postBody
1732     * @param array $optParams Optional parameters.
1733     *
1734     * @opt_param bool convert Whether to convert this file to the corresponding
1735     * Google Docs format.
1736     * @opt_param string ocrLanguage If ocr is true, hints at the language to use.
1737     * Valid values are BCP 47 codes.
1738     * @opt_param string visibility The visibility of the new file. This parameter
1739     * is only relevant when the source is not a native Google Doc and
1740     * convert=false.
1741     * @opt_param bool pinned Whether to pin the head revision of the new copy. A
1742     * file can have a maximum of 200 pinned revisions.
1743     * @opt_param bool ocr Whether to attempt OCR on .jpg, .png, .gif, or .pdf
1744     * uploads.
1745     * @opt_param string timedTextTrackName The timed text track name.
1746     * @opt_param string timedTextLanguage The language of the timed text.
1747     * @return Google_Service_Drive_DriveFile
1748     */
1749    public function copy($fileId, Google_Service_Drive_DriveFile $postBody, $optParams = array())
1750    {
1751      $params = array('fileId' => $fileId, 'postBody' => $postBody);
1752      $params = array_merge($params, $optParams);
1753      return $this->call('copy', array($params), "Google_Service_Drive_DriveFile");
1754    }
1755  
1756    /**
1757     * Permanently deletes a file by ID. Skips the trash. The currently
1758     * authenticated user must own the file. (files.delete)
1759     *
1760     * @param string $fileId The ID of the file to delete.
1761     * @param array $optParams Optional parameters.
1762     */
1763    public function delete($fileId, $optParams = array())
1764    {
1765      $params = array('fileId' => $fileId);
1766      $params = array_merge($params, $optParams);
1767      return $this->call('delete', array($params));
1768    }
1769  
1770    /**
1771     * Permanently deletes all of the user's trashed files. (files.emptyTrash)
1772     *
1773     * @param array $optParams Optional parameters.
1774     */
1775    public function emptyTrash($optParams = array())
1776    {
1777      $params = array();
1778      $params = array_merge($params, $optParams);
1779      return $this->call('emptyTrash', array($params));
1780    }
1781  
1782    /**
1783     * Generates a set of file IDs which can be provided in insert requests.
1784     * (files.generateIds)
1785     *
1786     * @param array $optParams Optional parameters.
1787     *
1788     * @opt_param int maxResults Maximum number of IDs to return.
1789     * @opt_param string space The space in which the IDs can be used to create new
1790     * files. Supported values are 'drive' and 'appDataFolder'.
1791     * @return Google_Service_Drive_GeneratedIds
1792     */
1793    public function generateIds($optParams = array())
1794    {
1795      $params = array();
1796      $params = array_merge($params, $optParams);
1797      return $this->call('generateIds', array($params), "Google_Service_Drive_GeneratedIds");
1798    }
1799  
1800    /**
1801     * Gets a file's metadata by ID. (files.get)
1802     *
1803     * @param string $fileId The ID for the file in question.
1804     * @param array $optParams Optional parameters.
1805     *
1806     * @opt_param bool acknowledgeAbuse Whether the user is acknowledging the risk
1807     * of downloading known malware or other abusive files.
1808     * @opt_param bool updateViewedDate Deprecated: Use files.update with
1809     * modifiedDateBehavior=noChange, updateViewedDate=true and an empty request
1810     * body.
1811     * @opt_param string revisionId Specifies the Revision ID that should be
1812     * downloaded. Ignored unless alt=media is specified.
1813     * @opt_param string projection This parameter is deprecated and has no
1814     * function.
1815     * @return Google_Service_Drive_DriveFile
1816     */
1817    public function get($fileId, $optParams = array())
1818    {
1819      $params = array('fileId' => $fileId);
1820      $params = array_merge($params, $optParams);
1821      return $this->call('get', array($params), "Google_Service_Drive_DriveFile");
1822    }
1823  
1824    /**
1825     * Insert a new file. (files.insert)
1826     *
1827     * @param Google_DriveFile $postBody
1828     * @param array $optParams Optional parameters.
1829     *
1830     * @opt_param bool convert Whether to convert this file to the corresponding
1831     * Google Docs format.
1832     * @opt_param bool useContentAsIndexableText Whether to use the content as
1833     * indexable text.
1834     * @opt_param string ocrLanguage If ocr is true, hints at the language to use.
1835     * Valid values are BCP 47 codes.
1836     * @opt_param string visibility The visibility of the new file. This parameter
1837     * is only relevant when convert=false.
1838     * @opt_param bool pinned Whether to pin the head revision of the uploaded file.
1839     * A file can have a maximum of 200 pinned revisions.
1840     * @opt_param bool ocr Whether to attempt OCR on .jpg, .png, .gif, or .pdf
1841     * uploads.
1842     * @opt_param string timedTextTrackName The timed text track name.
1843     * @opt_param string timedTextLanguage The language of the timed text.
1844     * @return Google_Service_Drive_DriveFile
1845     */
1846    public function insert(Google_Service_Drive_DriveFile $postBody, $optParams = array())
1847    {
1848      $params = array('postBody' => $postBody);
1849      $params = array_merge($params, $optParams);
1850      return $this->call('insert', array($params), "Google_Service_Drive_DriveFile");
1851    }
1852  
1853    /**
1854     * Lists the user's files. (files.listFiles)
1855     *
1856     * @param array $optParams Optional parameters.
1857     *
1858     * @opt_param string orderBy A comma-separated list of sort keys. Valid keys are
1859     * 'createdDate', 'folder', 'lastViewedByMeDate', 'modifiedByMeDate',
1860     * 'modifiedDate', 'quotaBytesUsed', 'recency', 'sharedWithMeDate', 'starred',
1861     * and 'title'. Each key sorts ascending by default, but may be reversed with
1862     * the 'desc' modifier. Example usage: ?orderBy=folder,modifiedDate desc,title.
1863     * Please note that there is a current limitation for users with approximately
1864     * one million files in which the requested sort order is ignored.
1865     * @opt_param string projection This parameter is deprecated and has no
1866     * function.
1867     * @opt_param int maxResults Maximum number of files to return.
1868     * @opt_param string q Query string for searching files.
1869     * @opt_param string pageToken Page token for files.
1870     * @opt_param string spaces A comma-separated list of spaces to query. Supported
1871     * values are 'drive', 'appDataFolder' and 'photos'.
1872     * @opt_param string corpus The body of items (files/documents) to which the
1873     * query applies.
1874     * @return Google_Service_Drive_FileList
1875     */
1876    public function listFiles($optParams = array())
1877    {
1878      $params = array();
1879      $params = array_merge($params, $optParams);
1880      return $this->call('list', array($params), "Google_Service_Drive_FileList");
1881    }
1882  
1883    /**
1884     * Updates file metadata and/or content. This method supports patch semantics.
1885     * (files.patch)
1886     *
1887     * @param string $fileId The ID of the file to update.
1888     * @param Google_DriveFile $postBody
1889     * @param array $optParams Optional parameters.
1890     *
1891     * @opt_param string addParents Comma-separated list of parent IDs to add.
1892     * @opt_param string modifiedDateBehavior Determines the behavior in which
1893     * modifiedDate is updated. This overrides setModifiedDate.
1894     * @opt_param string removeParents Comma-separated list of parent IDs to remove.
1895     * @opt_param bool updateViewedDate Whether to update the view date after
1896     * successfully updating the file.
1897     * @opt_param bool setModifiedDate Whether to set the modified date with the
1898     * supplied modified date.
1899     * @opt_param bool useContentAsIndexableText Whether to use the content as
1900     * indexable text.
1901     * @opt_param bool convert This parameter is deprecated and has no function.
1902     * @opt_param string ocrLanguage If ocr is true, hints at the language to use.
1903     * Valid values are BCP 47 codes.
1904     * @opt_param bool pinned Whether to pin the new revision. A file can have a
1905     * maximum of 200 pinned revisions.
1906     * @opt_param bool newRevision Whether a blob upload should create a new
1907     * revision. If false, the blob data in the current head revision is replaced.
1908     * If true or not set, a new blob is created as head revision, and previous
1909     * unpinned revisions are preserved for a short period of time. Pinned revisions
1910     * are stored indefinitely, using additional storage quota, up to a maximum of
1911     * 200 revisions. For details on how revisions are retained, see the Drive Help
1912     * Center.
1913     * @opt_param bool ocr Whether to attempt OCR on .jpg, .png, .gif, or .pdf
1914     * uploads.
1915     * @opt_param string timedTextLanguage The language of the timed text.
1916     * @opt_param string timedTextTrackName The timed text track name.
1917     * @return Google_Service_Drive_DriveFile
1918     */
1919    public function patch($fileId, Google_Service_Drive_DriveFile $postBody, $optParams = array())
1920    {
1921      $params = array('fileId' => $fileId, 'postBody' => $postBody);
1922      $params = array_merge($params, $optParams);
1923      return $this->call('patch', array($params), "Google_Service_Drive_DriveFile");
1924    }
1925  
1926    /**
1927     * Set the file's updated time to the current server time. (files.touch)
1928     *
1929     * @param string $fileId The ID of the file to update.
1930     * @param array $optParams Optional parameters.
1931     * @return Google_Service_Drive_DriveFile
1932     */
1933    public function touch($fileId, $optParams = array())
1934    {
1935      $params = array('fileId' => $fileId);
1936      $params = array_merge($params, $optParams);
1937      return $this->call('touch', array($params), "Google_Service_Drive_DriveFile");
1938    }
1939  
1940    /**
1941     * Moves a file to the trash. The currently authenticated user must own the
1942     * file. (files.trash)
1943     *
1944     * @param string $fileId The ID of the file to trash.
1945     * @param array $optParams Optional parameters.
1946     * @return Google_Service_Drive_DriveFile
1947     */
1948    public function trash($fileId, $optParams = array())
1949    {
1950      $params = array('fileId' => $fileId);
1951      $params = array_merge($params, $optParams);
1952      return $this->call('trash', array($params), "Google_Service_Drive_DriveFile");
1953    }
1954  
1955    /**
1956     * Restores a file from the trash. (files.untrash)
1957     *
1958     * @param string $fileId The ID of the file to untrash.
1959     * @param array $optParams Optional parameters.
1960     * @return Google_Service_Drive_DriveFile
1961     */
1962    public function untrash($fileId, $optParams = array())
1963    {
1964      $params = array('fileId' => $fileId);
1965      $params = array_merge($params, $optParams);
1966      return $this->call('untrash', array($params), "Google_Service_Drive_DriveFile");
1967    }
1968  
1969    /**
1970     * Updates file metadata and/or content. (files.update)
1971     *
1972     * @param string $fileId The ID of the file to update.
1973     * @param Google_DriveFile $postBody
1974     * @param array $optParams Optional parameters.
1975     *
1976     * @opt_param string addParents Comma-separated list of parent IDs to add.
1977     * @opt_param string modifiedDateBehavior Determines the behavior in which
1978     * modifiedDate is updated. This overrides setModifiedDate.
1979     * @opt_param string removeParents Comma-separated list of parent IDs to remove.
1980     * @opt_param bool updateViewedDate Whether to update the view date after
1981     * successfully updating the file.
1982     * @opt_param bool setModifiedDate Whether to set the modified date with the
1983     * supplied modified date.
1984     * @opt_param bool useContentAsIndexableText Whether to use the content as
1985     * indexable text.
1986     * @opt_param bool convert This parameter is deprecated and has no function.
1987     * @opt_param string ocrLanguage If ocr is true, hints at the language to use.
1988     * Valid values are BCP 47 codes.
1989     * @opt_param bool pinned Whether to pin the new revision. A file can have a
1990     * maximum of 200 pinned revisions.
1991     * @opt_param bool newRevision Whether a blob upload should create a new
1992     * revision. If false, the blob data in the current head revision is replaced.
1993     * If true or not set, a new blob is created as head revision, and previous
1994     * unpinned revisions are preserved for a short period of time. Pinned revisions
1995     * are stored indefinitely, using additional storage quota, up to a maximum of
1996     * 200 revisions. For details on how revisions are retained, see the Drive Help
1997     * Center.
1998     * @opt_param bool ocr Whether to attempt OCR on .jpg, .png, .gif, or .pdf
1999     * uploads.
2000     * @opt_param string timedTextLanguage The language of the timed text.
2001     * @opt_param string timedTextTrackName The timed text track name.
2002     * @return Google_Service_Drive_DriveFile
2003     */
2004    public function update($fileId, Google_Service_Drive_DriveFile $postBody, $optParams = array())
2005    {
2006      $params = array('fileId' => $fileId, 'postBody' => $postBody);
2007      $params = array_merge($params, $optParams);
2008      return $this->call('update', array($params), "Google_Service_Drive_DriveFile");
2009    }
2010  
2011    /**
2012     * Subscribe to changes on a file (files.watch)
2013     *
2014     * @param string $fileId The ID for the file in question.
2015     * @param Google_Channel $postBody
2016     * @param array $optParams Optional parameters.
2017     *
2018     * @opt_param bool acknowledgeAbuse Whether the user is acknowledging the risk
2019     * of downloading known malware or other abusive files.
2020     * @opt_param bool updateViewedDate Deprecated: Use files.update with
2021     * modifiedDateBehavior=noChange, updateViewedDate=true and an empty request
2022     * body.
2023     * @opt_param string revisionId Specifies the Revision ID that should be
2024     * downloaded. Ignored unless alt=media is specified.
2025     * @opt_param string projection This parameter is deprecated and has no
2026     * function.
2027     * @return Google_Service_Drive_Channel
2028     */
2029    public function watch($fileId, Google_Service_Drive_Channel $postBody, $optParams = array())
2030    {
2031      $params = array('fileId' => $fileId, 'postBody' => $postBody);
2032      $params = array_merge($params, $optParams);
2033      return $this->call('watch', array($params), "Google_Service_Drive_Channel");
2034    }
2035  }
2036  
2037  /**
2038   * The "parents" collection of methods.
2039   * Typical usage is:
2040   *  <code>
2041   *   $driveService = new Google_Service_Drive(...);
2042   *   $parents = $driveService->parents;
2043   *  </code>
2044   */
2045  #[AllowDynamicProperties]
2046  class Google_Service_Drive_Parents_Resource extends Google_Service_Resource
2047  {
2048  
2049    /**
2050     * Removes a parent from a file. (parents.delete)
2051     *
2052     * @param string $fileId The ID of the file.
2053     * @param string $parentId The ID of the parent.
2054     * @param array $optParams Optional parameters.
2055     */
2056    public function delete($fileId, $parentId, $optParams = array())
2057    {
2058      $params = array('fileId' => $fileId, 'parentId' => $parentId);
2059      $params = array_merge($params, $optParams);
2060      return $this->call('delete', array($params));
2061    }
2062  
2063    /**
2064     * Gets a specific parent reference. (parents.get)
2065     *
2066     * @param string $fileId The ID of the file.
2067     * @param string $parentId The ID of the parent.
2068     * @param array $optParams Optional parameters.
2069     * @return Google_Service_Drive_ParentReference
2070     */
2071    public function get($fileId, $parentId, $optParams = array())
2072    {
2073      $params = array('fileId' => $fileId, 'parentId' => $parentId);
2074      $params = array_merge($params, $optParams);
2075      return $this->call('get', array($params), "Google_Service_Drive_ParentReference");
2076    }
2077  
2078    /**
2079     * Adds a parent folder for a file. (parents.insert)
2080     *
2081     * @param string $fileId The ID of the file.
2082     * @param Google_ParentReference $postBody
2083     * @param array $optParams Optional parameters.
2084     * @return Google_Service_Drive_ParentReference
2085     */
2086    public function insert($fileId, Google_Service_Drive_ParentReference $postBody, $optParams = array())
2087    {
2088      $params = array('fileId' => $fileId, 'postBody' => $postBody);
2089      $params = array_merge($params, $optParams);
2090      return $this->call('insert', array($params), "Google_Service_Drive_ParentReference");
2091    }
2092  
2093    /**
2094     * Lists a file's parents. (parents.listParents)
2095     *
2096     * @param string $fileId The ID of the file.
2097     * @param array $optParams Optional parameters.
2098     * @return Google_Service_Drive_ParentList
2099     */
2100    public function listParents($fileId, $optParams = array())
2101    {
2102      $params = array('fileId' => $fileId);
2103      $params = array_merge($params, $optParams);
2104      return $this->call('list', array($params), "Google_Service_Drive_ParentList");
2105    }
2106  }
2107  
2108  /**
2109   * The "permissions" collection of methods.
2110   * Typical usage is:
2111   *  <code>
2112   *   $driveService = new Google_Service_Drive(...);
2113   *   $permissions = $driveService->permissions;
2114   *  </code>
2115   */
2116  #[AllowDynamicProperties]
2117  class Google_Service_Drive_Permissions_Resource extends Google_Service_Resource
2118  {
2119  
2120    /**
2121     * Deletes a permission from a file. (permissions.delete)
2122     *
2123     * @param string $fileId The ID for the file.
2124     * @param string $permissionId The ID for the permission.
2125     * @param array $optParams Optional parameters.
2126     */
2127    public function delete($fileId, $permissionId, $optParams = array())
2128    {
2129      $params = array('fileId' => $fileId, 'permissionId' => $permissionId);
2130      $params = array_merge($params, $optParams);
2131      return $this->call('delete', array($params));
2132    }
2133  
2134    /**
2135     * Gets a permission by ID. (permissions.get)
2136     *
2137     * @param string $fileId The ID for the file.
2138     * @param string $permissionId The ID for the permission.
2139     * @param array $optParams Optional parameters.
2140     * @return Google_Service_Drive_Permission
2141     */
2142    public function get($fileId, $permissionId, $optParams = array())
2143    {
2144      $params = array('fileId' => $fileId, 'permissionId' => $permissionId);
2145      $params = array_merge($params, $optParams);
2146      return $this->call('get', array($params), "Google_Service_Drive_Permission");
2147    }
2148  
2149    /**
2150     * Returns the permission ID for an email address. (permissions.getIdForEmail)
2151     *
2152     * @param string $email The email address for which to return a permission ID
2153     * @param array $optParams Optional parameters.
2154     * @return Google_Service_Drive_PermissionId
2155     */
2156    public function getIdForEmail($email, $optParams = array())
2157    {
2158      $params = array('email' => $email);
2159      $params = array_merge($params, $optParams);
2160      return $this->call('getIdForEmail', array($params), "Google_Service_Drive_PermissionId");
2161    }
2162  
2163    /**
2164     * Inserts a permission for a file. (permissions.insert)
2165     *
2166     * @param string $fileId The ID for the file.
2167     * @param Google_Permission $postBody
2168     * @param array $optParams Optional parameters.
2169     *
2170     * @opt_param string emailMessage A custom message to include in notification
2171     * emails.
2172     * @opt_param bool sendNotificationEmails Whether to send notification emails
2173     * when sharing to users or groups. This parameter is ignored and an email is
2174     * sent if the role is owner.
2175     * @return Google_Service_Drive_Permission
2176     */
2177    public function insert($fileId, Google_Service_Drive_Permission $postBody, $optParams = array())
2178    {
2179      $params = array('fileId' => $fileId, 'postBody' => $postBody);
2180      $params = array_merge($params, $optParams);
2181      return $this->call('insert', array($params), "Google_Service_Drive_Permission");
2182    }
2183  
2184    /**
2185     * Lists a file's permissions. (permissions.listPermissions)
2186     *
2187     * @param string $fileId The ID for the file.
2188     * @param array $optParams Optional parameters.
2189     * @return Google_Service_Drive_PermissionList
2190     */
2191    public function listPermissions($fileId, $optParams = array())
2192    {
2193      $params = array('fileId' => $fileId);
2194      $params = array_merge($params, $optParams);
2195      return $this->call('list', array($params), "Google_Service_Drive_PermissionList");
2196    }
2197  
2198    /**
2199     * Updates a permission using patch semantics. (permissions.patch)
2200     *
2201     * @param string $fileId The ID for the file.
2202     * @param string $permissionId The ID for the permission.
2203     * @param Google_Permission $postBody
2204     * @param array $optParams Optional parameters.
2205     *
2206     * @opt_param bool transferOwnership Whether changing a role to 'owner'
2207     * downgrades the current owners to writers. Does nothing if the specified role
2208     * is not 'owner'.
2209     * @return Google_Service_Drive_Permission
2210     */
2211    public function patch($fileId, $permissionId, Google_Service_Drive_Permission $postBody, $optParams = array())
2212    {
2213      $params = array('fileId' => $fileId, 'permissionId' => $permissionId, 'postBody' => $postBody);
2214      $params = array_merge($params, $optParams);
2215      return $this->call('patch', array($params), "Google_Service_Drive_Permission");
2216    }
2217  
2218    /**
2219     * Updates a permission. (permissions.update)
2220     *
2221     * @param string $fileId The ID for the file.
2222     * @param string $permissionId The ID for the permission.
2223     * @param Google_Permission $postBody
2224     * @param array $optParams Optional parameters.
2225     *
2226     * @opt_param bool transferOwnership Whether changing a role to 'owner'
2227     * downgrades the current owners to writers. Does nothing if the specified role
2228     * is not 'owner'.
2229     * @return Google_Service_Drive_Permission
2230     */
2231    public function update($fileId, $permissionId, Google_Service_Drive_Permission $postBody, $optParams = array())
2232    {
2233      $params = array('fileId' => $fileId, 'permissionId' => $permissionId, 'postBody' => $postBody);
2234      $params = array_merge($params, $optParams);
2235      return $this->call('update', array($params), "Google_Service_Drive_Permission");
2236    }
2237  }
2238  
2239  /**
2240   * The "properties" collection of methods.
2241   * Typical usage is:
2242   *  <code>
2243   *   $driveService = new Google_Service_Drive(...);
2244   *   $properties = $driveService->properties;
2245   *  </code>
2246   */
2247  #[AllowDynamicProperties]
2248  class Google_Service_Drive_Properties_Resource extends Google_Service_Resource
2249  {
2250  
2251    /**
2252     * Deletes a property. (properties.delete)
2253     *
2254     * @param string $fileId The ID of the file.
2255     * @param string $propertyKey The key of the property.
2256     * @param array $optParams Optional parameters.
2257     *
2258     * @opt_param string visibility The visibility of the property.
2259     */
2260    public function delete($fileId, $propertyKey, $optParams = array())
2261    {
2262      $params = array('fileId' => $fileId, 'propertyKey' => $propertyKey);
2263      $params = array_merge($params, $optParams);
2264      return $this->call('delete', array($params));
2265    }
2266  
2267    /**
2268     * Gets a property by its key. (properties.get)
2269     *
2270     * @param string $fileId The ID of the file.
2271     * @param string $propertyKey The key of the property.
2272     * @param array $optParams Optional parameters.
2273     *
2274     * @opt_param string visibility The visibility of the property.
2275     * @return Google_Service_Drive_Property
2276     */
2277    public function get($fileId, $propertyKey, $optParams = array())
2278    {
2279      $params = array('fileId' => $fileId, 'propertyKey' => $propertyKey);
2280      $params = array_merge($params, $optParams);
2281      return $this->call('get', array($params), "Google_Service_Drive_Property");
2282    }
2283  
2284    /**
2285     * Adds a property to a file. (properties.insert)
2286     *
2287     * @param string $fileId The ID of the file.
2288     * @param Google_Property $postBody
2289     * @param array $optParams Optional parameters.
2290     * @return Google_Service_Drive_Property
2291     */
2292    public function insert($fileId, Google_Service_Drive_Property $postBody, $optParams = array())
2293    {
2294      $params = array('fileId' => $fileId, 'postBody' => $postBody);
2295      $params = array_merge($params, $optParams);
2296      return $this->call('insert', array($params), "Google_Service_Drive_Property");
2297    }
2298  
2299    /**
2300     * Lists a file's properties. (properties.listProperties)
2301     *
2302     * @param string $fileId The ID of the file.
2303     * @param array $optParams Optional parameters.
2304     * @return Google_Service_Drive_PropertyList
2305     */
2306    public function listProperties($fileId, $optParams = array())
2307    {
2308      $params = array('fileId' => $fileId);
2309      $params = array_merge($params, $optParams);
2310      return $this->call('list', array($params), "Google_Service_Drive_PropertyList");
2311    }
2312  
2313    /**
2314     * Updates a property. This method supports patch semantics. (properties.patch)
2315     *
2316     * @param string $fileId The ID of the file.
2317     * @param string $propertyKey The key of the property.
2318     * @param Google_Property $postBody
2319     * @param array $optParams Optional parameters.
2320     *
2321     * @opt_param string visibility The visibility of the property.
2322     * @return Google_Service_Drive_Property
2323     */
2324    public function patch($fileId, $propertyKey, Google_Service_Drive_Property $postBody, $optParams = array())
2325    {
2326      $params = array('fileId' => $fileId, 'propertyKey' => $propertyKey, 'postBody' => $postBody);
2327      $params = array_merge($params, $optParams);
2328      return $this->call('patch', array($params), "Google_Service_Drive_Property");
2329    }
2330  
2331    /**
2332     * Updates a property. (properties.update)
2333     *
2334     * @param string $fileId The ID of the file.
2335     * @param string $propertyKey The key of the property.
2336     * @param Google_Property $postBody
2337     * @param array $optParams Optional parameters.
2338     *
2339     * @opt_param string visibility The visibility of the property.
2340     * @return Google_Service_Drive_Property
2341     */
2342    public function update($fileId, $propertyKey, Google_Service_Drive_Property $postBody, $optParams = array())
2343    {
2344      $params = array('fileId' => $fileId, 'propertyKey' => $propertyKey, 'postBody' => $postBody);
2345      $params = array_merge($params, $optParams);
2346      return $this->call('update', array($params), "Google_Service_Drive_Property");
2347    }
2348  }
2349  
2350  /**
2351   * The "realtime" collection of methods.
2352   * Typical usage is:
2353   *  <code>
2354   *   $driveService = new Google_Service_Drive(...);
2355   *   $realtime = $driveService->realtime;
2356   *  </code>
2357   */
2358  #[AllowDynamicProperties]
2359  class Google_Service_Drive_Realtime_Resource extends Google_Service_Resource
2360  {
2361  
2362    /**
2363     * Exports the contents of the Realtime API data model associated with this file
2364     * as JSON. (realtime.get)
2365     *
2366     * @param string $fileId The ID of the file that the Realtime API data model is
2367     * associated with.
2368     * @param array $optParams Optional parameters.
2369     *
2370     * @opt_param int revision The revision of the Realtime API data model to
2371     * export. Revisions start at 1 (the initial empty data model) and are
2372     * incremented with each change. If this parameter is excluded, the most recent
2373     * data model will be returned.
2374     */
2375    public function get($fileId, $optParams = array())
2376    {
2377      $params = array('fileId' => $fileId);
2378      $params = array_merge($params, $optParams);
2379      return $this->call('get', array($params));
2380    }
2381  
2382    /**
2383     * Overwrites the Realtime API data model associated with this file with the
2384     * provided JSON data model. (realtime.update)
2385     *
2386     * @param string $fileId The ID of the file that the Realtime API data model is
2387     * associated with.
2388     * @param array $optParams Optional parameters.
2389     *
2390     * @opt_param string baseRevision The revision of the model to diff the uploaded
2391     * model against. If set, the uploaded model is diffed against the provided
2392     * revision and those differences are merged with any changes made to the model
2393     * after the provided revision. If not set, the uploaded model replaces the
2394     * current model on the server.
2395     */
2396    public function update($fileId, $optParams = array())
2397    {
2398      $params = array('fileId' => $fileId);
2399      $params = array_merge($params, $optParams);
2400      return $this->call('update', array($params));
2401    }
2402  }
2403  
2404  /**
2405   * The "replies" collection of methods.
2406   * Typical usage is:
2407   *  <code>
2408   *   $driveService = new Google_Service_Drive(...);
2409   *   $replies = $driveService->replies;
2410   *  </code>
2411   */
2412  #[AllowDynamicProperties]
2413  class Google_Service_Drive_Replies_Resource extends Google_Service_Resource
2414  {
2415  
2416    /**
2417     * Deletes a reply. (replies.delete)
2418     *
2419     * @param string $fileId The ID of the file.
2420     * @param string $commentId The ID of the comment.
2421     * @param string $replyId The ID of the reply.
2422     * @param array $optParams Optional parameters.
2423     */
2424    public function delete($fileId, $commentId, $replyId, $optParams = array())
2425    {
2426      $params = array('fileId' => $fileId, 'commentId' => $commentId, 'replyId' => $replyId);
2427      $params = array_merge($params, $optParams);
2428      return $this->call('delete', array($params));
2429    }
2430  
2431    /**
2432     * Gets a reply. (replies.get)
2433     *
2434     * @param string $fileId The ID of the file.
2435     * @param string $commentId The ID of the comment.
2436     * @param string $replyId The ID of the reply.
2437     * @param array $optParams Optional parameters.
2438     *
2439     * @opt_param bool includeDeleted If set, this will succeed when retrieving a
2440     * deleted reply.
2441     * @return Google_Service_Drive_CommentReply
2442     */
2443    public function get($fileId, $commentId, $replyId, $optParams = array())
2444    {
2445      $params = array('fileId' => $fileId, 'commentId' => $commentId, 'replyId' => $replyId);
2446      $params = array_merge($params, $optParams);
2447      return $this->call('get', array($params), "Google_Service_Drive_CommentReply");
2448    }
2449  
2450    /**
2451     * Creates a new reply to the given comment. (replies.insert)
2452     *
2453     * @param string $fileId The ID of the file.
2454     * @param string $commentId The ID of the comment.
2455     * @param Google_CommentReply $postBody
2456     * @param array $optParams Optional parameters.
2457     * @return Google_Service_Drive_CommentReply
2458     */
2459    public function insert($fileId, $commentId, Google_Service_Drive_CommentReply $postBody, $optParams = array())
2460    {
2461      $params = array('fileId' => $fileId, 'commentId' => $commentId, 'postBody' => $postBody);
2462      $params = array_merge($params, $optParams);
2463      return $this->call('insert', array($params), "Google_Service_Drive_CommentReply");
2464    }
2465  
2466    /**
2467     * Lists all of the replies to a comment. (replies.listReplies)
2468     *
2469     * @param string $fileId The ID of the file.
2470     * @param string $commentId The ID of the comment.
2471     * @param array $optParams Optional parameters.
2472     *
2473     * @opt_param string pageToken The continuation token, used to page through
2474     * large result sets. To get the next page of results, set this parameter to the
2475     * value of "nextPageToken" from the previous response.
2476     * @opt_param bool includeDeleted If set, all replies, including deleted replies
2477     * (with content stripped) will be returned.
2478     * @opt_param int maxResults The maximum number of replies to include in the
2479     * response, used for paging.
2480     * @return Google_Service_Drive_CommentReplyList
2481     */
2482    public function listReplies($fileId, $commentId, $optParams = array())
2483    {
2484      $params = array('fileId' => $fileId, 'commentId' => $commentId);
2485      $params = array_merge($params, $optParams);
2486      return $this->call('list', array($params), "Google_Service_Drive_CommentReplyList");
2487    }
2488  
2489    /**
2490     * Updates an existing reply. This method supports patch semantics.
2491     * (replies.patch)
2492     *
2493     * @param string $fileId The ID of the file.
2494     * @param string $commentId The ID of the comment.
2495     * @param string $replyId The ID of the reply.
2496     * @param Google_CommentReply $postBody
2497     * @param array $optParams Optional parameters.
2498     * @return Google_Service_Drive_CommentReply
2499     */
2500    public function patch($fileId, $commentId, $replyId, Google_Service_Drive_CommentReply $postBody, $optParams = array())
2501    {
2502      $params = array('fileId' => $fileId, 'commentId' => $commentId, 'replyId' => $replyId, 'postBody' => $postBody);
2503      $params = array_merge($params, $optParams);
2504      return $this->call('patch', array($params), "Google_Service_Drive_CommentReply");
2505    }
2506  
2507    /**
2508     * Updates an existing reply. (replies.update)
2509     *
2510     * @param string $fileId The ID of the file.
2511     * @param string $commentId The ID of the comment.
2512     * @param string $replyId The ID of the reply.
2513     * @param Google_CommentReply $postBody
2514     * @param array $optParams Optional parameters.
2515     * @return Google_Service_Drive_CommentReply
2516     */
2517    public function update($fileId, $commentId, $replyId, Google_Service_Drive_CommentReply $postBody, $optParams = array())
2518    {
2519      $params = array('fileId' => $fileId, 'commentId' => $commentId, 'replyId' => $replyId, 'postBody' => $postBody);
2520      $params = array_merge($params, $optParams);
2521      return $this->call('update', array($params), "Google_Service_Drive_CommentReply");
2522    }
2523  }
2524  
2525  /**
2526   * The "revisions" collection of methods.
2527   * Typical usage is:
2528   *  <code>
2529   *   $driveService = new Google_Service_Drive(...);
2530   *   $revisions = $driveService->revisions;
2531   *  </code>
2532   */
2533  #[AllowDynamicProperties]
2534  class Google_Service_Drive_Revisions_Resource extends Google_Service_Resource
2535  {
2536  
2537    /**
2538     * Removes a revision. (revisions.delete)
2539     *
2540     * @param string $fileId The ID of the file.
2541     * @param string $revisionId The ID of the revision.
2542     * @param array $optParams Optional parameters.
2543     */
2544    public function delete($fileId, $revisionId, $optParams = array())
2545    {
2546      $params = array('fileId' => $fileId, 'revisionId' => $revisionId);
2547      $params = array_merge($params, $optParams);
2548      return $this->call('delete', array($params));
2549    }
2550  
2551    /**
2552     * Gets a specific revision. (revisions.get)
2553     *
2554     * @param string $fileId The ID of the file.
2555     * @param string $revisionId The ID of the revision.
2556     * @param array $optParams Optional parameters.
2557     * @return Google_Service_Drive_Revision
2558     */
2559    public function get($fileId, $revisionId, $optParams = array())
2560    {
2561      $params = array('fileId' => $fileId, 'revisionId' => $revisionId);
2562      $params = array_merge($params, $optParams);
2563      return $this->call('get', array($params), "Google_Service_Drive_Revision");
2564    }
2565  
2566    /**
2567     * Lists a file's revisions. (revisions.listRevisions)
2568     *
2569     * @param string $fileId The ID of the file.
2570     * @param array $optParams Optional parameters.
2571     * @return Google_Service_Drive_RevisionList
2572     */
2573    public function listRevisions($fileId, $optParams = array())
2574    {
2575      $params = array('fileId' => $fileId);
2576      $params = array_merge($params, $optParams);
2577      return $this->call('list', array($params), "Google_Service_Drive_RevisionList");
2578    }
2579  
2580    /**
2581     * Updates a revision. This method supports patch semantics. (revisions.patch)
2582     *
2583     * @param string $fileId The ID for the file.
2584     * @param string $revisionId The ID for the revision.
2585     * @param Google_Revision $postBody
2586     * @param array $optParams Optional parameters.
2587     * @return Google_Service_Drive_Revision
2588     */
2589    public function patch($fileId, $revisionId, Google_Service_Drive_Revision $postBody, $optParams = array())
2590    {
2591      $params = array('fileId' => $fileId, 'revisionId' => $revisionId, 'postBody' => $postBody);
2592      $params = array_merge($params, $optParams);
2593      return $this->call('patch', array($params), "Google_Service_Drive_Revision");
2594    }
2595  
2596    /**
2597     * Updates a revision. (revisions.update)
2598     *
2599     * @param string $fileId The ID for the file.
2600     * @param string $revisionId The ID for the revision.
2601     * @param Google_Revision $postBody
2602     * @param array $optParams Optional parameters.
2603     * @return Google_Service_Drive_Revision
2604     */
2605    public function update($fileId, $revisionId, Google_Service_Drive_Revision $postBody, $optParams = array())
2606    {
2607      $params = array('fileId' => $fileId, 'revisionId' => $revisionId, 'postBody' => $postBody);
2608      $params = array_merge($params, $optParams);
2609      return $this->call('update', array($params), "Google_Service_Drive_Revision");
2610    }
2611  }
2612  
2613  
2614  
2615  
2616  #[AllowDynamicProperties]
2617  class Google_Service_Drive_About extends Google_Collection
2618  {
2619    protected $collection_key = 'quotaBytesByService';
2620    protected $internal_gapi_mappings = array(
2621    );
2622    protected $additionalRoleInfoType = 'Google_Service_Drive_AboutAdditionalRoleInfo';
2623    protected $additionalRoleInfoDataType = 'array';
2624    public $domainSharingPolicy;
2625    public $etag;
2626    protected $exportFormatsType = 'Google_Service_Drive_AboutExportFormats';
2627    protected $exportFormatsDataType = 'array';
2628    protected $featuresType = 'Google_Service_Drive_AboutFeatures';
2629    protected $featuresDataType = 'array';
2630    public $folderColorPalette;
2631    protected $importFormatsType = 'Google_Service_Drive_AboutImportFormats';
2632    protected $importFormatsDataType = 'array';
2633    public $isCurrentAppInstalled;
2634    public $kind;
2635    public $languageCode;
2636    public $largestChangeId;
2637    protected $maxUploadSizesType = 'Google_Service_Drive_AboutMaxUploadSizes';
2638    protected $maxUploadSizesDataType = 'array';
2639    public $name;
2640    public $permissionId;
2641    protected $quotaBytesByServiceType = 'Google_Service_Drive_AboutQuotaBytesByService';
2642    protected $quotaBytesByServiceDataType = 'array';
2643    public $quotaBytesTotal;
2644    public $quotaBytesUsed;
2645    public $quotaBytesUsedAggregate;
2646    public $quotaBytesUsedInTrash;
2647    public $quotaType;
2648    public $remainingChangeIds;
2649    public $rootFolderId;
2650    public $selfLink;
2651    protected $userType = 'Google_Service_Drive_User';
2652    protected $userDataType = '';
2653  
2654  
2655    public function setAdditionalRoleInfo($additionalRoleInfo)
2656    {
2657      $this->additionalRoleInfo = $additionalRoleInfo;
2658    }
2659    public function getAdditionalRoleInfo()
2660    {
2661      return $this->additionalRoleInfo;
2662    }
2663    public function setDomainSharingPolicy($domainSharingPolicy)
2664    {
2665      $this->domainSharingPolicy = $domainSharingPolicy;
2666    }
2667    public function getDomainSharingPolicy()
2668    {
2669      return $this->domainSharingPolicy;
2670    }
2671    public function setEtag($etag)
2672    {
2673      $this->etag = $etag;
2674    }
2675    public function getEtag()
2676    {
2677      return $this->etag;
2678    }
2679    public function setExportFormats($exportFormats)
2680    {
2681      $this->exportFormats = $exportFormats;
2682    }
2683    public function getExportFormats()
2684    {
2685      return $this->exportFormats;
2686    }
2687    public function setFeatures($features)
2688    {
2689      $this->features = $features;
2690    }
2691    public function getFeatures()
2692    {
2693      return $this->features;
2694    }
2695    public function setFolderColorPalette($folderColorPalette)
2696    {
2697      $this->folderColorPalette = $folderColorPalette;
2698    }
2699    public function getFolderColorPalette()
2700    {
2701      return $this->folderColorPalette;
2702    }
2703    public function setImportFormats($importFormats)
2704    {
2705      $this->importFormats = $importFormats;
2706    }
2707    public function getImportFormats()
2708    {
2709      return $this->importFormats;
2710    }
2711    public function setIsCurrentAppInstalled($isCurrentAppInstalled)
2712    {
2713      $this->isCurrentAppInstalled = $isCurrentAppInstalled;
2714    }
2715    public function getIsCurrentAppInstalled()
2716    {
2717      return $this->isCurrentAppInstalled;
2718    }
2719    public function setKind($kind)
2720    {
2721      $this->kind = $kind;
2722    }
2723    public function getKind()
2724    {
2725      return $this->kind;
2726    }
2727    public function setLanguageCode($languageCode)
2728    {
2729      $this->languageCode = $languageCode;
2730    }
2731    public function getLanguageCode()
2732    {
2733      return $this->languageCode;
2734    }
2735    public function setLargestChangeId($largestChangeId)
2736    {
2737      $this->largestChangeId = $largestChangeId;
2738    }
2739    public function getLargestChangeId()
2740    {
2741      return $this->largestChangeId;
2742    }
2743    public function setMaxUploadSizes($maxUploadSizes)
2744    {
2745      $this->maxUploadSizes = $maxUploadSizes;
2746    }
2747    public function getMaxUploadSizes()
2748    {
2749      return $this->maxUploadSizes;
2750    }
2751    public function setName($name)
2752    {
2753      $this->name = $name;
2754    }
2755    public function getName()
2756    {
2757      return $this->name;
2758    }
2759    public function setPermissionId($permissionId)
2760    {
2761      $this->permissionId = $permissionId;
2762    }
2763    public function getPermissionId()
2764    {
2765      return $this->permissionId;
2766    }
2767    public function setQuotaBytesByService($quotaBytesByService)
2768    {
2769      $this->quotaBytesByService = $quotaBytesByService;
2770    }
2771    public function getQuotaBytesByService()
2772    {
2773      return $this->quotaBytesByService;
2774    }
2775    public function setQuotaBytesTotal($quotaBytesTotal)
2776    {
2777      $this->quotaBytesTotal = $quotaBytesTotal;
2778    }
2779    public function getQuotaBytesTotal()
2780    {
2781      return $this->quotaBytesTotal;
2782    }
2783    public function setQuotaBytesUsed($quotaBytesUsed)
2784    {
2785      $this->quotaBytesUsed = $quotaBytesUsed;
2786    }
2787    public function getQuotaBytesUsed()
2788    {
2789      return $this->quotaBytesUsed;
2790    }
2791    public function setQuotaBytesUsedAggregate($quotaBytesUsedAggregate)
2792    {
2793      $this->quotaBytesUsedAggregate = $quotaBytesUsedAggregate;
2794    }
2795    public function getQuotaBytesUsedAggregate()
2796    {
2797      return $this->quotaBytesUsedAggregate;
2798    }
2799    public function setQuotaBytesUsedInTrash($quotaBytesUsedInTrash)
2800    {
2801      $this->quotaBytesUsedInTrash = $quotaBytesUsedInTrash;
2802    }
2803    public function getQuotaBytesUsedInTrash()
2804    {
2805      return $this->quotaBytesUsedInTrash;
2806    }
2807    public function setQuotaType($quotaType)
2808    {
2809      $this->quotaType = $quotaType;
2810    }
2811    public function getQuotaType()
2812    {
2813      return $this->quotaType;
2814    }
2815    public function setRemainingChangeIds($remainingChangeIds)
2816    {
2817      $this->remainingChangeIds = $remainingChangeIds;
2818    }
2819    public function getRemainingChangeIds()
2820    {
2821      return $this->remainingChangeIds;
2822    }
2823    public function setRootFolderId($rootFolderId)
2824    {
2825      $this->rootFolderId = $rootFolderId;
2826    }
2827    public function getRootFolderId()
2828    {
2829      return $this->rootFolderId;
2830    }
2831    public function setSelfLink($selfLink)
2832    {
2833      $this->selfLink = $selfLink;
2834    }
2835    public function getSelfLink()
2836    {
2837      return $this->selfLink;
2838    }
2839    public function setUser(Google_Service_Drive_User $user)
2840    {
2841      $this->user = $user;
2842    }
2843    public function getUser()
2844    {
2845      return $this->user;
2846    }
2847  }
2848  
2849  #[AllowDynamicProperties]
2850  class Google_Service_Drive_AboutAdditionalRoleInfo extends Google_Collection
2851  {
2852    protected $collection_key = 'roleSets';
2853    protected $internal_gapi_mappings = array(
2854    );
2855    protected $roleSetsType = 'Google_Service_Drive_AboutAdditionalRoleInfoRoleSets';
2856    protected $roleSetsDataType = 'array';
2857    public $type;
2858  
2859  
2860    public function setRoleSets($roleSets)
2861    {
2862      $this->roleSets = $roleSets;
2863    }
2864    public function getRoleSets()
2865    {
2866      return $this->roleSets;
2867    }
2868    public function setType($type)
2869    {
2870      $this->type = $type;
2871    }
2872    public function getType()
2873    {
2874      return $this->type;
2875    }
2876  }
2877  
2878  #[AllowDynamicProperties]
2879  class Google_Service_Drive_AboutAdditionalRoleInfoRoleSets extends Google_Collection
2880  {
2881    protected $collection_key = 'additionalRoles';
2882    protected $internal_gapi_mappings = array(
2883    );
2884    public $additionalRoles;
2885    public $primaryRole;
2886  
2887  
2888    public function setAdditionalRoles($additionalRoles)
2889    {
2890      $this->additionalRoles = $additionalRoles;
2891    }
2892    public function getAdditionalRoles()
2893    {
2894      return $this->additionalRoles;
2895    }
2896    public function setPrimaryRole($primaryRole)
2897    {
2898      $this->primaryRole = $primaryRole;
2899    }
2900    public function getPrimaryRole()
2901    {
2902      return $this->primaryRole;
2903    }
2904  }
2905  
2906  #[AllowDynamicProperties]
2907  class Google_Service_Drive_AboutExportFormats extends Google_Collection
2908  {
2909    protected $collection_key = 'targets';
2910    protected $internal_gapi_mappings = array(
2911    );
2912    public $source;
2913    public $targets;
2914  
2915  
2916    public function setSource($source)
2917    {
2918      $this->source = $source;
2919    }
2920    public function getSource()
2921    {
2922      return $this->source;
2923    }
2924    public function setTargets($targets)
2925    {
2926      $this->targets = $targets;
2927    }
2928    public function getTargets()
2929    {
2930      return $this->targets;
2931    }
2932  }
2933  
2934  #[AllowDynamicProperties]
2935  class Google_Service_Drive_AboutFeatures extends Google_Model
2936  {
2937    protected $internal_gapi_mappings = array(
2938    );
2939    public $featureName;
2940    public $featureRate;
2941  
2942  
2943    public function setFeatureName($featureName)
2944    {
2945      $this->featureName = $featureName;
2946    }
2947    public function getFeatureName()
2948    {
2949      return $this->featureName;
2950    }
2951    public function setFeatureRate($featureRate)
2952    {
2953      $this->featureRate = $featureRate;
2954    }
2955    public function getFeatureRate()
2956    {
2957      return $this->featureRate;
2958    }
2959  }
2960  
2961  #[AllowDynamicProperties]
2962  class Google_Service_Drive_AboutImportFormats extends Google_Collection
2963  {
2964    protected $collection_key = 'targets';
2965    protected $internal_gapi_mappings = array(
2966    );
2967    public $source;
2968    public $targets;
2969  
2970  
2971    public function setSource($source)
2972    {
2973      $this->source = $source;
2974    }
2975    public function getSource()
2976    {
2977      return $this->source;
2978    }
2979    public function setTargets($targets)
2980    {
2981      $this->targets = $targets;
2982    }
2983    public function getTargets()
2984    {
2985      return $this->targets;
2986    }
2987  }
2988  
2989  #[AllowDynamicProperties]
2990  class Google_Service_Drive_AboutMaxUploadSizes extends Google_Model
2991  {
2992    protected $internal_gapi_mappings = array(
2993    );
2994    public $size;
2995    public $type;
2996  
2997  
2998    public function setSize($size)
2999    {
3000      $this->size = $size;
3001    }
3002    public function getSize()
3003    {
3004      return $this->size;
3005    }
3006    public function setType($type)
3007    {
3008      $this->type = $type;
3009    }
3010    public function getType()
3011    {
3012      return $this->type;
3013    }
3014  }
3015  
3016  #[AllowDynamicProperties]
3017  class Google_Service_Drive_AboutQuotaBytesByService extends Google_Model
3018  {
3019    protected $internal_gapi_mappings = array(
3020    );
3021    public $bytesUsed;
3022    public $serviceName;
3023  
3024  
3025    public function setBytesUsed($bytesUsed)
3026    {
3027      $this->bytesUsed = $bytesUsed;
3028    }
3029    public function getBytesUsed()
3030    {
3031      return $this->bytesUsed;
3032    }
3033    public function setServiceName($serviceName)
3034    {
3035      $this->serviceName = $serviceName;
3036    }
3037    public function getServiceName()
3038    {
3039      return $this->serviceName;
3040    }
3041  }
3042  
3043  #[AllowDynamicProperties]
3044  class Google_Service_Drive_App extends Google_Collection
3045  {
3046    protected $collection_key = 'secondaryMimeTypes';
3047    protected $internal_gapi_mappings = array(
3048    );
3049    public $authorized;
3050    public $createInFolderTemplate;
3051    public $createUrl;
3052    public $hasDriveWideScope;
3053    protected $iconsType = 'Google_Service_Drive_AppIcons';
3054    protected $iconsDataType = 'array';
3055    public $id;
3056    public $installed;
3057    public $kind;
3058    public $longDescription;
3059    public $name;
3060    public $objectType;
3061    public $openUrlTemplate;
3062    public $primaryFileExtensions;
3063    public $primaryMimeTypes;
3064    public $productId;
3065    public $productUrl;
3066    public $secondaryFileExtensions;
3067    public $secondaryMimeTypes;
3068    public $shortDescription;
3069    public $supportsCreate;
3070    public $supportsImport;
3071    public $supportsMultiOpen;
3072    public $supportsOfflineCreate;
3073    public $useByDefault;
3074  
3075  
3076    public function setAuthorized($authorized)
3077    {
3078      $this->authorized = $authorized;
3079    }
3080    public function getAuthorized()
3081    {
3082      return $this->authorized;
3083    }
3084    public function setCreateInFolderTemplate($createInFolderTemplate)
3085    {
3086      $this->createInFolderTemplate = $createInFolderTemplate;
3087    }
3088    public function getCreateInFolderTemplate()
3089    {
3090      return $this->createInFolderTemplate;
3091    }
3092    public function setCreateUrl($createUrl)
3093    {
3094      $this->createUrl = $createUrl;
3095    }
3096    public function getCreateUrl()
3097    {
3098      return $this->createUrl;
3099    }
3100    public function setHasDriveWideScope($hasDriveWideScope)
3101    {
3102      $this->hasDriveWideScope = $hasDriveWideScope;
3103    }
3104    public function getHasDriveWideScope()
3105    {
3106      return $this->hasDriveWideScope;
3107    }
3108    public function setIcons($icons)
3109    {
3110      $this->icons = $icons;
3111    }
3112    public function getIcons()
3113    {
3114      return $this->icons;
3115    }
3116    public function setId($id)
3117    {
3118      $this->id = $id;
3119    }
3120    public function getId()
3121    {
3122      return $this->id;
3123    }
3124    public function setInstalled($installed)
3125    {
3126      $this->installed = $installed;
3127    }
3128    public function getInstalled()
3129    {
3130      return $this->installed;
3131    }
3132    public function setKind($kind)
3133    {
3134      $this->kind = $kind;
3135    }
3136    public function getKind()
3137    {
3138      return $this->kind;
3139    }
3140    public function setLongDescription($longDescription)
3141    {
3142      $this->longDescription = $longDescription;
3143    }
3144    public function getLongDescription()
3145    {
3146      return $this->longDescription;
3147    }
3148    public function setName($name)
3149    {
3150      $this->name = $name;
3151    }
3152    public function getName()
3153    {
3154      return $this->name;
3155    }
3156    public function setObjectType($objectType)
3157    {
3158      $this->objectType = $objectType;
3159    }
3160    public function getObjectType()
3161    {
3162      return $this->objectType;
3163    }
3164    public function setOpenUrlTemplate($openUrlTemplate)
3165    {
3166      $this->openUrlTemplate = $openUrlTemplate;
3167    }
3168    public function getOpenUrlTemplate()
3169    {
3170      return $this->openUrlTemplate;
3171    }
3172    public function setPrimaryFileExtensions($primaryFileExtensions)
3173    {
3174      $this->primaryFileExtensions = $primaryFileExtensions;
3175    }
3176    public function getPrimaryFileExtensions()
3177    {
3178      return $this->primaryFileExtensions;
3179    }
3180    public function setPrimaryMimeTypes($primaryMimeTypes)
3181    {
3182      $this->primaryMimeTypes = $primaryMimeTypes;
3183    }
3184    public function getPrimaryMimeTypes()
3185    {
3186      return $this->primaryMimeTypes;
3187    }
3188    public function setProductId($productId)
3189    {
3190      $this->productId = $productId;
3191    }
3192    public function getProductId()
3193    {
3194      return $this->productId;
3195    }
3196    public function setProductUrl($productUrl)
3197    {
3198      $this->productUrl = $productUrl;
3199    }
3200    public function getProductUrl()
3201    {
3202      return $this->productUrl;
3203    }
3204    public function setSecondaryFileExtensions($secondaryFileExtensions)
3205    {
3206      $this->secondaryFileExtensions = $secondaryFileExtensions;
3207    }
3208    public function getSecondaryFileExtensions()
3209    {
3210      return $this->secondaryFileExtensions;
3211    }
3212    public function setSecondaryMimeTypes($secondaryMimeTypes)
3213    {
3214      $this->secondaryMimeTypes = $secondaryMimeTypes;
3215    }
3216    public function getSecondaryMimeTypes()
3217    {
3218      return $this->secondaryMimeTypes;
3219    }
3220    public function setShortDescription($shortDescription)
3221    {
3222      $this->shortDescription = $shortDescription;
3223    }
3224    public function getShortDescription()
3225    {
3226      return $this->shortDescription;
3227    }
3228    public function setSupportsCreate($supportsCreate)
3229    {
3230      $this->supportsCreate = $supportsCreate;
3231    }
3232    public function getSupportsCreate()
3233    {
3234      return $this->supportsCreate;
3235    }
3236    public function setSupportsImport($supportsImport)
3237    {
3238      $this->supportsImport = $supportsImport;
3239    }
3240    public function getSupportsImport()
3241    {
3242      return $this->supportsImport;
3243    }
3244    public function setSupportsMultiOpen($supportsMultiOpen)
3245    {
3246      $this->supportsMultiOpen = $supportsMultiOpen;
3247    }
3248    public function getSupportsMultiOpen()
3249    {
3250      return $this->supportsMultiOpen;
3251    }
3252    public function setSupportsOfflineCreate($supportsOfflineCreate)
3253    {
3254      $this->supportsOfflineCreate = $supportsOfflineCreate;
3255    }
3256    public function getSupportsOfflineCreate()
3257    {
3258      return $this->supportsOfflineCreate;
3259    }
3260    public function setUseByDefault($useByDefault)
3261    {
3262      $this->useByDefault = $useByDefault;
3263    }
3264    public function getUseByDefault()
3265    {
3266      return $this->useByDefault;
3267    }
3268  }
3269  
3270  #[AllowDynamicProperties]
3271  class Google_Service_Drive_AppIcons extends Google_Model
3272  {
3273    protected $internal_gapi_mappings = array(
3274    );
3275    public $category;
3276    public $iconUrl;
3277    public $size;
3278  
3279  
3280    public function setCategory($category)
3281    {
3282      $this->category = $category;
3283    }
3284    public function getCategory()
3285    {
3286      return $this->category;
3287    }
3288    public function setIconUrl($iconUrl)
3289    {
3290      $this->iconUrl = $iconUrl;
3291    }
3292    public function getIconUrl()
3293    {
3294      return $this->iconUrl;
3295    }
3296    public function setSize($size)
3297    {
3298      $this->size = $size;
3299    }
3300    public function getSize()
3301    {
3302      return $this->size;
3303    }
3304  }
3305  
3306  #[AllowDynamicProperties]
3307  class Google_Service_Drive_AppList extends Google_Collection
3308  {
3309    protected $collection_key = 'items';
3310    protected $internal_gapi_mappings = array(
3311    );
3312    public $defaultAppIds;
3313    public $etag;
3314    protected $itemsType = 'Google_Service_Drive_App';
3315    protected $itemsDataType = 'array';
3316    public $kind;
3317    public $selfLink;
3318  
3319  
3320    public function setDefaultAppIds($defaultAppIds)
3321    {
3322      $this->defaultAppIds = $defaultAppIds;
3323    }
3324    public function getDefaultAppIds()
3325    {
3326      return $this->defaultAppIds;
3327    }
3328    public function setEtag($etag)
3329    {
3330      $this->etag = $etag;
3331    }
3332    public function getEtag()
3333    {
3334      return $this->etag;
3335    }
3336    public function setItems($items)
3337    {
3338      $this->items = $items;
3339    }
3340    public function getItems()
3341    {
3342      return $this->items;
3343    }
3344    public function setKind($kind)
3345    {
3346      $this->kind = $kind;
3347    }
3348    public function getKind()
3349    {
3350      return $this->kind;
3351    }
3352    public function setSelfLink($selfLink)
3353    {
3354      $this->selfLink = $selfLink;
3355    }
3356    public function getSelfLink()
3357    {
3358      return $this->selfLink;
3359    }
3360  }
3361  
3362  #[AllowDynamicProperties]
3363  class Google_Service_Drive_Change extends Google_Model
3364  {
3365    protected $internal_gapi_mappings = array(
3366    );
3367    public $deleted;
3368    protected $fileType = 'Google_Service_Drive_DriveFile';
3369    protected $fileDataType = '';
3370    public $fileId;
3371    public $id;
3372    public $kind;
3373    public $modificationDate;
3374    public $selfLink;
3375  
3376  
3377    public function setDeleted($deleted)
3378    {
3379      $this->deleted = $deleted;
3380    }
3381    public function getDeleted()
3382    {
3383      return $this->deleted;
3384    }
3385    public function setFile(Google_Service_Drive_DriveFile $file)
3386    {
3387      $this->file = $file;
3388    }
3389    public function getFile()
3390    {
3391      return $this->file;
3392    }
3393    public function setFileId($fileId)
3394    {
3395      $this->fileId = $fileId;
3396    }
3397    public function getFileId()
3398    {
3399      return $this->fileId;
3400    }
3401    public function setId($id)
3402    {
3403      $this->id = $id;
3404    }
3405    public function getId()
3406    {
3407      return $this->id;
3408    }
3409    public function setKind($kind)
3410    {
3411      $this->kind = $kind;
3412    }
3413    public function getKind()
3414    {
3415      return $this->kind;
3416    }
3417    public function setModificationDate($modificationDate)
3418    {
3419      $this->modificationDate = $modificationDate;
3420    }
3421    public function getModificationDate()
3422    {
3423      return $this->modificationDate;
3424    }
3425    public function setSelfLink($selfLink)
3426    {
3427      $this->selfLink = $selfLink;
3428    }
3429    public function getSelfLink()
3430    {
3431      return $this->selfLink;
3432    }
3433  }
3434  
3435  #[AllowDynamicProperties]
3436  class Google_Service_Drive_ChangeList extends Google_Collection
3437  {
3438    protected $collection_key = 'items';
3439    protected $internal_gapi_mappings = array(
3440    );
3441    public $etag;
3442    protected $itemsType = 'Google_Service_Drive_Change';
3443    protected $itemsDataType = 'array';
3444    public $kind;
3445    public $largestChangeId;
3446    public $nextLink;
3447    public $nextPageToken;
3448    public $selfLink;
3449  
3450  
3451    public function setEtag($etag)
3452    {
3453      $this->etag = $etag;
3454    }
3455    public function getEtag()
3456    {
3457      return $this->etag;
3458    }
3459    public function setItems($items)
3460    {
3461      $this->items = $items;
3462    }
3463    public function getItems()
3464    {
3465      return $this->items;
3466    }
3467    public function setKind($kind)
3468    {
3469      $this->kind = $kind;
3470    }
3471    public function getKind()
3472    {
3473      return $this->kind;
3474    }
3475    public function setLargestChangeId($largestChangeId)
3476    {
3477      $this->largestChangeId = $largestChangeId;
3478    }
3479    public function getLargestChangeId()
3480    {
3481      return $this->largestChangeId;
3482    }
3483    public function setNextLink($nextLink)
3484    {
3485      $this->nextLink = $nextLink;
3486    }
3487    public function getNextLink()
3488    {
3489      return $this->nextLink;
3490    }
3491    public function setNextPageToken($nextPageToken)
3492    {
3493      $this->nextPageToken = $nextPageToken;
3494    }
3495    public function getNextPageToken()
3496    {
3497      return $this->nextPageToken;
3498    }
3499    public function setSelfLink($selfLink)
3500    {
3501      $this->selfLink = $selfLink;
3502    }
3503    public function getSelfLink()
3504    {
3505      return $this->selfLink;
3506    }
3507  }
3508  
3509  #[AllowDynamicProperties]
3510  class Google_Service_Drive_Channel extends Google_Model
3511  {
3512    protected $internal_gapi_mappings = array(
3513    );
3514    public $address;
3515    public $expiration;
3516    public $id;
3517    public $kind;
3518    public $params;
3519    public $payload;
3520    public $resourceId;
3521    public $resourceUri;
3522    public $token;
3523    public $type;
3524  
3525  
3526    public function setAddress($address)
3527    {
3528      $this->address = $address;
3529    }
3530    public function getAddress()
3531    {
3532      return $this->address;
3533    }
3534    public function setExpiration($expiration)
3535    {
3536      $this->expiration = $expiration;
3537    }
3538    public function getExpiration()
3539    {
3540      return $this->expiration;
3541    }
3542    public function setId($id)
3543    {
3544      $this->id = $id;
3545    }
3546    public function getId()
3547    {
3548      return $this->id;
3549    }
3550    public function setKind($kind)
3551    {
3552      $this->kind = $kind;
3553    }
3554    public function getKind()
3555    {
3556      return $this->kind;
3557    }
3558    public function setParams($params)
3559    {
3560      $this->params = $params;
3561    }
3562    public function getParams()
3563    {
3564      return $this->params;
3565    }
3566    public function setPayload($payload)
3567    {
3568      $this->payload = $payload;
3569    }
3570    public function getPayload()
3571    {
3572      return $this->payload;
3573    }
3574    public function setResourceId($resourceId)
3575    {
3576      $this->resourceId = $resourceId;
3577    }
3578    public function getResourceId()
3579    {
3580      return $this->resourceId;
3581    }
3582    public function setResourceUri($resourceUri)
3583    {
3584      $this->resourceUri = $resourceUri;
3585    }
3586    public function getResourceUri()
3587    {
3588      return $this->resourceUri;
3589    }
3590    public function setToken($token)
3591    {
3592      $this->token = $token;
3593    }
3594    public function getToken()
3595    {
3596      return $this->token;
3597    }
3598    public function setType($type)
3599    {
3600      $this->type = $type;
3601    }
3602    public function getType()
3603    {
3604      return $this->type;
3605    }
3606  }
3607  
3608  #[AllowDynamicProperties]
3609  class Google_Service_Drive_ChannelParams extends Google_Model
3610  {
3611  }
3612  
3613  #[AllowDynamicProperties]
3614  class Google_Service_Drive_ChildList extends Google_Collection
3615  {
3616    protected $collection_key = 'items';
3617    protected $internal_gapi_mappings = array(
3618    );
3619    public $etag;
3620    protected $itemsType = 'Google_Service_Drive_ChildReference';
3621    protected $itemsDataType = 'array';
3622    public $kind;
3623    public $nextLink;
3624    public $nextPageToken;
3625    public $selfLink;
3626  
3627  
3628    public function setEtag($etag)
3629    {
3630      $this->etag = $etag;
3631    }
3632    public function getEtag()
3633    {
3634      return $this->etag;
3635    }
3636    public function setItems($items)
3637    {
3638      $this->items = $items;
3639    }
3640    public function getItems()
3641    {
3642      return $this->items;
3643    }
3644    public function setKind($kind)
3645    {
3646      $this->kind = $kind;
3647    }
3648    public function getKind()
3649    {
3650      return $this->kind;
3651    }
3652    public function setNextLink($nextLink)
3653    {
3654      $this->nextLink = $nextLink;
3655    }
3656    public function getNextLink()
3657    {
3658      return $this->nextLink;
3659    }
3660    public function setNextPageToken($nextPageToken)
3661    {
3662      $this->nextPageToken = $nextPageToken;
3663    }
3664    public function getNextPageToken()
3665    {
3666      return $this->nextPageToken;
3667    }
3668    public function setSelfLink($selfLink)
3669    {
3670      $this->selfLink = $selfLink;
3671    }
3672    public function getSelfLink()
3673    {
3674      return $this->selfLink;
3675    }
3676  }
3677  
3678  #[AllowDynamicProperties]
3679  class Google_Service_Drive_ChildReference extends Google_Model
3680  {
3681    protected $internal_gapi_mappings = array(
3682    );
3683    public $childLink;
3684    public $id;
3685    public $kind;
3686    public $selfLink;
3687  
3688  
3689    public function setChildLink($childLink)
3690    {
3691      $this->childLink = $childLink;
3692    }
3693    public function getChildLink()
3694    {
3695      return $this->childLink;
3696    }
3697    public function setId($id)
3698    {
3699      $this->id = $id;
3700    }
3701    public function getId()
3702    {
3703      return $this->id;
3704    }
3705    public function setKind($kind)
3706    {
3707      $this->kind = $kind;
3708    }
3709    public function getKind()
3710    {
3711      return $this->kind;
3712    }
3713    public function setSelfLink($selfLink)
3714    {
3715      $this->selfLink = $selfLink;
3716    }
3717    public function getSelfLink()
3718    {
3719      return $this->selfLink;
3720    }
3721  }
3722  
3723  #[AllowDynamicProperties]
3724  class Google_Service_Drive_Comment extends Google_Collection
3725  {
3726    protected $collection_key = 'replies';
3727    protected $internal_gapi_mappings = array(
3728    );
3729    public $anchor;
3730    protected $authorType = 'Google_Service_Drive_User';
3731    protected $authorDataType = '';
3732    public $commentId;
3733    public $content;
3734    protected $contextType = 'Google_Service_Drive_CommentContext';
3735    protected $contextDataType = '';
3736    public $createdDate;
3737    public $deleted;
3738    public $fileId;
3739    public $fileTitle;
3740    public $htmlContent;
3741    public $kind;
3742    public $modifiedDate;
3743    protected $repliesType = 'Google_Service_Drive_CommentReply';
3744    protected $repliesDataType = 'array';
3745    public $selfLink;
3746    public $status;
3747  
3748  
3749    public function setAnchor($anchor)
3750    {
3751      $this->anchor = $anchor;
3752    }
3753    public function getAnchor()
3754    {
3755      return $this->anchor;
3756    }
3757    public function setAuthor(Google_Service_Drive_User $author)
3758    {
3759      $this->author = $author;
3760    }
3761    public function getAuthor()
3762    {
3763      return $this->author;
3764    }
3765    public function setCommentId($commentId)
3766    {
3767      $this->commentId = $commentId;
3768    }
3769    public function getCommentId()
3770    {
3771      return $this->commentId;
3772    }
3773    public function setContent($content)
3774    {
3775      $this->content = $content;
3776    }
3777    public function getContent()
3778    {
3779      return $this->content;
3780    }
3781    public function setContext(Google_Service_Drive_CommentContext $context)
3782    {
3783      $this->context = $context;
3784    }
3785    public function getContext()
3786    {
3787      return $this->context;
3788    }
3789    public function setCreatedDate($createdDate)
3790    {
3791      $this->createdDate = $createdDate;
3792    }
3793    public function getCreatedDate()
3794    {
3795      return $this->createdDate;
3796    }
3797    public function setDeleted($deleted)
3798    {
3799      $this->deleted = $deleted;
3800    }
3801    public function getDeleted()
3802    {
3803      return $this->deleted;
3804    }
3805    public function setFileId($fileId)
3806    {
3807      $this->fileId = $fileId;
3808    }
3809    public function getFileId()
3810    {
3811      return $this->fileId;
3812    }
3813    public function setFileTitle($fileTitle)
3814    {
3815      $this->fileTitle = $fileTitle;
3816    }
3817    public function getFileTitle()
3818    {
3819      return $this->fileTitle;
3820    }
3821    public function setHtmlContent($htmlContent)
3822    {
3823      $this->htmlContent = $htmlContent;
3824    }
3825    public function getHtmlContent()
3826    {
3827      return $this->htmlContent;
3828    }
3829    public function setKind($kind)
3830    {
3831      $this->kind = $kind;
3832    }
3833    public function getKind()
3834    {
3835      return $this->kind;
3836    }
3837    public function setModifiedDate($modifiedDate)
3838    {
3839      $this->modifiedDate = $modifiedDate;
3840    }
3841    public function getModifiedDate()
3842    {
3843      return $this->modifiedDate;
3844    }
3845    public function setReplies($replies)
3846    {
3847      $this->replies = $replies;
3848    }
3849    public function getReplies()
3850    {
3851      return $this->replies;
3852    }
3853    public function setSelfLink($selfLink)
3854    {
3855      $this->selfLink = $selfLink;
3856    }
3857    public function getSelfLink()
3858    {
3859      return $this->selfLink;
3860    }
3861    public function setStatus($status)
3862    {
3863      $this->status = $status;
3864    }
3865    public function getStatus()
3866    {
3867      return $this->status;
3868    }
3869  }
3870  
3871  #[AllowDynamicProperties]
3872  class Google_Service_Drive_CommentContext extends Google_Model
3873  {
3874    protected $internal_gapi_mappings = array(
3875    );
3876    public $type;
3877    public $value;
3878  
3879  
3880    public function setType($type)
3881    {
3882      $this->type = $type;
3883    }
3884    public function getType()
3885    {
3886      return $this->type;
3887    }
3888    public function setValue($value)
3889    {
3890      $this->value = $value;
3891    }
3892    public function getValue()
3893    {
3894      return $this->value;
3895    }
3896  }
3897  
3898  #[AllowDynamicProperties]
3899  class Google_Service_Drive_CommentList extends Google_Collection
3900  {
3901    protected $collection_key = 'items';
3902    protected $internal_gapi_mappings = array(
3903    );
3904    protected $itemsType = 'Google_Service_Drive_Comment';
3905    protected $itemsDataType = 'array';
3906    public $kind;
3907    public $nextLink;
3908    public $nextPageToken;
3909    public $selfLink;
3910  
3911  
3912    public function setItems($items)
3913    {
3914      $this->items = $items;
3915    }
3916    public function getItems()
3917    {
3918      return $this->items;
3919    }
3920    public function setKind($kind)
3921    {
3922      $this->kind = $kind;
3923    }
3924    public function getKind()
3925    {
3926      return $this->kind;
3927    }
3928    public function setNextLink($nextLink)
3929    {
3930      $this->nextLink = $nextLink;
3931    }
3932    public function getNextLink()
3933    {
3934      return $this->nextLink;
3935    }
3936    public function setNextPageToken($nextPageToken)
3937    {
3938      $this->nextPageToken = $nextPageToken;
3939    }
3940    public function getNextPageToken()
3941    {
3942      return $this->nextPageToken;
3943    }
3944    public function setSelfLink($selfLink)
3945    {
3946      $this->selfLink = $selfLink;
3947    }
3948    public function getSelfLink()
3949    {
3950      return $this->selfLink;
3951    }
3952  }
3953  
3954  #[AllowDynamicProperties]
3955  class Google_Service_Drive_CommentReply extends Google_Model
3956  {
3957    protected $internal_gapi_mappings = array(
3958    );
3959    protected $authorType = 'Google_Service_Drive_User';
3960    protected $authorDataType = '';
3961    public $content;
3962    public $createdDate;
3963    public $deleted;
3964    public $htmlContent;
3965    public $kind;
3966    public $modifiedDate;
3967    public $replyId;
3968    public $verb;
3969  
3970  
3971    public function setAuthor(Google_Service_Drive_User $author)
3972    {
3973      $this->author = $author;
3974    }
3975    public function getAuthor()
3976    {
3977      return $this->author;
3978    }
3979    public function setContent($content)
3980    {
3981      $this->content = $content;
3982    }
3983    public function getContent()
3984    {
3985      return $this->content;
3986    }
3987    public function setCreatedDate($createdDate)
3988    {
3989      $this->createdDate = $createdDate;
3990    }
3991    public function getCreatedDate()
3992    {
3993      return $this->createdDate;
3994    }
3995    public function setDeleted($deleted)
3996    {
3997      $this->deleted = $deleted;
3998    }
3999    public function getDeleted()
4000    {
4001      return $this->deleted;
4002    }
4003    public function setHtmlContent($htmlContent)
4004    {
4005      $this->htmlContent = $htmlContent;
4006    }
4007    public function getHtmlContent()
4008    {
4009      return $this->htmlContent;
4010    }
4011    public function setKind($kind)
4012    {
4013      $this->kind = $kind;
4014    }
4015    public function getKind()
4016    {
4017      return $this->kind;
4018    }
4019    public function setModifiedDate($modifiedDate)
4020    {
4021      $this->modifiedDate = $modifiedDate;
4022    }
4023    public function getModifiedDate()
4024    {
4025      return $this->modifiedDate;
4026    }
4027    public function setReplyId($replyId)
4028    {
4029      $this->replyId = $replyId;
4030    }
4031    public function getReplyId()
4032    {
4033      return $this->replyId;
4034    }
4035    public function setVerb($verb)
4036    {
4037      $this->verb = $verb;
4038    }
4039    public function getVerb()
4040    {
4041      return $this->verb;
4042    }
4043  }
4044  
4045  #[AllowDynamicProperties]
4046  class Google_Service_Drive_CommentReplyList extends Google_Collection
4047  {
4048    protected $collection_key = 'items';
4049    protected $internal_gapi_mappings = array(
4050    );
4051    protected $itemsType = 'Google_Service_Drive_CommentReply';
4052    protected $itemsDataType = 'array';
4053    public $kind;
4054    public $nextLink;
4055    public $nextPageToken;
4056    public $selfLink;
4057  
4058  
4059    public function setItems($items)
4060    {
4061      $this->items = $items;
4062    }
4063    public function getItems()
4064    {
4065      return $this->items;
4066    }
4067    public function setKind($kind)
4068    {
4069      $this->kind = $kind;
4070    }
4071    public function getKind()
4072    {
4073      return $this->kind;
4074    }
4075    public function setNextLink($nextLink)
4076    {
4077      $this->nextLink = $nextLink;
4078    }
4079    public function getNextLink()
4080    {
4081      return $this->nextLink;
4082    }
4083    public function setNextPageToken($nextPageToken)
4084    {
4085      $this->nextPageToken = $nextPageToken;
4086    }
4087    public function getNextPageToken()
4088    {
4089      return $this->nextPageToken;
4090    }
4091    public function setSelfLink($selfLink)
4092    {
4093      $this->selfLink = $selfLink;
4094    }
4095    public function getSelfLink()
4096    {
4097      return $this->selfLink;
4098    }
4099  }
4100  
4101  #[AllowDynamicProperties]
4102  class Google_Service_Drive_DriveFile extends Google_Collection
4103  {
4104    protected $collection_key = 'spaces';
4105    protected $internal_gapi_mappings = array(
4106    );
4107    public $alternateLink;
4108    public $appDataContents;
4109    public $canComment;
4110    public $copyable;
4111    public $createdDate;
4112    public $defaultOpenWithLink;
4113    public $description;
4114    public $downloadUrl;
4115    public $editable;
4116    public $embedLink;
4117    public $etag;
4118    public $explicitlyTrashed;
4119    public $exportLinks;
4120    public $fileExtension;
4121    public $fileSize;
4122    public $folderColorRgb;
4123    public $fullFileExtension;
4124    public $headRevisionId;
4125    public $iconLink;
4126    public $id;
4127    protected $imageMediaMetadataType = 'Google_Service_Drive_DriveFileImageMediaMetadata';
4128    protected $imageMediaMetadataDataType = '';
4129    protected $indexableTextType = 'Google_Service_Drive_DriveFileIndexableText';
4130    protected $indexableTextDataType = '';
4131    public $kind;
4132    protected $labelsType = 'Google_Service_Drive_DriveFileLabels';
4133    protected $labelsDataType = '';
4134    protected $lastModifyingUserType = 'Google_Service_Drive_User';
4135    protected $lastModifyingUserDataType = '';
4136    public $lastModifyingUserName;
4137    public $lastViewedByMeDate;
4138    public $markedViewedByMeDate;
4139    public $md5Checksum;
4140    public $mimeType;
4141    public $modifiedByMeDate;
4142    public $modifiedDate;
4143    public $openWithLinks;
4144    public $originalFilename;
4145    public $ownedByMe;
4146    public $ownerNames;
4147    protected $ownersType = 'Google_Service_Drive_User';
4148    protected $ownersDataType = 'array';
4149    protected $parentsType = 'Google_Service_Drive_ParentReference';
4150    protected $parentsDataType = 'array';
4151    protected $permissionsType = 'Google_Service_Drive_Permission';
4152    protected $permissionsDataType = 'array';
4153    protected $propertiesType = 'Google_Service_Drive_Property';
4154    protected $propertiesDataType = 'array';
4155    public $quotaBytesUsed;
4156    public $selfLink;
4157    public $shareable;
4158    public $shared;
4159    public $sharedWithMeDate;
4160    protected $sharingUserType = 'Google_Service_Drive_User';
4161    protected $sharingUserDataType = '';
4162    public $spaces;
4163    protected $thumbnailType = 'Google_Service_Drive_DriveFileThumbnail';
4164    protected $thumbnailDataType = '';
4165    public $thumbnailLink;
4166    public $title;
4167    protected $userPermissionType = 'Google_Service_Drive_Permission';
4168    protected $userPermissionDataType = '';
4169    public $version;
4170    protected $videoMediaMetadataType = 'Google_Service_Drive_DriveFileVideoMediaMetadata';
4171    protected $videoMediaMetadataDataType = '';
4172    public $webContentLink;
4173    public $webViewLink;
4174    public $writersCanShare;
4175  
4176  
4177    public function setAlternateLink($alternateLink)
4178    {
4179      $this->alternateLink = $alternateLink;
4180    }
4181    public function getAlternateLink()
4182    {
4183      return $this->alternateLink;
4184    }
4185    public function setAppDataContents($appDataContents)
4186    {
4187      $this->appDataContents = $appDataContents;
4188    }
4189    public function getAppDataContents()
4190    {
4191      return $this->appDataContents;
4192    }
4193    public function setCanComment($canComment)
4194    {
4195      $this->canComment = $canComment;
4196    }
4197    public function getCanComment()
4198    {
4199      return $this->canComment;
4200    }
4201    public function setCopyable($copyable)
4202    {
4203      $this->copyable = $copyable;
4204    }
4205    public function getCopyable()
4206    {
4207      return $this->copyable;
4208    }
4209    public function setCreatedDate($createdDate)
4210    {
4211      $this->createdDate = $createdDate;
4212    }
4213    public function getCreatedDate()
4214    {
4215      return $this->createdDate;
4216    }
4217    public function setDefaultOpenWithLink($defaultOpenWithLink)
4218    {
4219      $this->defaultOpenWithLink = $defaultOpenWithLink;
4220    }
4221    public function getDefaultOpenWithLink()
4222    {
4223      return $this->defaultOpenWithLink;
4224    }
4225    public function setDescription($description)
4226    {
4227      $this->description = $description;
4228    }
4229    public function getDescription()
4230    {
4231      return $this->description;
4232    }
4233    public function setDownloadUrl($downloadUrl)
4234    {
4235      $this->downloadUrl = $downloadUrl;
4236    }
4237    public function getDownloadUrl()
4238    {
4239      return $this->downloadUrl;
4240    }
4241    public function setEditable($editable)
4242    {
4243      $this->editable = $editable;
4244    }
4245    public function getEditable()
4246    {
4247      return $this->editable;
4248    }
4249    public function setEmbedLink($embedLink)
4250    {
4251      $this->embedLink = $embedLink;
4252    }
4253    public function getEmbedLink()
4254    {
4255      return $this->embedLink;
4256    }
4257    public function setEtag($etag)
4258    {
4259      $this->etag = $etag;
4260    }
4261    public function getEtag()
4262    {
4263      return $this->etag;
4264    }
4265    public function setExplicitlyTrashed($explicitlyTrashed)
4266    {
4267      $this->explicitlyTrashed = $explicitlyTrashed;
4268    }
4269    public function getExplicitlyTrashed()
4270    {
4271      return $this->explicitlyTrashed;
4272    }
4273    public function setExportLinks($exportLinks)
4274    {
4275      $this->exportLinks = $exportLinks;
4276    }
4277    public function getExportLinks()
4278    {
4279      return $this->exportLinks;
4280    }
4281    public function setFileExtension($fileExtension)
4282    {
4283      $this->fileExtension = $fileExtension;
4284    }
4285    public function getFileExtension()
4286    {
4287      return $this->fileExtension;
4288    }
4289    public function setFileSize($fileSize)
4290    {
4291      $this->fileSize = $fileSize;
4292    }
4293    public function getFileSize()
4294    {
4295      return $this->fileSize;
4296    }
4297    public function setFolderColorRgb($folderColorRgb)
4298    {
4299      $this->folderColorRgb = $folderColorRgb;
4300    }
4301    public function getFolderColorRgb()
4302    {
4303      return $this->folderColorRgb;
4304    }
4305    public function setFullFileExtension($fullFileExtension)
4306    {
4307      $this->fullFileExtension = $fullFileExtension;
4308    }
4309    public function getFullFileExtension()
4310    {
4311      return $this->fullFileExtension;
4312    }
4313    public function setHeadRevisionId($headRevisionId)
4314    {
4315      $this->headRevisionId = $headRevisionId;
4316    }
4317    public function getHeadRevisionId()
4318    {
4319      return $this->headRevisionId;
4320    }
4321    public function setIconLink($iconLink)
4322    {
4323      $this->iconLink = $iconLink;
4324    }
4325    public function getIconLink()
4326    {
4327      return $this->iconLink;
4328    }
4329    public function setId($id)
4330    {
4331      $this->id = $id;
4332    }
4333    public function getId()
4334    {
4335      return $this->id;
4336    }
4337    public function setImageMediaMetadata(Google_Service_Drive_DriveFileImageMediaMetadata $imageMediaMetadata)
4338    {
4339      $this->imageMediaMetadata = $imageMediaMetadata;
4340    }
4341    public function getImageMediaMetadata()
4342    {
4343      return $this->imageMediaMetadata;
4344    }
4345    public function setIndexableText(Google_Service_Drive_DriveFileIndexableText $indexableText)
4346    {
4347      $this->indexableText = $indexableText;
4348    }
4349    public function getIndexableText()
4350    {
4351      return $this->indexableText;
4352    }
4353    public function setKind($kind)
4354    {
4355      $this->kind = $kind;
4356    }
4357    public function getKind()
4358    {
4359      return $this->kind;
4360    }
4361    public function setLabels(Google_Service_Drive_DriveFileLabels $labels)
4362    {
4363      $this->labels = $labels;
4364    }
4365    public function getLabels()
4366    {
4367      return $this->labels;
4368    }
4369    public function setLastModifyingUser(Google_Service_Drive_User $lastModifyingUser)
4370    {
4371      $this->lastModifyingUser = $lastModifyingUser;
4372    }
4373    public function getLastModifyingUser()
4374    {
4375      return $this->lastModifyingUser;
4376    }
4377    public function setLastModifyingUserName($lastModifyingUserName)
4378    {
4379      $this->lastModifyingUserName = $lastModifyingUserName;
4380    }
4381    public function getLastModifyingUserName()
4382    {
4383      return $this->lastModifyingUserName;
4384    }
4385    public function setLastViewedByMeDate($lastViewedByMeDate)
4386    {
4387      $this->lastViewedByMeDate = $lastViewedByMeDate;
4388    }
4389    public function getLastViewedByMeDate()
4390    {
4391      return $this->lastViewedByMeDate;
4392    }
4393    public function setMarkedViewedByMeDate($markedViewedByMeDate)
4394    {
4395      $this->markedViewedByMeDate = $markedViewedByMeDate;
4396    }
4397    public function getMarkedViewedByMeDate()
4398    {
4399      return $this->markedViewedByMeDate;
4400    }
4401    public function setMd5Checksum($md5Checksum)
4402    {
4403      $this->md5Checksum = $md5Checksum;
4404    }
4405    public function getMd5Checksum()
4406    {
4407      return $this->md5Checksum;
4408    }
4409    public function setMimeType($mimeType)
4410    {
4411      $this->mimeType = $mimeType;
4412    }
4413    public function getMimeType()
4414    {
4415      return $this->mimeType;
4416    }
4417    public function setModifiedByMeDate($modifiedByMeDate)
4418    {
4419      $this->modifiedByMeDate = $modifiedByMeDate;
4420    }
4421    public function getModifiedByMeDate()
4422    {
4423      return $this->modifiedByMeDate;
4424    }
4425    public function setModifiedDate($modifiedDate)
4426    {
4427      $this->modifiedDate = $modifiedDate;
4428    }
4429    public function getModifiedDate()
4430    {
4431      return $this->modifiedDate;
4432    }
4433    public function setOpenWithLinks($openWithLinks)
4434    {
4435      $this->openWithLinks = $openWithLinks;
4436    }
4437    public function getOpenWithLinks()
4438    {
4439      return $this->openWithLinks;
4440    }
4441    public function setOriginalFilename($originalFilename)
4442    {
4443      $this->originalFilename = $originalFilename;
4444    }
4445    public function getOriginalFilename()
4446    {
4447      return $this->originalFilename;
4448    }
4449    public function setOwnedByMe($ownedByMe)
4450    {
4451      $this->ownedByMe = $ownedByMe;
4452    }
4453    public function getOwnedByMe()
4454    {
4455      return $this->ownedByMe;
4456    }
4457    public function setOwnerNames($ownerNames)
4458    {
4459      $this->ownerNames = $ownerNames;
4460    }
4461    public function getOwnerNames()
4462    {
4463      return $this->ownerNames;
4464    }
4465    public function setOwners($owners)
4466    {
4467      $this->owners = $owners;
4468    }
4469    public function getOwners()
4470    {
4471      return $this->owners;
4472    }
4473    public function setParents($parents)
4474    {
4475      $this->parents = $parents;
4476    }
4477    public function getParents()
4478    {
4479      return $this->parents;
4480    }
4481    public function setPermissions($permissions)
4482    {
4483      $this->permissions = $permissions;
4484    }
4485    public function getPermissions()
4486    {
4487      return $this->permissions;
4488    }
4489    public function setProperties($properties)
4490    {
4491      $this->properties = $properties;
4492    }
4493    public function getProperties()
4494    {
4495      return $this->properties;
4496    }
4497    public function setQuotaBytesUsed($quotaBytesUsed)
4498    {
4499      $this->quotaBytesUsed = $quotaBytesUsed;
4500    }
4501    public function getQuotaBytesUsed()
4502    {
4503      return $this->quotaBytesUsed;
4504    }
4505    public function setSelfLink($selfLink)
4506    {
4507      $this->selfLink = $selfLink;
4508    }
4509    public function getSelfLink()
4510    {
4511      return $this->selfLink;
4512    }
4513    public function setShareable($shareable)
4514    {
4515      $this->shareable = $shareable;
4516    }
4517    public function getShareable()
4518    {
4519      return $this->shareable;
4520    }
4521    public function setShared($shared)
4522    {
4523      $this->shared = $shared;
4524    }
4525    public function getShared()
4526    {
4527      return $this->shared;
4528    }
4529    public function setSharedWithMeDate($sharedWithMeDate)
4530    {
4531      $this->sharedWithMeDate = $sharedWithMeDate;
4532    }
4533    public function getSharedWithMeDate()
4534    {
4535      return $this->sharedWithMeDate;
4536    }
4537    public function setSharingUser(Google_Service_Drive_User $sharingUser)
4538    {
4539      $this->sharingUser = $sharingUser;
4540    }
4541    public function getSharingUser()
4542    {
4543      return $this->sharingUser;
4544    }
4545    public function setSpaces($spaces)
4546    {
4547      $this->spaces = $spaces;
4548    }
4549    public function getSpaces()
4550    {
4551      return $this->spaces;
4552    }
4553    public function setThumbnail(Google_Service_Drive_DriveFileThumbnail $thumbnail)
4554    {
4555      $this->thumbnail = $thumbnail;
4556    }
4557    public function getThumbnail()
4558    {
4559      return $this->thumbnail;
4560    }
4561    public function setThumbnailLink($thumbnailLink)
4562    {
4563      $this->thumbnailLink = $thumbnailLink;
4564    }
4565    public function getThumbnailLink()
4566    {
4567      return $this->thumbnailLink;
4568    }
4569    public function setTitle($title)
4570    {
4571      $this->title = $title;
4572    }
4573    public function getTitle()
4574    {
4575      return $this->title;
4576    }
4577    public function setUserPermission(Google_Service_Drive_Permission $userPermission)
4578    {
4579      $this->userPermission = $userPermission;
4580    }
4581    public function getUserPermission()
4582    {
4583      return $this->userPermission;
4584    }
4585    public function setVersion($version)
4586    {
4587      $this->version = $version;
4588    }
4589    public function getVersion()
4590    {
4591      return $this->version;
4592    }
4593    public function setVideoMediaMetadata(Google_Service_Drive_DriveFileVideoMediaMetadata $videoMediaMetadata)
4594    {
4595      $this->videoMediaMetadata = $videoMediaMetadata;
4596    }
4597    public function getVideoMediaMetadata()
4598    {
4599      return $this->videoMediaMetadata;
4600    }
4601    public function setWebContentLink($webContentLink)
4602    {
4603      $this->webContentLink = $webContentLink;
4604    }
4605    public function getWebContentLink()
4606    {
4607      return $this->webContentLink;
4608    }
4609    public function setWebViewLink($webViewLink)
4610    {
4611      $this->webViewLink = $webViewLink;
4612    }
4613    public function getWebViewLink()
4614    {
4615      return $this->webViewLink;
4616    }
4617    public function setWritersCanShare($writersCanShare)
4618    {
4619      $this->writersCanShare = $writersCanShare;
4620    }
4621    public function getWritersCanShare()
4622    {
4623      return $this->writersCanShare;
4624    }
4625  }
4626  
4627  #[AllowDynamicProperties]
4628  class Google_Service_Drive_DriveFileExportLinks extends Google_Model
4629  {
4630  }
4631  
4632  #[AllowDynamicProperties]
4633  class Google_Service_Drive_DriveFileImageMediaMetadata extends Google_Model
4634  {
4635    protected $internal_gapi_mappings = array(
4636    );
4637    public $aperture;
4638    public $cameraMake;
4639    public $cameraModel;
4640    public $colorSpace;
4641    public $date;
4642    public $exposureBias;
4643    public $exposureMode;
4644    public $exposureTime;
4645    public $flashUsed;
4646    public $focalLength;
4647    public $height;
4648    public $isoSpeed;
4649    public $lens;
4650    protected $locationType = 'Google_Service_Drive_DriveFileImageMediaMetadataLocation';
4651    protected $locationDataType = '';
4652    public $maxApertureValue;
4653    public $meteringMode;
4654    public $rotation;
4655    public $sensor;
4656    public $subjectDistance;
4657    public $whiteBalance;
4658    public $width;
4659  
4660  
4661    public function setAperture($aperture)
4662    {
4663      $this->aperture = $aperture;
4664    }
4665    public function getAperture()
4666    {
4667      return $this->aperture;
4668    }
4669    public function setCameraMake($cameraMake)
4670    {
4671      $this->cameraMake = $cameraMake;
4672    }
4673    public function getCameraMake()
4674    {
4675      return $this->cameraMake;
4676    }
4677    public function setCameraModel($cameraModel)
4678    {
4679      $this->cameraModel = $cameraModel;
4680    }
4681    public function getCameraModel()
4682    {
4683      return $this->cameraModel;
4684    }
4685    public function setColorSpace($colorSpace)
4686    {
4687      $this->colorSpace = $colorSpace;
4688    }
4689    public function getColorSpace()
4690    {
4691      return $this->colorSpace;
4692    }
4693    public function setDate($date)
4694    {
4695      $this->date = $date;
4696    }
4697    public function getDate()
4698    {
4699      return $this->date;
4700    }
4701    public function setExposureBias($exposureBias)
4702    {
4703      $this->exposureBias = $exposureBias;
4704    }
4705    public function getExposureBias()
4706    {
4707      return $this->exposureBias;
4708    }
4709    public function setExposureMode($exposureMode)
4710    {
4711      $this->exposureMode = $exposureMode;
4712    }
4713    public function getExposureMode()
4714    {
4715      return $this->exposureMode;
4716    }
4717    public function setExposureTime($exposureTime)
4718    {
4719      $this->exposureTime = $exposureTime;
4720    }
4721    public function getExposureTime()
4722    {
4723      return $this->exposureTime;
4724    }
4725    public function setFlashUsed($flashUsed)
4726    {
4727      $this->flashUsed = $flashUsed;
4728    }
4729    public function getFlashUsed()
4730    {
4731      return $this->flashUsed;
4732    }
4733    public function setFocalLength($focalLength)
4734    {
4735      $this->focalLength = $focalLength;
4736    }
4737    public function getFocalLength()
4738    {
4739      return $this->focalLength;
4740    }
4741    public function setHeight($height)
4742    {
4743      $this->height = $height;
4744    }
4745    public function getHeight()
4746    {
4747      return $this->height;
4748    }
4749    public function setIsoSpeed($isoSpeed)
4750    {
4751      $this->isoSpeed = $isoSpeed;
4752    }
4753    public function getIsoSpeed()
4754    {
4755      return $this->isoSpeed;
4756    }
4757    public function setLens($lens)
4758    {
4759      $this->lens = $lens;
4760    }
4761    public function getLens()
4762    {
4763      return $this->lens;
4764    }
4765    public function setLocation(Google_Service_Drive_DriveFileImageMediaMetadataLocation $location)
4766    {
4767      $this->location = $location;
4768    }
4769    public function getLocation()
4770    {
4771      return $this->location;
4772    }
4773    public function setMaxApertureValue($maxApertureValue)
4774    {
4775      $this->maxApertureValue = $maxApertureValue;
4776    }
4777    public function getMaxApertureValue()
4778    {
4779      return $this->maxApertureValue;
4780    }
4781    public function setMeteringMode($meteringMode)
4782    {
4783      $this->meteringMode = $meteringMode;
4784    }
4785    public function getMeteringMode()
4786    {
4787      return $this->meteringMode;
4788    }
4789    public function setRotation($rotation)
4790    {
4791      $this->rotation = $rotation;
4792    }
4793    public function getRotation()
4794    {
4795      return $this->rotation;
4796    }
4797    public function setSensor($sensor)
4798    {
4799      $this->sensor = $sensor;
4800    }
4801    public function getSensor()
4802    {
4803      return $this->sensor;
4804    }
4805    public function setSubjectDistance($subjectDistance)
4806    {
4807      $this->subjectDistance = $subjectDistance;
4808    }
4809    public function getSubjectDistance()
4810    {
4811      return $this->subjectDistance;
4812    }
4813    public function setWhiteBalance($whiteBalance)
4814    {
4815      $this->whiteBalance = $whiteBalance;
4816    }
4817    public function getWhiteBalance()
4818    {
4819      return $this->whiteBalance;
4820    }
4821    public function setWidth($width)
4822    {
4823      $this->width = $width;
4824    }
4825    public function getWidth()
4826    {
4827      return $this->width;
4828    }
4829  }
4830  
4831  #[AllowDynamicProperties]
4832  class Google_Service_Drive_DriveFileImageMediaMetadataLocation extends Google_Model
4833  {
4834    protected $internal_gapi_mappings = array(
4835    );
4836    public $altitude;
4837    public $latitude;
4838    public $longitude;
4839  
4840  
4841    public function setAltitude($altitude)
4842    {
4843      $this->altitude = $altitude;
4844    }
4845    public function getAltitude()
4846    {
4847      return $this->altitude;
4848    }
4849    public function setLatitude($latitude)
4850    {
4851      $this->latitude = $latitude;
4852    }
4853    public function getLatitude()
4854    {
4855      return $this->latitude;
4856    }
4857    public function setLongitude($longitude)
4858    {
4859      $this->longitude = $longitude;
4860    }
4861    public function getLongitude()
4862    {
4863      return $this->longitude;
4864    }
4865  }
4866  
4867  #[AllowDynamicProperties]
4868  class Google_Service_Drive_DriveFileIndexableText extends Google_Model
4869  {
4870    protected $internal_gapi_mappings = array(
4871    );
4872    public $text;
4873  
4874  
4875    public function setText($text)
4876    {
4877      $this->text = $text;
4878    }
4879    public function getText()
4880    {
4881      return $this->text;
4882    }
4883  }
4884  
4885  #[AllowDynamicProperties]
4886  class Google_Service_Drive_DriveFileLabels extends Google_Model
4887  {
4888    protected $internal_gapi_mappings = array(
4889    );
4890    public $hidden;
4891    public $restricted;
4892    public $starred;
4893    public $trashed;
4894    public $viewed;
4895  
4896  
4897    public function setHidden($hidden)
4898    {
4899      $this->hidden = $hidden;
4900    }
4901    public function getHidden()
4902    {
4903      return $this->hidden;
4904    }
4905    public function setRestricted($restricted)
4906    {
4907      $this->restricted = $restricted;
4908    }
4909    public function getRestricted()
4910    {
4911      return $this->restricted;
4912    }
4913    public function setStarred($starred)
4914    {
4915      $this->starred = $starred;
4916    }
4917    public function getStarred()
4918    {
4919      return $this->starred;
4920    }
4921    public function setTrashed($trashed)
4922    {
4923      $this->trashed = $trashed;
4924    }
4925    public function getTrashed()
4926    {
4927      return $this->trashed;
4928    }
4929    public function setViewed($viewed)
4930    {
4931      $this->viewed = $viewed;
4932    }
4933    public function getViewed()
4934    {
4935      return $this->viewed;
4936    }
4937  }
4938  
4939  #[AllowDynamicProperties]
4940  class Google_Service_Drive_DriveFileOpenWithLinks extends Google_Model
4941  {
4942  }
4943  
4944  #[AllowDynamicProperties]
4945  class Google_Service_Drive_DriveFileThumbnail extends Google_Model
4946  {
4947    protected $internal_gapi_mappings = array(
4948    );
4949    public $image;
4950    public $mimeType;
4951  
4952  
4953    public function setImage($image)
4954    {
4955      $this->image = $image;
4956    }
4957    public function getImage()
4958    {
4959      return $this->image;
4960    }
4961    public function setMimeType($mimeType)
4962    {
4963      $this->mimeType = $mimeType;
4964    }
4965    public function getMimeType()
4966    {
4967      return $this->mimeType;
4968    }
4969  }
4970  
4971  #[AllowDynamicProperties]
4972  class Google_Service_Drive_DriveFileVideoMediaMetadata extends Google_Model
4973  {
4974    protected $internal_gapi_mappings = array(
4975    );
4976    public $durationMillis;
4977    public $height;
4978    public $width;
4979  
4980  
4981    public function setDurationMillis($durationMillis)
4982    {
4983      $this->durationMillis = $durationMillis;
4984    }
4985    public function getDurationMillis()
4986    {
4987      return $this->durationMillis;
4988    }
4989    public function setHeight($height)
4990    {
4991      $this->height = $height;
4992    }
4993    public function getHeight()
4994    {
4995      return $this->height;
4996    }
4997    public function setWidth($width)
4998    {
4999      $this->width = $width;
5000    }
5001    public function getWidth()
5002    {
5003      return $this->width;
5004    }
5005  }
5006  
5007  #[AllowDynamicProperties]
5008  class Google_Service_Drive_FileList extends Google_Collection
5009  {
5010    protected $collection_key = 'items';
5011    protected $internal_gapi_mappings = array(
5012    );
5013    public $etag;
5014    protected $itemsType = 'Google_Service_Drive_DriveFile';
5015    protected $itemsDataType = 'array';
5016    public $kind;
5017    public $nextLink;
5018    public $nextPageToken;
5019    public $selfLink;
5020  
5021  
5022    public function setEtag($etag)
5023    {
5024      $this->etag = $etag;
5025    }
5026    public function getEtag()
5027    {
5028      return $this->etag;
5029    }
5030    public function setItems($items)
5031    {
5032      $this->items = $items;
5033    }
5034    public function getItems()
5035    {
5036      return $this->items;
5037    }
5038    public function setKind($kind)
5039    {
5040      $this->kind = $kind;
5041    }
5042    public function getKind()
5043    {
5044      return $this->kind;
5045    }
5046    public function setNextLink($nextLink)
5047    {
5048      $this->nextLink = $nextLink;
5049    }
5050    public function getNextLink()
5051    {
5052      return $this->nextLink;
5053    }
5054    public function setNextPageToken($nextPageToken)
5055    {
5056      $this->nextPageToken = $nextPageToken;
5057    }
5058    public function getNextPageToken()
5059    {
5060      return $this->nextPageToken;
5061    }
5062    public function setSelfLink($selfLink)
5063    {
5064      $this->selfLink = $selfLink;
5065    }
5066    public function getSelfLink()
5067    {
5068      return $this->selfLink;
5069    }
5070  }
5071  
5072  #[AllowDynamicProperties]
5073  class Google_Service_Drive_GeneratedIds extends Google_Collection
5074  {
5075    protected $collection_key = 'ids';
5076    protected $internal_gapi_mappings = array(
5077    );
5078    public $ids;
5079    public $kind;
5080    public $space;
5081  
5082  
5083    public function setIds($ids)
5084    {
5085      $this->ids = $ids;
5086    }
5087    public function getIds()
5088    {
5089      return $this->ids;
5090    }
5091    public function setKind($kind)
5092    {
5093      $this->kind = $kind;
5094    }
5095    public function getKind()
5096    {
5097      return $this->kind;
5098    }
5099    public function setSpace($space)
5100    {
5101      $this->space = $space;
5102    }
5103    public function getSpace()
5104    {
5105      return $this->space;
5106    }
5107  }
5108  
5109  #[AllowDynamicProperties]
5110  class Google_Service_Drive_ParentList extends Google_Collection
5111  {
5112    protected $collection_key = 'items';
5113    protected $internal_gapi_mappings = array(
5114    );
5115    public $etag;
5116    protected $itemsType = 'Google_Service_Drive_ParentReference';
5117    protected $itemsDataType = 'array';
5118    public $kind;
5119    public $selfLink;
5120  
5121  
5122    public function setEtag($etag)
5123    {
5124      $this->etag = $etag;
5125    }
5126    public function getEtag()
5127    {
5128      return $this->etag;
5129    }
5130    public function setItems($items)
5131    {
5132      $this->items = $items;
5133    }
5134    public function getItems()
5135    {
5136      return $this->items;
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 setSelfLink($selfLink)
5147    {
5148      $this->selfLink = $selfLink;
5149    }
5150    public function getSelfLink()
5151    {
5152      return $this->selfLink;
5153    }
5154  }
5155  
5156  #[AllowDynamicProperties]
5157  class Google_Service_Drive_ParentReference extends Google_Model
5158  {
5159    protected $internal_gapi_mappings = array(
5160    );
5161    public $id;
5162    public $isRoot;
5163    public $kind;
5164    public $parentLink;
5165    public $selfLink;
5166  
5167  
5168    public function setId($id)
5169    {
5170      $this->id = $id;
5171    }
5172    public function getId()
5173    {
5174      return $this->id;
5175    }
5176    public function setIsRoot($isRoot)
5177    {
5178      $this->isRoot = $isRoot;
5179    }
5180    public function getIsRoot()
5181    {
5182      return $this->isRoot;
5183    }
5184    public function setKind($kind)
5185    {
5186      $this->kind = $kind;
5187    }
5188    public function getKind()
5189    {
5190      return $this->kind;
5191    }
5192    public function setParentLink($parentLink)
5193    {
5194      $this->parentLink = $parentLink;
5195    }
5196    public function getParentLink()
5197    {
5198      return $this->parentLink;
5199    }
5200    public function setSelfLink($selfLink)
5201    {
5202      $this->selfLink = $selfLink;
5203    }
5204    public function getSelfLink()
5205    {
5206      return $this->selfLink;
5207    }
5208  }
5209  
5210  #[AllowDynamicProperties]
5211  class Google_Service_Drive_Permission extends Google_Collection
5212  {
5213    protected $collection_key = 'additionalRoles';
5214    protected $internal_gapi_mappings = array(
5215    );
5216    public $additionalRoles;
5217    public $authKey;
5218    public $domain;
5219    public $emailAddress;
5220    public $etag;
5221    public $id;
5222    public $kind;
5223    public $name;
5224    public $photoLink;
5225    public $role;
5226    public $selfLink;
5227    public $type;
5228    public $value;
5229    public $withLink;
5230  
5231  
5232    public function setAdditionalRoles($additionalRoles)
5233    {
5234      $this->additionalRoles = $additionalRoles;
5235    }
5236    public function getAdditionalRoles()
5237    {
5238      return $this->additionalRoles;
5239    }
5240    public function setAuthKey($authKey)
5241    {
5242      $this->authKey = $authKey;
5243    }
5244    public function getAuthKey()
5245    {
5246      return $this->authKey;
5247    }
5248    public function setDomain($domain)
5249    {
5250      $this->domain = $domain;
5251    }
5252    public function getDomain()
5253    {
5254      return $this->domain;
5255    }
5256    public function setEmailAddress($emailAddress)
5257    {
5258      $this->emailAddress = $emailAddress;
5259    }
5260    public function getEmailAddress()
5261    {
5262      return $this->emailAddress;
5263    }
5264    public function setEtag($etag)
5265    {
5266      $this->etag = $etag;
5267    }
5268    public function getEtag()
5269    {
5270      return $this->etag;
5271    }
5272    public function setId($id)
5273    {
5274      $this->id = $id;
5275    }
5276    public function getId()
5277    {
5278      return $this->id;
5279    }
5280    public function setKind($kind)
5281    {
5282      $this->kind = $kind;
5283    }
5284    public function getKind()
5285    {
5286      return $this->kind;
5287    }
5288    public function setName($name)
5289    {
5290      $this->name = $name;
5291    }
5292    public function getName()
5293    {
5294      return $this->name;
5295    }
5296    public function setPhotoLink($photoLink)
5297    {
5298      $this->photoLink = $photoLink;
5299    }
5300    public function getPhotoLink()
5301    {
5302      return $this->photoLink;
5303    }
5304    public function setRole($role)
5305    {
5306      $this->role = $role;
5307    }
5308    public function getRole()
5309    {
5310      return $this->role;
5311    }
5312    public function setSelfLink($selfLink)
5313    {
5314      $this->selfLink = $selfLink;
5315    }
5316    public function getSelfLink()
5317    {
5318      return $this->selfLink;
5319    }
5320    public function setType($type)
5321    {
5322      $this->type = $type;
5323    }
5324    public function getType()
5325    {
5326      return $this->type;
5327    }
5328    public function setValue($value)
5329    {
5330      $this->value = $value;
5331    }
5332    public function getValue()
5333    {
5334      return $this->value;
5335    }
5336    public function setWithLink($withLink)
5337    {
5338      $this->withLink = $withLink;
5339    }
5340    public function getWithLink()
5341    {
5342      return $this->withLink;
5343    }
5344  }
5345  
5346  #[AllowDynamicProperties]
5347  class Google_Service_Drive_PermissionId extends Google_Model
5348  {
5349    protected $internal_gapi_mappings = array(
5350    );
5351    public $id;
5352    public $kind;
5353  
5354  
5355    public function setId($id)
5356    {
5357      $this->id = $id;
5358    }
5359    public function getId()
5360    {
5361      return $this->id;
5362    }
5363    public function setKind($kind)
5364    {
5365      $this->kind = $kind;
5366    }
5367    public function getKind()
5368    {
5369      return $this->kind;
5370    }
5371  }
5372  
5373  #[AllowDynamicProperties]
5374  class Google_Service_Drive_PermissionList extends Google_Collection
5375  {
5376    protected $collection_key = 'items';
5377    protected $internal_gapi_mappings = array(
5378    );
5379    public $etag;
5380    protected $itemsType = 'Google_Service_Drive_Permission';
5381    protected $itemsDataType = 'array';
5382    public $kind;
5383    public $selfLink;
5384  
5385  
5386    public function setEtag($etag)
5387    {
5388      $this->etag = $etag;
5389    }
5390    public function getEtag()
5391    {
5392      return $this->etag;
5393    }
5394    public function setItems($items)
5395    {
5396      $this->items = $items;
5397    }
5398    public function getItems()
5399    {
5400      return $this->items;
5401    }
5402    public function setKind($kind)
5403    {
5404      $this->kind = $kind;
5405    }
5406    public function getKind()
5407    {
5408      return $this->kind;
5409    }
5410    public function setSelfLink($selfLink)
5411    {
5412      $this->selfLink = $selfLink;
5413    }
5414    public function getSelfLink()
5415    {
5416      return $this->selfLink;
5417    }
5418  }
5419  
5420  #[AllowDynamicProperties]
5421  class Google_Service_Drive_Property extends Google_Model
5422  {
5423    protected $internal_gapi_mappings = array(
5424    );
5425    public $etag;
5426    public $key;
5427    public $kind;
5428    public $selfLink;
5429    public $value;
5430    public $visibility;
5431  
5432  
5433    public function setEtag($etag)
5434    {
5435      $this->etag = $etag;
5436    }
5437    public function getEtag()
5438    {
5439      return $this->etag;
5440    }
5441    public function setKey($key)
5442    {
5443      $this->key = $key;
5444    }
5445    public function getKey()
5446    {
5447      return $this->key;
5448    }
5449    public function setKind($kind)
5450    {
5451      $this->kind = $kind;
5452    }
5453    public function getKind()
5454    {
5455      return $this->kind;
5456    }
5457    public function setSelfLink($selfLink)
5458    {
5459      $this->selfLink = $selfLink;
5460    }
5461    public function getSelfLink()
5462    {
5463      return $this->selfLink;
5464    }
5465    public function setValue($value)
5466    {
5467      $this->value = $value;
5468    }
5469    public function getValue()
5470    {
5471      return $this->value;
5472    }
5473    public function setVisibility($visibility)
5474    {
5475      $this->visibility = $visibility;
5476    }
5477    public function getVisibility()
5478    {
5479      return $this->visibility;
5480    }
5481  }
5482  
5483  #[AllowDynamicProperties]
5484  class Google_Service_Drive_PropertyList extends Google_Collection
5485  {
5486    protected $collection_key = 'items';
5487    protected $internal_gapi_mappings = array(
5488    );
5489    public $etag;
5490    protected $itemsType = 'Google_Service_Drive_Property';
5491    protected $itemsDataType = 'array';
5492    public $kind;
5493    public $selfLink;
5494  
5495  
5496    public function setEtag($etag)
5497    {
5498      $this->etag = $etag;
5499    }
5500    public function getEtag()
5501    {
5502      return $this->etag;
5503    }
5504    public function setItems($items)
5505    {
5506      $this->items = $items;
5507    }
5508    public function getItems()
5509    {
5510      return $this->items;
5511    }
5512    public function setKind($kind)
5513    {
5514      $this->kind = $kind;
5515    }
5516    public function getKind()
5517    {
5518      return $this->kind;
5519    }
5520    public function setSelfLink($selfLink)
5521    {
5522      $this->selfLink = $selfLink;
5523    }
5524    public function getSelfLink()
5525    {
5526      return $this->selfLink;
5527    }
5528  }
5529  
5530  #[AllowDynamicProperties]
5531  class Google_Service_Drive_Revision extends Google_Model
5532  {
5533    protected $internal_gapi_mappings = array(
5534    );
5535    public $downloadUrl;
5536    public $etag;
5537    public $exportLinks;
5538    public $fileSize;
5539    public $id;
5540    public $kind;
5541    protected $lastModifyingUserType = 'Google_Service_Drive_User';
5542    protected $lastModifyingUserDataType = '';
5543    public $lastModifyingUserName;
5544    public $md5Checksum;
5545    public $mimeType;
5546    public $modifiedDate;
5547    public $originalFilename;
5548    public $pinned;
5549    public $publishAuto;
5550    public $published;
5551    public $publishedLink;
5552    public $publishedOutsideDomain;
5553    public $selfLink;
5554  
5555  
5556    public function setDownloadUrl($downloadUrl)
5557    {
5558      $this->downloadUrl = $downloadUrl;
5559    }
5560    public function getDownloadUrl()
5561    {
5562      return $this->downloadUrl;
5563    }
5564    public function setEtag($etag)
5565    {
5566      $this->etag = $etag;
5567    }
5568    public function getEtag()
5569    {
5570      return $this->etag;
5571    }
5572    public function setExportLinks($exportLinks)
5573    {
5574      $this->exportLinks = $exportLinks;
5575    }
5576    public function getExportLinks()
5577    {
5578      return $this->exportLinks;
5579    }
5580    public function setFileSize($fileSize)
5581    {
5582      $this->fileSize = $fileSize;
5583    }
5584    public function getFileSize()
5585    {
5586      return $this->fileSize;
5587    }
5588    public function setId($id)
5589    {
5590      $this->id = $id;
5591    }
5592    public function getId()
5593    {
5594      return $this->id;
5595    }
5596    public function setKind($kind)
5597    {
5598      $this->kind = $kind;
5599    }
5600    public function getKind()
5601    {
5602      return $this->kind;
5603    }
5604    public function setLastModifyingUser(Google_Service_Drive_User $lastModifyingUser)
5605    {
5606      $this->lastModifyingUser = $lastModifyingUser;
5607    }
5608    public function getLastModifyingUser()
5609    {
5610      return $this->lastModifyingUser;
5611    }
5612    public function setLastModifyingUserName($lastModifyingUserName)
5613    {
5614      $this->lastModifyingUserName = $lastModifyingUserName;
5615    }
5616    public function getLastModifyingUserName()
5617    {
5618      return $this->lastModifyingUserName;
5619    }
5620    public function setMd5Checksum($md5Checksum)
5621    {
5622      $this->md5Checksum = $md5Checksum;
5623    }
5624    public function getMd5Checksum()
5625    {
5626      return $this->md5Checksum;
5627    }
5628    public function setMimeType($mimeType)
5629    {
5630      $this->mimeType = $mimeType;
5631    }
5632    public function getMimeType()
5633    {
5634      return $this->mimeType;
5635    }
5636    public function setModifiedDate($modifiedDate)
5637    {
5638      $this->modifiedDate = $modifiedDate;
5639    }
5640    public function getModifiedDate()
5641    {
5642      return $this->modifiedDate;
5643    }
5644    public function setOriginalFilename($originalFilename)
5645    {
5646      $this->originalFilename = $originalFilename;
5647    }
5648    public function getOriginalFilename()
5649    {
5650      return $this->originalFilename;
5651    }
5652    public function setPinned($pinned)
5653    {
5654      $this->pinned = $pinned;
5655    }
5656    public function getPinned()
5657    {
5658      return $this->pinned;
5659    }
5660    public function setPublishAuto($publishAuto)
5661    {
5662      $this->publishAuto = $publishAuto;
5663    }
5664    public function getPublishAuto()
5665    {
5666      return $this->publishAuto;
5667    }
5668    public function setPublished($published)
5669    {
5670      $this->published = $published;
5671    }
5672    public function getPublished()
5673    {
5674      return $this->published;
5675    }
5676    public function setPublishedLink($publishedLink)
5677    {
5678      $this->publishedLink = $publishedLink;
5679    }
5680    public function getPublishedLink()
5681    {
5682      return $this->publishedLink;
5683    }
5684    public function setPublishedOutsideDomain($publishedOutsideDomain)
5685    {
5686      $this->publishedOutsideDomain = $publishedOutsideDomain;
5687    }
5688    public function getPublishedOutsideDomain()
5689    {
5690      return $this->publishedOutsideDomain;
5691    }
5692    public function setSelfLink($selfLink)
5693    {
5694      $this->selfLink = $selfLink;
5695    }
5696    public function getSelfLink()
5697    {
5698      return $this->selfLink;
5699    }
5700  }
5701  
5702  #[AllowDynamicProperties]
5703  class Google_Service_Drive_RevisionExportLinks extends Google_Model
5704  {
5705  }
5706  
5707  #[AllowDynamicProperties]
5708  class Google_Service_Drive_RevisionList extends Google_Collection
5709  {
5710    protected $collection_key = 'items';
5711    protected $internal_gapi_mappings = array(
5712    );
5713    public $etag;
5714    protected $itemsType = 'Google_Service_Drive_Revision';
5715    protected $itemsDataType = 'array';
5716    public $kind;
5717    public $selfLink;
5718  
5719  
5720    public function setEtag($etag)
5721    {
5722      $this->etag = $etag;
5723    }
5724    public function getEtag()
5725    {
5726      return $this->etag;
5727    }
5728    public function setItems($items)
5729    {
5730      $this->items = $items;
5731    }
5732    public function getItems()
5733    {
5734      return $this->items;
5735    }
5736    public function setKind($kind)
5737    {
5738      $this->kind = $kind;
5739    }
5740    public function getKind()
5741    {
5742      return $this->kind;
5743    }
5744    public function setSelfLink($selfLink)
5745    {
5746      $this->selfLink = $selfLink;
5747    }
5748    public function getSelfLink()
5749    {
5750      return $this->selfLink;
5751    }
5752  }
5753  
5754  #[AllowDynamicProperties]
5755  class Google_Service_Drive_User extends Google_Model
5756  {
5757    protected $internal_gapi_mappings = array(
5758    );
5759    public $displayName;
5760    public $emailAddress;
5761    public $isAuthenticatedUser;
5762    public $kind;
5763    public $permissionId;
5764    protected $pictureType = 'Google_Service_Drive_UserPicture';
5765    protected $pictureDataType = '';
5766  
5767  
5768    public function setDisplayName($displayName)
5769    {
5770      $this->displayName = $displayName;
5771    }
5772    public function getDisplayName()
5773    {
5774      return $this->displayName;
5775    }
5776    public function setEmailAddress($emailAddress)
5777    {
5778      $this->emailAddress = $emailAddress;
5779    }
5780    public function getEmailAddress()
5781    {
5782      return $this->emailAddress;
5783    }
5784    public function setIsAuthenticatedUser($isAuthenticatedUser)
5785    {
5786      $this->isAuthenticatedUser = $isAuthenticatedUser;
5787    }
5788    public function getIsAuthenticatedUser()
5789    {
5790      return $this->isAuthenticatedUser;
5791    }
5792    public function setKind($kind)
5793    {
5794      $this->kind = $kind;
5795    }
5796    public function getKind()
5797    {
5798      return $this->kind;
5799    }
5800    public function setPermissionId($permissionId)
5801    {
5802      $this->permissionId = $permissionId;
5803    }
5804    public function getPermissionId()
5805    {
5806      return $this->permissionId;
5807    }
5808    public function setPicture(Google_Service_Drive_UserPicture $picture)
5809    {
5810      $this->picture = $picture;
5811    }
5812    public function getPicture()
5813    {
5814      return $this->picture;
5815    }
5816  }
5817  
5818  #[AllowDynamicProperties]
5819  class Google_Service_Drive_UserPicture extends Google_Model
5820  {
5821    protected $internal_gapi_mappings = array(
5822    );
5823    public $url;
5824  
5825  
5826    public function setUrl($url)
5827    {
5828      $this->url = $url;
5829    }
5830    public function getUrl()
5831    {
5832      return $this->url;
5833    }
5834  }