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