PluginProbe
InfiniteWP Client / trunk
InfiniteWP Client vtrunk
1.13.10 1.13.7 trunk 0.1.4 0.1.5 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.1.0 1.1.1 1.1.10 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 1.11.0 1.11.1 1.12.1 1.12.3 All 92 releases
iwp-client / lib / Google2 / Service / Drive.php

Drive.php in InfiniteWP Client trunk, at lib/Google2/Service/Drive.php

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