PluginProbe
Authorizer / 2.2
Authorizer v2.2
3.15.3 3.15.2 3.15.1 3.15.0 3.14.3 3.14.4 3.14.2 3.14.1 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.10 2.9.11 2.9.12 2.9.13 2.9.2 2.9.3 2.9.6 All 126 releases
authorizer / inc / google-api-php-client / src / Google / Service / Drive.php

Drive.php in Authorizer 2.2, at inc/google-api-php-client/src/Google/Service/Drive.php

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