PluginProbe
UpdraftPlus: WP Backup & Migration Plugin / 1.16.5
UpdraftPlus: WP Backup & Migration Plugin v1.16.5
1.26.7 1.26.6 1.26.5 1.26.4 1.26.3 1.9.19 1.9.25 1.9.26 1.9.30 1.9.31 1.9.32 1.9.4 1.9.40 1.9.41 1.9.42 1.9.43 1.9.44 1.9.45 1.9.46 1.9.5 1.9.50 1.9.51 1.9.60 1.9.62 1.9.63 All 371 releases
updraftplus / includes / Google / Service / Drive.php

Drive.php in UpdraftPlus: WP Backup & Migration Plugin 1.16.5, at includes/Google/Service/Drive.php

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