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 / Google / Service / Drive.php

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

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