PluginProbe
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) / 1.0.0
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) v1.0.0
9.1.2 9.1.1 9.1.0 9.0.2 9.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.1.0 1.1.1 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 All 153 releases
wp-analytify / lib / Google / Service / Drive.php

Drive.php in Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) 1.0.0, at lib/Google/Service/Drive.php

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