PluginProbe
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) / 1.2.0
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) v1.2.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 / YouTube.php

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

10,948 lines 303.4 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 YouTube (v3).
20 *
21 * <p>
22 * Programmatic access to YouTube features.
23 * </p>
24 *
25 * <p>
26 * For more information about this service, see the API
27 * <a href="https://developers.google.com/youtube/v3" target="_blank">Documentation</a>
28 * </p>
29 *
30 * @author Google, Inc.
31 */
32 class Analytify_Google_Service_YouTube extends Analytify_Google_Service
33 {
34 /** Manage your YouTube account. */
35 const YOUTUBE = "https://www.googleapis.com/auth/youtube";
36 /** View your YouTube account. */
37 const YOUTUBE_READONLY = "https://www.googleapis.com/auth/youtube.readonly";
38 /** Manage your YouTube videos. */
39 const YOUTUBE_UPLOAD = "https://www.googleapis.com/auth/youtube.upload";
40 /** View and manage your assets and associated content on YouTube. */
41 const YOUTUBEPARTNER = "https://www.googleapis.com/auth/youtubepartner";
42 /** View private information of your YouTube channel relevant during the audit process with a YouTube partner. */
43 const YOUTUBEPARTNER_CHANNEL_AUDIT = "https://www.googleapis.com/auth/youtubepartner-channel-audit";
44
45 public $activities;
46 public $channelBanners;
47 public $channelSections;
48 public $channels;
49 public $guideCategories;
50 public $i18nLanguages;
51 public $i18nRegions;
52 public $liveBroadcasts;
53 public $liveStreams;
54 public $playlistItems;
55 public $playlists;
56 public $search;
57 public $subscriptions;
58 public $thumbnails;
59 public $videoCategories;
60 public $videos;
61 public $watermarks;
62
63
64 /**
65 * Constructs the internal representation of the YouTube 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 = 'youtube/v3/';
73 $this->version = 'v3';
74 $this->serviceName = 'youtube';
75
76 $this->activities = new Analytify_Google_Service_YouTube_Activities_Resource(
77 $this,
78 $this->serviceName,
79 'activities',
80 array(
81 'methods' => array(
82 'insert' => array(
83 'path' => 'activities',
84 'httpMethod' => 'POST',
85 'parameters' => array(
86 'part' => array(
87 'location' => 'query',
88 'type' => 'string',
89 'required' => true,
90 ),
91 ),
92 ),'list' => array(
93 'path' => 'activities',
94 'httpMethod' => 'GET',
95 'parameters' => array(
96 'part' => array(
97 'location' => 'query',
98 'type' => 'string',
99 'required' => true,
100 ),
101 'regionCode' => array(
102 'location' => 'query',
103 'type' => 'string',
104 ),
105 'publishedBefore' => array(
106 'location' => 'query',
107 'type' => 'string',
108 ),
109 'channelId' => array(
110 'location' => 'query',
111 'type' => 'string',
112 ),
113 'mine' => array(
114 'location' => 'query',
115 'type' => 'boolean',
116 ),
117 'maxResults' => array(
118 'location' => 'query',
119 'type' => 'integer',
120 ),
121 'pageToken' => array(
122 'location' => 'query',
123 'type' => 'string',
124 ),
125 'home' => array(
126 'location' => 'query',
127 'type' => 'boolean',
128 ),
129 'publishedAfter' => array(
130 'location' => 'query',
131 'type' => 'string',
132 ),
133 ),
134 ),
135 )
136 )
137 );
138 $this->channelBanners = new Analytify_Google_Service_YouTube_ChannelBanners_Resource(
139 $this,
140 $this->serviceName,
141 'channelBanners',
142 array(
143 'methods' => array(
144 'insert' => array(
145 'path' => 'channelBanners/insert',
146 'httpMethod' => 'POST',
147 'parameters' => array(
148 'onBehalfOfContentOwner' => array(
149 'location' => 'query',
150 'type' => 'string',
151 ),
152 ),
153 ),
154 )
155 )
156 );
157 $this->channelSections = new Analytify_Google_Service_YouTube_ChannelSections_Resource(
158 $this,
159 $this->serviceName,
160 'channelSections',
161 array(
162 'methods' => array(
163 'delete' => array(
164 'path' => 'channelSections',
165 'httpMethod' => 'DELETE',
166 'parameters' => array(
167 'id' => array(
168 'location' => 'query',
169 'type' => 'string',
170 'required' => true,
171 ),
172 ),
173 ),'insert' => array(
174 'path' => 'channelSections',
175 'httpMethod' => 'POST',
176 'parameters' => array(
177 'part' => array(
178 'location' => 'query',
179 'type' => 'string',
180 'required' => true,
181 ),
182 'onBehalfOfContentOwnerChannel' => array(
183 'location' => 'query',
184 'type' => 'string',
185 ),
186 'onBehalfOfContentOwner' => array(
187 'location' => 'query',
188 'type' => 'string',
189 ),
190 ),
191 ),'list' => array(
192 'path' => 'channelSections',
193 'httpMethod' => 'GET',
194 'parameters' => array(
195 'part' => array(
196 'location' => 'query',
197 'type' => 'string',
198 'required' => true,
199 ),
200 'onBehalfOfContentOwner' => array(
201 'location' => 'query',
202 'type' => 'string',
203 ),
204 'channelId' => array(
205 'location' => 'query',
206 'type' => 'string',
207 ),
208 'id' => array(
209 'location' => 'query',
210 'type' => 'string',
211 ),
212 'mine' => array(
213 'location' => 'query',
214 'type' => 'boolean',
215 ),
216 ),
217 ),'update' => array(
218 'path' => 'channelSections',
219 'httpMethod' => 'PUT',
220 'parameters' => array(
221 'part' => array(
222 'location' => 'query',
223 'type' => 'string',
224 'required' => true,
225 ),
226 ),
227 ),
228 )
229 )
230 );
231 $this->channels = new Analytify_Google_Service_YouTube_Channels_Resource(
232 $this,
233 $this->serviceName,
234 'channels',
235 array(
236 'methods' => array(
237 'list' => array(
238 'path' => 'channels',
239 'httpMethod' => 'GET',
240 'parameters' => array(
241 'part' => array(
242 'location' => 'query',
243 'type' => 'string',
244 'required' => true,
245 ),
246 'managedByMe' => array(
247 'location' => 'query',
248 'type' => 'boolean',
249 ),
250 'onBehalfOfContentOwner' => array(
251 'location' => 'query',
252 'type' => 'string',
253 ),
254 'forUsername' => array(
255 'location' => 'query',
256 'type' => 'string',
257 ),
258 'mine' => array(
259 'location' => 'query',
260 'type' => 'boolean',
261 ),
262 'maxResults' => array(
263 'location' => 'query',
264 'type' => 'integer',
265 ),
266 'id' => array(
267 'location' => 'query',
268 'type' => 'string',
269 ),
270 'pageToken' => array(
271 'location' => 'query',
272 'type' => 'string',
273 ),
274 'mySubscribers' => array(
275 'location' => 'query',
276 'type' => 'boolean',
277 ),
278 'categoryId' => array(
279 'location' => 'query',
280 'type' => 'string',
281 ),
282 ),
283 ),'update' => array(
284 'path' => 'channels',
285 'httpMethod' => 'PUT',
286 'parameters' => array(
287 'part' => array(
288 'location' => 'query',
289 'type' => 'string',
290 'required' => true,
291 ),
292 'onBehalfOfContentOwner' => array(
293 'location' => 'query',
294 'type' => 'string',
295 ),
296 ),
297 ),
298 )
299 )
300 );
301 $this->guideCategories = new Analytify_Google_Service_YouTube_GuideCategories_Resource(
302 $this,
303 $this->serviceName,
304 'guideCategories',
305 array(
306 'methods' => array(
307 'list' => array(
308 'path' => 'guideCategories',
309 'httpMethod' => 'GET',
310 'parameters' => array(
311 'part' => array(
312 'location' => 'query',
313 'type' => 'string',
314 'required' => true,
315 ),
316 'regionCode' => array(
317 'location' => 'query',
318 'type' => 'string',
319 ),
320 'id' => array(
321 'location' => 'query',
322 'type' => 'string',
323 ),
324 'hl' => array(
325 'location' => 'query',
326 'type' => 'string',
327 ),
328 ),
329 ),
330 )
331 )
332 );
333 $this->i18nLanguages = new Analytify_Google_Service_YouTube_I18nLanguages_Resource(
334 $this,
335 $this->serviceName,
336 'i18nLanguages',
337 array(
338 'methods' => array(
339 'list' => array(
340 'path' => 'i18nLanguages',
341 'httpMethod' => 'GET',
342 'parameters' => array(
343 'part' => array(
344 'location' => 'query',
345 'type' => 'string',
346 'required' => true,
347 ),
348 'hl' => array(
349 'location' => 'query',
350 'type' => 'string',
351 ),
352 ),
353 ),
354 )
355 )
356 );
357 $this->i18nRegions = new Analytify_Google_Service_YouTube_I18nRegions_Resource(
358 $this,
359 $this->serviceName,
360 'i18nRegions',
361 array(
362 'methods' => array(
363 'list' => array(
364 'path' => 'i18nRegions',
365 'httpMethod' => 'GET',
366 'parameters' => array(
367 'part' => array(
368 'location' => 'query',
369 'type' => 'string',
370 'required' => true,
371 ),
372 'hl' => array(
373 'location' => 'query',
374 'type' => 'string',
375 ),
376 ),
377 ),
378 )
379 )
380 );
381 $this->liveBroadcasts = new Analytify_Google_Service_YouTube_LiveBroadcasts_Resource(
382 $this,
383 $this->serviceName,
384 'liveBroadcasts',
385 array(
386 'methods' => array(
387 'bind' => array(
388 'path' => 'liveBroadcasts/bind',
389 'httpMethod' => 'POST',
390 'parameters' => array(
391 'id' => array(
392 'location' => 'query',
393 'type' => 'string',
394 'required' => true,
395 ),
396 'part' => array(
397 'location' => 'query',
398 'type' => 'string',
399 'required' => true,
400 ),
401 'onBehalfOfContentOwnerChannel' => array(
402 'location' => 'query',
403 'type' => 'string',
404 ),
405 'onBehalfOfContentOwner' => array(
406 'location' => 'query',
407 'type' => 'string',
408 ),
409 'streamId' => array(
410 'location' => 'query',
411 'type' => 'string',
412 ),
413 ),
414 ),'control' => array(
415 'path' => 'liveBroadcasts/control',
416 'httpMethod' => 'POST',
417 'parameters' => array(
418 'id' => array(
419 'location' => 'query',
420 'type' => 'string',
421 'required' => true,
422 ),
423 'part' => array(
424 'location' => 'query',
425 'type' => 'string',
426 'required' => true,
427 ),
428 'onBehalfOfContentOwner' => array(
429 'location' => 'query',
430 'type' => 'string',
431 ),
432 'displaySlate' => array(
433 'location' => 'query',
434 'type' => 'boolean',
435 ),
436 'onBehalfOfContentOwnerChannel' => array(
437 'location' => 'query',
438 'type' => 'string',
439 ),
440 'offsetTimeMs' => array(
441 'location' => 'query',
442 'type' => 'string',
443 ),
444 'walltime' => array(
445 'location' => 'query',
446 'type' => 'string',
447 ),
448 ),
449 ),'delete' => array(
450 'path' => 'liveBroadcasts',
451 'httpMethod' => 'DELETE',
452 'parameters' => array(
453 'id' => array(
454 'location' => 'query',
455 'type' => 'string',
456 'required' => true,
457 ),
458 'onBehalfOfContentOwnerChannel' => array(
459 'location' => 'query',
460 'type' => 'string',
461 ),
462 'onBehalfOfContentOwner' => array(
463 'location' => 'query',
464 'type' => 'string',
465 ),
466 ),
467 ),'insert' => array(
468 'path' => 'liveBroadcasts',
469 'httpMethod' => 'POST',
470 'parameters' => array(
471 'part' => array(
472 'location' => 'query',
473 'type' => 'string',
474 'required' => true,
475 ),
476 'onBehalfOfContentOwnerChannel' => array(
477 'location' => 'query',
478 'type' => 'string',
479 ),
480 'onBehalfOfContentOwner' => array(
481 'location' => 'query',
482 'type' => 'string',
483 ),
484 ),
485 ),'list' => array(
486 'path' => 'liveBroadcasts',
487 'httpMethod' => 'GET',
488 'parameters' => array(
489 'part' => array(
490 'location' => 'query',
491 'type' => 'string',
492 'required' => true,
493 ),
494 'broadcastStatus' => array(
495 'location' => 'query',
496 'type' => 'string',
497 ),
498 'onBehalfOfContentOwner' => array(
499 'location' => 'query',
500 'type' => 'string',
501 ),
502 'onBehalfOfContentOwnerChannel' => array(
503 'location' => 'query',
504 'type' => 'string',
505 ),
506 'mine' => array(
507 'location' => 'query',
508 'type' => 'boolean',
509 ),
510 'maxResults' => array(
511 'location' => 'query',
512 'type' => 'integer',
513 ),
514 'pageToken' => array(
515 'location' => 'query',
516 'type' => 'string',
517 ),
518 'id' => array(
519 'location' => 'query',
520 'type' => 'string',
521 ),
522 ),
523 ),'transition' => array(
524 'path' => 'liveBroadcasts/transition',
525 'httpMethod' => 'POST',
526 'parameters' => array(
527 'broadcastStatus' => array(
528 'location' => 'query',
529 'type' => 'string',
530 'required' => true,
531 ),
532 'id' => array(
533 'location' => 'query',
534 'type' => 'string',
535 'required' => true,
536 ),
537 'part' => array(
538 'location' => 'query',
539 'type' => 'string',
540 'required' => true,
541 ),
542 'onBehalfOfContentOwnerChannel' => array(
543 'location' => 'query',
544 'type' => 'string',
545 ),
546 'onBehalfOfContentOwner' => array(
547 'location' => 'query',
548 'type' => 'string',
549 ),
550 ),
551 ),'update' => array(
552 'path' => 'liveBroadcasts',
553 'httpMethod' => 'PUT',
554 'parameters' => array(
555 'part' => array(
556 'location' => 'query',
557 'type' => 'string',
558 'required' => true,
559 ),
560 'onBehalfOfContentOwnerChannel' => array(
561 'location' => 'query',
562 'type' => 'string',
563 ),
564 'onBehalfOfContentOwner' => array(
565 'location' => 'query',
566 'type' => 'string',
567 ),
568 ),
569 ),
570 )
571 )
572 );
573 $this->liveStreams = new Analytify_Google_Service_YouTube_LiveStreams_Resource(
574 $this,
575 $this->serviceName,
576 'liveStreams',
577 array(
578 'methods' => array(
579 'delete' => array(
580 'path' => 'liveStreams',
581 'httpMethod' => 'DELETE',
582 'parameters' => array(
583 'id' => array(
584 'location' => 'query',
585 'type' => 'string',
586 'required' => true,
587 ),
588 'onBehalfOfContentOwnerChannel' => array(
589 'location' => 'query',
590 'type' => 'string',
591 ),
592 'onBehalfOfContentOwner' => array(
593 'location' => 'query',
594 'type' => 'string',
595 ),
596 ),
597 ),'insert' => array(
598 'path' => 'liveStreams',
599 'httpMethod' => 'POST',
600 'parameters' => array(
601 'part' => array(
602 'location' => 'query',
603 'type' => 'string',
604 'required' => true,
605 ),
606 'onBehalfOfContentOwnerChannel' => array(
607 'location' => 'query',
608 'type' => 'string',
609 ),
610 'onBehalfOfContentOwner' => array(
611 'location' => 'query',
612 'type' => 'string',
613 ),
614 ),
615 ),'list' => array(
616 'path' => 'liveStreams',
617 'httpMethod' => 'GET',
618 'parameters' => array(
619 'part' => array(
620 'location' => 'query',
621 'type' => 'string',
622 'required' => true,
623 ),
624 'onBehalfOfContentOwner' => array(
625 'location' => 'query',
626 'type' => 'string',
627 ),
628 'onBehalfOfContentOwnerChannel' => array(
629 'location' => 'query',
630 'type' => 'string',
631 ),
632 'mine' => array(
633 'location' => 'query',
634 'type' => 'boolean',
635 ),
636 'maxResults' => array(
637 'location' => 'query',
638 'type' => 'integer',
639 ),
640 'pageToken' => array(
641 'location' => 'query',
642 'type' => 'string',
643 ),
644 'id' => array(
645 'location' => 'query',
646 'type' => 'string',
647 ),
648 ),
649 ),'update' => array(
650 'path' => 'liveStreams',
651 'httpMethod' => 'PUT',
652 'parameters' => array(
653 'part' => array(
654 'location' => 'query',
655 'type' => 'string',
656 'required' => true,
657 ),
658 'onBehalfOfContentOwnerChannel' => array(
659 'location' => 'query',
660 'type' => 'string',
661 ),
662 'onBehalfOfContentOwner' => array(
663 'location' => 'query',
664 'type' => 'string',
665 ),
666 ),
667 ),
668 )
669 )
670 );
671 $this->playlistItems = new Analytify_Google_Service_YouTube_PlaylistItems_Resource(
672 $this,
673 $this->serviceName,
674 'playlistItems',
675 array(
676 'methods' => array(
677 'delete' => array(
678 'path' => 'playlistItems',
679 'httpMethod' => 'DELETE',
680 'parameters' => array(
681 'id' => array(
682 'location' => 'query',
683 'type' => 'string',
684 'required' => true,
685 ),
686 ),
687 ),'insert' => array(
688 'path' => 'playlistItems',
689 'httpMethod' => 'POST',
690 'parameters' => array(
691 'part' => array(
692 'location' => 'query',
693 'type' => 'string',
694 'required' => true,
695 ),
696 'onBehalfOfContentOwner' => array(
697 'location' => 'query',
698 'type' => 'string',
699 ),
700 ),
701 ),'list' => array(
702 'path' => 'playlistItems',
703 'httpMethod' => 'GET',
704 'parameters' => array(
705 'part' => array(
706 'location' => 'query',
707 'type' => 'string',
708 'required' => true,
709 ),
710 'onBehalfOfContentOwner' => array(
711 'location' => 'query',
712 'type' => 'string',
713 ),
714 'playlistId' => array(
715 'location' => 'query',
716 'type' => 'string',
717 ),
718 'videoId' => array(
719 'location' => 'query',
720 'type' => 'string',
721 ),
722 'maxResults' => array(
723 'location' => 'query',
724 'type' => 'integer',
725 ),
726 'pageToken' => array(
727 'location' => 'query',
728 'type' => 'string',
729 ),
730 'id' => array(
731 'location' => 'query',
732 'type' => 'string',
733 ),
734 ),
735 ),'update' => array(
736 'path' => 'playlistItems',
737 'httpMethod' => 'PUT',
738 'parameters' => array(
739 'part' => array(
740 'location' => 'query',
741 'type' => 'string',
742 'required' => true,
743 ),
744 ),
745 ),
746 )
747 )
748 );
749 $this->playlists = new Analytify_Google_Service_YouTube_Playlists_Resource(
750 $this,
751 $this->serviceName,
752 'playlists',
753 array(
754 'methods' => array(
755 'delete' => array(
756 'path' => 'playlists',
757 'httpMethod' => 'DELETE',
758 'parameters' => array(
759 'id' => array(
760 'location' => 'query',
761 'type' => 'string',
762 'required' => true,
763 ),
764 'onBehalfOfContentOwner' => array(
765 'location' => 'query',
766 'type' => 'string',
767 ),
768 ),
769 ),'insert' => array(
770 'path' => 'playlists',
771 'httpMethod' => 'POST',
772 'parameters' => array(
773 'part' => array(
774 'location' => 'query',
775 'type' => 'string',
776 'required' => true,
777 ),
778 'onBehalfOfContentOwnerChannel' => array(
779 'location' => 'query',
780 'type' => 'string',
781 ),
782 'onBehalfOfContentOwner' => array(
783 'location' => 'query',
784 'type' => 'string',
785 ),
786 ),
787 ),'list' => array(
788 'path' => 'playlists',
789 'httpMethod' => 'GET',
790 'parameters' => array(
791 'part' => array(
792 'location' => 'query',
793 'type' => 'string',
794 'required' => true,
795 ),
796 'onBehalfOfContentOwner' => array(
797 'location' => 'query',
798 'type' => 'string',
799 ),
800 'onBehalfOfContentOwnerChannel' => array(
801 'location' => 'query',
802 'type' => 'string',
803 ),
804 'channelId' => array(
805 'location' => 'query',
806 'type' => 'string',
807 ),
808 'mine' => array(
809 'location' => 'query',
810 'type' => 'boolean',
811 ),
812 'maxResults' => array(
813 'location' => 'query',
814 'type' => 'integer',
815 ),
816 'pageToken' => array(
817 'location' => 'query',
818 'type' => 'string',
819 ),
820 'id' => array(
821 'location' => 'query',
822 'type' => 'string',
823 ),
824 ),
825 ),'update' => array(
826 'path' => 'playlists',
827 'httpMethod' => 'PUT',
828 'parameters' => array(
829 'part' => array(
830 'location' => 'query',
831 'type' => 'string',
832 'required' => true,
833 ),
834 'onBehalfOfContentOwner' => array(
835 'location' => 'query',
836 'type' => 'string',
837 ),
838 ),
839 ),
840 )
841 )
842 );
843 $this->search = new Analytify_Google_Service_YouTube_Search_Resource(
844 $this,
845 $this->serviceName,
846 'search',
847 array(
848 'methods' => array(
849 'list' => array(
850 'path' => 'search',
851 'httpMethod' => 'GET',
852 'parameters' => array(
853 'part' => array(
854 'location' => 'query',
855 'type' => 'string',
856 'required' => true,
857 ),
858 'eventType' => array(
859 'location' => 'query',
860 'type' => 'string',
861 ),
862 'channelId' => array(
863 'location' => 'query',
864 'type' => 'string',
865 ),
866 'videoSyndicated' => array(
867 'location' => 'query',
868 'type' => 'string',
869 ),
870 'channelType' => array(
871 'location' => 'query',
872 'type' => 'string',
873 ),
874 'videoCaption' => array(
875 'location' => 'query',
876 'type' => 'string',
877 ),
878 'publishedAfter' => array(
879 'location' => 'query',
880 'type' => 'string',
881 ),
882 'onBehalfOfContentOwner' => array(
883 'location' => 'query',
884 'type' => 'string',
885 ),
886 'pageToken' => array(
887 'location' => 'query',
888 'type' => 'string',
889 ),
890 'forContentOwner' => array(
891 'location' => 'query',
892 'type' => 'boolean',
893 ),
894 'regionCode' => array(
895 'location' => 'query',
896 'type' => 'string',
897 ),
898 'location' => array(
899 'location' => 'query',
900 'type' => 'string',
901 ),
902 'locationRadius' => array(
903 'location' => 'query',
904 'type' => 'string',
905 ),
906 'videoType' => array(
907 'location' => 'query',
908 'type' => 'string',
909 ),
910 'type' => array(
911 'location' => 'query',
912 'type' => 'string',
913 ),
914 'topicId' => array(
915 'location' => 'query',
916 'type' => 'string',
917 ),
918 'publishedBefore' => array(
919 'location' => 'query',
920 'type' => 'string',
921 ),
922 'videoDimension' => array(
923 'location' => 'query',
924 'type' => 'string',
925 ),
926 'videoLicense' => array(
927 'location' => 'query',
928 'type' => 'string',
929 ),
930 'maxResults' => array(
931 'location' => 'query',
932 'type' => 'integer',
933 ),
934 'relatedToVideoId' => array(
935 'location' => 'query',
936 'type' => 'string',
937 ),
938 'videoDefinition' => array(
939 'location' => 'query',
940 'type' => 'string',
941 ),
942 'videoDuration' => array(
943 'location' => 'query',
944 'type' => 'string',
945 ),
946 'forMine' => array(
947 'location' => 'query',
948 'type' => 'boolean',
949 ),
950 'q' => array(
951 'location' => 'query',
952 'type' => 'string',
953 ),
954 'safeSearch' => array(
955 'location' => 'query',
956 'type' => 'string',
957 ),
958 'videoEmbeddable' => array(
959 'location' => 'query',
960 'type' => 'string',
961 ),
962 'videoCategoryId' => array(
963 'location' => 'query',
964 'type' => 'string',
965 ),
966 'order' => array(
967 'location' => 'query',
968 'type' => 'string',
969 ),
970 ),
971 ),
972 )
973 )
974 );
975 $this->subscriptions = new Analytify_Google_Service_YouTube_Subscriptions_Resource(
976 $this,
977 $this->serviceName,
978 'subscriptions',
979 array(
980 'methods' => array(
981 'delete' => array(
982 'path' => 'subscriptions',
983 'httpMethod' => 'DELETE',
984 'parameters' => array(
985 'id' => array(
986 'location' => 'query',
987 'type' => 'string',
988 'required' => true,
989 ),
990 ),
991 ),'insert' => array(
992 'path' => 'subscriptions',
993 'httpMethod' => 'POST',
994 'parameters' => array(
995 'part' => array(
996 'location' => 'query',
997 'type' => 'string',
998 'required' => true,
999 ),
1000 ),
1001 ),'list' => array(
1002 'path' => 'subscriptions',
1003 'httpMethod' => 'GET',
1004 'parameters' => array(
1005 'part' => array(
1006 'location' => 'query',
1007 'type' => 'string',
1008 'required' => true,
1009 ),
1010 'onBehalfOfContentOwner' => array(
1011 'location' => 'query',
1012 'type' => 'string',
1013 ),
1014 'onBehalfOfContentOwnerChannel' => array(
1015 'location' => 'query',
1016 'type' => 'string',
1017 ),
1018 'channelId' => array(
1019 'location' => 'query',
1020 'type' => 'string',
1021 ),
1022 'mine' => array(
1023 'location' => 'query',
1024 'type' => 'boolean',
1025 ),
1026 'maxResults' => array(
1027 'location' => 'query',
1028 'type' => 'integer',
1029 ),
1030 'forChannelId' => array(
1031 'location' => 'query',
1032 'type' => 'string',
1033 ),
1034 'pageToken' => array(
1035 'location' => 'query',
1036 'type' => 'string',
1037 ),
1038 'mySubscribers' => array(
1039 'location' => 'query',
1040 'type' => 'boolean',
1041 ),
1042 'order' => array(
1043 'location' => 'query',
1044 'type' => 'string',
1045 ),
1046 'id' => array(
1047 'location' => 'query',
1048 'type' => 'string',
1049 ),
1050 ),
1051 ),
1052 )
1053 )
1054 );
1055 $this->thumbnails = new Analytify_Google_Service_YouTube_Thumbnails_Resource(
1056 $this,
1057 $this->serviceName,
1058 'thumbnails',
1059 array(
1060 'methods' => array(
1061 'set' => array(
1062 'path' => 'thumbnails/set',
1063 'httpMethod' => 'POST',
1064 'parameters' => array(
1065 'videoId' => array(
1066 'location' => 'query',
1067 'type' => 'string',
1068 'required' => true,
1069 ),
1070 'onBehalfOfContentOwner' => array(
1071 'location' => 'query',
1072 'type' => 'string',
1073 ),
1074 ),
1075 ),
1076 )
1077 )
1078 );
1079 $this->videoCategories = new Analytify_Google_Service_YouTube_VideoCategories_Resource(
1080 $this,
1081 $this->serviceName,
1082 'videoCategories',
1083 array(
1084 'methods' => array(
1085 'list' => array(
1086 'path' => 'videoCategories',
1087 'httpMethod' => 'GET',
1088 'parameters' => array(
1089 'part' => array(
1090 'location' => 'query',
1091 'type' => 'string',
1092 'required' => true,
1093 ),
1094 'regionCode' => array(
1095 'location' => 'query',
1096 'type' => 'string',
1097 ),
1098 'id' => array(
1099 'location' => 'query',
1100 'type' => 'string',
1101 ),
1102 'hl' => array(
1103 'location' => 'query',
1104 'type' => 'string',
1105 ),
1106 ),
1107 ),
1108 )
1109 )
1110 );
1111 $this->videos = new Analytify_Google_Service_YouTube_Videos_Resource(
1112 $this,
1113 $this->serviceName,
1114 'videos',
1115 array(
1116 'methods' => array(
1117 'delete' => array(
1118 'path' => 'videos',
1119 'httpMethod' => 'DELETE',
1120 'parameters' => array(
1121 'id' => array(
1122 'location' => 'query',
1123 'type' => 'string',
1124 'required' => true,
1125 ),
1126 'onBehalfOfContentOwner' => array(
1127 'location' => 'query',
1128 'type' => 'string',
1129 ),
1130 ),
1131 ),'getRating' => array(
1132 'path' => 'videos/getRating',
1133 'httpMethod' => 'GET',
1134 'parameters' => array(
1135 'id' => array(
1136 'location' => 'query',
1137 'type' => 'string',
1138 'required' => true,
1139 ),
1140 'onBehalfOfContentOwner' => array(
1141 'location' => 'query',
1142 'type' => 'string',
1143 ),
1144 ),
1145 ),'insert' => array(
1146 'path' => 'videos',
1147 'httpMethod' => 'POST',
1148 'parameters' => array(
1149 'part' => array(
1150 'location' => 'query',
1151 'type' => 'string',
1152 'required' => true,
1153 ),
1154 'onBehalfOfContentOwner' => array(
1155 'location' => 'query',
1156 'type' => 'string',
1157 ),
1158 'stabilize' => array(
1159 'location' => 'query',
1160 'type' => 'boolean',
1161 ),
1162 'onBehalfOfContentOwnerChannel' => array(
1163 'location' => 'query',
1164 'type' => 'string',
1165 ),
1166 'notifySubscribers' => array(
1167 'location' => 'query',
1168 'type' => 'boolean',
1169 ),
1170 'autoLevels' => array(
1171 'location' => 'query',
1172 'type' => 'boolean',
1173 ),
1174 ),
1175 ),'list' => array(
1176 'path' => 'videos',
1177 'httpMethod' => 'GET',
1178 'parameters' => array(
1179 'part' => array(
1180 'location' => 'query',
1181 'type' => 'string',
1182 'required' => true,
1183 ),
1184 'onBehalfOfContentOwner' => array(
1185 'location' => 'query',
1186 'type' => 'string',
1187 ),
1188 'regionCode' => array(
1189 'location' => 'query',
1190 'type' => 'string',
1191 ),
1192 'locale' => array(
1193 'location' => 'query',
1194 'type' => 'string',
1195 ),
1196 'videoCategoryId' => array(
1197 'location' => 'query',
1198 'type' => 'string',
1199 ),
1200 'chart' => array(
1201 'location' => 'query',
1202 'type' => 'string',
1203 ),
1204 'maxResults' => array(
1205 'location' => 'query',
1206 'type' => 'integer',
1207 ),
1208 'pageToken' => array(
1209 'location' => 'query',
1210 'type' => 'string',
1211 ),
1212 'myRating' => array(
1213 'location' => 'query',
1214 'type' => 'string',
1215 ),
1216 'id' => array(
1217 'location' => 'query',
1218 'type' => 'string',
1219 ),
1220 ),
1221 ),'rate' => array(
1222 'path' => 'videos/rate',
1223 'httpMethod' => 'POST',
1224 'parameters' => array(
1225 'id' => array(
1226 'location' => 'query',
1227 'type' => 'string',
1228 'required' => true,
1229 ),
1230 'rating' => array(
1231 'location' => 'query',
1232 'type' => 'string',
1233 'required' => true,
1234 ),
1235 'onBehalfOfContentOwner' => array(
1236 'location' => 'query',
1237 'type' => 'string',
1238 ),
1239 ),
1240 ),'update' => array(
1241 'path' => 'videos',
1242 'httpMethod' => 'PUT',
1243 'parameters' => array(
1244 'part' => array(
1245 'location' => 'query',
1246 'type' => 'string',
1247 'required' => true,
1248 ),
1249 'onBehalfOfContentOwner' => array(
1250 'location' => 'query',
1251 'type' => 'string',
1252 ),
1253 ),
1254 ),
1255 )
1256 )
1257 );
1258 $this->watermarks = new Analytify_Google_Service_YouTube_Watermarks_Resource(
1259 $this,
1260 $this->serviceName,
1261 'watermarks',
1262 array(
1263 'methods' => array(
1264 'set' => array(
1265 'path' => 'watermarks/set',
1266 'httpMethod' => 'POST',
1267 'parameters' => array(
1268 'channelId' => array(
1269 'location' => 'query',
1270 'type' => 'string',
1271 'required' => true,
1272 ),
1273 'onBehalfOfContentOwner' => array(
1274 'location' => 'query',
1275 'type' => 'string',
1276 ),
1277 ),
1278 ),'unset' => array(
1279 'path' => 'watermarks/unset',
1280 'httpMethod' => 'POST',
1281 'parameters' => array(
1282 'channelId' => array(
1283 'location' => 'query',
1284 'type' => 'string',
1285 'required' => true,
1286 ),
1287 'onBehalfOfContentOwner' => array(
1288 'location' => 'query',
1289 'type' => 'string',
1290 ),
1291 ),
1292 ),
1293 )
1294 )
1295 );
1296 }
1297 }
1298
1299
1300 /**
1301 * The "activities" collection of methods.
1302 * Typical usage is:
1303 * <code>
1304 * $youtubeService = new Analytify_Google_Service_YouTube(...);
1305 * $activities = $youtubeService->activities;
1306 * </code>
1307 */
1308 class Analytify_Google_Service_YouTube_Activities_Resource extends Analytify_Google_Service_Resource
1309 {
1310
1311 /**
1312 * Posts a bulletin for a specific channel. (The user submitting the request
1313 * must be authorized to act on the channel's behalf.)
1314 *
1315 * Note: Even though an activity resource can contain information about actions
1316 * like a user rating a video or marking a video as a favorite, you need to use
1317 * other API methods to generate those activity resources. For example, you
1318 * would use the API's videos.rate() method to rate a video and the
1319 * playlistItems.insert() method to mark a video as a favorite.
1320 * (activities.insert)
1321 *
1322 * @param string $part
1323 * The part parameter serves two purposes in this operation. It identifies the properties that the
1324 * write operation will set as well as the properties that the API response will include.
1325 The part
1326 * names that you can include in the parameter value are snippet and contentDetails.
1327 * @param Analytify_Google_Activity $postBody
1328 * @param array $optParams Optional parameters.
1329 * @return Analytify_Google_Service_YouTube_Activity
1330 */
1331 public function insert($part, Analytify_Google_Service_YouTube_Activity $postBody, $optParams = array())
1332 {
1333 $params = array('part' => $part, 'postBody' => $postBody);
1334 $params = array_merge($params, $optParams);
1335 return $this->call('insert', array($params), "Analytify_Google_Service_YouTube_Activity");
1336 }
1337 /**
1338 * Returns a list of channel activity events that match the request criteria.
1339 * For example, you can retrieve events associated with a particular channel,
1340 * events associated with the user's subscriptions and Google+ friends, or the
1341 * YouTube home page feed, which is customized for each user.
1342 * (activities.listActivities)
1343 *
1344 * @param string $part
1345 * The part parameter specifies a comma-separated list of one or more activity resource properties
1346 * that the API response will include. The part names that you can include in the parameter value
1347 * are id, snippet, and contentDetails.
1348 If the parameter identifies a property that contains child
1349 * properties, the child properties will be included in the response. For example, in a activity
1350 * resource, the snippet property contains other properties that identify the type of activity, a
1351 * display title for the activity, and so forth. If you set part=snippet, the API response will
1352 * also contain all of those nested properties.
1353 * @param array $optParams Optional parameters.
1354 *
1355 * @opt_param string regionCode
1356 * The regionCode parameter instructs the API to return results for the specified country. The
1357 * parameter value is an ISO 3166-1 alpha-2 country code. YouTube uses this value when the
1358 * authorized user's previous activity on YouTube does not provide enough information to generate
1359 * the activity feed.
1360 * @opt_param string publishedBefore
1361 * The publishedBefore parameter specifies the date and time before which an activity must have
1362 * occurred for that activity to be included in the API response. If the parameter value specifies
1363 * a day, but not a time, then any activities that occurred that day will be excluded from the
1364 * result set. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
1365 * @opt_param string channelId
1366 * The channelId parameter specifies a unique YouTube channel ID. The API will then return a list
1367 * of that channel's activities.
1368 * @opt_param bool mine
1369 * Set this parameter's value to true to retrieve a feed of the authenticated user's activities.
1370 * @opt_param string maxResults
1371 * The maxResults parameter specifies the maximum number of items that should be returned in the
1372 * result set.
1373 * @opt_param string pageToken
1374 * The pageToken parameter identifies a specific page in the result set that should be returned. In
1375 * an API response, the nextPageToken and prevPageToken properties identify other pages that could
1376 * be retrieved.
1377 * @opt_param bool home
1378 * Set this parameter's value to true to retrieve the activity feed that displays on the YouTube
1379 * home page for the currently authenticated user.
1380 * @opt_param string publishedAfter
1381 * The publishedAfter parameter specifies the earliest date and time that an activity could have
1382 * occurred for that activity to be included in the API response. If the parameter value specifies
1383 * a day, but not a time, then any activities that occurred that day will be included in the result
1384 * set. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
1385 * @return Analytify_Google_Service_YouTube_ActivityListResponse
1386 */
1387 public function listActivities($part, $optParams = array())
1388 {
1389 $params = array('part' => $part);
1390 $params = array_merge($params, $optParams);
1391 return $this->call('list', array($params), "Analytify_Google_Service_YouTube_ActivityListResponse");
1392 }
1393 }
1394
1395 /**
1396 * The "channelBanners" collection of methods.
1397 * Typical usage is:
1398 * <code>
1399 * $youtubeService = new Analytify_Google_Service_YouTube(...);
1400 * $channelBanners = $youtubeService->channelBanners;
1401 * </code>
1402 */
1403 class Analytify_Google_Service_YouTube_ChannelBanners_Resource extends Analytify_Google_Service_Resource
1404 {
1405
1406 /**
1407 * Uploads a channel banner image to YouTube. This method represents the first
1408 * two steps in a three-step process to update the banner image for a channel:
1409 *
1410 * - Call the channelBanners.insert method to upload the binary image data to
1411 * YouTube. The image must have a 16:9 aspect ratio and be at least 2120x1192
1412 * pixels. - Extract the url property's value from the response that the API
1413 * returns for step 1. - Call the channels.update method to update the channel's
1414 * branding settings. Set the brandingSettings.image.bannerExternalUrl
1415 * property's value to the URL obtained in step 2. (channelBanners.insert)
1416 *
1417 * @param Analytify_Google_ChannelBannerResource $postBody
1418 * @param array $optParams Optional parameters.
1419 *
1420 * @opt_param string onBehalfOfContentOwner
1421 * Note: This parameter is intended exclusively for YouTube content partners.
1422 The
1423 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
1424 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
1425 * value. This parameter is intended for YouTube content partners that own and manage many
1426 * different YouTube channels. It allows content owners to authenticate once and get access to all
1427 * their video and channel data, without having to provide authentication credentials for each
1428 * individual channel. The CMS account that the user authenticates with must be linked to the
1429 * specified YouTube content owner.
1430 * @return Analytify_Google_Service_YouTube_ChannelBannerResource
1431 */
1432 public function insert(Analytify_Google_Service_YouTube_ChannelBannerResource $postBody, $optParams = array())
1433 {
1434 $params = array('postBody' => $postBody);
1435 $params = array_merge($params, $optParams);
1436 return $this->call('insert', array($params), "Analytify_Google_Service_YouTube_ChannelBannerResource");
1437 }
1438 }
1439
1440 /**
1441 * The "channelSections" collection of methods.
1442 * Typical usage is:
1443 * <code>
1444 * $youtubeService = new Analytify_Google_Service_YouTube(...);
1445 * $channelSections = $youtubeService->channelSections;
1446 * </code>
1447 */
1448 class Analytify_Google_Service_YouTube_ChannelSections_Resource extends Analytify_Google_Service_Resource
1449 {
1450
1451 /**
1452 * Deletes a channelSection. (channelSections.delete)
1453 *
1454 * @param string $id
1455 * The id parameter specifies the YouTube channelSection ID for the resource that is being deleted.
1456 * In a channelSection resource, the id property specifies the YouTube channelSection ID.
1457 * @param array $optParams Optional parameters.
1458 */
1459 public function delete($id, $optParams = array())
1460 {
1461 $params = array('id' => $id);
1462 $params = array_merge($params, $optParams);
1463 return $this->call('delete', array($params));
1464 }
1465 /**
1466 * Adds a channelSection for the authenticated user's channel.
1467 * (channelSections.insert)
1468 *
1469 * @param string $part
1470 * The part parameter serves two purposes in this operation. It identifies the properties that the
1471 * write operation will set as well as the properties that the API response will include.
1472 The part
1473 * names that you can include in the parameter value are snippet and contentDetails.
1474 * @param Analytify_Google_ChannelSection $postBody
1475 * @param array $optParams Optional parameters.
1476 *
1477 * @opt_param string onBehalfOfContentOwnerChannel
1478 * This parameter can only be used in a properly authorized request. Note: This parameter is
1479 * intended exclusively for YouTube content partners.
1480 The onBehalfOfContentOwnerChannel parameter
1481 * specifies the YouTube channel ID of the channel to which a video is being added. This parameter
1482 * is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it
1483 * can only be used in conjunction with that parameter. In addition, the request must be authorized
1484 * using a CMS account that is linked to the content owner that the onBehalfOfContentOwner
1485 * parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value
1486 * specifies must be linked to the content owner that the onBehalfOfContentOwner parameter
1487 * specifies.
1488 This parameter is intended for YouTube content partners that own and manage many
1489 * different YouTube channels. It allows content owners to authenticate once and perform actions on
1490 * behalf of the channel specified in the parameter value, without having to provide authentication
1491 * credentials for each separate channel.
1492 * @opt_param string onBehalfOfContentOwner
1493 * Note: This parameter is intended exclusively for YouTube content partners.
1494 The
1495 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
1496 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
1497 * value. This parameter is intended for YouTube content partners that own and manage many
1498 * different YouTube channels. It allows content owners to authenticate once and get access to all
1499 * their video and channel data, without having to provide authentication credentials for each
1500 * individual channel. The CMS account that the user authenticates with must be linked to the
1501 * specified YouTube content owner.
1502 * @return Analytify_Google_Service_YouTube_ChannelSection
1503 */
1504 public function insert($part, Analytify_Google_Service_YouTube_ChannelSection $postBody, $optParams = array())
1505 {
1506 $params = array('part' => $part, 'postBody' => $postBody);
1507 $params = array_merge($params, $optParams);
1508 return $this->call('insert', array($params), "Analytify_Google_Service_YouTube_ChannelSection");
1509 }
1510 /**
1511 * Returns channelSection resources that match the API request criteria.
1512 * (channelSections.listChannelSections)
1513 *
1514 * @param string $part
1515 * The part parameter specifies a comma-separated list of one or more channelSection resource
1516 * properties that the API response will include. The part names that you can include in the
1517 * parameter value are id, snippet, and contentDetails.
1518 If the parameter identifies a property
1519 * that contains child properties, the child properties will be included in the response. For
1520 * example, in a channelSection resource, the snippet property contains other properties, such as a
1521 * display title for the channelSection. If you set part=snippet, the API response will also
1522 * contain all of those nested properties.
1523 * @param array $optParams Optional parameters.
1524 *
1525 * @opt_param string onBehalfOfContentOwner
1526 * Note: This parameter is intended exclusively for YouTube content partners.
1527 The
1528 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
1529 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
1530 * value. This parameter is intended for YouTube content partners that own and manage many
1531 * different YouTube channels. It allows content owners to authenticate once and get access to all
1532 * their video and channel data, without having to provide authentication credentials for each
1533 * individual channel. The CMS account that the user authenticates with must be linked to the
1534 * specified YouTube content owner.
1535 * @opt_param string channelId
1536 * The channelId parameter specifies a YouTube channel ID. The API will only return that channel's
1537 * channelSections.
1538 * @opt_param string id
1539 * The id parameter specifies a comma-separated list of the YouTube channelSection ID(s) for the
1540 * resource(s) that are being retrieved. In a channelSection resource, the id property specifies
1541 * the YouTube channelSection ID.
1542 * @opt_param bool mine
1543 * Set this parameter's value to true to retrieve a feed of the authenticated user's
1544 * channelSections.
1545 * @return Analytify_Google_Service_YouTube_ChannelSectionListResponse
1546 */
1547 public function listChannelSections($part, $optParams = array())
1548 {
1549 $params = array('part' => $part);
1550 $params = array_merge($params, $optParams);
1551 return $this->call('list', array($params), "Analytify_Google_Service_YouTube_ChannelSectionListResponse");
1552 }
1553 /**
1554 * Update a channelSection. (channelSections.update)
1555 *
1556 * @param string $part
1557 * The part parameter serves two purposes in this operation. It identifies the properties that the
1558 * write operation will set as well as the properties that the API response will include.
1559 The part
1560 * names that you can include in the parameter value are snippet and contentDetails.
1561 * @param Analytify_Google_ChannelSection $postBody
1562 * @param array $optParams Optional parameters.
1563 * @return Analytify_Google_Service_YouTube_ChannelSection
1564 */
1565 public function update($part, Analytify_Google_Service_YouTube_ChannelSection $postBody, $optParams = array())
1566 {
1567 $params = array('part' => $part, 'postBody' => $postBody);
1568 $params = array_merge($params, $optParams);
1569 return $this->call('update', array($params), "Analytify_Google_Service_YouTube_ChannelSection");
1570 }
1571 }
1572
1573 /**
1574 * The "channels" collection of methods.
1575 * Typical usage is:
1576 * <code>
1577 * $youtubeService = new Analytify_Google_Service_YouTube(...);
1578 * $channels = $youtubeService->channels;
1579 * </code>
1580 */
1581 class Analytify_Google_Service_YouTube_Channels_Resource extends Analytify_Google_Service_Resource
1582 {
1583
1584 /**
1585 * Returns a collection of zero or more channel resources that match the request
1586 * criteria. (channels.listChannels)
1587 *
1588 * @param string $part
1589 * The part parameter specifies a comma-separated list of one or more channel resource properties
1590 * that the API response will include. The part names that you can include in the parameter value
1591 * are id, snippet, contentDetails, statistics, topicDetails, and invideoPromotion.
1592 If the
1593 * parameter identifies a property that contains child properties, the child properties will be
1594 * included in the response. For example, in a channel resource, the contentDetails property
1595 * contains other properties, such as the uploads properties. As such, if you set
1596 * part=contentDetails, the API response will also contain all of those nested properties.
1597 * @param array $optParams Optional parameters.
1598 *
1599 * @opt_param bool managedByMe
1600 * Set this parameter's value to true to instruct the API to only return channels managed by the
1601 * content owner that the onBehalfOfContentOwner parameter specifies. The user must be
1602 * authenticated as a CMS account linked to the specified content owner and onBehalfOfContentOwner
1603 * must be provided.
1604 * @opt_param string onBehalfOfContentOwner
1605 * The onBehalfOfContentOwner parameter indicates that the authenticated user is acting on behalf
1606 * of the content owner specified in the parameter value. This parameter is intended for YouTube
1607 * content partners that own and manage many different YouTube channels. It allows content owners
1608 * to authenticate once and get access to all their video and channel data, without having to
1609 * provide authentication credentials for each individual channel. The actual CMS account that the
1610 * user authenticates with needs to be linked to the specified YouTube content owner.
1611 * @opt_param string forUsername
1612 * The forUsername parameter specifies a YouTube username, thereby requesting the channel
1613 * associated with that username.
1614 * @opt_param bool mine
1615 * Set this parameter's value to true to instruct the API to only return channels owned by the
1616 * authenticated user.
1617 * @opt_param string maxResults
1618 * The maxResults parameter specifies the maximum number of items that should be returned in the
1619 * result set.
1620 * @opt_param string id
1621 * The id parameter specifies a comma-separated list of the YouTube channel ID(s) for the
1622 * resource(s) that are being retrieved. In a channel resource, the id property specifies the
1623 * channel's YouTube channel ID.
1624 * @opt_param string pageToken
1625 * The pageToken parameter identifies a specific page in the result set that should be returned. In
1626 * an API response, the nextPageToken and prevPageToken properties identify other pages that could
1627 * be retrieved.
1628 * @opt_param bool mySubscribers
1629 * Set this parameter's value to true to retrieve a list of channels that subscribed to the
1630 * authenticated user's channel.
1631 * @opt_param string categoryId
1632 * The categoryId parameter specifies a YouTube guide category, thereby requesting YouTube channels
1633 * associated with that category.
1634 * @return Analytify_Google_Service_YouTube_ChannelListResponse
1635 */
1636 public function listChannels($part, $optParams = array())
1637 {
1638 $params = array('part' => $part);
1639 $params = array_merge($params, $optParams);
1640 return $this->call('list', array($params), "Analytify_Google_Service_YouTube_ChannelListResponse");
1641 }
1642 /**
1643 * Updates a channel's metadata. (channels.update)
1644 *
1645 * @param string $part
1646 * The part parameter serves two purposes in this operation. It identifies the properties that the
1647 * write operation will set as well as the properties that the API response will include.
1648 The part
1649 * names that you can include in the parameter value are id and invideoPromotion.
1650 Note that this
1651 * method will override the existing values for all of the mutable properties that are contained in
1652 * any parts that the parameter value specifies.
1653 * @param Analytify_Google_Channel $postBody
1654 * @param array $optParams Optional parameters.
1655 *
1656 * @opt_param string onBehalfOfContentOwner
1657 * The onBehalfOfContentOwner parameter indicates that the authenticated user is acting on behalf
1658 * of the content owner specified in the parameter value. This parameter is intended for YouTube
1659 * content partners that own and manage many different YouTube channels. It allows content owners
1660 * to authenticate once and get access to all their video and channel data, without having to
1661 * provide authentication credentials for each individual channel. The actual CMS account that the
1662 * user authenticates with needs to be linked to the specified YouTube content owner.
1663 * @return Analytify_Google_Service_YouTube_Channel
1664 */
1665 public function update($part, Analytify_Google_Service_YouTube_Channel $postBody, $optParams = array())
1666 {
1667 $params = array('part' => $part, 'postBody' => $postBody);
1668 $params = array_merge($params, $optParams);
1669 return $this->call('update', array($params), "Analytify_Google_Service_YouTube_Channel");
1670 }
1671 }
1672
1673 /**
1674 * The "guideCategories" collection of methods.
1675 * Typical usage is:
1676 * <code>
1677 * $youtubeService = new Analytify_Google_Service_YouTube(...);
1678 * $guideCategories = $youtubeService->guideCategories;
1679 * </code>
1680 */
1681 class Analytify_Google_Service_YouTube_GuideCategories_Resource extends Analytify_Google_Service_Resource
1682 {
1683
1684 /**
1685 * Returns a list of categories that can be associated with YouTube channels.
1686 * (guideCategories.listGuideCategories)
1687 *
1688 * @param string $part
1689 * The part parameter specifies a comma-separated list of one or more guideCategory resource
1690 * properties that the API response will include. The part names that you can include in the
1691 * parameter value are id and snippet.
1692 If the parameter identifies a property that contains child
1693 * properties, the child properties will be included in the response. For example, in a
1694 * guideCategory resource, the snippet property contains other properties, such as the category's
1695 * title. If you set part=snippet, the API response will also contain all of those nested
1696 * properties.
1697 * @param array $optParams Optional parameters.
1698 *
1699 * @opt_param string regionCode
1700 * The regionCode parameter instructs the API to return the list of guide categories available in
1701 * the specified country. The parameter value is an ISO 3166-1 alpha-2 country code.
1702 * @opt_param string id
1703 * The id parameter specifies a comma-separated list of the YouTube channel category ID(s) for the
1704 * resource(s) that are being retrieved. In a guideCategory resource, the id property specifies the
1705 * YouTube channel category ID.
1706 * @opt_param string hl
1707 * The hl parameter specifies the language that will be used for text values in the API response.
1708 * @return Analytify_Google_Service_YouTube_GuideCategoryListResponse
1709 */
1710 public function listGuideCategories($part, $optParams = array())
1711 {
1712 $params = array('part' => $part);
1713 $params = array_merge($params, $optParams);
1714 return $this->call('list', array($params), "Analytify_Google_Service_YouTube_GuideCategoryListResponse");
1715 }
1716 }
1717
1718 /**
1719 * The "i18nLanguages" collection of methods.
1720 * Typical usage is:
1721 * <code>
1722 * $youtubeService = new Analytify_Google_Service_YouTube(...);
1723 * $i18nLanguages = $youtubeService->i18nLanguages;
1724 * </code>
1725 */
1726 class Analytify_Google_Service_YouTube_I18nLanguages_Resource extends Analytify_Google_Service_Resource
1727 {
1728
1729 /**
1730 * Returns a list of supported languages. (i18nLanguages.listI18nLanguages)
1731 *
1732 * @param string $part
1733 * The part parameter specifies a comma-separated list of one or more i18nLanguage resource
1734 * properties that the API response will include. The part names that you can include in the
1735 * parameter value are id and snippet.
1736 * @param array $optParams Optional parameters.
1737 *
1738 * @opt_param string hl
1739 * The hl parameter specifies the language that should be used for text values in the API response.
1740 * @return Analytify_Google_Service_YouTube_I18nLanguageListResponse
1741 */
1742 public function listI18nLanguages($part, $optParams = array())
1743 {
1744 $params = array('part' => $part);
1745 $params = array_merge($params, $optParams);
1746 return $this->call('list', array($params), "Analytify_Google_Service_YouTube_I18nLanguageListResponse");
1747 }
1748 }
1749
1750 /**
1751 * The "i18nRegions" collection of methods.
1752 * Typical usage is:
1753 * <code>
1754 * $youtubeService = new Analytify_Google_Service_YouTube(...);
1755 * $i18nRegions = $youtubeService->i18nRegions;
1756 * </code>
1757 */
1758 class Analytify_Google_Service_YouTube_I18nRegions_Resource extends Analytify_Google_Service_Resource
1759 {
1760
1761 /**
1762 * Returns a list of supported regions. (i18nRegions.listI18nRegions)
1763 *
1764 * @param string $part
1765 * The part parameter specifies a comma-separated list of one or more i18nRegion resource
1766 * properties that the API response will include. The part names that you can include in the
1767 * parameter value are id and snippet.
1768 * @param array $optParams Optional parameters.
1769 *
1770 * @opt_param string hl
1771 * The hl parameter specifies the language that should be used for text values in the API response.
1772 * @return Analytify_Google_Service_YouTube_I18nRegionListResponse
1773 */
1774 public function listI18nRegions($part, $optParams = array())
1775 {
1776 $params = array('part' => $part);
1777 $params = array_merge($params, $optParams);
1778 return $this->call('list', array($params), "Analytify_Google_Service_YouTube_I18nRegionListResponse");
1779 }
1780 }
1781
1782 /**
1783 * The "liveBroadcasts" collection of methods.
1784 * Typical usage is:
1785 * <code>
1786 * $youtubeService = new Analytify_Google_Service_YouTube(...);
1787 * $liveBroadcasts = $youtubeService->liveBroadcasts;
1788 * </code>
1789 */
1790 class Analytify_Google_Service_YouTube_LiveBroadcasts_Resource extends Analytify_Google_Service_Resource
1791 {
1792
1793 /**
1794 * Binds a YouTube broadcast to a stream or removes an existing binding between
1795 * a broadcast and a stream. A broadcast can only be bound to one video stream.
1796 * (liveBroadcasts.bind)
1797 *
1798 * @param string $id
1799 * The id parameter specifies the unique ID of the broadcast that is being bound to a video stream.
1800 * @param string $part
1801 * The part parameter specifies a comma-separated list of one or more liveBroadcast resource
1802 * properties that the API response will include. The part names that you can include in the
1803 * parameter value are id, snippet, contentDetails, and status.
1804 * @param array $optParams Optional parameters.
1805 *
1806 * @opt_param string onBehalfOfContentOwnerChannel
1807 * This parameter can only be used in a properly authorized request. Note: This parameter is
1808 * intended exclusively for YouTube content partners.
1809 The onBehalfOfContentOwnerChannel parameter
1810 * specifies the YouTube channel ID of the channel to which a video is being added. This parameter
1811 * is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it
1812 * can only be used in conjunction with that parameter. In addition, the request must be authorized
1813 * using a CMS account that is linked to the content owner that the onBehalfOfContentOwner
1814 * parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value
1815 * specifies must be linked to the content owner that the onBehalfOfContentOwner parameter
1816 * specifies.
1817 This parameter is intended for YouTube content partners that own and manage many
1818 * different YouTube channels. It allows content owners to authenticate once and perform actions on
1819 * behalf of the channel specified in the parameter value, without having to provide authentication
1820 * credentials for each separate channel.
1821 * @opt_param string onBehalfOfContentOwner
1822 * Note: This parameter is intended exclusively for YouTube content partners.
1823 The
1824 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
1825 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
1826 * value. This parameter is intended for YouTube content partners that own and manage many
1827 * different YouTube channels. It allows content owners to authenticate once and get access to all
1828 * their video and channel data, without having to provide authentication credentials for each
1829 * individual channel. The CMS account that the user authenticates with must be linked to the
1830 * specified YouTube content owner.
1831 * @opt_param string streamId
1832 * The streamId parameter specifies the unique ID of the video stream that is being bound to a
1833 * broadcast. If this parameter is omitted, the API will remove any existing binding between the
1834 * broadcast and a video stream.
1835 * @return Analytify_Google_Service_YouTube_LiveBroadcast
1836 */
1837 public function bind($id, $part, $optParams = array())
1838 {
1839 $params = array('id' => $id, 'part' => $part);
1840 $params = array_merge($params, $optParams);
1841 return $this->call('bind', array($params), "Analytify_Google_Service_YouTube_LiveBroadcast");
1842 }
1843 /**
1844 * Controls the settings for a slate that can be displayed in the broadcast
1845 * stream. (liveBroadcasts.control)
1846 *
1847 * @param string $id
1848 * The id parameter specifies the YouTube live broadcast ID that uniquely identifies the broadcast
1849 * in which the slate is being updated.
1850 * @param string $part
1851 * The part parameter specifies a comma-separated list of one or more liveBroadcast resource
1852 * properties that the API response will include. The part names that you can include in the
1853 * parameter value are id, snippet, contentDetails, and status.
1854 * @param array $optParams Optional parameters.
1855 *
1856 * @opt_param string onBehalfOfContentOwner
1857 * Note: This parameter is intended exclusively for YouTube content partners.
1858 The
1859 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
1860 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
1861 * value. This parameter is intended for YouTube content partners that own and manage many
1862 * different YouTube channels. It allows content owners to authenticate once and get access to all
1863 * their video and channel data, without having to provide authentication credentials for each
1864 * individual channel. The CMS account that the user authenticates with must be linked to the
1865 * specified YouTube content owner.
1866 * @opt_param bool displaySlate
1867 * The displaySlate parameter specifies whether the slate is being enabled or disabled.
1868 * @opt_param string onBehalfOfContentOwnerChannel
1869 * This parameter can only be used in a properly authorized request. Note: This parameter is
1870 * intended exclusively for YouTube content partners.
1871 The onBehalfOfContentOwnerChannel parameter
1872 * specifies the YouTube channel ID of the channel to which a video is being added. This parameter
1873 * is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it
1874 * can only be used in conjunction with that parameter. In addition, the request must be authorized
1875 * using a CMS account that is linked to the content owner that the onBehalfOfContentOwner
1876 * parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value
1877 * specifies must be linked to the content owner that the onBehalfOfContentOwner parameter
1878 * specifies.
1879 This parameter is intended for YouTube content partners that own and manage many
1880 * different YouTube channels. It allows content owners to authenticate once and perform actions on
1881 * behalf of the channel specified in the parameter value, without having to provide authentication
1882 * credentials for each separate channel.
1883 * @opt_param string offsetTimeMs
1884 * The offsetTimeMs parameter specifies a positive time offset when the specified slate change will
1885 * occur. The value is measured in milliseconds from the beginning of the broadcast's monitor
1886 * stream, which is the time that the testing phase for the broadcast began. Even though it is
1887 * specified in milliseconds, the value is actually an approximation, and YouTube completes the
1888 * requested action as closely as possible to that time.
1889 If you do not specify a value for this
1890 * parameter, then YouTube performs the action as soon as possible. See the Getting started guide
1891 * for more details.
1892 Important: You should only specify a value for this parameter if your
1893 * broadcast stream is delayed.
1894 * @opt_param string walltime
1895 * The walltime parameter specifies the wall clock time at which the specified slate change will
1896 * occur. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
1897 * @return Analytify_Google_Service_YouTube_LiveBroadcast
1898 */
1899 public function control($id, $part, $optParams = array())
1900 {
1901 $params = array('id' => $id, 'part' => $part);
1902 $params = array_merge($params, $optParams);
1903 return $this->call('control', array($params), "Analytify_Google_Service_YouTube_LiveBroadcast");
1904 }
1905 /**
1906 * Deletes a broadcast. (liveBroadcasts.delete)
1907 *
1908 * @param string $id
1909 * The id parameter specifies the YouTube live broadcast ID for the resource that is being deleted.
1910 * @param array $optParams Optional parameters.
1911 *
1912 * @opt_param string onBehalfOfContentOwnerChannel
1913 * This parameter can only be used in a properly authorized request. Note: This parameter is
1914 * intended exclusively for YouTube content partners.
1915 The onBehalfOfContentOwnerChannel parameter
1916 * specifies the YouTube channel ID of the channel to which a video is being added. This parameter
1917 * is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it
1918 * can only be used in conjunction with that parameter. In addition, the request must be authorized
1919 * using a CMS account that is linked to the content owner that the onBehalfOfContentOwner
1920 * parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value
1921 * specifies must be linked to the content owner that the onBehalfOfContentOwner parameter
1922 * specifies.
1923 This parameter is intended for YouTube content partners that own and manage many
1924 * different YouTube channels. It allows content owners to authenticate once and perform actions on
1925 * behalf of the channel specified in the parameter value, without having to provide authentication
1926 * credentials for each separate channel.
1927 * @opt_param string onBehalfOfContentOwner
1928 * Note: This parameter is intended exclusively for YouTube content partners.
1929 The
1930 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
1931 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
1932 * value. This parameter is intended for YouTube content partners that own and manage many
1933 * different YouTube channels. It allows content owners to authenticate once and get access to all
1934 * their video and channel data, without having to provide authentication credentials for each
1935 * individual channel. The CMS account that the user authenticates with must be linked to the
1936 * specified YouTube content owner.
1937 */
1938 public function delete($id, $optParams = array())
1939 {
1940 $params = array('id' => $id);
1941 $params = array_merge($params, $optParams);
1942 return $this->call('delete', array($params));
1943 }
1944 /**
1945 * Creates a broadcast. (liveBroadcasts.insert)
1946 *
1947 * @param string $part
1948 * The part parameter serves two purposes in this operation. It identifies the properties that the
1949 * write operation will set as well as the properties that the API response will include.
1950 The part
1951 * properties that you can include in the parameter value are id, snippet, contentDetails, and
1952 * status.
1953 * @param Analytify_Google_LiveBroadcast $postBody
1954 * @param array $optParams Optional parameters.
1955 *
1956 * @opt_param string onBehalfOfContentOwnerChannel
1957 * This parameter can only be used in a properly authorized request. Note: This parameter is
1958 * intended exclusively for YouTube content partners.
1959 The onBehalfOfContentOwnerChannel parameter
1960 * specifies the YouTube channel ID of the channel to which a video is being added. This parameter
1961 * is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it
1962 * can only be used in conjunction with that parameter. In addition, the request must be authorized
1963 * using a CMS account that is linked to the content owner that the onBehalfOfContentOwner
1964 * parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value
1965 * specifies must be linked to the content owner that the onBehalfOfContentOwner parameter
1966 * specifies.
1967 This parameter is intended for YouTube content partners that own and manage many
1968 * different YouTube channels. It allows content owners to authenticate once and perform actions on
1969 * behalf of the channel specified in the parameter value, without having to provide authentication
1970 * credentials for each separate channel.
1971 * @opt_param string onBehalfOfContentOwner
1972 * Note: This parameter is intended exclusively for YouTube content partners.
1973 The
1974 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
1975 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
1976 * value. This parameter is intended for YouTube content partners that own and manage many
1977 * different YouTube channels. It allows content owners to authenticate once and get access to all
1978 * their video and channel data, without having to provide authentication credentials for each
1979 * individual channel. The CMS account that the user authenticates with must be linked to the
1980 * specified YouTube content owner.
1981 * @return Analytify_Google_Service_YouTube_LiveBroadcast
1982 */
1983 public function insert($part, Analytify_Google_Service_YouTube_LiveBroadcast $postBody, $optParams = array())
1984 {
1985 $params = array('part' => $part, 'postBody' => $postBody);
1986 $params = array_merge($params, $optParams);
1987 return $this->call('insert', array($params), "Analytify_Google_Service_YouTube_LiveBroadcast");
1988 }
1989 /**
1990 * Returns a list of YouTube broadcasts that match the API request parameters.
1991 * (liveBroadcasts.listLiveBroadcasts)
1992 *
1993 * @param string $part
1994 * The part parameter specifies a comma-separated list of one or more liveBroadcast resource
1995 * properties that the API response will include. The part names that you can include in the
1996 * parameter value are id, snippet, contentDetails, and status.
1997 * @param array $optParams Optional parameters.
1998 *
1999 * @opt_param string broadcastStatus
2000 * The broadcastStatus parameter filters the API response to only include broadcasts with the
2001 * specified status.
2002 * @opt_param string onBehalfOfContentOwner
2003 * Note: This parameter is intended exclusively for YouTube content partners.
2004 The
2005 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
2006 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
2007 * value. This parameter is intended for YouTube content partners that own and manage many
2008 * different YouTube channels. It allows content owners to authenticate once and get access to all
2009 * their video and channel data, without having to provide authentication credentials for each
2010 * individual channel. The CMS account that the user authenticates with must be linked to the
2011 * specified YouTube content owner.
2012 * @opt_param string onBehalfOfContentOwnerChannel
2013 * This parameter can only be used in a properly authorized request. Note: This parameter is
2014 * intended exclusively for YouTube content partners.
2015 The onBehalfOfContentOwnerChannel parameter
2016 * specifies the YouTube channel ID of the channel to which a video is being added. This parameter
2017 * is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it
2018 * can only be used in conjunction with that parameter. In addition, the request must be authorized
2019 * using a CMS account that is linked to the content owner that the onBehalfOfContentOwner
2020 * parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value
2021 * specifies must be linked to the content owner that the onBehalfOfContentOwner parameter
2022 * specifies.
2023 This parameter is intended for YouTube content partners that own and manage many
2024 * different YouTube channels. It allows content owners to authenticate once and perform actions on
2025 * behalf of the channel specified in the parameter value, without having to provide authentication
2026 * credentials for each separate channel.
2027 * @opt_param bool mine
2028 * The mine parameter can be used to instruct the API to only return broadcasts owned by the
2029 * authenticated user. Set the parameter value to true to only retrieve your own broadcasts.
2030 * @opt_param string maxResults
2031 * The maxResults parameter specifies the maximum number of items that should be returned in the
2032 * result set.
2033 * @opt_param string pageToken
2034 * The pageToken parameter identifies a specific page in the result set that should be returned. In
2035 * an API response, the nextPageToken and prevPageToken properties identify other pages that could
2036 * be retrieved.
2037 * @opt_param string id
2038 * The id parameter specifies a comma-separated list of YouTube broadcast IDs that identify the
2039 * broadcasts being retrieved. In a liveBroadcast resource, the id property specifies the
2040 * broadcast's ID.
2041 * @return Analytify_Google_Service_YouTube_LiveBroadcastListResponse
2042 */
2043 public function listLiveBroadcasts($part, $optParams = array())
2044 {
2045 $params = array('part' => $part);
2046 $params = array_merge($params, $optParams);
2047 return $this->call('list', array($params), "Analytify_Google_Service_YouTube_LiveBroadcastListResponse");
2048 }
2049 /**
2050 * Changes the status of a YouTube live broadcast and initiates any processes
2051 * associated with the new status. For example, when you transition a
2052 * broadcast's status to testing, YouTube starts to transmit video to that
2053 * broadcast's monitor stream. Before calling this method, you should confirm
2054 * that the value of the status.streamStatus property for the stream bound to
2055 * your broadcast is active. (liveBroadcasts.transition)
2056 *
2057 * @param string $broadcastStatus
2058 * The broadcastStatus parameter identifies the state to which the broadcast is changing. Note that
2059 * to transition a broadcast to either the testing or live state, the status.streamStatus must be
2060 * active for the stream that the broadcast is bound to.
2061 * @param string $id
2062 * The id parameter specifies the unique ID of the broadcast that is transitioning to another
2063 * status.
2064 * @param string $part
2065 * The part parameter specifies a comma-separated list of one or more liveBroadcast resource
2066 * properties that the API response will include. The part names that you can include in the
2067 * parameter value are id, snippet, contentDetails, and status.
2068 * @param array $optParams Optional parameters.
2069 *
2070 * @opt_param string onBehalfOfContentOwnerChannel
2071 * This parameter can only be used in a properly authorized request. Note: This parameter is
2072 * intended exclusively for YouTube content partners.
2073 The onBehalfOfContentOwnerChannel parameter
2074 * specifies the YouTube channel ID of the channel to which a video is being added. This parameter
2075 * is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it
2076 * can only be used in conjunction with that parameter. In addition, the request must be authorized
2077 * using a CMS account that is linked to the content owner that the onBehalfOfContentOwner
2078 * parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value
2079 * specifies must be linked to the content owner that the onBehalfOfContentOwner parameter
2080 * specifies.
2081 This parameter is intended for YouTube content partners that own and manage many
2082 * different YouTube channels. It allows content owners to authenticate once and perform actions on
2083 * behalf of the channel specified in the parameter value, without having to provide authentication
2084 * credentials for each separate channel.
2085 * @opt_param string onBehalfOfContentOwner
2086 * Note: This parameter is intended exclusively for YouTube content partners.
2087 The
2088 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
2089 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
2090 * value. This parameter is intended for YouTube content partners that own and manage many
2091 * different YouTube channels. It allows content owners to authenticate once and get access to all
2092 * their video and channel data, without having to provide authentication credentials for each
2093 * individual channel. The CMS account that the user authenticates with must be linked to the
2094 * specified YouTube content owner.
2095 * @return Analytify_Google_Service_YouTube_LiveBroadcast
2096 */
2097 public function transition($broadcastStatus, $id, $part, $optParams = array())
2098 {
2099 $params = array('broadcastStatus' => $broadcastStatus, 'id' => $id, 'part' => $part);
2100 $params = array_merge($params, $optParams);
2101 return $this->call('transition', array($params), "Analytify_Google_Service_YouTube_LiveBroadcast");
2102 }
2103 /**
2104 * Updates a broadcast. For example, you could modify the broadcast settings
2105 * defined in the liveBroadcast resource's contentDetails object.
2106 * (liveBroadcasts.update)
2107 *
2108 * @param string $part
2109 * The part parameter serves two purposes in this operation. It identifies the properties that the
2110 * write operation will set as well as the properties that the API response will include.
2111 The part
2112 * properties that you can include in the parameter value are id, snippet, contentDetails, and
2113 * status.
2114 Note that this method will override the existing values for all of the mutable
2115 * properties that are contained in any parts that the parameter value specifies. For example, a
2116 * broadcast's privacy status is defined in the status part. As such, if your request is updating a
2117 * private or unlisted broadcast, and the request's part parameter value includes the status part,
2118 * the broadcast's privacy setting will be updated to whatever value the request body specifies. If
2119 * the request body does not specify a value, the existing privacy setting will be removed and the
2120 * broadcast will revert to the default privacy setting.
2121 * @param Analytify_Google_LiveBroadcast $postBody
2122 * @param array $optParams Optional parameters.
2123 *
2124 * @opt_param string onBehalfOfContentOwnerChannel
2125 * This parameter can only be used in a properly authorized request. Note: This parameter is
2126 * intended exclusively for YouTube content partners.
2127 The onBehalfOfContentOwnerChannel parameter
2128 * specifies the YouTube channel ID of the channel to which a video is being added. This parameter
2129 * is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it
2130 * can only be used in conjunction with that parameter. In addition, the request must be authorized
2131 * using a CMS account that is linked to the content owner that the onBehalfOfContentOwner
2132 * parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value
2133 * specifies must be linked to the content owner that the onBehalfOfContentOwner parameter
2134 * specifies.
2135 This parameter is intended for YouTube content partners that own and manage many
2136 * different YouTube channels. It allows content owners to authenticate once and perform actions on
2137 * behalf of the channel specified in the parameter value, without having to provide authentication
2138 * credentials for each separate channel.
2139 * @opt_param string onBehalfOfContentOwner
2140 * Note: This parameter is intended exclusively for YouTube content partners.
2141 The
2142 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
2143 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
2144 * value. This parameter is intended for YouTube content partners that own and manage many
2145 * different YouTube channels. It allows content owners to authenticate once and get access to all
2146 * their video and channel data, without having to provide authentication credentials for each
2147 * individual channel. The CMS account that the user authenticates with must be linked to the
2148 * specified YouTube content owner.
2149 * @return Analytify_Google_Service_YouTube_LiveBroadcast
2150 */
2151 public function update($part, Analytify_Google_Service_YouTube_LiveBroadcast $postBody, $optParams = array())
2152 {
2153 $params = array('part' => $part, 'postBody' => $postBody);
2154 $params = array_merge($params, $optParams);
2155 return $this->call('update', array($params), "Analytify_Google_Service_YouTube_LiveBroadcast");
2156 }
2157 }
2158
2159 /**
2160 * The "liveStreams" collection of methods.
2161 * Typical usage is:
2162 * <code>
2163 * $youtubeService = new Analytify_Google_Service_YouTube(...);
2164 * $liveStreams = $youtubeService->liveStreams;
2165 * </code>
2166 */
2167 class Analytify_Google_Service_YouTube_LiveStreams_Resource extends Analytify_Google_Service_Resource
2168 {
2169
2170 /**
2171 * Deletes a video stream. (liveStreams.delete)
2172 *
2173 * @param string $id
2174 * The id parameter specifies the YouTube live stream ID for the resource that is being deleted.
2175 * @param array $optParams Optional parameters.
2176 *
2177 * @opt_param string onBehalfOfContentOwnerChannel
2178 * This parameter can only be used in a properly authorized request. Note: This parameter is
2179 * intended exclusively for YouTube content partners.
2180 The onBehalfOfContentOwnerChannel parameter
2181 * specifies the YouTube channel ID of the channel to which a video is being added. This parameter
2182 * is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it
2183 * can only be used in conjunction with that parameter. In addition, the request must be authorized
2184 * using a CMS account that is linked to the content owner that the onBehalfOfContentOwner
2185 * parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value
2186 * specifies must be linked to the content owner that the onBehalfOfContentOwner parameter
2187 * specifies.
2188 This parameter is intended for YouTube content partners that own and manage many
2189 * different YouTube channels. It allows content owners to authenticate once and perform actions on
2190 * behalf of the channel specified in the parameter value, without having to provide authentication
2191 * credentials for each separate channel.
2192 * @opt_param string onBehalfOfContentOwner
2193 * Note: This parameter is intended exclusively for YouTube content partners.
2194 The
2195 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
2196 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
2197 * value. This parameter is intended for YouTube content partners that own and manage many
2198 * different YouTube channels. It allows content owners to authenticate once and get access to all
2199 * their video and channel data, without having to provide authentication credentials for each
2200 * individual channel. The CMS account that the user authenticates with must be linked to the
2201 * specified YouTube content owner.
2202 */
2203 public function delete($id, $optParams = array())
2204 {
2205 $params = array('id' => $id);
2206 $params = array_merge($params, $optParams);
2207 return $this->call('delete', array($params));
2208 }
2209 /**
2210 * Creates a video stream. The stream enables you to send your video to YouTube,
2211 * which can then broadcast the video to your audience. (liveStreams.insert)
2212 *
2213 * @param string $part
2214 * The part parameter serves two purposes in this operation. It identifies the properties that the
2215 * write operation will set as well as the properties that the API response will include.
2216 The part
2217 * properties that you can include in the parameter value are id, snippet, cdn, and status.
2218 * @param Analytify_Google_LiveStream $postBody
2219 * @param array $optParams Optional parameters.
2220 *
2221 * @opt_param string onBehalfOfContentOwnerChannel
2222 * This parameter can only be used in a properly authorized request. Note: This parameter is
2223 * intended exclusively for YouTube content partners.
2224 The onBehalfOfContentOwnerChannel parameter
2225 * specifies the YouTube channel ID of the channel to which a video is being added. This parameter
2226 * is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it
2227 * can only be used in conjunction with that parameter. In addition, the request must be authorized
2228 * using a CMS account that is linked to the content owner that the onBehalfOfContentOwner
2229 * parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value
2230 * specifies must be linked to the content owner that the onBehalfOfContentOwner parameter
2231 * specifies.
2232 This parameter is intended for YouTube content partners that own and manage many
2233 * different YouTube channels. It allows content owners to authenticate once and perform actions on
2234 * behalf of the channel specified in the parameter value, without having to provide authentication
2235 * credentials for each separate channel.
2236 * @opt_param string onBehalfOfContentOwner
2237 * Note: This parameter is intended exclusively for YouTube content partners.
2238 The
2239 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
2240 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
2241 * value. This parameter is intended for YouTube content partners that own and manage many
2242 * different YouTube channels. It allows content owners to authenticate once and get access to all
2243 * their video and channel data, without having to provide authentication credentials for each
2244 * individual channel. The CMS account that the user authenticates with must be linked to the
2245 * specified YouTube content owner.
2246 * @return Analytify_Google_Service_YouTube_LiveStream
2247 */
2248 public function insert($part, Analytify_Google_Service_YouTube_LiveStream $postBody, $optParams = array())
2249 {
2250 $params = array('part' => $part, 'postBody' => $postBody);
2251 $params = array_merge($params, $optParams);
2252 return $this->call('insert', array($params), "Analytify_Google_Service_YouTube_LiveStream");
2253 }
2254 /**
2255 * Returns a list of video streams that match the API request parameters.
2256 * (liveStreams.listLiveStreams)
2257 *
2258 * @param string $part
2259 * The part parameter specifies a comma-separated list of one or more liveStream resource
2260 * properties that the API response will include. The part names that you can include in the
2261 * parameter value are id, snippet, cdn, and status.
2262 * @param array $optParams Optional parameters.
2263 *
2264 * @opt_param string onBehalfOfContentOwner
2265 * Note: This parameter is intended exclusively for YouTube content partners.
2266 The
2267 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
2268 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
2269 * value. This parameter is intended for YouTube content partners that own and manage many
2270 * different YouTube channels. It allows content owners to authenticate once and get access to all
2271 * their video and channel data, without having to provide authentication credentials for each
2272 * individual channel. The CMS account that the user authenticates with must be linked to the
2273 * specified YouTube content owner.
2274 * @opt_param string onBehalfOfContentOwnerChannel
2275 * This parameter can only be used in a properly authorized request. Note: This parameter is
2276 * intended exclusively for YouTube content partners.
2277 The onBehalfOfContentOwnerChannel parameter
2278 * specifies the YouTube channel ID of the channel to which a video is being added. This parameter
2279 * is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it
2280 * can only be used in conjunction with that parameter. In addition, the request must be authorized
2281 * using a CMS account that is linked to the content owner that the onBehalfOfContentOwner
2282 * parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value
2283 * specifies must be linked to the content owner that the onBehalfOfContentOwner parameter
2284 * specifies.
2285 This parameter is intended for YouTube content partners that own and manage many
2286 * different YouTube channels. It allows content owners to authenticate once and perform actions on
2287 * behalf of the channel specified in the parameter value, without having to provide authentication
2288 * credentials for each separate channel.
2289 * @opt_param bool mine
2290 * The mine parameter can be used to instruct the API to only return streams owned by the
2291 * authenticated user. Set the parameter value to true to only retrieve your own streams.
2292 * @opt_param string maxResults
2293 * The maxResults parameter specifies the maximum number of items that should be returned in the
2294 * result set. Acceptable values are 0 to 50, inclusive. The default value is 5.
2295 * @opt_param string pageToken
2296 * The pageToken parameter identifies a specific page in the result set that should be returned. In
2297 * an API response, the nextPageToken and prevPageToken properties identify other pages that could
2298 * be retrieved.
2299 * @opt_param string id
2300 * The id parameter specifies a comma-separated list of YouTube stream IDs that identify the
2301 * streams being retrieved. In a liveStream resource, the id property specifies the stream's ID.
2302 * @return Analytify_Google_Service_YouTube_LiveStreamListResponse
2303 */
2304 public function listLiveStreams($part, $optParams = array())
2305 {
2306 $params = array('part' => $part);
2307 $params = array_merge($params, $optParams);
2308 return $this->call('list', array($params), "Analytify_Google_Service_YouTube_LiveStreamListResponse");
2309 }
2310 /**
2311 * Updates a video stream. If the properties that you want to change cannot be
2312 * updated, then you need to create a new stream with the proper settings.
2313 * (liveStreams.update)
2314 *
2315 * @param string $part
2316 * The part parameter serves two purposes in this operation. It identifies the properties that the
2317 * write operation will set as well as the properties that the API response will include.
2318 The part
2319 * properties that you can include in the parameter value are id, snippet, cdn, and status.
2320 Note
2321 * that this method will override the existing values for all of the mutable properties that are
2322 * contained in any parts that the parameter value specifies. If the request body does not specify
2323 * a value for a mutable property, the existing value for that property will be removed.
2324 * @param Analytify_Google_LiveStream $postBody
2325 * @param array $optParams Optional parameters.
2326 *
2327 * @opt_param string onBehalfOfContentOwnerChannel
2328 * This parameter can only be used in a properly authorized request. Note: This parameter is
2329 * intended exclusively for YouTube content partners.
2330 The onBehalfOfContentOwnerChannel parameter
2331 * specifies the YouTube channel ID of the channel to which a video is being added. This parameter
2332 * is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it
2333 * can only be used in conjunction with that parameter. In addition, the request must be authorized
2334 * using a CMS account that is linked to the content owner that the onBehalfOfContentOwner
2335 * parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value
2336 * specifies must be linked to the content owner that the onBehalfOfContentOwner parameter
2337 * specifies.
2338 This parameter is intended for YouTube content partners that own and manage many
2339 * different YouTube channels. It allows content owners to authenticate once and perform actions on
2340 * behalf of the channel specified in the parameter value, without having to provide authentication
2341 * credentials for each separate channel.
2342 * @opt_param string onBehalfOfContentOwner
2343 * Note: This parameter is intended exclusively for YouTube content partners.
2344 The
2345 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
2346 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
2347 * value. This parameter is intended for YouTube content partners that own and manage many
2348 * different YouTube channels. It allows content owners to authenticate once and get access to all
2349 * their video and channel data, without having to provide authentication credentials for each
2350 * individual channel. The CMS account that the user authenticates with must be linked to the
2351 * specified YouTube content owner.
2352 * @return Analytify_Google_Service_YouTube_LiveStream
2353 */
2354 public function update($part, Analytify_Google_Service_YouTube_LiveStream $postBody, $optParams = array())
2355 {
2356 $params = array('part' => $part, 'postBody' => $postBody);
2357 $params = array_merge($params, $optParams);
2358 return $this->call('update', array($params), "Analytify_Google_Service_YouTube_LiveStream");
2359 }
2360 }
2361
2362 /**
2363 * The "playlistItems" collection of methods.
2364 * Typical usage is:
2365 * <code>
2366 * $youtubeService = new Analytify_Google_Service_YouTube(...);
2367 * $playlistItems = $youtubeService->playlistItems;
2368 * </code>
2369 */
2370 class Analytify_Google_Service_YouTube_PlaylistItems_Resource extends Analytify_Google_Service_Resource
2371 {
2372
2373 /**
2374 * Deletes a playlist item. (playlistItems.delete)
2375 *
2376 * @param string $id
2377 * The id parameter specifies the YouTube playlist item ID for the playlist item that is being
2378 * deleted. In a playlistItem resource, the id property specifies the playlist item's ID.
2379 * @param array $optParams Optional parameters.
2380 */
2381 public function delete($id, $optParams = array())
2382 {
2383 $params = array('id' => $id);
2384 $params = array_merge($params, $optParams);
2385 return $this->call('delete', array($params));
2386 }
2387 /**
2388 * Adds a resource to a playlist. (playlistItems.insert)
2389 *
2390 * @param string $part
2391 * The part parameter serves two purposes in this operation. It identifies the properties that the
2392 * write operation will set as well as the properties that the API response will include.
2393 The part
2394 * names that you can include in the parameter value are snippet, contentDetails, and status.
2395 * @param Analytify_Google_PlaylistItem $postBody
2396 * @param array $optParams Optional parameters.
2397 *
2398 * @opt_param string onBehalfOfContentOwner
2399 * Note: This parameter is intended exclusively for YouTube content partners.
2400 The
2401 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
2402 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
2403 * value. This parameter is intended for YouTube content partners that own and manage many
2404 * different YouTube channels. It allows content owners to authenticate once and get access to all
2405 * their video and channel data, without having to provide authentication credentials for each
2406 * individual channel. The CMS account that the user authenticates with must be linked to the
2407 * specified YouTube content owner.
2408 * @return Analytify_Google_Service_YouTube_PlaylistItem
2409 */
2410 public function insert($part, Analytify_Google_Service_YouTube_PlaylistItem $postBody, $optParams = array())
2411 {
2412 $params = array('part' => $part, 'postBody' => $postBody);
2413 $params = array_merge($params, $optParams);
2414 return $this->call('insert', array($params), "Analytify_Google_Service_YouTube_PlaylistItem");
2415 }
2416 /**
2417 * Returns a collection of playlist items that match the API request parameters.
2418 * You can retrieve all of the playlist items in a specified playlist or
2419 * retrieve one or more playlist items by their unique IDs.
2420 * (playlistItems.listPlaylistItems)
2421 *
2422 * @param string $part
2423 * The part parameter specifies a comma-separated list of one or more playlistItem resource
2424 * properties that the API response will include. The part names that you can include in the
2425 * parameter value are id, snippet, contentDetails, and status.
2426 If the parameter identifies a
2427 * property that contains child properties, the child properties will be included in the response.
2428 * For example, in a playlistItem resource, the snippet property contains numerous fields,
2429 * including the title, description, position, and resourceId properties. As such, if you set
2430 * part=snippet, the API response will contain all of those properties.
2431 * @param array $optParams Optional parameters.
2432 *
2433 * @opt_param string onBehalfOfContentOwner
2434 * Note: This parameter is intended exclusively for YouTube content partners.
2435 The
2436 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
2437 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
2438 * value. This parameter is intended for YouTube content partners that own and manage many
2439 * different YouTube channels. It allows content owners to authenticate once and get access to all
2440 * their video and channel data, without having to provide authentication credentials for each
2441 * individual channel. The CMS account that the user authenticates with must be linked to the
2442 * specified YouTube content owner.
2443 * @opt_param string playlistId
2444 * The playlistId parameter specifies the unique ID of the playlist for which you want to retrieve
2445 * playlist items. Note that even though this is an optional parameter, every request to retrieve
2446 * playlist items must specify a value for either the id parameter or the playlistId parameter.
2447 * @opt_param string videoId
2448 * The videoId parameter specifies that the request should return only the playlist items that
2449 * contain the specified video.
2450 * @opt_param string maxResults
2451 * The maxResults parameter specifies the maximum number of items that should be returned in the
2452 * result set.
2453 * @opt_param string pageToken
2454 * The pageToken parameter identifies a specific page in the result set that should be returned. In
2455 * an API response, the nextPageToken and prevPageToken properties identify other pages that could
2456 * be retrieved.
2457 * @opt_param string id
2458 * The id parameter specifies a comma-separated list of one or more unique playlist item IDs.
2459 * @return Analytify_Google_Service_YouTube_PlaylistItemListResponse
2460 */
2461 public function listPlaylistItems($part, $optParams = array())
2462 {
2463 $params = array('part' => $part);
2464 $params = array_merge($params, $optParams);
2465 return $this->call('list', array($params), "Analytify_Google_Service_YouTube_PlaylistItemListResponse");
2466 }
2467 /**
2468 * Modifies a playlist item. For example, you could update the item's position
2469 * in the playlist. (playlistItems.update)
2470 *
2471 * @param string $part
2472 * The part parameter serves two purposes in this operation. It identifies the properties that the
2473 * write operation will set as well as the properties that the API response will include.
2474 The part
2475 * names that you can include in the parameter value are snippet, contentDetails, and status.
2476 Note
2477 * that this method will override the existing values for all of the mutable properties that are
2478 * contained in any parts that the parameter value specifies. For example, a playlist item can
2479 * specify a start time and end time, which identify the times portion of the video that should
2480 * play when users watch the video in the playlist. If your request is updating a playlist item
2481 * that sets these values, and the request's part parameter value includes the contentDetails part,
2482 * the playlist item's start and end times will be updated to whatever value the request body
2483 * specifies. If the request body does not specify values, the existing start and end times will be
2484 * removed and replaced with the default settings.
2485 * @param Analytify_Google_PlaylistItem $postBody
2486 * @param array $optParams Optional parameters.
2487 * @return Analytify_Google_Service_YouTube_PlaylistItem
2488 */
2489 public function update($part, Analytify_Google_Service_YouTube_PlaylistItem $postBody, $optParams = array())
2490 {
2491 $params = array('part' => $part, 'postBody' => $postBody);
2492 $params = array_merge($params, $optParams);
2493 return $this->call('update', array($params), "Analytify_Google_Service_YouTube_PlaylistItem");
2494 }
2495 }
2496
2497 /**
2498 * The "playlists" collection of methods.
2499 * Typical usage is:
2500 * <code>
2501 * $youtubeService = new Analytify_Google_Service_YouTube(...);
2502 * $playlists = $youtubeService->playlists;
2503 * </code>
2504 */
2505 class Analytify_Google_Service_YouTube_Playlists_Resource extends Analytify_Google_Service_Resource
2506 {
2507
2508 /**
2509 * Deletes a playlist. (playlists.delete)
2510 *
2511 * @param string $id
2512 * The id parameter specifies the YouTube playlist ID for the playlist that is being deleted. In a
2513 * playlist resource, the id property specifies the playlist's ID.
2514 * @param array $optParams Optional parameters.
2515 *
2516 * @opt_param string onBehalfOfContentOwner
2517 * Note: This parameter is intended exclusively for YouTube content partners.
2518 The
2519 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
2520 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
2521 * value. This parameter is intended for YouTube content partners that own and manage many
2522 * different YouTube channels. It allows content owners to authenticate once and get access to all
2523 * their video and channel data, without having to provide authentication credentials for each
2524 * individual channel. The CMS account that the user authenticates with must be linked to the
2525 * specified YouTube content owner.
2526 */
2527 public function delete($id, $optParams = array())
2528 {
2529 $params = array('id' => $id);
2530 $params = array_merge($params, $optParams);
2531 return $this->call('delete', array($params));
2532 }
2533 /**
2534 * Creates a playlist. (playlists.insert)
2535 *
2536 * @param string $part
2537 * The part parameter serves two purposes in this operation. It identifies the properties that the
2538 * write operation will set as well as the properties that the API response will include.
2539 The part
2540 * names that you can include in the parameter value are snippet and status.
2541 * @param Analytify_Google_Playlist $postBody
2542 * @param array $optParams Optional parameters.
2543 *
2544 * @opt_param string onBehalfOfContentOwnerChannel
2545 * This parameter can only be used in a properly authorized request. Note: This parameter is
2546 * intended exclusively for YouTube content partners.
2547 The onBehalfOfContentOwnerChannel parameter
2548 * specifies the YouTube channel ID of the channel to which a video is being added. This parameter
2549 * is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it
2550 * can only be used in conjunction with that parameter. In addition, the request must be authorized
2551 * using a CMS account that is linked to the content owner that the onBehalfOfContentOwner
2552 * parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value
2553 * specifies must be linked to the content owner that the onBehalfOfContentOwner parameter
2554 * specifies.
2555 This parameter is intended for YouTube content partners that own and manage many
2556 * different YouTube channels. It allows content owners to authenticate once and perform actions on
2557 * behalf of the channel specified in the parameter value, without having to provide authentication
2558 * credentials for each separate channel.
2559 * @opt_param string onBehalfOfContentOwner
2560 * Note: This parameter is intended exclusively for YouTube content partners.
2561 The
2562 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
2563 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
2564 * value. This parameter is intended for YouTube content partners that own and manage many
2565 * different YouTube channels. It allows content owners to authenticate once and get access to all
2566 * their video and channel data, without having to provide authentication credentials for each
2567 * individual channel. The CMS account that the user authenticates with must be linked to the
2568 * specified YouTube content owner.
2569 * @return Analytify_Google_Service_YouTube_Playlist
2570 */
2571 public function insert($part, Analytify_Google_Service_YouTube_Playlist $postBody, $optParams = array())
2572 {
2573 $params = array('part' => $part, 'postBody' => $postBody);
2574 $params = array_merge($params, $optParams);
2575 return $this->call('insert', array($params), "Analytify_Google_Service_YouTube_Playlist");
2576 }
2577 /**
2578 * Returns a collection of playlists that match the API request parameters. For
2579 * example, you can retrieve all playlists that the authenticated user owns, or
2580 * you can retrieve one or more playlists by their unique IDs.
2581 * (playlists.listPlaylists)
2582 *
2583 * @param string $part
2584 * The part parameter specifies a comma-separated list of one or more playlist resource properties
2585 * that the API response will include. The part names that you can include in the parameter value
2586 * are id, snippet, status, and contentDetails.
2587 If the parameter identifies a property that
2588 * contains child properties, the child properties will be included in the response. For example,
2589 * in a playlist resource, the snippet property contains properties like author, title,
2590 * description, tags, and timeCreated. As such, if you set part=snippet, the API response will
2591 * contain all of those properties.
2592 * @param array $optParams Optional parameters.
2593 *
2594 * @opt_param string onBehalfOfContentOwner
2595 * Note: This parameter is intended exclusively for YouTube content partners.
2596 The
2597 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
2598 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
2599 * value. This parameter is intended for YouTube content partners that own and manage many
2600 * different YouTube channels. It allows content owners to authenticate once and get access to all
2601 * their video and channel data, without having to provide authentication credentials for each
2602 * individual channel. The CMS account that the user authenticates with must be linked to the
2603 * specified YouTube content owner.
2604 * @opt_param string onBehalfOfContentOwnerChannel
2605 * This parameter can only be used in a properly authorized request. Note: This parameter is
2606 * intended exclusively for YouTube content partners.
2607 The onBehalfOfContentOwnerChannel parameter
2608 * specifies the YouTube channel ID of the channel to which a video is being added. This parameter
2609 * is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it
2610 * can only be used in conjunction with that parameter. In addition, the request must be authorized
2611 * using a CMS account that is linked to the content owner that the onBehalfOfContentOwner
2612 * parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value
2613 * specifies must be linked to the content owner that the onBehalfOfContentOwner parameter
2614 * specifies.
2615 This parameter is intended for YouTube content partners that own and manage many
2616 * different YouTube channels. It allows content owners to authenticate once and perform actions on
2617 * behalf of the channel specified in the parameter value, without having to provide authentication
2618 * credentials for each separate channel.
2619 * @opt_param string channelId
2620 * This value indicates that the API should only return the specified channel's playlists.
2621 * @opt_param bool mine
2622 * Set this parameter's value to true to instruct the API to only return playlists owned by the
2623 * authenticated user.
2624 * @opt_param string maxResults
2625 * The maxResults parameter specifies the maximum number of items that should be returned in the
2626 * result set.
2627 * @opt_param string pageToken
2628 * The pageToken parameter identifies a specific page in the result set that should be returned. In
2629 * an API response, the nextPageToken and prevPageToken properties identify other pages that could
2630 * be retrieved.
2631 * @opt_param string id
2632 * The id parameter specifies a comma-separated list of the YouTube playlist ID(s) for the
2633 * resource(s) that are being retrieved. In a playlist resource, the id property specifies the
2634 * playlist's YouTube playlist ID.
2635 * @return Analytify_Google_Service_YouTube_PlaylistListResponse
2636 */
2637 public function listPlaylists($part, $optParams = array())
2638 {
2639 $params = array('part' => $part);
2640 $params = array_merge($params, $optParams);
2641 return $this->call('list', array($params), "Analytify_Google_Service_YouTube_PlaylistListResponse");
2642 }
2643 /**
2644 * Modifies a playlist. For example, you could change a playlist's title,
2645 * description, or privacy status. (playlists.update)
2646 *
2647 * @param string $part
2648 * The part parameter serves two purposes in this operation. It identifies the properties that the
2649 * write operation will set as well as the properties that the API response will include.
2650 The part
2651 * names that you can include in the parameter value are snippet and status.
2652 Note that this method
2653 * will override the existing values for all of the mutable properties that are contained in any
2654 * parts that the parameter value specifies. For example, a playlist's privacy setting is contained
2655 * in the status part. As such, if your request is updating a private playlist, and the request's
2656 * part parameter value includes the status part, the playlist's privacy setting will be updated to
2657 * whatever value the request body specifies. If the request body does not specify a value, the
2658 * existing privacy setting will be removed and the playlist will revert to the default privacy
2659 * setting.
2660 * @param Analytify_Google_Playlist $postBody
2661 * @param array $optParams Optional parameters.
2662 *
2663 * @opt_param string onBehalfOfContentOwner
2664 * Note: This parameter is intended exclusively for YouTube content partners.
2665 The
2666 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
2667 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
2668 * value. This parameter is intended for YouTube content partners that own and manage many
2669 * different YouTube channels. It allows content owners to authenticate once and get access to all
2670 * their video and channel data, without having to provide authentication credentials for each
2671 * individual channel. The CMS account that the user authenticates with must be linked to the
2672 * specified YouTube content owner.
2673 * @return Analytify_Google_Service_YouTube_Playlist
2674 */
2675 public function update($part, Analytify_Google_Service_YouTube_Playlist $postBody, $optParams = array())
2676 {
2677 $params = array('part' => $part, 'postBody' => $postBody);
2678 $params = array_merge($params, $optParams);
2679 return $this->call('update', array($params), "Analytify_Google_Service_YouTube_Playlist");
2680 }
2681 }
2682
2683 /**
2684 * The "search" collection of methods.
2685 * Typical usage is:
2686 * <code>
2687 * $youtubeService = new Analytify_Google_Service_YouTube(...);
2688 * $search = $youtubeService->search;
2689 * </code>
2690 */
2691 class Analytify_Google_Service_YouTube_Search_Resource extends Analytify_Google_Service_Resource
2692 {
2693
2694 /**
2695 * Returns a collection of search results that match the query parameters
2696 * specified in the API request. By default, a search result set identifies
2697 * matching video, channel, and playlist resources, but you can also configure
2698 * queries to only retrieve a specific type of resource. (search.listSearch)
2699 *
2700 * @param string $part
2701 * The part parameter specifies a comma-separated list of one or more search resource properties
2702 * that the API response will include. The part names that you can include in the parameter value
2703 * are id and snippet.
2704 If the parameter identifies a property that contains child properties, the
2705 * child properties will be included in the response. For example, in a search result, the snippet
2706 * property contains other properties that identify the result's title, description, and so forth.
2707 * If you set part=snippet, the API response will also contain all of those nested properties.
2708 * @param array $optParams Optional parameters.
2709 *
2710 * @opt_param string eventType
2711 * The eventType parameter restricts a search to broadcast events.
2712 * @opt_param string channelId
2713 * The channelId parameter indicates that the API response should only contain resources created by
2714 * the channel
2715 * @opt_param string videoSyndicated
2716 * The videoSyndicated parameter lets you to restrict a search to only videos that can be played
2717 * outside youtube.com.
2718 * @opt_param string channelType
2719 * The channelType parameter lets you restrict a search to a particular type of channel.
2720 * @opt_param string videoCaption
2721 * The videoCaption parameter indicates whether the API should filter video search results based on
2722 * whether they have captions.
2723 * @opt_param string publishedAfter
2724 * The publishedAfter parameter indicates that the API response should only contain resources
2725 * created after the specified time. The value is an RFC 3339 formatted date-time value
2726 * (1970-01-01T00:00:00Z).
2727 * @opt_param string onBehalfOfContentOwner
2728 * Note: This parameter is intended exclusively for YouTube content partners.
2729 The
2730 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
2731 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
2732 * value. This parameter is intended for YouTube content partners that own and manage many
2733 * different YouTube channels. It allows content owners to authenticate once and get access to all
2734 * their video and channel data, without having to provide authentication credentials for each
2735 * individual channel. The CMS account that the user authenticates with must be linked to the
2736 * specified YouTube content owner.
2737 * @opt_param string pageToken
2738 * The pageToken parameter identifies a specific page in the result set that should be returned. In
2739 * an API response, the nextPageToken and prevPageToken properties identify other pages that could
2740 * be retrieved.
2741 * @opt_param bool forContentOwner
2742 * Note: This parameter is intended exclusively for YouTube content partners.
2743 The forContentOwner
2744 * parameter restricts the search to only retrieve resources owned by the content owner specified
2745 * by the onBehalfOfContentOwner parameter. The user must be authenticated using a CMS account
2746 * linked to the specified content owner and onBehalfOfContentOwner must be provided.
2747 * @opt_param string regionCode
2748 * The regionCode parameter instructs the API to return search results for the specified country.
2749 * The parameter value is an ISO 3166-1 alpha-2 country code.
2750 * @opt_param string location
2751 * The location parameter restricts a search to videos that have a geographical location specified
2752 * in their metadata. The value is a string that specifies geographic latitude/longitude
2753 * coordinates e.g. (37.42307,-122.08427)
2754 * @opt_param string locationRadius
2755 * The locationRadius, in conjunction with the location parameter, defines a geographic area. If
2756 * the geographic coordinates associated with a video fall within that area, then the video may be
2757 * included in search results. This parameter value must be a floating point number followed by a
2758 * measurement unit. Valid measurement units are m, km, ft, and mi. For example, valid parameter
2759 * values include 1500m, 5km, 10000ft, and 0.75mi. The API does not support locationRadius
2760 * parameter values larger than 1000 kilometers.
2761 * @opt_param string videoType
2762 * The videoType parameter lets you restrict a search to a particular type of videos.
2763 * @opt_param string type
2764 * The type parameter restricts a search query to only retrieve a particular type of resource. The
2765 * value is a comma-separated list of resource types.
2766 * @opt_param string topicId
2767 * The topicId parameter indicates that the API response should only contain resources associated
2768 * with the specified topic. The value identifies a Freebase topic ID.
2769 * @opt_param string publishedBefore
2770 * The publishedBefore parameter indicates that the API response should only contain resources
2771 * created before the specified time. The value is an RFC 3339 formatted date-time value
2772 * (1970-01-01T00:00:00Z).
2773 * @opt_param string videoDimension
2774 * The videoDimension parameter lets you restrict a search to only retrieve 2D or 3D videos.
2775 * @opt_param string videoLicense
2776 * The videoLicense parameter filters search results to only include videos with a particular
2777 * license. YouTube lets video uploaders choose to attach either the Creative Commons license or
2778 * the standard YouTube license to each of their videos.
2779 * @opt_param string maxResults
2780 * The maxResults parameter specifies the maximum number of items that should be returned in the
2781 * result set.
2782 * @opt_param string relatedToVideoId
2783 * The relatedToVideoId parameter retrieves a list of videos that are related to the video that the
2784 * parameter value identifies. The parameter value must be set to a YouTube video ID and, if you
2785 * are using this parameter, the type parameter must be set to video.
2786 * @opt_param string videoDefinition
2787 * The videoDefinition parameter lets you restrict a search to only include either high definition
2788 * (HD) or standard definition (SD) videos. HD videos are available for playback in at least 720p,
2789 * though higher resolutions, like 1080p, might also be available.
2790 * @opt_param string videoDuration
2791 * The videoDuration parameter filters video search results based on their duration.
2792 * @opt_param bool forMine
2793 * The forMine parameter restricts the search to only retrieve videos owned by the authenticated
2794 * user. If you set this parameter to true, then the type parameter's value must also be set to
2795 * video.
2796 * @opt_param string q
2797 * The q parameter specifies the query term to search for.
2798 * @opt_param string safeSearch
2799 * The safeSearch parameter indicates whether the search results should include restricted content
2800 * as well as standard content.
2801 * @opt_param string videoEmbeddable
2802 * The videoEmbeddable parameter lets you to restrict a search to only videos that can be embedded
2803 * into a webpage.
2804 * @opt_param string videoCategoryId
2805 * The videoCategoryId parameter filters video search results based on their category.
2806 * @opt_param string order
2807 * The order parameter specifies the method that will be used to order resources in the API
2808 * response.
2809 * @return Analytify_Google_Service_YouTube_SearchListResponse
2810 */
2811 public function listSearch($part, $optParams = array())
2812 {
2813 $params = array('part' => $part);
2814 $params = array_merge($params, $optParams);
2815 return $this->call('list', array($params), "Analytify_Google_Service_YouTube_SearchListResponse");
2816 }
2817 }
2818
2819 /**
2820 * The "subscriptions" collection of methods.
2821 * Typical usage is:
2822 * <code>
2823 * $youtubeService = new Analytify_Google_Service_YouTube(...);
2824 * $subscriptions = $youtubeService->subscriptions;
2825 * </code>
2826 */
2827 class Analytify_Google_Service_YouTube_Subscriptions_Resource extends Analytify_Google_Service_Resource
2828 {
2829
2830 /**
2831 * Deletes a subscription. (subscriptions.delete)
2832 *
2833 * @param string $id
2834 * The id parameter specifies the YouTube subscription ID for the resource that is being deleted.
2835 * In a subscription resource, the id property specifies the YouTube subscription ID.
2836 * @param array $optParams Optional parameters.
2837 */
2838 public function delete($id, $optParams = array())
2839 {
2840 $params = array('id' => $id);
2841 $params = array_merge($params, $optParams);
2842 return $this->call('delete', array($params));
2843 }
2844 /**
2845 * Adds a subscription for the authenticated user's channel.
2846 * (subscriptions.insert)
2847 *
2848 * @param string $part
2849 * The part parameter serves two purposes in this operation. It identifies the properties that the
2850 * write operation will set as well as the properties that the API response will include.
2851 The part
2852 * names that you can include in the parameter value are snippet and contentDetails.
2853 * @param Analytify_Google_Subscription $postBody
2854 * @param array $optParams Optional parameters.
2855 * @return Analytify_Google_Service_YouTube_Subscription
2856 */
2857 public function insert($part, Analytify_Google_Service_YouTube_Subscription $postBody, $optParams = array())
2858 {
2859 $params = array('part' => $part, 'postBody' => $postBody);
2860 $params = array_merge($params, $optParams);
2861 return $this->call('insert', array($params), "Analytify_Google_Service_YouTube_Subscription");
2862 }
2863 /**
2864 * Returns subscription resources that match the API request criteria.
2865 * (subscriptions.listSubscriptions)
2866 *
2867 * @param string $part
2868 * The part parameter specifies a comma-separated list of one or more subscription resource
2869 * properties that the API response will include. The part names that you can include in the
2870 * parameter value are id, snippet, and contentDetails.
2871 If the parameter identifies a property
2872 * that contains child properties, the child properties will be included in the response. For
2873 * example, in a subscription resource, the snippet property contains other properties, such as a
2874 * display title for the subscription. If you set part=snippet, the API response will also contain
2875 * all of those nested properties.
2876 * @param array $optParams Optional parameters.
2877 *
2878 * @opt_param string onBehalfOfContentOwner
2879 * Note: This parameter is intended exclusively for YouTube content partners.
2880 The
2881 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
2882 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
2883 * value. This parameter is intended for YouTube content partners that own and manage many
2884 * different YouTube channels. It allows content owners to authenticate once and get access to all
2885 * their video and channel data, without having to provide authentication credentials for each
2886 * individual channel. The CMS account that the user authenticates with must be linked to the
2887 * specified YouTube content owner.
2888 * @opt_param string onBehalfOfContentOwnerChannel
2889 * This parameter can only be used in a properly authorized request. Note: This parameter is
2890 * intended exclusively for YouTube content partners.
2891 The onBehalfOfContentOwnerChannel parameter
2892 * specifies the YouTube channel ID of the channel to which a video is being added. This parameter
2893 * is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it
2894 * can only be used in conjunction with that parameter. In addition, the request must be authorized
2895 * using a CMS account that is linked to the content owner that the onBehalfOfContentOwner
2896 * parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value
2897 * specifies must be linked to the content owner that the onBehalfOfContentOwner parameter
2898 * specifies.
2899 This parameter is intended for YouTube content partners that own and manage many
2900 * different YouTube channels. It allows content owners to authenticate once and perform actions on
2901 * behalf of the channel specified in the parameter value, without having to provide authentication
2902 * credentials for each separate channel.
2903 * @opt_param string channelId
2904 * The channelId parameter specifies a YouTube channel ID. The API will only return that channel's
2905 * subscriptions.
2906 * @opt_param bool mine
2907 * Set this parameter's value to true to retrieve a feed of the authenticated user's subscriptions.
2908 * @opt_param string maxResults
2909 * The maxResults parameter specifies the maximum number of items that should be returned in the
2910 * result set.
2911 * @opt_param string forChannelId
2912 * The forChannelId parameter specifies a comma-separated list of channel IDs. The API response
2913 * will then only contain subscriptions matching those channels.
2914 * @opt_param string pageToken
2915 * The pageToken parameter identifies a specific page in the result set that should be returned. In
2916 * an API response, the nextPageToken and prevPageToken properties identify other pages that could
2917 * be retrieved.
2918 * @opt_param bool mySubscribers
2919 * Set this parameter's value to true to retrieve a feed of the subscribers of the authenticated
2920 * user.
2921 * @opt_param string order
2922 * The order parameter specifies the method that will be used to sort resources in the API
2923 * response.
2924 * @opt_param string id
2925 * The id parameter specifies a comma-separated list of the YouTube subscription ID(s) for the
2926 * resource(s) that are being retrieved. In a subscription resource, the id property specifies the
2927 * YouTube subscription ID.
2928 * @return Analytify_Google_Service_YouTube_SubscriptionListResponse
2929 */
2930 public function listSubscriptions($part, $optParams = array())
2931 {
2932 $params = array('part' => $part);
2933 $params = array_merge($params, $optParams);
2934 return $this->call('list', array($params), "Analytify_Google_Service_YouTube_SubscriptionListResponse");
2935 }
2936 }
2937
2938 /**
2939 * The "thumbnails" collection of methods.
2940 * Typical usage is:
2941 * <code>
2942 * $youtubeService = new Analytify_Google_Service_YouTube(...);
2943 * $thumbnails = $youtubeService->thumbnails;
2944 * </code>
2945 */
2946 class Analytify_Google_Service_YouTube_Thumbnails_Resource extends Analytify_Google_Service_Resource
2947 {
2948
2949 /**
2950 * Uploads a custom video thumbnail to YouTube and sets it for a video.
2951 * (thumbnails.set)
2952 *
2953 * @param string $videoId
2954 * The videoId parameter specifies a YouTube video ID for which the custom video thumbnail is being
2955 * provided.
2956 * @param array $optParams Optional parameters.
2957 *
2958 * @opt_param string onBehalfOfContentOwner
2959 * The onBehalfOfContentOwner parameter indicates that the authenticated user is acting on behalf
2960 * of the content owner specified in the parameter value. This parameter is intended for YouTube
2961 * content partners that own and manage many different YouTube channels. It allows content owners
2962 * to authenticate once and get access to all their video and channel data, without having to
2963 * provide authentication credentials for each individual channel. The actual CMS account that the
2964 * user authenticates with needs to be linked to the specified YouTube content owner.
2965 * @return Analytify_Google_Service_YouTube_ThumbnailSetResponse
2966 */
2967 public function set($videoId, $optParams = array())
2968 {
2969 $params = array('videoId' => $videoId);
2970 $params = array_merge($params, $optParams);
2971 return $this->call('set', array($params), "Analytify_Google_Service_YouTube_ThumbnailSetResponse");
2972 }
2973 }
2974
2975 /**
2976 * The "videoCategories" collection of methods.
2977 * Typical usage is:
2978 * <code>
2979 * $youtubeService = new Analytify_Google_Service_YouTube(...);
2980 * $videoCategories = $youtubeService->videoCategories;
2981 * </code>
2982 */
2983 class Analytify_Google_Service_YouTube_VideoCategories_Resource extends Analytify_Google_Service_Resource
2984 {
2985
2986 /**
2987 * Returns a list of categories that can be associated with YouTube videos.
2988 * (videoCategories.listVideoCategories)
2989 *
2990 * @param string $part
2991 * The part parameter specifies the videoCategory resource parts that the API response will
2992 * include. Supported values are id and snippet.
2993 * @param array $optParams Optional parameters.
2994 *
2995 * @opt_param string regionCode
2996 * The regionCode parameter instructs the API to return the list of video categories available in
2997 * the specified country. The parameter value is an ISO 3166-1 alpha-2 country code.
2998 * @opt_param string id
2999 * The id parameter specifies a comma-separated list of video category IDs for the resources that
3000 * you are retrieving.
3001 * @opt_param string hl
3002 * The hl parameter specifies the language that should be used for text values in the API response.
3003 * @return Analytify_Google_Service_YouTube_VideoCategoryListResponse
3004 */
3005 public function listVideoCategories($part, $optParams = array())
3006 {
3007 $params = array('part' => $part);
3008 $params = array_merge($params, $optParams);
3009 return $this->call('list', array($params), "Analytify_Google_Service_YouTube_VideoCategoryListResponse");
3010 }
3011 }
3012
3013 /**
3014 * The "videos" collection of methods.
3015 * Typical usage is:
3016 * <code>
3017 * $youtubeService = new Analytify_Google_Service_YouTube(...);
3018 * $videos = $youtubeService->videos;
3019 * </code>
3020 */
3021 class Analytify_Google_Service_YouTube_Videos_Resource extends Analytify_Google_Service_Resource
3022 {
3023
3024 /**
3025 * Deletes a YouTube video. (videos.delete)
3026 *
3027 * @param string $id
3028 * The id parameter specifies the YouTube video ID for the resource that is being deleted. In a
3029 * video resource, the id property specifies the video's ID.
3030 * @param array $optParams Optional parameters.
3031 *
3032 * @opt_param string onBehalfOfContentOwner
3033 * Note: This parameter is intended exclusively for YouTube content partners.
3034 The
3035 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
3036 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
3037 * value. This parameter is intended for YouTube content partners that own and manage many
3038 * different YouTube channels. It allows content owners to authenticate once and get access to all
3039 * their video and channel data, without having to provide authentication credentials for each
3040 * individual channel. The actual CMS account that the user authenticates with must be linked to
3041 * the specified YouTube content owner.
3042 */
3043 public function delete($id, $optParams = array())
3044 {
3045 $params = array('id' => $id);
3046 $params = array_merge($params, $optParams);
3047 return $this->call('delete', array($params));
3048 }
3049 /**
3050 * Retrieves the ratings that the authorized user gave to a list of specified
3051 * videos. (videos.getRating)
3052 *
3053 * @param string $id
3054 * The id parameter specifies a comma-separated list of the YouTube video ID(s) for the resource(s)
3055 * for which you are retrieving rating data. In a video resource, the id property specifies the
3056 * video's ID.
3057 * @param array $optParams Optional parameters.
3058 *
3059 * @opt_param string onBehalfOfContentOwner
3060 * Note: This parameter is intended exclusively for YouTube content partners.
3061 The
3062 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
3063 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
3064 * value. This parameter is intended for YouTube content partners that own and manage many
3065 * different YouTube channels. It allows content owners to authenticate once and get access to all
3066 * their video and channel data, without having to provide authentication credentials for each
3067 * individual channel. The CMS account that the user authenticates with must be linked to the
3068 * specified YouTube content owner.
3069 * @return Analytify_Google_Service_YouTube_VideoGetRatingResponse
3070 */
3071 public function getRating($id, $optParams = array())
3072 {
3073 $params = array('id' => $id);
3074 $params = array_merge($params, $optParams);
3075 return $this->call('getRating', array($params), "Analytify_Google_Service_YouTube_VideoGetRatingResponse");
3076 }
3077 /**
3078 * Uploads a video to YouTube and optionally sets the video's metadata.
3079 * (videos.insert)
3080 *
3081 * @param string $part
3082 * The part parameter serves two purposes in this operation. It identifies the properties that the
3083 * write operation will set as well as the properties that the API response will include.
3084 The part
3085 * names that you can include in the parameter value are snippet, contentDetails, fileDetails,
3086 * liveStreamingDetails, player, processingDetails, recordingDetails, statistics, status,
3087 * suggestions, and topicDetails. However, not all of those parts contain properties that can be
3088 * set when setting or updating a video's metadata. For example, the statistics object encapsulates
3089 * statistics that YouTube calculates for a video and does not contain values that you can set or
3090 * modify. If the parameter value specifies a part that does not contain mutable values, that part
3091 * will still be included in the API response.
3092 * @param Analytify_Google_Video $postBody
3093 * @param array $optParams Optional parameters.
3094 *
3095 * @opt_param string onBehalfOfContentOwner
3096 * Note: This parameter is intended exclusively for YouTube content partners.
3097 The
3098 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
3099 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
3100 * value. This parameter is intended for YouTube content partners that own and manage many
3101 * different YouTube channels. It allows content owners to authenticate once and get access to all
3102 * their video and channel data, without having to provide authentication credentials for each
3103 * individual channel. The CMS account that the user authenticates with must be linked to the
3104 * specified YouTube content owner.
3105 * @opt_param bool stabilize
3106 * The stabilize parameter indicates whether YouTube should adjust the video to remove shaky camera
3107 * motions.
3108 * @opt_param string onBehalfOfContentOwnerChannel
3109 * This parameter can only be used in a properly authorized request. Note: This parameter is
3110 * intended exclusively for YouTube content partners.
3111 The onBehalfOfContentOwnerChannel parameter
3112 * specifies the YouTube channel ID of the channel to which a video is being added. This parameter
3113 * is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it
3114 * can only be used in conjunction with that parameter. In addition, the request must be authorized
3115 * using a CMS account that is linked to the content owner that the onBehalfOfContentOwner
3116 * parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value
3117 * specifies must be linked to the content owner that the onBehalfOfContentOwner parameter
3118 * specifies.
3119 This parameter is intended for YouTube content partners that own and manage many
3120 * different YouTube channels. It allows content owners to authenticate once and perform actions on
3121 * behalf of the channel specified in the parameter value, without having to provide authentication
3122 * credentials for each separate channel.
3123 * @opt_param bool notifySubscribers
3124 * The notifySubscribers parameter indicates whether YouTube should send notification to
3125 * subscribers about the inserted video.
3126 * @opt_param bool autoLevels
3127 * The autoLevels parameter indicates whether YouTube should automatically enhance the video's
3128 * lighting and color.
3129 * @return Analytify_Google_Service_YouTube_Video
3130 */
3131 public function insert($part, Analytify_Google_Service_YouTube_Video $postBody, $optParams = array())
3132 {
3133 $params = array('part' => $part, 'postBody' => $postBody);
3134 $params = array_merge($params, $optParams);
3135 return $this->call('insert', array($params), "Analytify_Google_Service_YouTube_Video");
3136 }
3137 /**
3138 * Returns a list of videos that match the API request parameters.
3139 * (videos.listVideos)
3140 *
3141 * @param string $part
3142 * The part parameter specifies a comma-separated list of one or more video resource properties
3143 * that the API response will include. The part names that you can include in the parameter value
3144 * are id, snippet, contentDetails, fileDetails, liveStreamingDetails, player, processingDetails,
3145 * recordingDetails, statistics, status, suggestions, and topicDetails.
3146 If the parameter
3147 * identifies a property that contains child properties, the child properties will be included in
3148 * the response. For example, in a video resource, the snippet property contains the channelId,
3149 * title, description, tags, and categoryId properties. As such, if you set part=snippet, the API
3150 * response will contain all of those properties.
3151 * @param array $optParams Optional parameters.
3152 *
3153 * @opt_param string onBehalfOfContentOwner
3154 * Note: This parameter is intended exclusively for YouTube content partners.
3155 The
3156 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
3157 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
3158 * value. This parameter is intended for YouTube content partners that own and manage many
3159 * different YouTube channels. It allows content owners to authenticate once and get access to all
3160 * their video and channel data, without having to provide authentication credentials for each
3161 * individual channel. The CMS account that the user authenticates with must be linked to the
3162 * specified YouTube content owner.
3163 * @opt_param string regionCode
3164 * The regionCode parameter instructs the API to select a video chart available in the specified
3165 * region. This parameter can only be used in conjunction with the chart parameter. The parameter
3166 * value is an ISO 3166-1 alpha-2 country code.
3167 * @opt_param string locale
3168 * DEPRECATED
3169 * @opt_param string videoCategoryId
3170 * The videoCategoryId parameter identifies the video category for which the chart should be
3171 * retrieved. This parameter can only be used in conjunction with the chart parameter. By default,
3172 * charts are not restricted to a particular category.
3173 * @opt_param string chart
3174 * The chart parameter identifies the chart that you want to retrieve.
3175 * @opt_param string maxResults
3176 * The maxResults parameter specifies the maximum number of items that should be returned in the
3177 * result set.
3178 Note: This parameter is supported for use in conjunction with the myRating
3179 * parameter, but it is not supported for use in conjunction with the id parameter.
3180 * @opt_param string pageToken
3181 * The pageToken parameter identifies a specific page in the result set that should be returned. In
3182 * an API response, the nextPageToken and prevPageToken properties identify other pages that could
3183 * be retrieved.
3184 Note: This parameter is supported for use in conjunction with the myRating
3185 * parameter, but it is not supported for use in conjunction with the id parameter.
3186 * @opt_param string myRating
3187 * Set this parameter's value to like or dislike to instruct the API to only return videos liked or
3188 * disliked by the authenticated user.
3189 * @opt_param string id
3190 * The id parameter specifies a comma-separated list of the YouTube video ID(s) for the resource(s)
3191 * that are being retrieved. In a video resource, the id property specifies the video's ID.
3192 * @return Analytify_Google_Service_YouTube_VideoListResponse
3193 */
3194 public function listVideos($part, $optParams = array())
3195 {
3196 $params = array('part' => $part);
3197 $params = array_merge($params, $optParams);
3198 return $this->call('list', array($params), "Analytify_Google_Service_YouTube_VideoListResponse");
3199 }
3200 /**
3201 * Add a like or dislike rating to a video or remove a rating from a video.
3202 * (videos.rate)
3203 *
3204 * @param string $id
3205 * The id parameter specifies the YouTube video ID of the video that is being rated or having its
3206 * rating removed.
3207 * @param string $rating
3208 * Specifies the rating to record.
3209 * @param array $optParams Optional parameters.
3210 *
3211 * @opt_param string onBehalfOfContentOwner
3212 * Note: This parameter is intended exclusively for YouTube content partners.
3213 The
3214 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
3215 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
3216 * value. This parameter is intended for YouTube content partners that own and manage many
3217 * different YouTube channels. It allows content owners to authenticate once and get access to all
3218 * their video and channel data, without having to provide authentication credentials for each
3219 * individual channel. The CMS account that the user authenticates with must be linked to the
3220 * specified YouTube content owner.
3221 */
3222 public function rate($id, $rating, $optParams = array())
3223 {
3224 $params = array('id' => $id, 'rating' => $rating);
3225 $params = array_merge($params, $optParams);
3226 return $this->call('rate', array($params));
3227 }
3228 /**
3229 * Updates a video's metadata. (videos.update)
3230 *
3231 * @param string $part
3232 * The part parameter serves two purposes in this operation. It identifies the properties that the
3233 * write operation will set as well as the properties that the API response will include.
3234 The part
3235 * names that you can include in the parameter value are snippet, contentDetails, fileDetails,
3236 * liveStreamingDetails, player, processingDetails, recordingDetails, statistics, status,
3237 * suggestions, and topicDetails.
3238 Note that this method will override the existing values for all
3239 * of the mutable properties that are contained in any parts that the parameter value specifies.
3240 * For example, a video's privacy setting is contained in the status part. As such, if your request
3241 * is updating a private video, and the request's part parameter value includes the status part,
3242 * the video's privacy setting will be updated to whatever value the request body specifies. If the
3243 * request body does not specify a value, the existing privacy setting will be removed and the
3244 * video will revert to the default privacy setting.
3245 In addition, not all of those parts contain
3246 * properties that can be set when setting or updating a video's metadata. For example, the
3247 * statistics object encapsulates statistics that YouTube calculates for a video and does not
3248 * contain values that you can set or modify. If the parameter value specifies a part that does not
3249 * contain mutable values, that part will still be included in the API response.
3250 * @param Analytify_Google_Video $postBody
3251 * @param array $optParams Optional parameters.
3252 *
3253 * @opt_param string onBehalfOfContentOwner
3254 * Note: This parameter is intended exclusively for YouTube content partners.
3255 The
3256 * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
3257 * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
3258 * value. This parameter is intended for YouTube content partners that own and manage many
3259 * different YouTube channels. It allows content owners to authenticate once and get access to all
3260 * their video and channel data, without having to provide authentication credentials for each
3261 * individual channel. The actual CMS account that the user authenticates with must be linked to
3262 * the specified YouTube content owner.
3263 * @return Analytify_Google_Service_YouTube_Video
3264 */
3265 public function update($part, Analytify_Google_Service_YouTube_Video $postBody, $optParams = array())
3266 {
3267 $params = array('part' => $part, 'postBody' => $postBody);
3268 $params = array_merge($params, $optParams);
3269 return $this->call('update', array($params), "Analytify_Google_Service_YouTube_Video");
3270 }
3271 }
3272
3273 /**
3274 * The "watermarks" collection of methods.
3275 * Typical usage is:
3276 * <code>
3277 * $youtubeService = new Analytify_Google_Service_YouTube(...);
3278 * $watermarks = $youtubeService->watermarks;
3279 * </code>
3280 */
3281 class Analytify_Google_Service_YouTube_Watermarks_Resource extends Analytify_Google_Service_Resource
3282 {
3283
3284 /**
3285 * Uploads a watermark image to YouTube and sets it for a channel.
3286 * (watermarks.set)
3287 *
3288 * @param string $channelId
3289 * The channelId parameter specifies a YouTube channel ID for which the watermark is being
3290 * provided.
3291 * @param Analytify_Google_InvideoBranding $postBody
3292 * @param array $optParams Optional parameters.
3293 *
3294 * @opt_param string onBehalfOfContentOwner
3295 * The onBehalfOfContentOwner parameter indicates that the authenticated user is acting on behalf
3296 * of the content owner specified in the parameter value. This parameter is intended for YouTube
3297 * content partners that own and manage many different YouTube channels. It allows content owners
3298 * to authenticate once and get access to all their video and channel data, without having to
3299 * provide authentication credentials for each individual channel. The actual CMS account that the
3300 * user authenticates with needs to be linked to the specified YouTube content owner.
3301 */
3302 public function set($channelId, Analytify_Google_Service_YouTube_InvideoBranding $postBody, $optParams = array())
3303 {
3304 $params = array('channelId' => $channelId, 'postBody' => $postBody);
3305 $params = array_merge($params, $optParams);
3306 return $this->call('set', array($params));
3307 }
3308 /**
3309 * Deletes a watermark. (watermarks.unsetWatermarks)
3310 *
3311 * @param string $channelId
3312 * The channelId parameter specifies a YouTube channel ID for which the watermark is being unset.
3313 * @param array $optParams Optional parameters.
3314 *
3315 * @opt_param string onBehalfOfContentOwner
3316 * The onBehalfOfContentOwner parameter indicates that the authenticated user is acting on behalf
3317 * of the content owner specified in the parameter value. This parameter is intended for YouTube
3318 * content partners that own and manage many different YouTube channels. It allows content owners
3319 * to authenticate once and get access to all their video and channel data, without having to
3320 * provide authentication credentials for each individual channel. The actual CMS account that the
3321 * user authenticates with needs to be linked to the specified YouTube content owner.
3322 */
3323 public function unsetWatermarks($channelId, $optParams = array())
3324 {
3325 $params = array('channelId' => $channelId);
3326 $params = array_merge($params, $optParams);
3327 return $this->call('unset', array($params));
3328 }
3329 }
3330
3331
3332
3333
3334 class Analytify_Google_Service_YouTube_AccessPolicy extends Analytify_Google_Collection
3335 {
3336 public $allowed;
3337 public $exception;
3338
3339 public function setAllowed($allowed)
3340 {
3341 $this->allowed = $allowed;
3342 }
3343
3344 public function getAllowed()
3345 {
3346 return $this->allowed;
3347 }
3348
3349 public function setException($exception)
3350 {
3351 $this->exception = $exception;
3352 }
3353
3354 public function getException()
3355 {
3356 return $this->exception;
3357 }
3358 }
3359
3360 class Analytify_Google_Service_YouTube_Activity extends Analytify_Google_Model
3361 {
3362 protected $contentDetailsType = 'Analytify_Google_Service_YouTube_ActivityContentDetails';
3363 protected $contentDetailsDataType = '';
3364 public $etag;
3365 public $id;
3366 public $kind;
3367 protected $snippetType = 'Analytify_Google_Service_YouTube_ActivitySnippet';
3368 protected $snippetDataType = '';
3369
3370 public function setContentDetails(Analytify_Google_Service_YouTube_ActivityContentDetails $contentDetails)
3371 {
3372 $this->contentDetails = $contentDetails;
3373 }
3374
3375 public function getContentDetails()
3376 {
3377 return $this->contentDetails;
3378 }
3379
3380 public function setEtag($etag)
3381 {
3382 $this->etag = $etag;
3383 }
3384
3385 public function getEtag()
3386 {
3387 return $this->etag;
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 setSnippet(Analytify_Google_Service_YouTube_ActivitySnippet $snippet)
3411 {
3412 $this->snippet = $snippet;
3413 }
3414
3415 public function getSnippet()
3416 {
3417 return $this->snippet;
3418 }
3419 }
3420
3421 class Analytify_Google_Service_YouTube_ActivityContentDetails extends Analytify_Google_Model
3422 {
3423 protected $bulletinType = 'Analytify_Google_Service_YouTube_ActivityContentDetailsBulletin';
3424 protected $bulletinDataType = '';
3425 protected $channelItemType = 'Analytify_Google_Service_YouTube_ActivityContentDetailsChannelItem';
3426 protected $channelItemDataType = '';
3427 protected $commentType = 'Analytify_Google_Service_YouTube_ActivityContentDetailsComment';
3428 protected $commentDataType = '';
3429 protected $favoriteType = 'Analytify_Google_Service_YouTube_ActivityContentDetailsFavorite';
3430 protected $favoriteDataType = '';
3431 protected $likeType = 'Analytify_Google_Service_YouTube_ActivityContentDetailsLike';
3432 protected $likeDataType = '';
3433 protected $playlistItemType = 'Analytify_Google_Service_YouTube_ActivityContentDetailsPlaylistItem';
3434 protected $playlistItemDataType = '';
3435 protected $promotedItemType = 'Analytify_Google_Service_YouTube_ActivityContentDetailsPromotedItem';
3436 protected $promotedItemDataType = '';
3437 protected $recommendationType = 'Analytify_Google_Service_YouTube_ActivityContentDetailsRecommendation';
3438 protected $recommendationDataType = '';
3439 protected $socialType = 'Analytify_Google_Service_YouTube_ActivityContentDetailsSocial';
3440 protected $socialDataType = '';
3441 protected $subscriptionType = 'Analytify_Google_Service_YouTube_ActivityContentDetailsSubscription';
3442 protected $subscriptionDataType = '';
3443 protected $uploadType = 'Analytify_Google_Service_YouTube_ActivityContentDetailsUpload';
3444 protected $uploadDataType = '';
3445
3446 public function setBulletin(Analytify_Google_Service_YouTube_ActivityContentDetailsBulletin $bulletin)
3447 {
3448 $this->bulletin = $bulletin;
3449 }
3450
3451 public function getBulletin()
3452 {
3453 return $this->bulletin;
3454 }
3455
3456 public function setChannelItem(Analytify_Google_Service_YouTube_ActivityContentDetailsChannelItem $channelItem)
3457 {
3458 $this->channelItem = $channelItem;
3459 }
3460
3461 public function getChannelItem()
3462 {
3463 return $this->channelItem;
3464 }
3465
3466 public function setComment(Analytify_Google_Service_YouTube_ActivityContentDetailsComment $comment)
3467 {
3468 $this->comment = $comment;
3469 }
3470
3471 public function getComment()
3472 {
3473 return $this->comment;
3474 }
3475
3476 public function setFavorite(Analytify_Google_Service_YouTube_ActivityContentDetailsFavorite $favorite)
3477 {
3478 $this->favorite = $favorite;
3479 }
3480
3481 public function getFavorite()
3482 {
3483 return $this->favorite;
3484 }
3485
3486 public function setLike(Analytify_Google_Service_YouTube_ActivityContentDetailsLike $like)
3487 {
3488 $this->like = $like;
3489 }
3490
3491 public function getLike()
3492 {
3493 return $this->like;
3494 }
3495
3496 public function setPlaylistItem(Analytify_Google_Service_YouTube_ActivityContentDetailsPlaylistItem $playlistItem)
3497 {
3498 $this->playlistItem = $playlistItem;
3499 }
3500
3501 public function getPlaylistItem()
3502 {
3503 return $this->playlistItem;
3504 }
3505
3506 public function setPromotedItem(Analytify_Google_Service_YouTube_ActivityContentDetailsPromotedItem $promotedItem)
3507 {
3508 $this->promotedItem = $promotedItem;
3509 }
3510
3511 public function getPromotedItem()
3512 {
3513 return $this->promotedItem;
3514 }
3515
3516 public function setRecommendation(Analytify_Google_Service_YouTube_ActivityContentDetailsRecommendation $recommendation)
3517 {
3518 $this->recommendation = $recommendation;
3519 }
3520
3521 public function getRecommendation()
3522 {
3523 return $this->recommendation;
3524 }
3525
3526 public function setSocial(Analytify_Google_Service_YouTube_ActivityContentDetailsSocial $social)
3527 {
3528 $this->social = $social;
3529 }
3530
3531 public function getSocial()
3532 {
3533 return $this->social;
3534 }
3535
3536 public function setSubscription(Analytify_Google_Service_YouTube_ActivityContentDetailsSubscription $subscription)
3537 {
3538 $this->subscription = $subscription;
3539 }
3540
3541 public function getSubscription()
3542 {
3543 return $this->subscription;
3544 }
3545
3546 public function setUpload(Analytify_Google_Service_YouTube_ActivityContentDetailsUpload $upload)
3547 {
3548 $this->upload = $upload;
3549 }
3550
3551 public function getUpload()
3552 {
3553 return $this->upload;
3554 }
3555 }
3556
3557 class Analytify_Google_Service_YouTube_ActivityContentDetailsBulletin extends Analytify_Google_Model
3558 {
3559 protected $resourceIdType = 'Analytify_Google_Service_YouTube_ResourceId';
3560 protected $resourceIdDataType = '';
3561
3562 public function setResourceId(Analytify_Google_Service_YouTube_ResourceId $resourceId)
3563 {
3564 $this->resourceId = $resourceId;
3565 }
3566
3567 public function getResourceId()
3568 {
3569 return $this->resourceId;
3570 }
3571 }
3572
3573 class Analytify_Google_Service_YouTube_ActivityContentDetailsChannelItem extends Analytify_Google_Model
3574 {
3575 protected $resourceIdType = 'Analytify_Google_Service_YouTube_ResourceId';
3576 protected $resourceIdDataType = '';
3577
3578 public function setResourceId(Analytify_Google_Service_YouTube_ResourceId $resourceId)
3579 {
3580 $this->resourceId = $resourceId;
3581 }
3582
3583 public function getResourceId()
3584 {
3585 return $this->resourceId;
3586 }
3587 }
3588
3589 class Analytify_Google_Service_YouTube_ActivityContentDetailsComment extends Analytify_Google_Model
3590 {
3591 protected $resourceIdType = 'Analytify_Google_Service_YouTube_ResourceId';
3592 protected $resourceIdDataType = '';
3593
3594 public function setResourceId(Analytify_Google_Service_YouTube_ResourceId $resourceId)
3595 {
3596 $this->resourceId = $resourceId;
3597 }
3598
3599 public function getResourceId()
3600 {
3601 return $this->resourceId;
3602 }
3603 }
3604
3605 class Analytify_Google_Service_YouTube_ActivityContentDetailsFavorite extends Analytify_Google_Model
3606 {
3607 protected $resourceIdType = 'Analytify_Google_Service_YouTube_ResourceId';
3608 protected $resourceIdDataType = '';
3609
3610 public function setResourceId(Analytify_Google_Service_YouTube_ResourceId $resourceId)
3611 {
3612 $this->resourceId = $resourceId;
3613 }
3614
3615 public function getResourceId()
3616 {
3617 return $this->resourceId;
3618 }
3619 }
3620
3621 class Analytify_Google_Service_YouTube_ActivityContentDetailsLike extends Analytify_Google_Model
3622 {
3623 protected $resourceIdType = 'Analytify_Google_Service_YouTube_ResourceId';
3624 protected $resourceIdDataType = '';
3625
3626 public function setResourceId(Analytify_Google_Service_YouTube_ResourceId $resourceId)
3627 {
3628 $this->resourceId = $resourceId;
3629 }
3630
3631 public function getResourceId()
3632 {
3633 return $this->resourceId;
3634 }
3635 }
3636
3637 class Analytify_Google_Service_YouTube_ActivityContentDetailsPlaylistItem extends Analytify_Google_Model
3638 {
3639 public $playlistId;
3640 public $playlistItemId;
3641 protected $resourceIdType = 'Analytify_Google_Service_YouTube_ResourceId';
3642 protected $resourceIdDataType = '';
3643
3644 public function setPlaylistId($playlistId)
3645 {
3646 $this->playlistId = $playlistId;
3647 }
3648
3649 public function getPlaylistId()
3650 {
3651 return $this->playlistId;
3652 }
3653
3654 public function setPlaylistItemId($playlistItemId)
3655 {
3656 $this->playlistItemId = $playlistItemId;
3657 }
3658
3659 public function getPlaylistItemId()
3660 {
3661 return $this->playlistItemId;
3662 }
3663
3664 public function setResourceId(Analytify_Google_Service_YouTube_ResourceId $resourceId)
3665 {
3666 $this->resourceId = $resourceId;
3667 }
3668
3669 public function getResourceId()
3670 {
3671 return $this->resourceId;
3672 }
3673 }
3674
3675 class Analytify_Google_Service_YouTube_ActivityContentDetailsPromotedItem extends Analytify_Google_Collection
3676 {
3677 public $adTag;
3678 public $clickTrackingUrl;
3679 public $creativeViewUrl;
3680 public $ctaType;
3681 public $customCtaButtonText;
3682 public $descriptionText;
3683 public $destinationUrl;
3684 public $forecastingUrl;
3685 public $impressionUrl;
3686 public $videoId;
3687
3688 public function setAdTag($adTag)
3689 {
3690 $this->adTag = $adTag;
3691 }
3692
3693 public function getAdTag()
3694 {
3695 return $this->adTag;
3696 }
3697
3698 public function setClickTrackingUrl($clickTrackingUrl)
3699 {
3700 $this->clickTrackingUrl = $clickTrackingUrl;
3701 }
3702
3703 public function getClickTrackingUrl()
3704 {
3705 return $this->clickTrackingUrl;
3706 }
3707
3708 public function setCreativeViewUrl($creativeViewUrl)
3709 {
3710 $this->creativeViewUrl = $creativeViewUrl;
3711 }
3712
3713 public function getCreativeViewUrl()
3714 {
3715 return $this->creativeViewUrl;
3716 }
3717
3718 public function setCtaType($ctaType)
3719 {
3720 $this->ctaType = $ctaType;
3721 }
3722
3723 public function getCtaType()
3724 {
3725 return $this->ctaType;
3726 }
3727
3728 public function setCustomCtaButtonText($customCtaButtonText)
3729 {
3730 $this->customCtaButtonText = $customCtaButtonText;
3731 }
3732
3733 public function getCustomCtaButtonText()
3734 {
3735 return $this->customCtaButtonText;
3736 }
3737
3738 public function setDescriptionText($descriptionText)
3739 {
3740 $this->descriptionText = $descriptionText;
3741 }
3742
3743 public function getDescriptionText()
3744 {
3745 return $this->descriptionText;
3746 }
3747
3748 public function setDestinationUrl($destinationUrl)
3749 {
3750 $this->destinationUrl = $destinationUrl;
3751 }
3752
3753 public function getDestinationUrl()
3754 {
3755 return $this->destinationUrl;
3756 }
3757
3758 public function setForecastingUrl($forecastingUrl)
3759 {
3760 $this->forecastingUrl = $forecastingUrl;
3761 }
3762
3763 public function getForecastingUrl()
3764 {
3765 return $this->forecastingUrl;
3766 }
3767
3768 public function setImpressionUrl($impressionUrl)
3769 {
3770 $this->impressionUrl = $impressionUrl;
3771 }
3772
3773 public function getImpressionUrl()
3774 {
3775 return $this->impressionUrl;
3776 }
3777
3778 public function setVideoId($videoId)
3779 {
3780 $this->videoId = $videoId;
3781 }
3782
3783 public function getVideoId()
3784 {
3785 return $this->videoId;
3786 }
3787 }
3788
3789 class Analytify_Google_Service_YouTube_ActivityContentDetailsRecommendation extends Analytify_Google_Model
3790 {
3791 public $reason;
3792 protected $resourceIdType = 'Analytify_Google_Service_YouTube_ResourceId';
3793 protected $resourceIdDataType = '';
3794 protected $seedResourceIdType = 'Analytify_Google_Service_YouTube_ResourceId';
3795 protected $seedResourceIdDataType = '';
3796
3797 public function setReason($reason)
3798 {
3799 $this->reason = $reason;
3800 }
3801
3802 public function getReason()
3803 {
3804 return $this->reason;
3805 }
3806
3807 public function setResourceId(Analytify_Google_Service_YouTube_ResourceId $resourceId)
3808 {
3809 $this->resourceId = $resourceId;
3810 }
3811
3812 public function getResourceId()
3813 {
3814 return $this->resourceId;
3815 }
3816
3817 public function setSeedResourceId(Analytify_Google_Service_YouTube_ResourceId $seedResourceId)
3818 {
3819 $this->seedResourceId = $seedResourceId;
3820 }
3821
3822 public function getSeedResourceId()
3823 {
3824 return $this->seedResourceId;
3825 }
3826 }
3827
3828 class Analytify_Google_Service_YouTube_ActivityContentDetailsSocial extends Analytify_Google_Model
3829 {
3830 public $author;
3831 public $imageUrl;
3832 public $referenceUrl;
3833 protected $resourceIdType = 'Analytify_Google_Service_YouTube_ResourceId';
3834 protected $resourceIdDataType = '';
3835 public $type;
3836
3837 public function setAuthor($author)
3838 {
3839 $this->author = $author;
3840 }
3841
3842 public function getAuthor()
3843 {
3844 return $this->author;
3845 }
3846
3847 public function setImageUrl($imageUrl)
3848 {
3849 $this->imageUrl = $imageUrl;
3850 }
3851
3852 public function getImageUrl()
3853 {
3854 return $this->imageUrl;
3855 }
3856
3857 public function setReferenceUrl($referenceUrl)
3858 {
3859 $this->referenceUrl = $referenceUrl;
3860 }
3861
3862 public function getReferenceUrl()
3863 {
3864 return $this->referenceUrl;
3865 }
3866
3867 public function setResourceId(Analytify_Google_Service_YouTube_ResourceId $resourceId)
3868 {
3869 $this->resourceId = $resourceId;
3870 }
3871
3872 public function getResourceId()
3873 {
3874 return $this->resourceId;
3875 }
3876
3877 public function setType($type)
3878 {
3879 $this->type = $type;
3880 }
3881
3882 public function getType()
3883 {
3884 return $this->type;
3885 }
3886 }
3887
3888 class Analytify_Google_Service_YouTube_ActivityContentDetailsSubscription extends Analytify_Google_Model
3889 {
3890 protected $resourceIdType = 'Analytify_Google_Service_YouTube_ResourceId';
3891 protected $resourceIdDataType = '';
3892
3893 public function setResourceId(Analytify_Google_Service_YouTube_ResourceId $resourceId)
3894 {
3895 $this->resourceId = $resourceId;
3896 }
3897
3898 public function getResourceId()
3899 {
3900 return $this->resourceId;
3901 }
3902 }
3903
3904 class Analytify_Google_Service_YouTube_ActivityContentDetailsUpload extends Analytify_Google_Model
3905 {
3906 public $videoId;
3907
3908 public function setVideoId($videoId)
3909 {
3910 $this->videoId = $videoId;
3911 }
3912
3913 public function getVideoId()
3914 {
3915 return $this->videoId;
3916 }
3917 }
3918
3919 class Analytify_Google_Service_YouTube_ActivityListResponse extends Analytify_Google_Collection
3920 {
3921 public $etag;
3922 public $eventId;
3923 protected $itemsType = 'Analytify_Google_Service_YouTube_Activity';
3924 protected $itemsDataType = 'array';
3925 public $kind;
3926 public $nextPageToken;
3927 protected $pageInfoType = 'Analytify_Google_Service_YouTube_PageInfo';
3928 protected $pageInfoDataType = '';
3929 public $prevPageToken;
3930 protected $tokenPaginationType = 'Analytify_Google_Service_YouTube_TokenPagination';
3931 protected $tokenPaginationDataType = '';
3932 public $visitorId;
3933
3934 public function setEtag($etag)
3935 {
3936 $this->etag = $etag;
3937 }
3938
3939 public function getEtag()
3940 {
3941 return $this->etag;
3942 }
3943
3944 public function setEventId($eventId)
3945 {
3946 $this->eventId = $eventId;
3947 }
3948
3949 public function getEventId()
3950 {
3951 return $this->eventId;
3952 }
3953
3954 public function setItems($items)
3955 {
3956 $this->items = $items;
3957 }
3958
3959 public function getItems()
3960 {
3961 return $this->items;
3962 }
3963
3964 public function setKind($kind)
3965 {
3966 $this->kind = $kind;
3967 }
3968
3969 public function getKind()
3970 {
3971 return $this->kind;
3972 }
3973
3974 public function setNextPageToken($nextPageToken)
3975 {
3976 $this->nextPageToken = $nextPageToken;
3977 }
3978
3979 public function getNextPageToken()
3980 {
3981 return $this->nextPageToken;
3982 }
3983
3984 public function setPageInfo(Analytify_Google_Service_YouTube_PageInfo $pageInfo)
3985 {
3986 $this->pageInfo = $pageInfo;
3987 }
3988
3989 public function getPageInfo()
3990 {
3991 return $this->pageInfo;
3992 }
3993
3994 public function setPrevPageToken($prevPageToken)
3995 {
3996 $this->prevPageToken = $prevPageToken;
3997 }
3998
3999 public function getPrevPageToken()
4000 {
4001 return $this->prevPageToken;
4002 }
4003
4004 public function setTokenPagination(Analytify_Google_Service_YouTube_TokenPagination $tokenPagination)
4005 {
4006 $this->tokenPagination = $tokenPagination;
4007 }
4008
4009 public function getTokenPagination()
4010 {
4011 return $this->tokenPagination;
4012 }
4013
4014 public function setVisitorId($visitorId)
4015 {
4016 $this->visitorId = $visitorId;
4017 }
4018
4019 public function getVisitorId()
4020 {
4021 return $this->visitorId;
4022 }
4023 }
4024
4025 class Analytify_Google_Service_YouTube_ActivitySnippet extends Analytify_Google_Model
4026 {
4027 public $channelId;
4028 public $channelTitle;
4029 public $description;
4030 public $groupId;
4031 public $publishedAt;
4032 protected $thumbnailsType = 'Analytify_Google_Service_YouTube_ThumbnailDetails';
4033 protected $thumbnailsDataType = '';
4034 public $title;
4035 public $type;
4036
4037 public function setChannelId($channelId)
4038 {
4039 $this->channelId = $channelId;
4040 }
4041
4042 public function getChannelId()
4043 {
4044 return $this->channelId;
4045 }
4046
4047 public function setChannelTitle($channelTitle)
4048 {
4049 $this->channelTitle = $channelTitle;
4050 }
4051
4052 public function getChannelTitle()
4053 {
4054 return $this->channelTitle;
4055 }
4056
4057 public function setDescription($description)
4058 {
4059 $this->description = $description;
4060 }
4061
4062 public function getDescription()
4063 {
4064 return $this->description;
4065 }
4066
4067 public function setGroupId($groupId)
4068 {
4069 $this->groupId = $groupId;
4070 }
4071
4072 public function getGroupId()
4073 {
4074 return $this->groupId;
4075 }
4076
4077 public function setPublishedAt($publishedAt)
4078 {
4079 $this->publishedAt = $publishedAt;
4080 }
4081
4082 public function getPublishedAt()
4083 {
4084 return $this->publishedAt;
4085 }
4086
4087 public function setThumbnails(Analytify_Google_Service_YouTube_ThumbnailDetails $thumbnails)
4088 {
4089 $this->thumbnails = $thumbnails;
4090 }
4091
4092 public function getThumbnails()
4093 {
4094 return $this->thumbnails;
4095 }
4096
4097 public function setTitle($title)
4098 {
4099 $this->title = $title;
4100 }
4101
4102 public function getTitle()
4103 {
4104 return $this->title;
4105 }
4106
4107 public function setType($type)
4108 {
4109 $this->type = $type;
4110 }
4111
4112 public function getType()
4113 {
4114 return $this->type;
4115 }
4116 }
4117
4118 class Analytify_Google_Service_YouTube_CdnSettings extends Analytify_Google_Model
4119 {
4120 public $format;
4121 protected $ingestionInfoType = 'Analytify_Google_Service_YouTube_IngestionInfo';
4122 protected $ingestionInfoDataType = '';
4123 public $ingestionType;
4124
4125 public function setFormat($format)
4126 {
4127 $this->format = $format;
4128 }
4129
4130 public function getFormat()
4131 {
4132 return $this->format;
4133 }
4134
4135 public function setIngestionInfo(Analytify_Google_Service_YouTube_IngestionInfo $ingestionInfo)
4136 {
4137 $this->ingestionInfo = $ingestionInfo;
4138 }
4139
4140 public function getIngestionInfo()
4141 {
4142 return $this->ingestionInfo;
4143 }
4144
4145 public function setIngestionType($ingestionType)
4146 {
4147 $this->ingestionType = $ingestionType;
4148 }
4149
4150 public function getIngestionType()
4151 {
4152 return $this->ingestionType;
4153 }
4154 }
4155
4156 class Analytify_Google_Service_YouTube_Channel extends Analytify_Google_Model
4157 {
4158 protected $auditDetailsType = 'Analytify_Google_Service_YouTube_ChannelAuditDetails';
4159 protected $auditDetailsDataType = '';
4160 protected $brandingSettingsType = 'Analytify_Google_Service_YouTube_ChannelBrandingSettings';
4161 protected $brandingSettingsDataType = '';
4162 protected $contentDetailsType = 'Analytify_Google_Service_YouTube_ChannelContentDetails';
4163 protected $contentDetailsDataType = '';
4164 protected $contentOwnerDetailsType = 'Analytify_Google_Service_YouTube_ChannelContentOwnerDetails';
4165 protected $contentOwnerDetailsDataType = '';
4166 protected $conversionPingsType = 'Analytify_Google_Service_YouTube_ChannelConversionPings';
4167 protected $conversionPingsDataType = '';
4168 public $etag;
4169 public $id;
4170 protected $invideoPromotionType = 'Analytify_Google_Service_YouTube_InvideoPromotion';
4171 protected $invideoPromotionDataType = '';
4172 public $kind;
4173 protected $snippetType = 'Analytify_Google_Service_YouTube_ChannelSnippet';
4174 protected $snippetDataType = '';
4175 protected $statisticsType = 'Analytify_Google_Service_YouTube_ChannelStatistics';
4176 protected $statisticsDataType = '';
4177 protected $statusType = 'Analytify_Google_Service_YouTube_ChannelStatus';
4178 protected $statusDataType = '';
4179 protected $topicDetailsType = 'Analytify_Google_Service_YouTube_ChannelTopicDetails';
4180 protected $topicDetailsDataType = '';
4181
4182 public function setAuditDetails(Analytify_Google_Service_YouTube_ChannelAuditDetails $auditDetails)
4183 {
4184 $this->auditDetails = $auditDetails;
4185 }
4186
4187 public function getAuditDetails()
4188 {
4189 return $this->auditDetails;
4190 }
4191
4192 public function setBrandingSettings(Analytify_Google_Service_YouTube_ChannelBrandingSettings $brandingSettings)
4193 {
4194 $this->brandingSettings = $brandingSettings;
4195 }
4196
4197 public function getBrandingSettings()
4198 {
4199 return $this->brandingSettings;
4200 }
4201
4202 public function setContentDetails(Analytify_Google_Service_YouTube_ChannelContentDetails $contentDetails)
4203 {
4204 $this->contentDetails = $contentDetails;
4205 }
4206
4207 public function getContentDetails()
4208 {
4209 return $this->contentDetails;
4210 }
4211
4212 public function setContentOwnerDetails(Analytify_Google_Service_YouTube_ChannelContentOwnerDetails $contentOwnerDetails)
4213 {
4214 $this->contentOwnerDetails = $contentOwnerDetails;
4215 }
4216
4217 public function getContentOwnerDetails()
4218 {
4219 return $this->contentOwnerDetails;
4220 }
4221
4222 public function setConversionPings(Analytify_Google_Service_YouTube_ChannelConversionPings $conversionPings)
4223 {
4224 $this->conversionPings = $conversionPings;
4225 }
4226
4227 public function getConversionPings()
4228 {
4229 return $this->conversionPings;
4230 }
4231
4232 public function setEtag($etag)
4233 {
4234 $this->etag = $etag;
4235 }
4236
4237 public function getEtag()
4238 {
4239 return $this->etag;
4240 }
4241
4242 public function setId($id)
4243 {
4244 $this->id = $id;
4245 }
4246
4247 public function getId()
4248 {
4249 return $this->id;
4250 }
4251
4252 public function setInvideoPromotion(Analytify_Google_Service_YouTube_InvideoPromotion $invideoPromotion)
4253 {
4254 $this->invideoPromotion = $invideoPromotion;
4255 }
4256
4257 public function getInvideoPromotion()
4258 {
4259 return $this->invideoPromotion;
4260 }
4261
4262 public function setKind($kind)
4263 {
4264 $this->kind = $kind;
4265 }
4266
4267 public function getKind()
4268 {
4269 return $this->kind;
4270 }
4271
4272 public function setSnippet(Analytify_Google_Service_YouTube_ChannelSnippet $snippet)
4273 {
4274 $this->snippet = $snippet;
4275 }
4276
4277 public function getSnippet()
4278 {
4279 return $this->snippet;
4280 }
4281
4282 public function setStatistics(Analytify_Google_Service_YouTube_ChannelStatistics $statistics)
4283 {
4284 $this->statistics = $statistics;
4285 }
4286
4287 public function getStatistics()
4288 {
4289 return $this->statistics;
4290 }
4291
4292 public function setStatus(Analytify_Google_Service_YouTube_ChannelStatus $status)
4293 {
4294 $this->status = $status;
4295 }
4296
4297 public function getStatus()
4298 {
4299 return $this->status;
4300 }
4301
4302 public function setTopicDetails(Analytify_Google_Service_YouTube_ChannelTopicDetails $topicDetails)
4303 {
4304 $this->topicDetails = $topicDetails;
4305 }
4306
4307 public function getTopicDetails()
4308 {
4309 return $this->topicDetails;
4310 }
4311 }
4312
4313 class Analytify_Google_Service_YouTube_ChannelAuditDetails extends Analytify_Google_Model
4314 {
4315 public $communityGuidelinesGoodStanding;
4316 public $contentIdClaimsGoodStanding;
4317 public $copyrightStrikesGoodStanding;
4318 public $overallGoodStanding;
4319
4320 public function setCommunityGuidelinesGoodStanding($communityGuidelinesGoodStanding)
4321 {
4322 $this->communityGuidelinesGoodStanding = $communityGuidelinesGoodStanding;
4323 }
4324
4325 public function getCommunityGuidelinesGoodStanding()
4326 {
4327 return $this->communityGuidelinesGoodStanding;
4328 }
4329
4330 public function setContentIdClaimsGoodStanding($contentIdClaimsGoodStanding)
4331 {
4332 $this->contentIdClaimsGoodStanding = $contentIdClaimsGoodStanding;
4333 }
4334
4335 public function getContentIdClaimsGoodStanding()
4336 {
4337 return $this->contentIdClaimsGoodStanding;
4338 }
4339
4340 public function setCopyrightStrikesGoodStanding($copyrightStrikesGoodStanding)
4341 {
4342 $this->copyrightStrikesGoodStanding = $copyrightStrikesGoodStanding;
4343 }
4344
4345 public function getCopyrightStrikesGoodStanding()
4346 {
4347 return $this->copyrightStrikesGoodStanding;
4348 }
4349
4350 public function setOverallGoodStanding($overallGoodStanding)
4351 {
4352 $this->overallGoodStanding = $overallGoodStanding;
4353 }
4354
4355 public function getOverallGoodStanding()
4356 {
4357 return $this->overallGoodStanding;
4358 }
4359 }
4360
4361 class Analytify_Google_Service_YouTube_ChannelBannerResource extends Analytify_Google_Model
4362 {
4363 public $etag;
4364 public $kind;
4365 public $url;
4366
4367 public function setEtag($etag)
4368 {
4369 $this->etag = $etag;
4370 }
4371
4372 public function getEtag()
4373 {
4374 return $this->etag;
4375 }
4376
4377 public function setKind($kind)
4378 {
4379 $this->kind = $kind;
4380 }
4381
4382 public function getKind()
4383 {
4384 return $this->kind;
4385 }
4386
4387 public function setUrl($url)
4388 {
4389 $this->url = $url;
4390 }
4391
4392 public function getUrl()
4393 {
4394 return $this->url;
4395 }
4396 }
4397
4398 class Analytify_Google_Service_YouTube_ChannelBrandingSettings extends Analytify_Google_Collection
4399 {
4400 protected $channelType = 'Analytify_Google_Service_YouTube_ChannelSettings';
4401 protected $channelDataType = '';
4402 protected $hintsType = 'Analytify_Google_Service_YouTube_PropertyValue';
4403 protected $hintsDataType = 'array';
4404 protected $imageType = 'Analytify_Google_Service_YouTube_ImageSettings';
4405 protected $imageDataType = '';
4406 protected $watchType = 'Analytify_Google_Service_YouTube_WatchSettings';
4407 protected $watchDataType = '';
4408
4409 public function setChannel(Analytify_Google_Service_YouTube_ChannelSettings $channel)
4410 {
4411 $this->channel = $channel;
4412 }
4413
4414 public function getChannel()
4415 {
4416 return $this->channel;
4417 }
4418
4419 public function setHints($hints)
4420 {
4421 $this->hints = $hints;
4422 }
4423
4424 public function getHints()
4425 {
4426 return $this->hints;
4427 }
4428
4429 public function setImage(Analytify_Google_Service_YouTube_ImageSettings $image)
4430 {
4431 $this->image = $image;
4432 }
4433
4434 public function getImage()
4435 {
4436 return $this->image;
4437 }
4438
4439 public function setWatch(Analytify_Google_Service_YouTube_WatchSettings $watch)
4440 {
4441 $this->watch = $watch;
4442 }
4443
4444 public function getWatch()
4445 {
4446 return $this->watch;
4447 }
4448 }
4449
4450 class Analytify_Google_Service_YouTube_ChannelContentDetails extends Analytify_Google_Model
4451 {
4452 public $googlePlusUserId;
4453 protected $relatedPlaylistsType = 'Analytify_Google_Service_YouTube_ChannelContentDetailsRelatedPlaylists';
4454 protected $relatedPlaylistsDataType = '';
4455
4456 public function setGooglePlusUserId($googlePlusUserId)
4457 {
4458 $this->googlePlusUserId = $googlePlusUserId;
4459 }
4460
4461 public function getGooglePlusUserId()
4462 {
4463 return $this->googlePlusUserId;
4464 }
4465
4466 public function setRelatedPlaylists(Analytify_Google_Service_YouTube_ChannelContentDetailsRelatedPlaylists $relatedPlaylists)
4467 {
4468 $this->relatedPlaylists = $relatedPlaylists;
4469 }
4470
4471 public function getRelatedPlaylists()
4472 {
4473 return $this->relatedPlaylists;
4474 }
4475 }
4476
4477 class Analytify_Google_Service_YouTube_ChannelContentDetailsRelatedPlaylists extends Analytify_Google_Model
4478 {
4479 public $favorites;
4480 public $likes;
4481 public $uploads;
4482 public $watchHistory;
4483 public $watchLater;
4484
4485 public function setFavorites($favorites)
4486 {
4487 $this->favorites = $favorites;
4488 }
4489
4490 public function getFavorites()
4491 {
4492 return $this->favorites;
4493 }
4494
4495 public function setLikes($likes)
4496 {
4497 $this->likes = $likes;
4498 }
4499
4500 public function getLikes()
4501 {
4502 return $this->likes;
4503 }
4504
4505 public function setUploads($uploads)
4506 {
4507 $this->uploads = $uploads;
4508 }
4509
4510 public function getUploads()
4511 {
4512 return $this->uploads;
4513 }
4514
4515 public function setWatchHistory($watchHistory)
4516 {
4517 $this->watchHistory = $watchHistory;
4518 }
4519
4520 public function getWatchHistory()
4521 {
4522 return $this->watchHistory;
4523 }
4524
4525 public function setWatchLater($watchLater)
4526 {
4527 $this->watchLater = $watchLater;
4528 }
4529
4530 public function getWatchLater()
4531 {
4532 return $this->watchLater;
4533 }
4534 }
4535
4536 class Analytify_Google_Service_YouTube_ChannelContentOwnerDetails extends Analytify_Google_Model
4537 {
4538 public $contentOwner;
4539 public $timeLinked;
4540
4541 public function setContentOwner($contentOwner)
4542 {
4543 $this->contentOwner = $contentOwner;
4544 }
4545
4546 public function getContentOwner()
4547 {
4548 return $this->contentOwner;
4549 }
4550
4551 public function setTimeLinked($timeLinked)
4552 {
4553 $this->timeLinked = $timeLinked;
4554 }
4555
4556 public function getTimeLinked()
4557 {
4558 return $this->timeLinked;
4559 }
4560 }
4561
4562 class Analytify_Google_Service_YouTube_ChannelConversionPing extends Analytify_Google_Model
4563 {
4564 public $context;
4565 public $conversionUrl;
4566
4567 public function setContext($context)
4568 {
4569 $this->context = $context;
4570 }
4571
4572 public function getContext()
4573 {
4574 return $this->context;
4575 }
4576
4577 public function setConversionUrl($conversionUrl)
4578 {
4579 $this->conversionUrl = $conversionUrl;
4580 }
4581
4582 public function getConversionUrl()
4583 {
4584 return $this->conversionUrl;
4585 }
4586 }
4587
4588 class Analytify_Google_Service_YouTube_ChannelConversionPings extends Analytify_Google_Collection
4589 {
4590 protected $pingsType = 'Analytify_Google_Service_YouTube_ChannelConversionPing';
4591 protected $pingsDataType = 'array';
4592
4593 public function setPings($pings)
4594 {
4595 $this->pings = $pings;
4596 }
4597
4598 public function getPings()
4599 {
4600 return $this->pings;
4601 }
4602 }
4603
4604 class Analytify_Google_Service_YouTube_ChannelListResponse extends Analytify_Google_Collection
4605 {
4606 public $etag;
4607 public $eventId;
4608 protected $itemsType = 'Analytify_Google_Service_YouTube_Channel';
4609 protected $itemsDataType = 'array';
4610 public $kind;
4611 public $nextPageToken;
4612 protected $pageInfoType = 'Analytify_Google_Service_YouTube_PageInfo';
4613 protected $pageInfoDataType = '';
4614 public $prevPageToken;
4615 protected $tokenPaginationType = 'Analytify_Google_Service_YouTube_TokenPagination';
4616 protected $tokenPaginationDataType = '';
4617 public $visitorId;
4618
4619 public function setEtag($etag)
4620 {
4621 $this->etag = $etag;
4622 }
4623
4624 public function getEtag()
4625 {
4626 return $this->etag;
4627 }
4628
4629 public function setEventId($eventId)
4630 {
4631 $this->eventId = $eventId;
4632 }
4633
4634 public function getEventId()
4635 {
4636 return $this->eventId;
4637 }
4638
4639 public function setItems($items)
4640 {
4641 $this->items = $items;
4642 }
4643
4644 public function getItems()
4645 {
4646 return $this->items;
4647 }
4648
4649 public function setKind($kind)
4650 {
4651 $this->kind = $kind;
4652 }
4653
4654 public function getKind()
4655 {
4656 return $this->kind;
4657 }
4658
4659 public function setNextPageToken($nextPageToken)
4660 {
4661 $this->nextPageToken = $nextPageToken;
4662 }
4663
4664 public function getNextPageToken()
4665 {
4666 return $this->nextPageToken;
4667 }
4668
4669 public function setPageInfo(Analytify_Google_Service_YouTube_PageInfo $pageInfo)
4670 {
4671 $this->pageInfo = $pageInfo;
4672 }
4673
4674 public function getPageInfo()
4675 {
4676 return $this->pageInfo;
4677 }
4678
4679 public function setPrevPageToken($prevPageToken)
4680 {
4681 $this->prevPageToken = $prevPageToken;
4682 }
4683
4684 public function getPrevPageToken()
4685 {
4686 return $this->prevPageToken;
4687 }
4688
4689 public function setTokenPagination(Analytify_Google_Service_YouTube_TokenPagination $tokenPagination)
4690 {
4691 $this->tokenPagination = $tokenPagination;
4692 }
4693
4694 public function getTokenPagination()
4695 {
4696 return $this->tokenPagination;
4697 }
4698
4699 public function setVisitorId($visitorId)
4700 {
4701 $this->visitorId = $visitorId;
4702 }
4703
4704 public function getVisitorId()
4705 {
4706 return $this->visitorId;
4707 }
4708 }
4709
4710 class Analytify_Google_Service_YouTube_ChannelSection extends Analytify_Google_Model
4711 {
4712 protected $contentDetailsType = 'Analytify_Google_Service_YouTube_ChannelSectionContentDetails';
4713 protected $contentDetailsDataType = '';
4714 public $etag;
4715 public $id;
4716 public $kind;
4717 protected $snippetType = 'Analytify_Google_Service_YouTube_ChannelSectionSnippet';
4718 protected $snippetDataType = '';
4719
4720 public function setContentDetails(Analytify_Google_Service_YouTube_ChannelSectionContentDetails $contentDetails)
4721 {
4722 $this->contentDetails = $contentDetails;
4723 }
4724
4725 public function getContentDetails()
4726 {
4727 return $this->contentDetails;
4728 }
4729
4730 public function setEtag($etag)
4731 {
4732 $this->etag = $etag;
4733 }
4734
4735 public function getEtag()
4736 {
4737 return $this->etag;
4738 }
4739
4740 public function setId($id)
4741 {
4742 $this->id = $id;
4743 }
4744
4745 public function getId()
4746 {
4747 return $this->id;
4748 }
4749
4750 public function setKind($kind)
4751 {
4752 $this->kind = $kind;
4753 }
4754
4755 public function getKind()
4756 {
4757 return $this->kind;
4758 }
4759
4760 public function setSnippet(Analytify_Google_Service_YouTube_ChannelSectionSnippet $snippet)
4761 {
4762 $this->snippet = $snippet;
4763 }
4764
4765 public function getSnippet()
4766 {
4767 return $this->snippet;
4768 }
4769 }
4770
4771 class Analytify_Google_Service_YouTube_ChannelSectionContentDetails extends Analytify_Google_Collection
4772 {
4773 public $channels;
4774 public $playlists;
4775
4776 public function setChannels($channels)
4777 {
4778 $this->channels = $channels;
4779 }
4780
4781 public function getChannels()
4782 {
4783 return $this->channels;
4784 }
4785
4786 public function setPlaylists($playlists)
4787 {
4788 $this->playlists = $playlists;
4789 }
4790
4791 public function getPlaylists()
4792 {
4793 return $this->playlists;
4794 }
4795 }
4796
4797 class Analytify_Google_Service_YouTube_ChannelSectionListResponse extends Analytify_Google_Collection
4798 {
4799 public $etag;
4800 public $eventId;
4801 protected $itemsType = 'Analytify_Google_Service_YouTube_ChannelSection';
4802 protected $itemsDataType = 'array';
4803 public $kind;
4804 public $visitorId;
4805
4806 public function setEtag($etag)
4807 {
4808 $this->etag = $etag;
4809 }
4810
4811 public function getEtag()
4812 {
4813 return $this->etag;
4814 }
4815
4816 public function setEventId($eventId)
4817 {
4818 $this->eventId = $eventId;
4819 }
4820
4821 public function getEventId()
4822 {
4823 return $this->eventId;
4824 }
4825
4826 public function setItems($items)
4827 {
4828 $this->items = $items;
4829 }
4830
4831 public function getItems()
4832 {
4833 return $this->items;
4834 }
4835
4836 public function setKind($kind)
4837 {
4838 $this->kind = $kind;
4839 }
4840
4841 public function getKind()
4842 {
4843 return $this->kind;
4844 }
4845
4846 public function setVisitorId($visitorId)
4847 {
4848 $this->visitorId = $visitorId;
4849 }
4850
4851 public function getVisitorId()
4852 {
4853 return $this->visitorId;
4854 }
4855 }
4856
4857 class Analytify_Google_Service_YouTube_ChannelSectionSnippet extends Analytify_Google_Model
4858 {
4859 public $channelId;
4860 public $position;
4861 public $style;
4862 public $title;
4863 public $type;
4864
4865 public function setChannelId($channelId)
4866 {
4867 $this->channelId = $channelId;
4868 }
4869
4870 public function getChannelId()
4871 {
4872 return $this->channelId;
4873 }
4874
4875 public function setPosition($position)
4876 {
4877 $this->position = $position;
4878 }
4879
4880 public function getPosition()
4881 {
4882 return $this->position;
4883 }
4884
4885 public function setStyle($style)
4886 {
4887 $this->style = $style;
4888 }
4889
4890 public function getStyle()
4891 {
4892 return $this->style;
4893 }
4894
4895 public function setTitle($title)
4896 {
4897 $this->title = $title;
4898 }
4899
4900 public function getTitle()
4901 {
4902 return $this->title;
4903 }
4904
4905 public function setType($type)
4906 {
4907 $this->type = $type;
4908 }
4909
4910 public function getType()
4911 {
4912 return $this->type;
4913 }
4914 }
4915
4916 class Analytify_Google_Service_YouTube_ChannelSettings extends Analytify_Google_Collection
4917 {
4918 public $defaultTab;
4919 public $description;
4920 public $featuredChannelsTitle;
4921 public $featuredChannelsUrls;
4922 public $keywords;
4923 public $moderateComments;
4924 public $profileColor;
4925 public $showBrowseView;
4926 public $showRelatedChannels;
4927 public $title;
4928 public $trackingAnalyticsAccountId;
4929 public $unsubscribedTrailer;
4930
4931 public function setDefaultTab($defaultTab)
4932 {
4933 $this->defaultTab = $defaultTab;
4934 }
4935
4936 public function getDefaultTab()
4937 {
4938 return $this->defaultTab;
4939 }
4940
4941 public function setDescription($description)
4942 {
4943 $this->description = $description;
4944 }
4945
4946 public function getDescription()
4947 {
4948 return $this->description;
4949 }
4950
4951 public function setFeaturedChannelsTitle($featuredChannelsTitle)
4952 {
4953 $this->featuredChannelsTitle = $featuredChannelsTitle;
4954 }
4955
4956 public function getFeaturedChannelsTitle()
4957 {
4958 return $this->featuredChannelsTitle;
4959 }
4960
4961 public function setFeaturedChannelsUrls($featuredChannelsUrls)
4962 {
4963 $this->featuredChannelsUrls = $featuredChannelsUrls;
4964 }
4965
4966 public function getFeaturedChannelsUrls()
4967 {
4968 return $this->featuredChannelsUrls;
4969 }
4970
4971 public function setKeywords($keywords)
4972 {
4973 $this->keywords = $keywords;
4974 }
4975
4976 public function getKeywords()
4977 {
4978 return $this->keywords;
4979 }
4980
4981 public function setModerateComments($moderateComments)
4982 {
4983 $this->moderateComments = $moderateComments;
4984 }
4985
4986 public function getModerateComments()
4987 {
4988 return $this->moderateComments;
4989 }
4990
4991 public function setProfileColor($profileColor)
4992 {
4993 $this->profileColor = $profileColor;
4994 }
4995
4996 public function getProfileColor()
4997 {
4998 return $this->profileColor;
4999 }
5000
5001 public function setShowBrowseView($showBrowseView)
5002 {
5003 $this->showBrowseView = $showBrowseView;
5004 }
5005
5006 public function getShowBrowseView()
5007 {
5008 return $this->showBrowseView;
5009 }
5010
5011 public function setShowRelatedChannels($showRelatedChannels)
5012 {
5013 $this->showRelatedChannels = $showRelatedChannels;
5014 }
5015
5016 public function getShowRelatedChannels()
5017 {
5018 return $this->showRelatedChannels;
5019 }
5020
5021 public function setTitle($title)
5022 {
5023 $this->title = $title;
5024 }
5025
5026 public function getTitle()
5027 {
5028 return $this->title;
5029 }
5030
5031 public function setTrackingAnalyticsAccountId($trackingAnalyticsAccountId)
5032 {
5033 $this->trackingAnalyticsAccountId = $trackingAnalyticsAccountId;
5034 }
5035
5036 public function getTrackingAnalyticsAccountId()
5037 {
5038 return $this->trackingAnalyticsAccountId;
5039 }
5040
5041 public function setUnsubscribedTrailer($unsubscribedTrailer)
5042 {
5043 $this->unsubscribedTrailer = $unsubscribedTrailer;
5044 }
5045
5046 public function getUnsubscribedTrailer()
5047 {
5048 return $this->unsubscribedTrailer;
5049 }
5050 }
5051
5052 class Analytify_Google_Service_YouTube_ChannelSnippet extends Analytify_Google_Model
5053 {
5054 public $description;
5055 public $publishedAt;
5056 protected $thumbnailsType = 'Analytify_Google_Service_YouTube_ThumbnailDetails';
5057 protected $thumbnailsDataType = '';
5058 public $title;
5059
5060 public function setDescription($description)
5061 {
5062 $this->description = $description;
5063 }
5064
5065 public function getDescription()
5066 {
5067 return $this->description;
5068 }
5069
5070 public function setPublishedAt($publishedAt)
5071 {
5072 $this->publishedAt = $publishedAt;
5073 }
5074
5075 public function getPublishedAt()
5076 {
5077 return $this->publishedAt;
5078 }
5079
5080 public function setThumbnails(Analytify_Google_Service_YouTube_ThumbnailDetails $thumbnails)
5081 {
5082 $this->thumbnails = $thumbnails;
5083 }
5084
5085 public function getThumbnails()
5086 {
5087 return $this->thumbnails;
5088 }
5089
5090 public function setTitle($title)
5091 {
5092 $this->title = $title;
5093 }
5094
5095 public function getTitle()
5096 {
5097 return $this->title;
5098 }
5099 }
5100
5101 class Analytify_Google_Service_YouTube_ChannelStatistics extends Analytify_Google_Model
5102 {
5103 public $commentCount;
5104 public $hiddenSubscriberCount;
5105 public $subscriberCount;
5106 public $videoCount;
5107 public $viewCount;
5108
5109 public function setCommentCount($commentCount)
5110 {
5111 $this->commentCount = $commentCount;
5112 }
5113
5114 public function getCommentCount()
5115 {
5116 return $this->commentCount;
5117 }
5118
5119 public function setHiddenSubscriberCount($hiddenSubscriberCount)
5120 {
5121 $this->hiddenSubscriberCount = $hiddenSubscriberCount;
5122 }
5123
5124 public function getHiddenSubscriberCount()
5125 {
5126 return $this->hiddenSubscriberCount;
5127 }
5128
5129 public function setSubscriberCount($subscriberCount)
5130 {
5131 $this->subscriberCount = $subscriberCount;
5132 }
5133
5134 public function getSubscriberCount()
5135 {
5136 return $this->subscriberCount;
5137 }
5138
5139 public function setVideoCount($videoCount)
5140 {
5141 $this->videoCount = $videoCount;
5142 }
5143
5144 public function getVideoCount()
5145 {
5146 return $this->videoCount;
5147 }
5148
5149 public function setViewCount($viewCount)
5150 {
5151 $this->viewCount = $viewCount;
5152 }
5153
5154 public function getViewCount()
5155 {
5156 return $this->viewCount;
5157 }
5158 }
5159
5160 class Analytify_Google_Service_YouTube_ChannelStatus extends Analytify_Google_Model
5161 {
5162 public $isLinked;
5163 public $privacyStatus;
5164
5165 public function setIsLinked($isLinked)
5166 {
5167 $this->isLinked = $isLinked;
5168 }
5169
5170 public function getIsLinked()
5171 {
5172 return $this->isLinked;
5173 }
5174
5175 public function setPrivacyStatus($privacyStatus)
5176 {
5177 $this->privacyStatus = $privacyStatus;
5178 }
5179
5180 public function getPrivacyStatus()
5181 {
5182 return $this->privacyStatus;
5183 }
5184 }
5185
5186 class Analytify_Google_Service_YouTube_ChannelTopicDetails extends Analytify_Google_Collection
5187 {
5188 public $topicIds;
5189
5190 public function setTopicIds($topicIds)
5191 {
5192 $this->topicIds = $topicIds;
5193 }
5194
5195 public function getTopicIds()
5196 {
5197 return $this->topicIds;
5198 }
5199 }
5200
5201 class Analytify_Google_Service_YouTube_ContentRating extends Analytify_Google_Model
5202 {
5203 public $acbRating;
5204 public $agcomRating;
5205 public $anatelRating;
5206 public $bbfcRating;
5207 public $bfvcRating;
5208 public $bmukkRating;
5209 public $catvRating;
5210 public $catvfrRating;
5211 public $cbfcRating;
5212 public $cccRating;
5213 public $cceRating;
5214 public $chfilmRating;
5215 public $chvrsRating;
5216 public $cicfRating;
5217 public $cnaRating;
5218 public $csaRating;
5219 public $cscfRating;
5220 public $czfilmRating;
5221 public $djctqRating;
5222 public $eefilmRating;
5223 public $egfilmRating;
5224 public $eirinRating;
5225 public $fcbmRating;
5226 public $fcoRating;
5227 public $fmocRating;
5228 public $fpbRating;
5229 public $fskRating;
5230 public $grfilmRating;
5231 public $icaaRating;
5232 public $ifcoRating;
5233 public $ilfilmRating;
5234 public $incaaRating;
5235 public $kfcbRating;
5236 public $kijkwijzerRating;
5237 public $kmrbRating;
5238 public $lsfRating;
5239 public $mccaaRating;
5240 public $mccypRating;
5241 public $mdaRating;
5242 public $medietilsynetRating;
5243 public $mekuRating;
5244 public $mibacRating;
5245 public $mocRating;
5246 public $moctwRating;
5247 public $mpaaRating;
5248 public $mtrcbRating;
5249 public $nbcRating;
5250 public $nbcplRating;
5251 public $nfrcRating;
5252 public $nfvcbRating;
5253 public $nkclvRating;
5254 public $oflcRating;
5255 public $pefilmRating;
5256 public $rcnofRating;
5257 public $resorteviolenciaRating;
5258 public $rtcRating;
5259 public $rteRating;
5260 public $russiaRating;
5261 public $skfilmRating;
5262 public $smaisRating;
5263 public $smsaRating;
5264 public $tvpgRating;
5265 public $ytRating;
5266
5267 public function setAcbRating($acbRating)
5268 {
5269 $this->acbRating = $acbRating;
5270 }
5271
5272 public function getAcbRating()
5273 {
5274 return $this->acbRating;
5275 }
5276
5277 public function setAgcomRating($agcomRating)
5278 {
5279 $this->agcomRating = $agcomRating;
5280 }
5281
5282 public function getAgcomRating()
5283 {
5284 return $this->agcomRating;
5285 }
5286
5287 public function setAnatelRating($anatelRating)
5288 {
5289 $this->anatelRating = $anatelRating;
5290 }
5291
5292 public function getAnatelRating()
5293 {
5294 return $this->anatelRating;
5295 }
5296
5297 public function setBbfcRating($bbfcRating)
5298 {
5299 $this->bbfcRating = $bbfcRating;
5300 }
5301
5302 public function getBbfcRating()
5303 {
5304 return $this->bbfcRating;
5305 }
5306
5307 public function setBfvcRating($bfvcRating)
5308 {
5309 $this->bfvcRating = $bfvcRating;
5310 }
5311
5312 public function getBfvcRating()
5313 {
5314 return $this->bfvcRating;
5315 }
5316
5317 public function setBmukkRating($bmukkRating)
5318 {
5319 $this->bmukkRating = $bmukkRating;
5320 }
5321
5322 public function getBmukkRating()
5323 {
5324 return $this->bmukkRating;
5325 }
5326
5327 public function setCatvRating($catvRating)
5328 {
5329 $this->catvRating = $catvRating;
5330 }
5331
5332 public function getCatvRating()
5333 {
5334 return $this->catvRating;
5335 }
5336
5337 public function setCatvfrRating($catvfrRating)
5338 {
5339 $this->catvfrRating = $catvfrRating;
5340 }
5341
5342 public function getCatvfrRating()
5343 {
5344 return $this->catvfrRating;
5345 }
5346
5347 public function setCbfcRating($cbfcRating)
5348 {
5349 $this->cbfcRating = $cbfcRating;
5350 }
5351
5352 public function getCbfcRating()
5353 {
5354 return $this->cbfcRating;
5355 }
5356
5357 public function setCccRating($cccRating)
5358 {
5359 $this->cccRating = $cccRating;
5360 }
5361
5362 public function getCccRating()
5363 {
5364 return $this->cccRating;
5365 }
5366
5367 public function setCceRating($cceRating)
5368 {
5369 $this->cceRating = $cceRating;
5370 }
5371
5372 public function getCceRating()
5373 {
5374 return $this->cceRating;
5375 }
5376
5377 public function setChfilmRating($chfilmRating)
5378 {
5379 $this->chfilmRating = $chfilmRating;
5380 }
5381
5382 public function getChfilmRating()
5383 {
5384 return $this->chfilmRating;
5385 }
5386
5387 public function setChvrsRating($chvrsRating)
5388 {
5389 $this->chvrsRating = $chvrsRating;
5390 }
5391
5392 public function getChvrsRating()
5393 {
5394 return $this->chvrsRating;
5395 }
5396
5397 public function setCicfRating($cicfRating)
5398 {
5399 $this->cicfRating = $cicfRating;
5400 }
5401
5402 public function getCicfRating()
5403 {
5404 return $this->cicfRating;
5405 }
5406
5407 public function setCnaRating($cnaRating)
5408 {
5409 $this->cnaRating = $cnaRating;
5410 }
5411
5412 public function getCnaRating()
5413 {
5414 return $this->cnaRating;
5415 }
5416
5417 public function setCsaRating($csaRating)
5418 {
5419 $this->csaRating = $csaRating;
5420 }
5421
5422 public function getCsaRating()
5423 {
5424 return $this->csaRating;
5425 }
5426
5427 public function setCscfRating($cscfRating)
5428 {
5429 $this->cscfRating = $cscfRating;
5430 }
5431
5432 public function getCscfRating()
5433 {
5434 return $this->cscfRating;
5435 }
5436
5437 public function setCzfilmRating($czfilmRating)
5438 {
5439 $this->czfilmRating = $czfilmRating;
5440 }
5441
5442 public function getCzfilmRating()
5443 {
5444 return $this->czfilmRating;
5445 }
5446
5447 public function setDjctqRating($djctqRating)
5448 {
5449 $this->djctqRating = $djctqRating;
5450 }
5451
5452 public function getDjctqRating()
5453 {
5454 return $this->djctqRating;
5455 }
5456
5457 public function setEefilmRating($eefilmRating)
5458 {
5459 $this->eefilmRating = $eefilmRating;
5460 }
5461
5462 public function getEefilmRating()
5463 {
5464 return $this->eefilmRating;
5465 }
5466
5467 public function setEgfilmRating($egfilmRating)
5468 {
5469 $this->egfilmRating = $egfilmRating;
5470 }
5471
5472 public function getEgfilmRating()
5473 {
5474 return $this->egfilmRating;
5475 }
5476
5477 public function setEirinRating($eirinRating)
5478 {
5479 $this->eirinRating = $eirinRating;
5480 }
5481
5482 public function getEirinRating()
5483 {
5484 return $this->eirinRating;
5485 }
5486
5487 public function setFcbmRating($fcbmRating)
5488 {
5489 $this->fcbmRating = $fcbmRating;
5490 }
5491
5492 public function getFcbmRating()
5493 {
5494 return $this->fcbmRating;
5495 }
5496
5497 public function setFcoRating($fcoRating)
5498 {
5499 $this->fcoRating = $fcoRating;
5500 }
5501
5502 public function getFcoRating()
5503 {
5504 return $this->fcoRating;
5505 }
5506
5507 public function setFmocRating($fmocRating)
5508 {
5509 $this->fmocRating = $fmocRating;
5510 }
5511
5512 public function getFmocRating()
5513 {
5514 return $this->fmocRating;
5515 }
5516
5517 public function setFpbRating($fpbRating)
5518 {
5519 $this->fpbRating = $fpbRating;
5520 }
5521
5522 public function getFpbRating()
5523 {
5524 return $this->fpbRating;
5525 }
5526
5527 public function setFskRating($fskRating)
5528 {
5529 $this->fskRating = $fskRating;
5530 }
5531
5532 public function getFskRating()
5533 {
5534 return $this->fskRating;
5535 }
5536
5537 public function setGrfilmRating($grfilmRating)
5538 {
5539 $this->grfilmRating = $grfilmRating;
5540 }
5541
5542 public function getGrfilmRating()
5543 {
5544 return $this->grfilmRating;
5545 }
5546
5547 public function setIcaaRating($icaaRating)
5548 {
5549 $this->icaaRating = $icaaRating;
5550 }
5551
5552 public function getIcaaRating()
5553 {
5554 return $this->icaaRating;
5555 }
5556
5557 public function setIfcoRating($ifcoRating)
5558 {
5559 $this->ifcoRating = $ifcoRating;
5560 }
5561
5562 public function getIfcoRating()
5563 {
5564 return $this->ifcoRating;
5565 }
5566
5567 public function setIlfilmRating($ilfilmRating)
5568 {
5569 $this->ilfilmRating = $ilfilmRating;
5570 }
5571
5572 public function getIlfilmRating()
5573 {
5574 return $this->ilfilmRating;
5575 }
5576
5577 public function setIncaaRating($incaaRating)
5578 {
5579 $this->incaaRating = $incaaRating;
5580 }
5581
5582 public function getIncaaRating()
5583 {
5584 return $this->incaaRating;
5585 }
5586
5587 public function setKfcbRating($kfcbRating)
5588 {
5589 $this->kfcbRating = $kfcbRating;
5590 }
5591
5592 public function getKfcbRating()
5593 {
5594 return $this->kfcbRating;
5595 }
5596
5597 public function setKijkwijzerRating($kijkwijzerRating)
5598 {
5599 $this->kijkwijzerRating = $kijkwijzerRating;
5600 }
5601
5602 public function getKijkwijzerRating()
5603 {
5604 return $this->kijkwijzerRating;
5605 }
5606
5607 public function setKmrbRating($kmrbRating)
5608 {
5609 $this->kmrbRating = $kmrbRating;
5610 }
5611
5612 public function getKmrbRating()
5613 {
5614 return $this->kmrbRating;
5615 }
5616
5617 public function setLsfRating($lsfRating)
5618 {
5619 $this->lsfRating = $lsfRating;
5620 }
5621
5622 public function getLsfRating()
5623 {
5624 return $this->lsfRating;
5625 }
5626
5627 public function setMccaaRating($mccaaRating)
5628 {
5629 $this->mccaaRating = $mccaaRating;
5630 }
5631
5632 public function getMccaaRating()
5633 {
5634 return $this->mccaaRating;
5635 }
5636
5637 public function setMccypRating($mccypRating)
5638 {
5639 $this->mccypRating = $mccypRating;
5640 }
5641
5642 public function getMccypRating()
5643 {
5644 return $this->mccypRating;
5645 }
5646
5647 public function setMdaRating($mdaRating)
5648 {
5649 $this->mdaRating = $mdaRating;
5650 }
5651
5652 public function getMdaRating()
5653 {
5654 return $this->mdaRating;
5655 }
5656
5657 public function setMedietilsynetRating($medietilsynetRating)
5658 {
5659 $this->medietilsynetRating = $medietilsynetRating;
5660 }
5661
5662 public function getMedietilsynetRating()
5663 {
5664 return $this->medietilsynetRating;
5665 }
5666
5667 public function setMekuRating($mekuRating)
5668 {
5669 $this->mekuRating = $mekuRating;
5670 }
5671
5672 public function getMekuRating()
5673 {
5674 return $this->mekuRating;
5675 }
5676
5677 public function setMibacRating($mibacRating)
5678 {
5679 $this->mibacRating = $mibacRating;
5680 }
5681
5682 public function getMibacRating()
5683 {
5684 return $this->mibacRating;
5685 }
5686
5687 public function setMocRating($mocRating)
5688 {
5689 $this->mocRating = $mocRating;
5690 }
5691
5692 public function getMocRating()
5693 {
5694 return $this->mocRating;
5695 }
5696
5697 public function setMoctwRating($moctwRating)
5698 {
5699 $this->moctwRating = $moctwRating;
5700 }
5701
5702 public function getMoctwRating()
5703 {
5704 return $this->moctwRating;
5705 }
5706
5707 public function setMpaaRating($mpaaRating)
5708 {
5709 $this->mpaaRating = $mpaaRating;
5710 }
5711
5712 public function getMpaaRating()
5713 {
5714 return $this->mpaaRating;
5715 }
5716
5717 public function setMtrcbRating($mtrcbRating)
5718 {
5719 $this->mtrcbRating = $mtrcbRating;
5720 }
5721
5722 public function getMtrcbRating()
5723 {
5724 return $this->mtrcbRating;
5725 }
5726
5727 public function setNbcRating($nbcRating)
5728 {
5729 $this->nbcRating = $nbcRating;
5730 }
5731
5732 public function getNbcRating()
5733 {
5734 return $this->nbcRating;
5735 }
5736
5737 public function setNbcplRating($nbcplRating)
5738 {
5739 $this->nbcplRating = $nbcplRating;
5740 }
5741
5742 public function getNbcplRating()
5743 {
5744 return $this->nbcplRating;
5745 }
5746
5747 public function setNfrcRating($nfrcRating)
5748 {
5749 $this->nfrcRating = $nfrcRating;
5750 }
5751
5752 public function getNfrcRating()
5753 {
5754 return $this->nfrcRating;
5755 }
5756
5757 public function setNfvcbRating($nfvcbRating)
5758 {
5759 $this->nfvcbRating = $nfvcbRating;
5760 }
5761
5762 public function getNfvcbRating()
5763 {
5764 return $this->nfvcbRating;
5765 }
5766
5767 public function setNkclvRating($nkclvRating)
5768 {
5769 $this->nkclvRating = $nkclvRating;
5770 }
5771
5772 public function getNkclvRating()
5773 {
5774 return $this->nkclvRating;
5775 }
5776
5777 public function setOflcRating($oflcRating)
5778 {
5779 $this->oflcRating = $oflcRating;
5780 }
5781
5782 public function getOflcRating()
5783 {
5784 return $this->oflcRating;
5785 }
5786
5787 public function setPefilmRating($pefilmRating)
5788 {
5789 $this->pefilmRating = $pefilmRating;
5790 }
5791
5792 public function getPefilmRating()
5793 {
5794 return $this->pefilmRating;
5795 }
5796
5797 public function setRcnofRating($rcnofRating)
5798 {
5799 $this->rcnofRating = $rcnofRating;
5800 }
5801
5802 public function getRcnofRating()
5803 {
5804 return $this->rcnofRating;
5805 }
5806
5807 public function setResorteviolenciaRating($resorteviolenciaRating)
5808 {
5809 $this->resorteviolenciaRating = $resorteviolenciaRating;
5810 }
5811
5812 public function getResorteviolenciaRating()
5813 {
5814 return $this->resorteviolenciaRating;
5815 }
5816
5817 public function setRtcRating($rtcRating)
5818 {
5819 $this->rtcRating = $rtcRating;
5820 }
5821
5822 public function getRtcRating()
5823 {
5824 return $this->rtcRating;
5825 }
5826
5827 public function setRteRating($rteRating)
5828 {
5829 $this->rteRating = $rteRating;
5830 }
5831
5832 public function getRteRating()
5833 {
5834 return $this->rteRating;
5835 }
5836
5837 public function setRussiaRating($russiaRating)
5838 {
5839 $this->russiaRating = $russiaRating;
5840 }
5841
5842 public function getRussiaRating()
5843 {
5844 return $this->russiaRating;
5845 }
5846
5847 public function setSkfilmRating($skfilmRating)
5848 {
5849 $this->skfilmRating = $skfilmRating;
5850 }
5851
5852 public function getSkfilmRating()
5853 {
5854 return $this->skfilmRating;
5855 }
5856
5857 public function setSmaisRating($smaisRating)
5858 {
5859 $this->smaisRating = $smaisRating;
5860 }
5861
5862 public function getSmaisRating()
5863 {
5864 return $this->smaisRating;
5865 }
5866
5867 public function setSmsaRating($smsaRating)
5868 {
5869 $this->smsaRating = $smsaRating;
5870 }
5871
5872 public function getSmsaRating()
5873 {
5874 return $this->smsaRating;
5875 }
5876
5877 public function setTvpgRating($tvpgRating)
5878 {
5879 $this->tvpgRating = $tvpgRating;
5880 }
5881
5882 public function getTvpgRating()
5883 {
5884 return $this->tvpgRating;
5885 }
5886
5887 public function setYtRating($ytRating)
5888 {
5889 $this->ytRating = $ytRating;
5890 }
5891
5892 public function getYtRating()
5893 {
5894 return $this->ytRating;
5895 }
5896 }
5897
5898 class Analytify_Google_Service_YouTube_GeoPoint extends Analytify_Google_Model
5899 {
5900 public $altitude;
5901 public $latitude;
5902 public $longitude;
5903
5904 public function setAltitude($altitude)
5905 {
5906 $this->altitude = $altitude;
5907 }
5908
5909 public function getAltitude()
5910 {
5911 return $this->altitude;
5912 }
5913
5914 public function setLatitude($latitude)
5915 {
5916 $this->latitude = $latitude;
5917 }
5918
5919 public function getLatitude()
5920 {
5921 return $this->latitude;
5922 }
5923
5924 public function setLongitude($longitude)
5925 {
5926 $this->longitude = $longitude;
5927 }
5928
5929 public function getLongitude()
5930 {
5931 return $this->longitude;
5932 }
5933 }
5934
5935 class Analytify_Google_Service_YouTube_GuideCategory extends Analytify_Google_Model
5936 {
5937 public $etag;
5938 public $id;
5939 public $kind;
5940 protected $snippetType = 'Analytify_Google_Service_YouTube_GuideCategorySnippet';
5941 protected $snippetDataType = '';
5942
5943 public function setEtag($etag)
5944 {
5945 $this->etag = $etag;
5946 }
5947
5948 public function getEtag()
5949 {
5950 return $this->etag;
5951 }
5952
5953 public function setId($id)
5954 {
5955 $this->id = $id;
5956 }
5957
5958 public function getId()
5959 {
5960 return $this->id;
5961 }
5962
5963 public function setKind($kind)
5964 {
5965 $this->kind = $kind;
5966 }
5967
5968 public function getKind()
5969 {
5970 return $this->kind;
5971 }
5972
5973 public function setSnippet(Analytify_Google_Service_YouTube_GuideCategorySnippet $snippet)
5974 {
5975 $this->snippet = $snippet;
5976 }
5977
5978 public function getSnippet()
5979 {
5980 return $this->snippet;
5981 }
5982 }
5983
5984 class Analytify_Google_Service_YouTube_GuideCategoryListResponse extends Analytify_Google_Collection
5985 {
5986 public $etag;
5987 public $eventId;
5988 protected $itemsType = 'Analytify_Google_Service_YouTube_GuideCategory';
5989 protected $itemsDataType = 'array';
5990 public $kind;
5991 public $nextPageToken;
5992 protected $pageInfoType = 'Analytify_Google_Service_YouTube_PageInfo';
5993 protected $pageInfoDataType = '';
5994 public $prevPageToken;
5995 protected $tokenPaginationType = 'Analytify_Google_Service_YouTube_TokenPagination';
5996 protected $tokenPaginationDataType = '';
5997 public $visitorId;
5998
5999 public function setEtag($etag)
6000 {
6001 $this->etag = $etag;
6002 }
6003
6004 public function getEtag()
6005 {
6006 return $this->etag;
6007 }
6008
6009 public function setEventId($eventId)
6010 {
6011 $this->eventId = $eventId;
6012 }
6013
6014 public function getEventId()
6015 {
6016 return $this->eventId;
6017 }
6018
6019 public function setItems($items)
6020 {
6021 $this->items = $items;
6022 }
6023
6024 public function getItems()
6025 {
6026 return $this->items;
6027 }
6028
6029 public function setKind($kind)
6030 {
6031 $this->kind = $kind;
6032 }
6033
6034 public function getKind()
6035 {
6036 return $this->kind;
6037 }
6038
6039 public function setNextPageToken($nextPageToken)
6040 {
6041 $this->nextPageToken = $nextPageToken;
6042 }
6043
6044 public function getNextPageToken()
6045 {
6046 return $this->nextPageToken;
6047 }
6048
6049 public function setPageInfo(Analytify_Google_Service_YouTube_PageInfo $pageInfo)
6050 {
6051 $this->pageInfo = $pageInfo;
6052 }
6053
6054 public function getPageInfo()
6055 {
6056 return $this->pageInfo;
6057 }
6058
6059 public function setPrevPageToken($prevPageToken)
6060 {
6061 $this->prevPageToken = $prevPageToken;
6062 }
6063
6064 public function getPrevPageToken()
6065 {
6066 return $this->prevPageToken;
6067 }
6068
6069 public function setTokenPagination(Analytify_Google_Service_YouTube_TokenPagination $tokenPagination)
6070 {
6071 $this->tokenPagination = $tokenPagination;
6072 }
6073
6074 public function getTokenPagination()
6075 {
6076 return $this->tokenPagination;
6077 }
6078
6079 public function setVisitorId($visitorId)
6080 {
6081 $this->visitorId = $visitorId;
6082 }
6083
6084 public function getVisitorId()
6085 {
6086 return $this->visitorId;
6087 }
6088 }
6089
6090 class Analytify_Google_Service_YouTube_GuideCategorySnippet extends Analytify_Google_Model
6091 {
6092 public $channelId;
6093 public $title;
6094
6095 public function setChannelId($channelId)
6096 {
6097 $this->channelId = $channelId;
6098 }
6099
6100 public function getChannelId()
6101 {
6102 return $this->channelId;
6103 }
6104
6105 public function setTitle($title)
6106 {
6107 $this->title = $title;
6108 }
6109
6110 public function getTitle()
6111 {
6112 return $this->title;
6113 }
6114 }
6115
6116 class Analytify_Google_Service_YouTube_I18nLanguage extends Analytify_Google_Model
6117 {
6118 public $etag;
6119 public $id;
6120 public $kind;
6121 protected $snippetType = 'Analytify_Google_Service_YouTube_I18nLanguageSnippet';
6122 protected $snippetDataType = '';
6123
6124 public function setEtag($etag)
6125 {
6126 $this->etag = $etag;
6127 }
6128
6129 public function getEtag()
6130 {
6131 return $this->etag;
6132 }
6133
6134 public function setId($id)
6135 {
6136 $this->id = $id;
6137 }
6138
6139 public function getId()
6140 {
6141 return $this->id;
6142 }
6143
6144 public function setKind($kind)
6145 {
6146 $this->kind = $kind;
6147 }
6148
6149 public function getKind()
6150 {
6151 return $this->kind;
6152 }
6153
6154 public function setSnippet(Analytify_Google_Service_YouTube_I18nLanguageSnippet $snippet)
6155 {
6156 $this->snippet = $snippet;
6157 }
6158
6159 public function getSnippet()
6160 {
6161 return $this->snippet;
6162 }
6163 }
6164
6165 class Analytify_Google_Service_YouTube_I18nLanguageListResponse extends Analytify_Google_Collection
6166 {
6167 public $etag;
6168 public $eventId;
6169 protected $itemsType = 'Analytify_Google_Service_YouTube_I18nLanguage';
6170 protected $itemsDataType = 'array';
6171 public $kind;
6172 public $visitorId;
6173
6174 public function setEtag($etag)
6175 {
6176 $this->etag = $etag;
6177 }
6178
6179 public function getEtag()
6180 {
6181 return $this->etag;
6182 }
6183
6184 public function setEventId($eventId)
6185 {
6186 $this->eventId = $eventId;
6187 }
6188
6189 public function getEventId()
6190 {
6191 return $this->eventId;
6192 }
6193
6194 public function setItems($items)
6195 {
6196 $this->items = $items;
6197 }
6198
6199 public function getItems()
6200 {
6201 return $this->items;
6202 }
6203
6204 public function setKind($kind)
6205 {
6206 $this->kind = $kind;
6207 }
6208
6209 public function getKind()
6210 {
6211 return $this->kind;
6212 }
6213
6214 public function setVisitorId($visitorId)
6215 {
6216 $this->visitorId = $visitorId;
6217 }
6218
6219 public function getVisitorId()
6220 {
6221 return $this->visitorId;
6222 }
6223 }
6224
6225 class Analytify_Google_Service_YouTube_I18nLanguageSnippet extends Analytify_Google_Model
6226 {
6227 public $hl;
6228 public $name;
6229
6230 public function setHl($hl)
6231 {
6232 $this->hl = $hl;
6233 }
6234
6235 public function getHl()
6236 {
6237 return $this->hl;
6238 }
6239
6240 public function setName($name)
6241 {
6242 $this->name = $name;
6243 }
6244
6245 public function getName()
6246 {
6247 return $this->name;
6248 }
6249 }
6250
6251 class Analytify_Google_Service_YouTube_I18nRegion extends Analytify_Google_Model
6252 {
6253 public $etag;
6254 public $id;
6255 public $kind;
6256 protected $snippetType = 'Analytify_Google_Service_YouTube_I18nRegionSnippet';
6257 protected $snippetDataType = '';
6258
6259 public function setEtag($etag)
6260 {
6261 $this->etag = $etag;
6262 }
6263
6264 public function getEtag()
6265 {
6266 return $this->etag;
6267 }
6268
6269 public function setId($id)
6270 {
6271 $this->id = $id;
6272 }
6273
6274 public function getId()
6275 {
6276 return $this->id;
6277 }
6278
6279 public function setKind($kind)
6280 {
6281 $this->kind = $kind;
6282 }
6283
6284 public function getKind()
6285 {
6286 return $this->kind;
6287 }
6288
6289 public function setSnippet(Analytify_Google_Service_YouTube_I18nRegionSnippet $snippet)
6290 {
6291 $this->snippet = $snippet;
6292 }
6293
6294 public function getSnippet()
6295 {
6296 return $this->snippet;
6297 }
6298 }
6299
6300 class Analytify_Google_Service_YouTube_I18nRegionListResponse extends Analytify_Google_Collection
6301 {
6302 public $etag;
6303 public $eventId;
6304 protected $itemsType = 'Analytify_Google_Service_YouTube_I18nRegion';
6305 protected $itemsDataType = 'array';
6306 public $kind;
6307 public $visitorId;
6308
6309 public function setEtag($etag)
6310 {
6311 $this->etag = $etag;
6312 }
6313
6314 public function getEtag()
6315 {
6316 return $this->etag;
6317 }
6318
6319 public function setEventId($eventId)
6320 {
6321 $this->eventId = $eventId;
6322 }
6323
6324 public function getEventId()
6325 {
6326 return $this->eventId;
6327 }
6328
6329 public function setItems($items)
6330 {
6331 $this->items = $items;
6332 }
6333
6334 public function getItems()
6335 {
6336 return $this->items;
6337 }
6338
6339 public function setKind($kind)
6340 {
6341 $this->kind = $kind;
6342 }
6343
6344 public function getKind()
6345 {
6346 return $this->kind;
6347 }
6348
6349 public function setVisitorId($visitorId)
6350 {
6351 $this->visitorId = $visitorId;
6352 }
6353
6354 public function getVisitorId()
6355 {
6356 return $this->visitorId;
6357 }
6358 }
6359
6360 class Analytify_Google_Service_YouTube_I18nRegionSnippet extends Analytify_Google_Model
6361 {
6362 public $gl;
6363 public $name;
6364
6365 public function setGl($gl)
6366 {
6367 $this->gl = $gl;
6368 }
6369
6370 public function getGl()
6371 {
6372 return $this->gl;
6373 }
6374
6375 public function setName($name)
6376 {
6377 $this->name = $name;
6378 }
6379
6380 public function getName()
6381 {
6382 return $this->name;
6383 }
6384 }
6385
6386 class Analytify_Google_Service_YouTube_ImageSettings extends Analytify_Google_Model
6387 {
6388 protected $backgroundImageUrlType = 'Analytify_Google_Service_YouTube_LocalizedProperty';
6389 protected $backgroundImageUrlDataType = '';
6390 public $bannerExternalUrl;
6391 public $bannerImageUrl;
6392 public $bannerMobileExtraHdImageUrl;
6393 public $bannerMobileHdImageUrl;
6394 public $bannerMobileImageUrl;
6395 public $bannerMobileLowImageUrl;
6396 public $bannerMobileMediumHdImageUrl;
6397 public $bannerTabletExtraHdImageUrl;
6398 public $bannerTabletHdImageUrl;
6399 public $bannerTabletImageUrl;
6400 public $bannerTabletLowImageUrl;
6401 public $bannerTvHighImageUrl;
6402 public $bannerTvImageUrl;
6403 public $bannerTvLowImageUrl;
6404 public $bannerTvMediumImageUrl;
6405 protected $largeBrandedBannerImageImapScriptType = 'Analytify_Google_Service_YouTube_LocalizedProperty';
6406 protected $largeBrandedBannerImageImapScriptDataType = '';
6407 protected $largeBrandedBannerImageUrlType = 'Analytify_Google_Service_YouTube_LocalizedProperty';
6408 protected $largeBrandedBannerImageUrlDataType = '';
6409 protected $smallBrandedBannerImageImapScriptType = 'Analytify_Google_Service_YouTube_LocalizedProperty';
6410 protected $smallBrandedBannerImageImapScriptDataType = '';
6411 protected $smallBrandedBannerImageUrlType = 'Analytify_Google_Service_YouTube_LocalizedProperty';
6412 protected $smallBrandedBannerImageUrlDataType = '';
6413 public $trackingImageUrl;
6414 public $watchIconImageUrl;
6415
6416 public function setBackgroundImageUrl(Analytify_Google_Service_YouTube_LocalizedProperty $backgroundImageUrl)
6417 {
6418 $this->backgroundImageUrl = $backgroundImageUrl;
6419 }
6420
6421 public function getBackgroundImageUrl()
6422 {
6423 return $this->backgroundImageUrl;
6424 }
6425
6426 public function setBannerExternalUrl($bannerExternalUrl)
6427 {
6428 $this->bannerExternalUrl = $bannerExternalUrl;
6429 }
6430
6431 public function getBannerExternalUrl()
6432 {
6433 return $this->bannerExternalUrl;
6434 }
6435
6436 public function setBannerImageUrl($bannerImageUrl)
6437 {
6438 $this->bannerImageUrl = $bannerImageUrl;
6439 }
6440
6441 public function getBannerImageUrl()
6442 {
6443 return $this->bannerImageUrl;
6444 }
6445
6446 public function setBannerMobileExtraHdImageUrl($bannerMobileExtraHdImageUrl)
6447 {
6448 $this->bannerMobileExtraHdImageUrl = $bannerMobileExtraHdImageUrl;
6449 }
6450
6451 public function getBannerMobileExtraHdImageUrl()
6452 {
6453 return $this->bannerMobileExtraHdImageUrl;
6454 }
6455
6456 public function setBannerMobileHdImageUrl($bannerMobileHdImageUrl)
6457 {
6458 $this->bannerMobileHdImageUrl = $bannerMobileHdImageUrl;
6459 }
6460
6461 public function getBannerMobileHdImageUrl()
6462 {
6463 return $this->bannerMobileHdImageUrl;
6464 }
6465
6466 public function setBannerMobileImageUrl($bannerMobileImageUrl)
6467 {
6468 $this->bannerMobileImageUrl = $bannerMobileImageUrl;
6469 }
6470
6471 public function getBannerMobileImageUrl()
6472 {
6473 return $this->bannerMobileImageUrl;
6474 }
6475
6476 public function setBannerMobileLowImageUrl($bannerMobileLowImageUrl)
6477 {
6478 $this->bannerMobileLowImageUrl = $bannerMobileLowImageUrl;
6479 }
6480
6481 public function getBannerMobileLowImageUrl()
6482 {
6483 return $this->bannerMobileLowImageUrl;
6484 }
6485
6486 public function setBannerMobileMediumHdImageUrl($bannerMobileMediumHdImageUrl)
6487 {
6488 $this->bannerMobileMediumHdImageUrl = $bannerMobileMediumHdImageUrl;
6489 }
6490
6491 public function getBannerMobileMediumHdImageUrl()
6492 {
6493 return $this->bannerMobileMediumHdImageUrl;
6494 }
6495
6496 public function setBannerTabletExtraHdImageUrl($bannerTabletExtraHdImageUrl)
6497 {
6498 $this->bannerTabletExtraHdImageUrl = $bannerTabletExtraHdImageUrl;
6499 }
6500
6501 public function getBannerTabletExtraHdImageUrl()
6502 {
6503 return $this->bannerTabletExtraHdImageUrl;
6504 }
6505
6506 public function setBannerTabletHdImageUrl($bannerTabletHdImageUrl)
6507 {
6508 $this->bannerTabletHdImageUrl = $bannerTabletHdImageUrl;
6509 }
6510
6511 public function getBannerTabletHdImageUrl()
6512 {
6513 return $this->bannerTabletHdImageUrl;
6514 }
6515
6516 public function setBannerTabletImageUrl($bannerTabletImageUrl)
6517 {
6518 $this->bannerTabletImageUrl = $bannerTabletImageUrl;
6519 }
6520
6521 public function getBannerTabletImageUrl()
6522 {
6523 return $this->bannerTabletImageUrl;
6524 }
6525
6526 public function setBannerTabletLowImageUrl($bannerTabletLowImageUrl)
6527 {
6528 $this->bannerTabletLowImageUrl = $bannerTabletLowImageUrl;
6529 }
6530
6531 public function getBannerTabletLowImageUrl()
6532 {
6533 return $this->bannerTabletLowImageUrl;
6534 }
6535
6536 public function setBannerTvHighImageUrl($bannerTvHighImageUrl)
6537 {
6538 $this->bannerTvHighImageUrl = $bannerTvHighImageUrl;
6539 }
6540
6541 public function getBannerTvHighImageUrl()
6542 {
6543 return $this->bannerTvHighImageUrl;
6544 }
6545
6546 public function setBannerTvImageUrl($bannerTvImageUrl)
6547 {
6548 $this->bannerTvImageUrl = $bannerTvImageUrl;
6549 }
6550
6551 public function getBannerTvImageUrl()
6552 {
6553 return $this->bannerTvImageUrl;
6554 }
6555
6556 public function setBannerTvLowImageUrl($bannerTvLowImageUrl)
6557 {
6558 $this->bannerTvLowImageUrl = $bannerTvLowImageUrl;
6559 }
6560
6561 public function getBannerTvLowImageUrl()
6562 {
6563 return $this->bannerTvLowImageUrl;
6564 }
6565
6566 public function setBannerTvMediumImageUrl($bannerTvMediumImageUrl)
6567 {
6568 $this->bannerTvMediumImageUrl = $bannerTvMediumImageUrl;
6569 }
6570
6571 public function getBannerTvMediumImageUrl()
6572 {
6573 return $this->bannerTvMediumImageUrl;
6574 }
6575
6576 public function setLargeBrandedBannerImageImapScript(Analytify_Google_Service_YouTube_LocalizedProperty $largeBrandedBannerImageImapScript)
6577 {
6578 $this->largeBrandedBannerImageImapScript = $largeBrandedBannerImageImapScript;
6579 }
6580
6581 public function getLargeBrandedBannerImageImapScript()
6582 {
6583 return $this->largeBrandedBannerImageImapScript;
6584 }
6585
6586 public function setLargeBrandedBannerImageUrl(Analytify_Google_Service_YouTube_LocalizedProperty $largeBrandedBannerImageUrl)
6587 {
6588 $this->largeBrandedBannerImageUrl = $largeBrandedBannerImageUrl;
6589 }
6590
6591 public function getLargeBrandedBannerImageUrl()
6592 {
6593 return $this->largeBrandedBannerImageUrl;
6594 }
6595
6596 public function setSmallBrandedBannerImageImapScript(Analytify_Google_Service_YouTube_LocalizedProperty $smallBrandedBannerImageImapScript)
6597 {
6598 $this->smallBrandedBannerImageImapScript = $smallBrandedBannerImageImapScript;
6599 }
6600
6601 public function getSmallBrandedBannerImageImapScript()
6602 {
6603 return $this->smallBrandedBannerImageImapScript;
6604 }
6605
6606 public function setSmallBrandedBannerImageUrl(Analytify_Google_Service_YouTube_LocalizedProperty $smallBrandedBannerImageUrl)
6607 {
6608 $this->smallBrandedBannerImageUrl = $smallBrandedBannerImageUrl;
6609 }
6610
6611 public function getSmallBrandedBannerImageUrl()
6612 {
6613 return $this->smallBrandedBannerImageUrl;
6614 }
6615
6616 public function setTrackingImageUrl($trackingImageUrl)
6617 {
6618 $this->trackingImageUrl = $trackingImageUrl;
6619 }
6620
6621 public function getTrackingImageUrl()
6622 {
6623 return $this->trackingImageUrl;
6624 }
6625
6626 public function setWatchIconImageUrl($watchIconImageUrl)
6627 {
6628 $this->watchIconImageUrl = $watchIconImageUrl;
6629 }
6630
6631 public function getWatchIconImageUrl()
6632 {
6633 return $this->watchIconImageUrl;
6634 }
6635 }
6636
6637 class Analytify_Google_Service_YouTube_IngestionInfo extends Analytify_Google_Model
6638 {
6639 public $backupIngestionAddress;
6640 public $ingestionAddress;
6641 public $streamName;
6642
6643 public function setBackupIngestionAddress($backupIngestionAddress)
6644 {
6645 $this->backupIngestionAddress = $backupIngestionAddress;
6646 }
6647
6648 public function getBackupIngestionAddress()
6649 {
6650 return $this->backupIngestionAddress;
6651 }
6652
6653 public function setIngestionAddress($ingestionAddress)
6654 {
6655 $this->ingestionAddress = $ingestionAddress;
6656 }
6657
6658 public function getIngestionAddress()
6659 {
6660 return $this->ingestionAddress;
6661 }
6662
6663 public function setStreamName($streamName)
6664 {
6665 $this->streamName = $streamName;
6666 }
6667
6668 public function getStreamName()
6669 {
6670 return $this->streamName;
6671 }
6672 }
6673
6674 class Analytify_Google_Service_YouTube_InvideoBranding extends Analytify_Google_Model
6675 {
6676 public $imageBytes;
6677 public $imageUrl;
6678 protected $positionType = 'Analytify_Google_Service_YouTube_InvideoPosition';
6679 protected $positionDataType = '';
6680 public $targetChannelId;
6681 protected $timingType = 'Analytify_Google_Service_YouTube_InvideoTiming';
6682 protected $timingDataType = '';
6683
6684 public function setImageBytes($imageBytes)
6685 {
6686 $this->imageBytes = $imageBytes;
6687 }
6688
6689 public function getImageBytes()
6690 {
6691 return $this->imageBytes;
6692 }
6693
6694 public function setImageUrl($imageUrl)
6695 {
6696 $this->imageUrl = $imageUrl;
6697 }
6698
6699 public function getImageUrl()
6700 {
6701 return $this->imageUrl;
6702 }
6703
6704 public function setPosition(Analytify_Google_Service_YouTube_InvideoPosition $position)
6705 {
6706 $this->position = $position;
6707 }
6708
6709 public function getPosition()
6710 {
6711 return $this->position;
6712 }
6713
6714 public function setTargetChannelId($targetChannelId)
6715 {
6716 $this->targetChannelId = $targetChannelId;
6717 }
6718
6719 public function getTargetChannelId()
6720 {
6721 return $this->targetChannelId;
6722 }
6723
6724 public function setTiming(Analytify_Google_Service_YouTube_InvideoTiming $timing)
6725 {
6726 $this->timing = $timing;
6727 }
6728
6729 public function getTiming()
6730 {
6731 return $this->timing;
6732 }
6733 }
6734
6735 class Analytify_Google_Service_YouTube_InvideoPosition extends Analytify_Google_Model
6736 {
6737 public $cornerPosition;
6738 public $type;
6739
6740 public function setCornerPosition($cornerPosition)
6741 {
6742 $this->cornerPosition = $cornerPosition;
6743 }
6744
6745 public function getCornerPosition()
6746 {
6747 return $this->cornerPosition;
6748 }
6749
6750 public function setType($type)
6751 {
6752 $this->type = $type;
6753 }
6754
6755 public function getType()
6756 {
6757 return $this->type;
6758 }
6759 }
6760
6761 class Analytify_Google_Service_YouTube_InvideoPromotion extends Analytify_Google_Collection
6762 {
6763 protected $defaultTimingType = 'Analytify_Google_Service_YouTube_InvideoTiming';
6764 protected $defaultTimingDataType = '';
6765 protected $itemsType = 'Analytify_Google_Service_YouTube_PromotedItem';
6766 protected $itemsDataType = 'array';
6767 protected $positionType = 'Analytify_Google_Service_YouTube_InvideoPosition';
6768 protected $positionDataType = '';
6769
6770 public function setDefaultTiming(Analytify_Google_Service_YouTube_InvideoTiming $defaultTiming)
6771 {
6772 $this->defaultTiming = $defaultTiming;
6773 }
6774
6775 public function getDefaultTiming()
6776 {
6777 return $this->defaultTiming;
6778 }
6779
6780 public function setItems($items)
6781 {
6782 $this->items = $items;
6783 }
6784
6785 public function getItems()
6786 {
6787 return $this->items;
6788 }
6789
6790 public function setPosition(Analytify_Google_Service_YouTube_InvideoPosition $position)
6791 {
6792 $this->position = $position;
6793 }
6794
6795 public function getPosition()
6796 {
6797 return $this->position;
6798 }
6799 }
6800
6801 class Analytify_Google_Service_YouTube_InvideoTiming extends Analytify_Google_Model
6802 {
6803 public $durationMs;
6804 public $offsetMs;
6805 public $type;
6806
6807 public function setDurationMs($durationMs)
6808 {
6809 $this->durationMs = $durationMs;
6810 }
6811
6812 public function getDurationMs()
6813 {
6814 return $this->durationMs;
6815 }
6816
6817 public function setOffsetMs($offsetMs)
6818 {
6819 $this->offsetMs = $offsetMs;
6820 }
6821
6822 public function getOffsetMs()
6823 {
6824 return $this->offsetMs;
6825 }
6826
6827 public function setType($type)
6828 {
6829 $this->type = $type;
6830 }
6831
6832 public function getType()
6833 {
6834 return $this->type;
6835 }
6836 }
6837
6838 class Analytify_Google_Service_YouTube_LiveBroadcast extends Analytify_Google_Model
6839 {
6840 protected $contentDetailsType = 'Analytify_Google_Service_YouTube_LiveBroadcastContentDetails';
6841 protected $contentDetailsDataType = '';
6842 public $etag;
6843 public $id;
6844 public $kind;
6845 protected $snippetType = 'Analytify_Google_Service_YouTube_LiveBroadcastSnippet';
6846 protected $snippetDataType = '';
6847 protected $statusType = 'Analytify_Google_Service_YouTube_LiveBroadcastStatus';
6848 protected $statusDataType = '';
6849
6850 public function setContentDetails(Analytify_Google_Service_YouTube_LiveBroadcastContentDetails $contentDetails)
6851 {
6852 $this->contentDetails = $contentDetails;
6853 }
6854
6855 public function getContentDetails()
6856 {
6857 return $this->contentDetails;
6858 }
6859
6860 public function setEtag($etag)
6861 {
6862 $this->etag = $etag;
6863 }
6864
6865 public function getEtag()
6866 {
6867 return $this->etag;
6868 }
6869
6870 public function setId($id)
6871 {
6872 $this->id = $id;
6873 }
6874
6875 public function getId()
6876 {
6877 return $this->id;
6878 }
6879
6880 public function setKind($kind)
6881 {
6882 $this->kind = $kind;
6883 }
6884
6885 public function getKind()
6886 {
6887 return $this->kind;
6888 }
6889
6890 public function setSnippet(Analytify_Google_Service_YouTube_LiveBroadcastSnippet $snippet)
6891 {
6892 $this->snippet = $snippet;
6893 }
6894
6895 public function getSnippet()
6896 {
6897 return $this->snippet;
6898 }
6899
6900 public function setStatus(Analytify_Google_Service_YouTube_LiveBroadcastStatus $status)
6901 {
6902 $this->status = $status;
6903 }
6904
6905 public function getStatus()
6906 {
6907 return $this->status;
6908 }
6909 }
6910
6911 class Analytify_Google_Service_YouTube_LiveBroadcastContentDetails extends Analytify_Google_Model
6912 {
6913 public $boundStreamId;
6914 public $enableClosedCaptions;
6915 public $enableContentEncryption;
6916 public $enableDvr;
6917 public $enableEmbed;
6918 protected $monitorStreamType = 'Analytify_Google_Service_YouTube_MonitorStreamInfo';
6919 protected $monitorStreamDataType = '';
6920 public $recordFromStart;
6921 public $startWithSlate;
6922
6923 public function setBoundStreamId($boundStreamId)
6924 {
6925 $this->boundStreamId = $boundStreamId;
6926 }
6927
6928 public function getBoundStreamId()
6929 {
6930 return $this->boundStreamId;
6931 }
6932
6933 public function setEnableClosedCaptions($enableClosedCaptions)
6934 {
6935 $this->enableClosedCaptions = $enableClosedCaptions;
6936 }
6937
6938 public function getEnableClosedCaptions()
6939 {
6940 return $this->enableClosedCaptions;
6941 }
6942
6943 public function setEnableContentEncryption($enableContentEncryption)
6944 {
6945 $this->enableContentEncryption = $enableContentEncryption;
6946 }
6947
6948 public function getEnableContentEncryption()
6949 {
6950 return $this->enableContentEncryption;
6951 }
6952
6953 public function setEnableDvr($enableDvr)
6954 {
6955 $this->enableDvr = $enableDvr;
6956 }
6957
6958 public function getEnableDvr()
6959 {
6960 return $this->enableDvr;
6961 }
6962
6963 public function setEnableEmbed($enableEmbed)
6964 {
6965 $this->enableEmbed = $enableEmbed;
6966 }
6967
6968 public function getEnableEmbed()
6969 {
6970 return $this->enableEmbed;
6971 }
6972
6973 public function setMonitorStream(Analytify_Google_Service_YouTube_MonitorStreamInfo $monitorStream)
6974 {
6975 $this->monitorStream = $monitorStream;
6976 }
6977
6978 public function getMonitorStream()
6979 {
6980 return $this->monitorStream;
6981 }
6982
6983 public function setRecordFromStart($recordFromStart)
6984 {
6985 $this->recordFromStart = $recordFromStart;
6986 }
6987
6988 public function getRecordFromStart()
6989 {
6990 return $this->recordFromStart;
6991 }
6992
6993 public function setStartWithSlate($startWithSlate)
6994 {
6995 $this->startWithSlate = $startWithSlate;
6996 }
6997
6998 public function getStartWithSlate()
6999 {
7000 return $this->startWithSlate;
7001 }
7002 }
7003
7004 class Analytify_Google_Service_YouTube_LiveBroadcastListResponse extends Analytify_Google_Collection
7005 {
7006 public $etag;
7007 public $eventId;
7008 protected $itemsType = 'Analytify_Google_Service_YouTube_LiveBroadcast';
7009 protected $itemsDataType = 'array';
7010 public $kind;
7011 public $nextPageToken;
7012 protected $pageInfoType = 'Analytify_Google_Service_YouTube_PageInfo';
7013 protected $pageInfoDataType = '';
7014 public $prevPageToken;
7015 protected $tokenPaginationType = 'Analytify_Google_Service_YouTube_TokenPagination';
7016 protected $tokenPaginationDataType = '';
7017 public $visitorId;
7018
7019 public function setEtag($etag)
7020 {
7021 $this->etag = $etag;
7022 }
7023
7024 public function getEtag()
7025 {
7026 return $this->etag;
7027 }
7028
7029 public function setEventId($eventId)
7030 {
7031 $this->eventId = $eventId;
7032 }
7033
7034 public function getEventId()
7035 {
7036 return $this->eventId;
7037 }
7038
7039 public function setItems($items)
7040 {
7041 $this->items = $items;
7042 }
7043
7044 public function getItems()
7045 {
7046 return $this->items;
7047 }
7048
7049 public function setKind($kind)
7050 {
7051 $this->kind = $kind;
7052 }
7053
7054 public function getKind()
7055 {
7056 return $this->kind;
7057 }
7058
7059 public function setNextPageToken($nextPageToken)
7060 {
7061 $this->nextPageToken = $nextPageToken;
7062 }
7063
7064 public function getNextPageToken()
7065 {
7066 return $this->nextPageToken;
7067 }
7068
7069 public function setPageInfo(Analytify_Google_Service_YouTube_PageInfo $pageInfo)
7070 {
7071 $this->pageInfo = $pageInfo;
7072 }
7073
7074 public function getPageInfo()
7075 {
7076 return $this->pageInfo;
7077 }
7078
7079 public function setPrevPageToken($prevPageToken)
7080 {
7081 $this->prevPageToken = $prevPageToken;
7082 }
7083
7084 public function getPrevPageToken()
7085 {
7086 return $this->prevPageToken;
7087 }
7088
7089 public function setTokenPagination(Analytify_Google_Service_YouTube_TokenPagination $tokenPagination)
7090 {
7091 $this->tokenPagination = $tokenPagination;
7092 }
7093
7094 public function getTokenPagination()
7095 {
7096 return $this->tokenPagination;
7097 }
7098
7099 public function setVisitorId($visitorId)
7100 {
7101 $this->visitorId = $visitorId;
7102 }
7103
7104 public function getVisitorId()
7105 {
7106 return $this->visitorId;
7107 }
7108 }
7109
7110 class Analytify_Google_Service_YouTube_LiveBroadcastSnippet extends Analytify_Google_Model
7111 {
7112 public $actualEndTime;
7113 public $actualStartTime;
7114 public $channelId;
7115 public $description;
7116 public $publishedAt;
7117 public $scheduledEndTime;
7118 public $scheduledStartTime;
7119 protected $thumbnailsType = 'Analytify_Google_Service_YouTube_ThumbnailDetails';
7120 protected $thumbnailsDataType = '';
7121 public $title;
7122
7123 public function setActualEndTime($actualEndTime)
7124 {
7125 $this->actualEndTime = $actualEndTime;
7126 }
7127
7128 public function getActualEndTime()
7129 {
7130 return $this->actualEndTime;
7131 }
7132
7133 public function setActualStartTime($actualStartTime)
7134 {
7135 $this->actualStartTime = $actualStartTime;
7136 }
7137
7138 public function getActualStartTime()
7139 {
7140 return $this->actualStartTime;
7141 }
7142
7143 public function setChannelId($channelId)
7144 {
7145 $this->channelId = $channelId;
7146 }
7147
7148 public function getChannelId()
7149 {
7150 return $this->channelId;
7151 }
7152
7153 public function setDescription($description)
7154 {
7155 $this->description = $description;
7156 }
7157
7158 public function getDescription()
7159 {
7160 return $this->description;
7161 }
7162
7163 public function setPublishedAt($publishedAt)
7164 {
7165 $this->publishedAt = $publishedAt;
7166 }
7167
7168 public function getPublishedAt()
7169 {
7170 return $this->publishedAt;
7171 }
7172
7173 public function setScheduledEndTime($scheduledEndTime)
7174 {
7175 $this->scheduledEndTime = $scheduledEndTime;
7176 }
7177
7178 public function getScheduledEndTime()
7179 {
7180 return $this->scheduledEndTime;
7181 }
7182
7183 public function setScheduledStartTime($scheduledStartTime)
7184 {
7185 $this->scheduledStartTime = $scheduledStartTime;
7186 }
7187
7188 public function getScheduledStartTime()
7189 {
7190 return $this->scheduledStartTime;
7191 }
7192
7193 public function setThumbnails(Analytify_Google_Service_YouTube_ThumbnailDetails $thumbnails)
7194 {
7195 $this->thumbnails = $thumbnails;
7196 }
7197
7198 public function getThumbnails()
7199 {
7200 return $this->thumbnails;
7201 }
7202
7203 public function setTitle($title)
7204 {
7205 $this->title = $title;
7206 }
7207
7208 public function getTitle()
7209 {
7210 return $this->title;
7211 }
7212 }
7213
7214 class Analytify_Google_Service_YouTube_LiveBroadcastStatus extends Analytify_Google_Model
7215 {
7216 public $lifeCycleStatus;
7217 public $liveBroadcastPriority;
7218 public $privacyStatus;
7219 public $recordingStatus;
7220
7221 public function setLifeCycleStatus($lifeCycleStatus)
7222 {
7223 $this->lifeCycleStatus = $lifeCycleStatus;
7224 }
7225
7226 public function getLifeCycleStatus()
7227 {
7228 return $this->lifeCycleStatus;
7229 }
7230
7231 public function setLiveBroadcastPriority($liveBroadcastPriority)
7232 {
7233 $this->liveBroadcastPriority = $liveBroadcastPriority;
7234 }
7235
7236 public function getLiveBroadcastPriority()
7237 {
7238 return $this->liveBroadcastPriority;
7239 }
7240
7241 public function setPrivacyStatus($privacyStatus)
7242 {
7243 $this->privacyStatus = $privacyStatus;
7244 }
7245
7246 public function getPrivacyStatus()
7247 {
7248 return $this->privacyStatus;
7249 }
7250
7251 public function setRecordingStatus($recordingStatus)
7252 {
7253 $this->recordingStatus = $recordingStatus;
7254 }
7255
7256 public function getRecordingStatus()
7257 {
7258 return $this->recordingStatus;
7259 }
7260 }
7261
7262 class Analytify_Google_Service_YouTube_LiveStream extends Analytify_Google_Model
7263 {
7264 protected $cdnType = 'Analytify_Google_Service_YouTube_CdnSettings';
7265 protected $cdnDataType = '';
7266 protected $contentDetailsType = 'Analytify_Google_Service_YouTube_LiveStreamContentDetails';
7267 protected $contentDetailsDataType = '';
7268 public $etag;
7269 public $id;
7270 public $kind;
7271 protected $snippetType = 'Analytify_Google_Service_YouTube_LiveStreamSnippet';
7272 protected $snippetDataType = '';
7273 protected $statusType = 'Analytify_Google_Service_YouTube_LiveStreamStatus';
7274 protected $statusDataType = '';
7275
7276 public function setCdn(Analytify_Google_Service_YouTube_CdnSettings $cdn)
7277 {
7278 $this->cdn = $cdn;
7279 }
7280
7281 public function getCdn()
7282 {
7283 return $this->cdn;
7284 }
7285
7286 public function setContentDetails(Analytify_Google_Service_YouTube_LiveStreamContentDetails $contentDetails)
7287 {
7288 $this->contentDetails = $contentDetails;
7289 }
7290
7291 public function getContentDetails()
7292 {
7293 return $this->contentDetails;
7294 }
7295
7296 public function setEtag($etag)
7297 {
7298 $this->etag = $etag;
7299 }
7300
7301 public function getEtag()
7302 {
7303 return $this->etag;
7304 }
7305
7306 public function setId($id)
7307 {
7308 $this->id = $id;
7309 }
7310
7311 public function getId()
7312 {
7313 return $this->id;
7314 }
7315
7316 public function setKind($kind)
7317 {
7318 $this->kind = $kind;
7319 }
7320
7321 public function getKind()
7322 {
7323 return $this->kind;
7324 }
7325
7326 public function setSnippet(Analytify_Google_Service_YouTube_LiveStreamSnippet $snippet)
7327 {
7328 $this->snippet = $snippet;
7329 }
7330
7331 public function getSnippet()
7332 {
7333 return $this->snippet;
7334 }
7335
7336 public function setStatus(Analytify_Google_Service_YouTube_LiveStreamStatus $status)
7337 {
7338 $this->status = $status;
7339 }
7340
7341 public function getStatus()
7342 {
7343 return $this->status;
7344 }
7345 }
7346
7347 class Analytify_Google_Service_YouTube_LiveStreamContentDetails extends Analytify_Google_Model
7348 {
7349 public $closedCaptionsIngestionUrl;
7350
7351 public function setClosedCaptionsIngestionUrl($closedCaptionsIngestionUrl)
7352 {
7353 $this->closedCaptionsIngestionUrl = $closedCaptionsIngestionUrl;
7354 }
7355
7356 public function getClosedCaptionsIngestionUrl()
7357 {
7358 return $this->closedCaptionsIngestionUrl;
7359 }
7360 }
7361
7362 class Analytify_Google_Service_YouTube_LiveStreamListResponse extends Analytify_Google_Collection
7363 {
7364 public $etag;
7365 public $eventId;
7366 protected $itemsType = 'Analytify_Google_Service_YouTube_LiveStream';
7367 protected $itemsDataType = 'array';
7368 public $kind;
7369 public $nextPageToken;
7370 protected $pageInfoType = 'Analytify_Google_Service_YouTube_PageInfo';
7371 protected $pageInfoDataType = '';
7372 public $prevPageToken;
7373 protected $tokenPaginationType = 'Analytify_Google_Service_YouTube_TokenPagination';
7374 protected $tokenPaginationDataType = '';
7375 public $visitorId;
7376
7377 public function setEtag($etag)
7378 {
7379 $this->etag = $etag;
7380 }
7381
7382 public function getEtag()
7383 {
7384 return $this->etag;
7385 }
7386
7387 public function setEventId($eventId)
7388 {
7389 $this->eventId = $eventId;
7390 }
7391
7392 public function getEventId()
7393 {
7394 return $this->eventId;
7395 }
7396
7397 public function setItems($items)
7398 {
7399 $this->items = $items;
7400 }
7401
7402 public function getItems()
7403 {
7404 return $this->items;
7405 }
7406
7407 public function setKind($kind)
7408 {
7409 $this->kind = $kind;
7410 }
7411
7412 public function getKind()
7413 {
7414 return $this->kind;
7415 }
7416
7417 public function setNextPageToken($nextPageToken)
7418 {
7419 $this->nextPageToken = $nextPageToken;
7420 }
7421
7422 public function getNextPageToken()
7423 {
7424 return $this->nextPageToken;
7425 }
7426
7427 public function setPageInfo(Analytify_Google_Service_YouTube_PageInfo $pageInfo)
7428 {
7429 $this->pageInfo = $pageInfo;
7430 }
7431
7432 public function getPageInfo()
7433 {
7434 return $this->pageInfo;
7435 }
7436
7437 public function setPrevPageToken($prevPageToken)
7438 {
7439 $this->prevPageToken = $prevPageToken;
7440 }
7441
7442 public function getPrevPageToken()
7443 {
7444 return $this->prevPageToken;
7445 }
7446
7447 public function setTokenPagination(Analytify_Google_Service_YouTube_TokenPagination $tokenPagination)
7448 {
7449 $this->tokenPagination = $tokenPagination;
7450 }
7451
7452 public function getTokenPagination()
7453 {
7454 return $this->tokenPagination;
7455 }
7456
7457 public function setVisitorId($visitorId)
7458 {
7459 $this->visitorId = $visitorId;
7460 }
7461
7462 public function getVisitorId()
7463 {
7464 return $this->visitorId;
7465 }
7466 }
7467
7468 class Analytify_Google_Service_YouTube_LiveStreamSnippet extends Analytify_Google_Model
7469 {
7470 public $channelId;
7471 public $description;
7472 public $publishedAt;
7473 public $title;
7474
7475 public function setChannelId($channelId)
7476 {
7477 $this->channelId = $channelId;
7478 }
7479
7480 public function getChannelId()
7481 {
7482 return $this->channelId;
7483 }
7484
7485 public function setDescription($description)
7486 {
7487 $this->description = $description;
7488 }
7489
7490 public function getDescription()
7491 {
7492 return $this->description;
7493 }
7494
7495 public function setPublishedAt($publishedAt)
7496 {
7497 $this->publishedAt = $publishedAt;
7498 }
7499
7500 public function getPublishedAt()
7501 {
7502 return $this->publishedAt;
7503 }
7504
7505 public function setTitle($title)
7506 {
7507 $this->title = $title;
7508 }
7509
7510 public function getTitle()
7511 {
7512 return $this->title;
7513 }
7514 }
7515
7516 class Analytify_Google_Service_YouTube_LiveStreamStatus extends Analytify_Google_Model
7517 {
7518 public $streamStatus;
7519
7520 public function setStreamStatus($streamStatus)
7521 {
7522 $this->streamStatus = $streamStatus;
7523 }
7524
7525 public function getStreamStatus()
7526 {
7527 return $this->streamStatus;
7528 }
7529 }
7530
7531 class Analytify_Google_Service_YouTube_LocalizedProperty extends Analytify_Google_Collection
7532 {
7533 public $default;
7534 protected $localizedType = 'Analytify_Google_Service_YouTube_LocalizedString';
7535 protected $localizedDataType = 'array';
7536
7537 public function setDefault($default)
7538 {
7539 $this->default = $default;
7540 }
7541
7542 public function getDefault()
7543 {
7544 return $this->default;
7545 }
7546
7547 public function setLocalized($localized)
7548 {
7549 $this->localized = $localized;
7550 }
7551
7552 public function getLocalized()
7553 {
7554 return $this->localized;
7555 }
7556 }
7557
7558 class Analytify_Google_Service_YouTube_LocalizedString extends Analytify_Google_Model
7559 {
7560 public $language;
7561 public $value;
7562
7563 public function setLanguage($language)
7564 {
7565 $this->language = $language;
7566 }
7567
7568 public function getLanguage()
7569 {
7570 return $this->language;
7571 }
7572
7573 public function setValue($value)
7574 {
7575 $this->value = $value;
7576 }
7577
7578 public function getValue()
7579 {
7580 return $this->value;
7581 }
7582 }
7583
7584 class Analytify_Google_Service_YouTube_MonitorStreamInfo extends Analytify_Google_Model
7585 {
7586 public $broadcastStreamDelayMs;
7587 public $embedHtml;
7588 public $enableMonitorStream;
7589
7590 public function setBroadcastStreamDelayMs($broadcastStreamDelayMs)
7591 {
7592 $this->broadcastStreamDelayMs = $broadcastStreamDelayMs;
7593 }
7594
7595 public function getBroadcastStreamDelayMs()
7596 {
7597 return $this->broadcastStreamDelayMs;
7598 }
7599
7600 public function setEmbedHtml($embedHtml)
7601 {
7602 $this->embedHtml = $embedHtml;
7603 }
7604
7605 public function getEmbedHtml()
7606 {
7607 return $this->embedHtml;
7608 }
7609
7610 public function setEnableMonitorStream($enableMonitorStream)
7611 {
7612 $this->enableMonitorStream = $enableMonitorStream;
7613 }
7614
7615 public function getEnableMonitorStream()
7616 {
7617 return $this->enableMonitorStream;
7618 }
7619 }
7620
7621 class Analytify_Google_Service_YouTube_PageInfo extends Analytify_Google_Model
7622 {
7623 public $resultsPerPage;
7624 public $totalResults;
7625
7626 public function setResultsPerPage($resultsPerPage)
7627 {
7628 $this->resultsPerPage = $resultsPerPage;
7629 }
7630
7631 public function getResultsPerPage()
7632 {
7633 return $this->resultsPerPage;
7634 }
7635
7636 public function setTotalResults($totalResults)
7637 {
7638 $this->totalResults = $totalResults;
7639 }
7640
7641 public function getTotalResults()
7642 {
7643 return $this->totalResults;
7644 }
7645 }
7646
7647 class Analytify_Google_Service_YouTube_Playlist extends Analytify_Google_Model
7648 {
7649 protected $contentDetailsType = 'Analytify_Google_Service_YouTube_PlaylistContentDetails';
7650 protected $contentDetailsDataType = '';
7651 public $etag;
7652 public $id;
7653 public $kind;
7654 protected $playerType = 'Analytify_Google_Service_YouTube_PlaylistPlayer';
7655 protected $playerDataType = '';
7656 protected $snippetType = 'Analytify_Google_Service_YouTube_PlaylistSnippet';
7657 protected $snippetDataType = '';
7658 protected $statusType = 'Analytify_Google_Service_YouTube_PlaylistStatus';
7659 protected $statusDataType = '';
7660
7661 public function setContentDetails(Analytify_Google_Service_YouTube_PlaylistContentDetails $contentDetails)
7662 {
7663 $this->contentDetails = $contentDetails;
7664 }
7665
7666 public function getContentDetails()
7667 {
7668 return $this->contentDetails;
7669 }
7670
7671 public function setEtag($etag)
7672 {
7673 $this->etag = $etag;
7674 }
7675
7676 public function getEtag()
7677 {
7678 return $this->etag;
7679 }
7680
7681 public function setId($id)
7682 {
7683 $this->id = $id;
7684 }
7685
7686 public function getId()
7687 {
7688 return $this->id;
7689 }
7690
7691 public function setKind($kind)
7692 {
7693 $this->kind = $kind;
7694 }
7695
7696 public function getKind()
7697 {
7698 return $this->kind;
7699 }
7700
7701 public function setPlayer(Analytify_Google_Service_YouTube_PlaylistPlayer $player)
7702 {
7703 $this->player = $player;
7704 }
7705
7706 public function getPlayer()
7707 {
7708 return $this->player;
7709 }
7710
7711 public function setSnippet(Analytify_Google_Service_YouTube_PlaylistSnippet $snippet)
7712 {
7713 $this->snippet = $snippet;
7714 }
7715
7716 public function getSnippet()
7717 {
7718 return $this->snippet;
7719 }
7720
7721 public function setStatus(Analytify_Google_Service_YouTube_PlaylistStatus $status)
7722 {
7723 $this->status = $status;
7724 }
7725
7726 public function getStatus()
7727 {
7728 return $this->status;
7729 }
7730 }
7731
7732 class Analytify_Google_Service_YouTube_PlaylistContentDetails extends Analytify_Google_Model
7733 {
7734 public $itemCount;
7735
7736 public function setItemCount($itemCount)
7737 {
7738 $this->itemCount = $itemCount;
7739 }
7740
7741 public function getItemCount()
7742 {
7743 return $this->itemCount;
7744 }
7745 }
7746
7747 class Analytify_Google_Service_YouTube_PlaylistItem extends Analytify_Google_Model
7748 {
7749 protected $contentDetailsType = 'Analytify_Google_Service_YouTube_PlaylistItemContentDetails';
7750 protected $contentDetailsDataType = '';
7751 public $etag;
7752 public $id;
7753 public $kind;
7754 protected $snippetType = 'Analytify_Google_Service_YouTube_PlaylistItemSnippet';
7755 protected $snippetDataType = '';
7756 protected $statusType = 'Analytify_Google_Service_YouTube_PlaylistItemStatus';
7757 protected $statusDataType = '';
7758
7759 public function setContentDetails(Analytify_Google_Service_YouTube_PlaylistItemContentDetails $contentDetails)
7760 {
7761 $this->contentDetails = $contentDetails;
7762 }
7763
7764 public function getContentDetails()
7765 {
7766 return $this->contentDetails;
7767 }
7768
7769 public function setEtag($etag)
7770 {
7771 $this->etag = $etag;
7772 }
7773
7774 public function getEtag()
7775 {
7776 return $this->etag;
7777 }
7778
7779 public function setId($id)
7780 {
7781 $this->id = $id;
7782 }
7783
7784 public function getId()
7785 {
7786 return $this->id;
7787 }
7788
7789 public function setKind($kind)
7790 {
7791 $this->kind = $kind;
7792 }
7793
7794 public function getKind()
7795 {
7796 return $this->kind;
7797 }
7798
7799 public function setSnippet(Analytify_Google_Service_YouTube_PlaylistItemSnippet $snippet)
7800 {
7801 $this->snippet = $snippet;
7802 }
7803
7804 public function getSnippet()
7805 {
7806 return $this->snippet;
7807 }
7808
7809 public function setStatus(Analytify_Google_Service_YouTube_PlaylistItemStatus $status)
7810 {
7811 $this->status = $status;
7812 }
7813
7814 public function getStatus()
7815 {
7816 return $this->status;
7817 }
7818 }
7819
7820 class Analytify_Google_Service_YouTube_PlaylistItemContentDetails extends Analytify_Google_Model
7821 {
7822 public $endAt;
7823 public $note;
7824 public $startAt;
7825 public $videoId;
7826
7827 public function setEndAt($endAt)
7828 {
7829 $this->endAt = $endAt;
7830 }
7831
7832 public function getEndAt()
7833 {
7834 return $this->endAt;
7835 }
7836
7837 public function setNote($note)
7838 {
7839 $this->note = $note;
7840 }
7841
7842 public function getNote()
7843 {
7844 return $this->note;
7845 }
7846
7847 public function setStartAt($startAt)
7848 {
7849 $this->startAt = $startAt;
7850 }
7851
7852 public function getStartAt()
7853 {
7854 return $this->startAt;
7855 }
7856
7857 public function setVideoId($videoId)
7858 {
7859 $this->videoId = $videoId;
7860 }
7861
7862 public function getVideoId()
7863 {
7864 return $this->videoId;
7865 }
7866 }
7867
7868 class Analytify_Google_Service_YouTube_PlaylistItemListResponse extends Analytify_Google_Collection
7869 {
7870 public $etag;
7871 public $eventId;
7872 protected $itemsType = 'Analytify_Google_Service_YouTube_PlaylistItem';
7873 protected $itemsDataType = 'array';
7874 public $kind;
7875 public $nextPageToken;
7876 protected $pageInfoType = 'Analytify_Google_Service_YouTube_PageInfo';
7877 protected $pageInfoDataType = '';
7878 public $prevPageToken;
7879 protected $tokenPaginationType = 'Analytify_Google_Service_YouTube_TokenPagination';
7880 protected $tokenPaginationDataType = '';
7881 public $visitorId;
7882
7883 public function setEtag($etag)
7884 {
7885 $this->etag = $etag;
7886 }
7887
7888 public function getEtag()
7889 {
7890 return $this->etag;
7891 }
7892
7893 public function setEventId($eventId)
7894 {
7895 $this->eventId = $eventId;
7896 }
7897
7898 public function getEventId()
7899 {
7900 return $this->eventId;
7901 }
7902
7903 public function setItems($items)
7904 {
7905 $this->items = $items;
7906 }
7907
7908 public function getItems()
7909 {
7910 return $this->items;
7911 }
7912
7913 public function setKind($kind)
7914 {
7915 $this->kind = $kind;
7916 }
7917
7918 public function getKind()
7919 {
7920 return $this->kind;
7921 }
7922
7923 public function setNextPageToken($nextPageToken)
7924 {
7925 $this->nextPageToken = $nextPageToken;
7926 }
7927
7928 public function getNextPageToken()
7929 {
7930 return $this->nextPageToken;
7931 }
7932
7933 public function setPageInfo(Analytify_Google_Service_YouTube_PageInfo $pageInfo)
7934 {
7935 $this->pageInfo = $pageInfo;
7936 }
7937
7938 public function getPageInfo()
7939 {
7940 return $this->pageInfo;
7941 }
7942
7943 public function setPrevPageToken($prevPageToken)
7944 {
7945 $this->prevPageToken = $prevPageToken;
7946 }
7947
7948 public function getPrevPageToken()
7949 {
7950 return $this->prevPageToken;
7951 }
7952
7953 public function setTokenPagination(Analytify_Google_Service_YouTube_TokenPagination $tokenPagination)
7954 {
7955 $this->tokenPagination = $tokenPagination;
7956 }
7957
7958 public function getTokenPagination()
7959 {
7960 return $this->tokenPagination;
7961 }
7962
7963 public function setVisitorId($visitorId)
7964 {
7965 $this->visitorId = $visitorId;
7966 }
7967
7968 public function getVisitorId()
7969 {
7970 return $this->visitorId;
7971 }
7972 }
7973
7974 class Analytify_Google_Service_YouTube_PlaylistItemSnippet extends Analytify_Google_Model
7975 {
7976 public $channelId;
7977 public $channelTitle;
7978 public $description;
7979 public $playlistId;
7980 public $position;
7981 public $publishedAt;
7982 protected $resourceIdType = 'Analytify_Google_Service_YouTube_ResourceId';
7983 protected $resourceIdDataType = '';
7984 protected $thumbnailsType = 'Analytify_Google_Service_YouTube_ThumbnailDetails';
7985 protected $thumbnailsDataType = '';
7986 public $title;
7987
7988 public function setChannelId($channelId)
7989 {
7990 $this->channelId = $channelId;
7991 }
7992
7993 public function getChannelId()
7994 {
7995 return $this->channelId;
7996 }
7997
7998 public function setChannelTitle($channelTitle)
7999 {
8000 $this->channelTitle = $channelTitle;
8001 }
8002
8003 public function getChannelTitle()
8004 {
8005 return $this->channelTitle;
8006 }
8007
8008 public function setDescription($description)
8009 {
8010 $this->description = $description;
8011 }
8012
8013 public function getDescription()
8014 {
8015 return $this->description;
8016 }
8017
8018 public function setPlaylistId($playlistId)
8019 {
8020 $this->playlistId = $playlistId;
8021 }
8022
8023 public function getPlaylistId()
8024 {
8025 return $this->playlistId;
8026 }
8027
8028 public function setPosition($position)
8029 {
8030 $this->position = $position;
8031 }
8032
8033 public function getPosition()
8034 {
8035 return $this->position;
8036 }
8037
8038 public function setPublishedAt($publishedAt)
8039 {
8040 $this->publishedAt = $publishedAt;
8041 }
8042
8043 public function getPublishedAt()
8044 {
8045 return $this->publishedAt;
8046 }
8047
8048 public function setResourceId(Analytify_Google_Service_YouTube_ResourceId $resourceId)
8049 {
8050 $this->resourceId = $resourceId;
8051 }
8052
8053 public function getResourceId()
8054 {
8055 return $this->resourceId;
8056 }
8057
8058 public function setThumbnails(Analytify_Google_Service_YouTube_ThumbnailDetails $thumbnails)
8059 {
8060 $this->thumbnails = $thumbnails;
8061 }
8062
8063 public function getThumbnails()
8064 {
8065 return $this->thumbnails;
8066 }
8067
8068 public function setTitle($title)
8069 {
8070 $this->title = $title;
8071 }
8072
8073 public function getTitle()
8074 {
8075 return $this->title;
8076 }
8077 }
8078
8079 class Analytify_Google_Service_YouTube_PlaylistItemStatus extends Analytify_Google_Model
8080 {
8081 public $privacyStatus;
8082
8083 public function setPrivacyStatus($privacyStatus)
8084 {
8085 $this->privacyStatus = $privacyStatus;
8086 }
8087
8088 public function getPrivacyStatus()
8089 {
8090 return $this->privacyStatus;
8091 }
8092 }
8093
8094 class Analytify_Google_Service_YouTube_PlaylistListResponse extends Analytify_Google_Collection
8095 {
8096 public $etag;
8097 public $eventId;
8098 protected $itemsType = 'Analytify_Google_Service_YouTube_Playlist';
8099 protected $itemsDataType = 'array';
8100 public $kind;
8101 public $nextPageToken;
8102 protected $pageInfoType = 'Analytify_Google_Service_YouTube_PageInfo';
8103 protected $pageInfoDataType = '';
8104 public $prevPageToken;
8105 protected $tokenPaginationType = 'Analytify_Google_Service_YouTube_TokenPagination';
8106 protected $tokenPaginationDataType = '';
8107 public $visitorId;
8108
8109 public function setEtag($etag)
8110 {
8111 $this->etag = $etag;
8112 }
8113
8114 public function getEtag()
8115 {
8116 return $this->etag;
8117 }
8118
8119 public function setEventId($eventId)
8120 {
8121 $this->eventId = $eventId;
8122 }
8123
8124 public function getEventId()
8125 {
8126 return $this->eventId;
8127 }
8128
8129 public function setItems($items)
8130 {
8131 $this->items = $items;
8132 }
8133
8134 public function getItems()
8135 {
8136 return $this->items;
8137 }
8138
8139 public function setKind($kind)
8140 {
8141 $this->kind = $kind;
8142 }
8143
8144 public function getKind()
8145 {
8146 return $this->kind;
8147 }
8148
8149 public function setNextPageToken($nextPageToken)
8150 {
8151 $this->nextPageToken = $nextPageToken;
8152 }
8153
8154 public function getNextPageToken()
8155 {
8156 return $this->nextPageToken;
8157 }
8158
8159 public function setPageInfo(Analytify_Google_Service_YouTube_PageInfo $pageInfo)
8160 {
8161 $this->pageInfo = $pageInfo;
8162 }
8163
8164 public function getPageInfo()
8165 {
8166 return $this->pageInfo;
8167 }
8168
8169 public function setPrevPageToken($prevPageToken)
8170 {
8171 $this->prevPageToken = $prevPageToken;
8172 }
8173
8174 public function getPrevPageToken()
8175 {
8176 return $this->prevPageToken;
8177 }
8178
8179 public function setTokenPagination(Analytify_Google_Service_YouTube_TokenPagination $tokenPagination)
8180 {
8181 $this->tokenPagination = $tokenPagination;
8182 }
8183
8184 public function getTokenPagination()
8185 {
8186 return $this->tokenPagination;
8187 }
8188
8189 public function setVisitorId($visitorId)
8190 {
8191 $this->visitorId = $visitorId;
8192 }
8193
8194 public function getVisitorId()
8195 {
8196 return $this->visitorId;
8197 }
8198 }
8199
8200 class Analytify_Google_Service_YouTube_PlaylistPlayer extends Analytify_Google_Model
8201 {
8202 public $embedHtml;
8203
8204 public function setEmbedHtml($embedHtml)
8205 {
8206 $this->embedHtml = $embedHtml;
8207 }
8208
8209 public function getEmbedHtml()
8210 {
8211 return $this->embedHtml;
8212 }
8213 }
8214
8215 class Analytify_Google_Service_YouTube_PlaylistSnippet extends Analytify_Google_Collection
8216 {
8217 public $channelId;
8218 public $channelTitle;
8219 public $description;
8220 public $publishedAt;
8221 public $tags;
8222 protected $thumbnailsType = 'Analytify_Google_Service_YouTube_ThumbnailDetails';
8223 protected $thumbnailsDataType = '';
8224 public $title;
8225
8226 public function setChannelId($channelId)
8227 {
8228 $this->channelId = $channelId;
8229 }
8230
8231 public function getChannelId()
8232 {
8233 return $this->channelId;
8234 }
8235
8236 public function setChannelTitle($channelTitle)
8237 {
8238 $this->channelTitle = $channelTitle;
8239 }
8240
8241 public function getChannelTitle()
8242 {
8243 return $this->channelTitle;
8244 }
8245
8246 public function setDescription($description)
8247 {
8248 $this->description = $description;
8249 }
8250
8251 public function getDescription()
8252 {
8253 return $this->description;
8254 }
8255
8256 public function setPublishedAt($publishedAt)
8257 {
8258 $this->publishedAt = $publishedAt;
8259 }
8260
8261 public function getPublishedAt()
8262 {
8263 return $this->publishedAt;
8264 }
8265
8266 public function setTags($tags)
8267 {
8268 $this->tags = $tags;
8269 }
8270
8271 public function getTags()
8272 {
8273 return $this->tags;
8274 }
8275
8276 public function setThumbnails(Analytify_Google_Service_YouTube_ThumbnailDetails $thumbnails)
8277 {
8278 $this->thumbnails = $thumbnails;
8279 }
8280
8281 public function getThumbnails()
8282 {
8283 return $this->thumbnails;
8284 }
8285
8286 public function setTitle($title)
8287 {
8288 $this->title = $title;
8289 }
8290
8291 public function getTitle()
8292 {
8293 return $this->title;
8294 }
8295 }
8296
8297 class Analytify_Google_Service_YouTube_PlaylistStatus extends Analytify_Google_Model
8298 {
8299 public $privacyStatus;
8300
8301 public function setPrivacyStatus($privacyStatus)
8302 {
8303 $this->privacyStatus = $privacyStatus;
8304 }
8305
8306 public function getPrivacyStatus()
8307 {
8308 return $this->privacyStatus;
8309 }
8310 }
8311
8312 class Analytify_Google_Service_YouTube_PromotedItem extends Analytify_Google_Model
8313 {
8314 public $customMessage;
8315 protected $idType = 'Analytify_Google_Service_YouTube_PromotedItemId';
8316 protected $idDataType = '';
8317 public $promotedByContentOwner;
8318 protected $timingType = 'Analytify_Google_Service_YouTube_InvideoTiming';
8319 protected $timingDataType = '';
8320
8321 public function setCustomMessage($customMessage)
8322 {
8323 $this->customMessage = $customMessage;
8324 }
8325
8326 public function getCustomMessage()
8327 {
8328 return $this->customMessage;
8329 }
8330
8331 public function setId(Analytify_Google_Service_YouTube_PromotedItemId $id)
8332 {
8333 $this->id = $id;
8334 }
8335
8336 public function getId()
8337 {
8338 return $this->id;
8339 }
8340
8341 public function setPromotedByContentOwner($promotedByContentOwner)
8342 {
8343 $this->promotedByContentOwner = $promotedByContentOwner;
8344 }
8345
8346 public function getPromotedByContentOwner()
8347 {
8348 return $this->promotedByContentOwner;
8349 }
8350
8351 public function setTiming(Analytify_Google_Service_YouTube_InvideoTiming $timing)
8352 {
8353 $this->timing = $timing;
8354 }
8355
8356 public function getTiming()
8357 {
8358 return $this->timing;
8359 }
8360 }
8361
8362 class Analytify_Google_Service_YouTube_PromotedItemId extends Analytify_Google_Model
8363 {
8364 public $recentlyUploadedBy;
8365 public $type;
8366 public $videoId;
8367 public $websiteUrl;
8368
8369 public function setRecentlyUploadedBy($recentlyUploadedBy)
8370 {
8371 $this->recentlyUploadedBy = $recentlyUploadedBy;
8372 }
8373
8374 public function getRecentlyUploadedBy()
8375 {
8376 return $this->recentlyUploadedBy;
8377 }
8378
8379 public function setType($type)
8380 {
8381 $this->type = $type;
8382 }
8383
8384 public function getType()
8385 {
8386 return $this->type;
8387 }
8388
8389 public function setVideoId($videoId)
8390 {
8391 $this->videoId = $videoId;
8392 }
8393
8394 public function getVideoId()
8395 {
8396 return $this->videoId;
8397 }
8398
8399 public function setWebsiteUrl($websiteUrl)
8400 {
8401 $this->websiteUrl = $websiteUrl;
8402 }
8403
8404 public function getWebsiteUrl()
8405 {
8406 return $this->websiteUrl;
8407 }
8408 }
8409
8410 class Analytify_Google_Service_YouTube_PropertyValue extends Analytify_Google_Model
8411 {
8412 public $property;
8413 public $value;
8414
8415 public function setProperty($property)
8416 {
8417 $this->property = $property;
8418 }
8419
8420 public function getProperty()
8421 {
8422 return $this->property;
8423 }
8424
8425 public function setValue($value)
8426 {
8427 $this->value = $value;
8428 }
8429
8430 public function getValue()
8431 {
8432 return $this->value;
8433 }
8434 }
8435
8436 class Analytify_Google_Service_YouTube_ResourceId extends Analytify_Google_Model
8437 {
8438 public $channelId;
8439 public $kind;
8440 public $playlistId;
8441 public $videoId;
8442
8443 public function setChannelId($channelId)
8444 {
8445 $this->channelId = $channelId;
8446 }
8447
8448 public function getChannelId()
8449 {
8450 return $this->channelId;
8451 }
8452
8453 public function setKind($kind)
8454 {
8455 $this->kind = $kind;
8456 }
8457
8458 public function getKind()
8459 {
8460 return $this->kind;
8461 }
8462
8463 public function setPlaylistId($playlistId)
8464 {
8465 $this->playlistId = $playlistId;
8466 }
8467
8468 public function getPlaylistId()
8469 {
8470 return $this->playlistId;
8471 }
8472
8473 public function setVideoId($videoId)
8474 {
8475 $this->videoId = $videoId;
8476 }
8477
8478 public function getVideoId()
8479 {
8480 return $this->videoId;
8481 }
8482 }
8483
8484 class Analytify_Google_Service_YouTube_SearchListResponse extends Analytify_Google_Collection
8485 {
8486 public $etag;
8487 public $eventId;
8488 protected $itemsType = 'Analytify_Google_Service_YouTube_SearchResult';
8489 protected $itemsDataType = 'array';
8490 public $kind;
8491 public $nextPageToken;
8492 protected $pageInfoType = 'Analytify_Google_Service_YouTube_PageInfo';
8493 protected $pageInfoDataType = '';
8494 public $prevPageToken;
8495 protected $tokenPaginationType = 'Analytify_Google_Service_YouTube_TokenPagination';
8496 protected $tokenPaginationDataType = '';
8497 public $visitorId;
8498
8499 public function setEtag($etag)
8500 {
8501 $this->etag = $etag;
8502 }
8503
8504 public function getEtag()
8505 {
8506 return $this->etag;
8507 }
8508
8509 public function setEventId($eventId)
8510 {
8511 $this->eventId = $eventId;
8512 }
8513
8514 public function getEventId()
8515 {
8516 return $this->eventId;
8517 }
8518
8519 public function setItems($items)
8520 {
8521 $this->items = $items;
8522 }
8523
8524 public function getItems()
8525 {
8526 return $this->items;
8527 }
8528
8529 public function setKind($kind)
8530 {
8531 $this->kind = $kind;
8532 }
8533
8534 public function getKind()
8535 {
8536 return $this->kind;
8537 }
8538
8539 public function setNextPageToken($nextPageToken)
8540 {
8541 $this->nextPageToken = $nextPageToken;
8542 }
8543
8544 public function getNextPageToken()
8545 {
8546 return $this->nextPageToken;
8547 }
8548
8549 public function setPageInfo(Analytify_Google_Service_YouTube_PageInfo $pageInfo)
8550 {
8551 $this->pageInfo = $pageInfo;
8552 }
8553
8554 public function getPageInfo()
8555 {
8556 return $this->pageInfo;
8557 }
8558
8559 public function setPrevPageToken($prevPageToken)
8560 {
8561 $this->prevPageToken = $prevPageToken;
8562 }
8563
8564 public function getPrevPageToken()
8565 {
8566 return $this->prevPageToken;
8567 }
8568
8569 public function setTokenPagination(Analytify_Google_Service_YouTube_TokenPagination $tokenPagination)
8570 {
8571 $this->tokenPagination = $tokenPagination;
8572 }
8573
8574 public function getTokenPagination()
8575 {
8576 return $this->tokenPagination;
8577 }
8578
8579 public function setVisitorId($visitorId)
8580 {
8581 $this->visitorId = $visitorId;
8582 }
8583
8584 public function getVisitorId()
8585 {
8586 return $this->visitorId;
8587 }
8588 }
8589
8590 class Analytify_Google_Service_YouTube_SearchResult extends Analytify_Google_Model
8591 {
8592 public $etag;
8593 protected $idType = 'Analytify_Google_Service_YouTube_ResourceId';
8594 protected $idDataType = '';
8595 public $kind;
8596 protected $snippetType = 'Analytify_Google_Service_YouTube_SearchResultSnippet';
8597 protected $snippetDataType = '';
8598
8599 public function setEtag($etag)
8600 {
8601 $this->etag = $etag;
8602 }
8603
8604 public function getEtag()
8605 {
8606 return $this->etag;
8607 }
8608
8609 public function setId(Analytify_Google_Service_YouTube_ResourceId $id)
8610 {
8611 $this->id = $id;
8612 }
8613
8614 public function getId()
8615 {
8616 return $this->id;
8617 }
8618
8619 public function setKind($kind)
8620 {
8621 $this->kind = $kind;
8622 }
8623
8624 public function getKind()
8625 {
8626 return $this->kind;
8627 }
8628
8629 public function setSnippet(Analytify_Google_Service_YouTube_SearchResultSnippet $snippet)
8630 {
8631 $this->snippet = $snippet;
8632 }
8633
8634 public function getSnippet()
8635 {
8636 return $this->snippet;
8637 }
8638 }
8639
8640 class Analytify_Google_Service_YouTube_SearchResultSnippet extends Analytify_Google_Model
8641 {
8642 public $channelId;
8643 public $channelTitle;
8644 public $description;
8645 public $liveBroadcastContent;
8646 public $publishedAt;
8647 protected $thumbnailsType = 'Analytify_Google_Service_YouTube_ThumbnailDetails';
8648 protected $thumbnailsDataType = '';
8649 public $title;
8650
8651 public function setChannelId($channelId)
8652 {
8653 $this->channelId = $channelId;
8654 }
8655
8656 public function getChannelId()
8657 {
8658 return $this->channelId;
8659 }
8660
8661 public function setChannelTitle($channelTitle)
8662 {
8663 $this->channelTitle = $channelTitle;
8664 }
8665
8666 public function getChannelTitle()
8667 {
8668 return $this->channelTitle;
8669 }
8670
8671 public function setDescription($description)
8672 {
8673 $this->description = $description;
8674 }
8675
8676 public function getDescription()
8677 {
8678 return $this->description;
8679 }
8680
8681 public function setLiveBroadcastContent($liveBroadcastContent)
8682 {
8683 $this->liveBroadcastContent = $liveBroadcastContent;
8684 }
8685
8686 public function getLiveBroadcastContent()
8687 {
8688 return $this->liveBroadcastContent;
8689 }
8690
8691 public function setPublishedAt($publishedAt)
8692 {
8693 $this->publishedAt = $publishedAt;
8694 }
8695
8696 public function getPublishedAt()
8697 {
8698 return $this->publishedAt;
8699 }
8700
8701 public function setThumbnails(Analytify_Google_Service_YouTube_ThumbnailDetails $thumbnails)
8702 {
8703 $this->thumbnails = $thumbnails;
8704 }
8705
8706 public function getThumbnails()
8707 {
8708 return $this->thumbnails;
8709 }
8710
8711 public function setTitle($title)
8712 {
8713 $this->title = $title;
8714 }
8715
8716 public function getTitle()
8717 {
8718 return $this->title;
8719 }
8720 }
8721
8722 class Analytify_Google_Service_YouTube_Subscription extends Analytify_Google_Model
8723 {
8724 protected $contentDetailsType = 'Analytify_Google_Service_YouTube_SubscriptionContentDetails';
8725 protected $contentDetailsDataType = '';
8726 public $etag;
8727 public $id;
8728 public $kind;
8729 protected $snippetType = 'Analytify_Google_Service_YouTube_SubscriptionSnippet';
8730 protected $snippetDataType = '';
8731 protected $subscriberSnippetType = 'Analytify_Google_Service_YouTube_SubscriptionSubscriberSnippet';
8732 protected $subscriberSnippetDataType = '';
8733
8734 public function setContentDetails(Analytify_Google_Service_YouTube_SubscriptionContentDetails $contentDetails)
8735 {
8736 $this->contentDetails = $contentDetails;
8737 }
8738
8739 public function getContentDetails()
8740 {
8741 return $this->contentDetails;
8742 }
8743
8744 public function setEtag($etag)
8745 {
8746 $this->etag = $etag;
8747 }
8748
8749 public function getEtag()
8750 {
8751 return $this->etag;
8752 }
8753
8754 public function setId($id)
8755 {
8756 $this->id = $id;
8757 }
8758
8759 public function getId()
8760 {
8761 return $this->id;
8762 }
8763
8764 public function setKind($kind)
8765 {
8766 $this->kind = $kind;
8767 }
8768
8769 public function getKind()
8770 {
8771 return $this->kind;
8772 }
8773
8774 public function setSnippet(Analytify_Google_Service_YouTube_SubscriptionSnippet $snippet)
8775 {
8776 $this->snippet = $snippet;
8777 }
8778
8779 public function getSnippet()
8780 {
8781 return $this->snippet;
8782 }
8783
8784 public function setSubscriberSnippet(Analytify_Google_Service_YouTube_SubscriptionSubscriberSnippet $subscriberSnippet)
8785 {
8786 $this->subscriberSnippet = $subscriberSnippet;
8787 }
8788
8789 public function getSubscriberSnippet()
8790 {
8791 return $this->subscriberSnippet;
8792 }
8793 }
8794
8795 class Analytify_Google_Service_YouTube_SubscriptionContentDetails extends Analytify_Google_Model
8796 {
8797 public $activityType;
8798 public $newItemCount;
8799 public $totalItemCount;
8800
8801 public function setActivityType($activityType)
8802 {
8803 $this->activityType = $activityType;
8804 }
8805
8806 public function getActivityType()
8807 {
8808 return $this->activityType;
8809 }
8810
8811 public function setNewItemCount($newItemCount)
8812 {
8813 $this->newItemCount = $newItemCount;
8814 }
8815
8816 public function getNewItemCount()
8817 {
8818 return $this->newItemCount;
8819 }
8820
8821 public function setTotalItemCount($totalItemCount)
8822 {
8823 $this->totalItemCount = $totalItemCount;
8824 }
8825
8826 public function getTotalItemCount()
8827 {
8828 return $this->totalItemCount;
8829 }
8830 }
8831
8832 class Analytify_Google_Service_YouTube_SubscriptionListResponse extends Analytify_Google_Collection
8833 {
8834 public $etag;
8835 public $eventId;
8836 protected $itemsType = 'Analytify_Google_Service_YouTube_Subscription';
8837 protected $itemsDataType = 'array';
8838 public $kind;
8839 public $nextPageToken;
8840 protected $pageInfoType = 'Analytify_Google_Service_YouTube_PageInfo';
8841 protected $pageInfoDataType = '';
8842 public $prevPageToken;
8843 protected $tokenPaginationType = 'Analytify_Google_Service_YouTube_TokenPagination';
8844 protected $tokenPaginationDataType = '';
8845 public $visitorId;
8846
8847 public function setEtag($etag)
8848 {
8849 $this->etag = $etag;
8850 }
8851
8852 public function getEtag()
8853 {
8854 return $this->etag;
8855 }
8856
8857 public function setEventId($eventId)
8858 {
8859 $this->eventId = $eventId;
8860 }
8861
8862 public function getEventId()
8863 {
8864 return $this->eventId;
8865 }
8866
8867 public function setItems($items)
8868 {
8869 $this->items = $items;
8870 }
8871
8872 public function getItems()
8873 {
8874 return $this->items;
8875 }
8876
8877 public function setKind($kind)
8878 {
8879 $this->kind = $kind;
8880 }
8881
8882 public function getKind()
8883 {
8884 return $this->kind;
8885 }
8886
8887 public function setNextPageToken($nextPageToken)
8888 {
8889 $this->nextPageToken = $nextPageToken;
8890 }
8891
8892 public function getNextPageToken()
8893 {
8894 return $this->nextPageToken;
8895 }
8896
8897 public function setPageInfo(Analytify_Google_Service_YouTube_PageInfo $pageInfo)
8898 {
8899 $this->pageInfo = $pageInfo;
8900 }
8901
8902 public function getPageInfo()
8903 {
8904 return $this->pageInfo;
8905 }
8906
8907 public function setPrevPageToken($prevPageToken)
8908 {
8909 $this->prevPageToken = $prevPageToken;
8910 }
8911
8912 public function getPrevPageToken()
8913 {
8914 return $this->prevPageToken;
8915 }
8916
8917 public function setTokenPagination(Analytify_Google_Service_YouTube_TokenPagination $tokenPagination)
8918 {
8919 $this->tokenPagination = $tokenPagination;
8920 }
8921
8922 public function getTokenPagination()
8923 {
8924 return $this->tokenPagination;
8925 }
8926
8927 public function setVisitorId($visitorId)
8928 {
8929 $this->visitorId = $visitorId;
8930 }
8931
8932 public function getVisitorId()
8933 {
8934 return $this->visitorId;
8935 }
8936 }
8937
8938 class Analytify_Google_Service_YouTube_SubscriptionSnippet extends Analytify_Google_Model
8939 {
8940 public $channelId;
8941 public $channelTitle;
8942 public $description;
8943 public $publishedAt;
8944 protected $resourceIdType = 'Analytify_Google_Service_YouTube_ResourceId';
8945 protected $resourceIdDataType = '';
8946 protected $thumbnailsType = 'Analytify_Google_Service_YouTube_ThumbnailDetails';
8947 protected $thumbnailsDataType = '';
8948 public $title;
8949
8950 public function setChannelId($channelId)
8951 {
8952 $this->channelId = $channelId;
8953 }
8954
8955 public function getChannelId()
8956 {
8957 return $this->channelId;
8958 }
8959
8960 public function setChannelTitle($channelTitle)
8961 {
8962 $this->channelTitle = $channelTitle;
8963 }
8964
8965 public function getChannelTitle()
8966 {
8967 return $this->channelTitle;
8968 }
8969
8970 public function setDescription($description)
8971 {
8972 $this->description = $description;
8973 }
8974
8975 public function getDescription()
8976 {
8977 return $this->description;
8978 }
8979
8980 public function setPublishedAt($publishedAt)
8981 {
8982 $this->publishedAt = $publishedAt;
8983 }
8984
8985 public function getPublishedAt()
8986 {
8987 return $this->publishedAt;
8988 }
8989
8990 public function setResourceId(Analytify_Google_Service_YouTube_ResourceId $resourceId)
8991 {
8992 $this->resourceId = $resourceId;
8993 }
8994
8995 public function getResourceId()
8996 {
8997 return $this->resourceId;
8998 }
8999
9000 public function setThumbnails(Analytify_Google_Service_YouTube_ThumbnailDetails $thumbnails)
9001 {
9002 $this->thumbnails = $thumbnails;
9003 }
9004
9005 public function getThumbnails()
9006 {
9007 return $this->thumbnails;
9008 }
9009
9010 public function setTitle($title)
9011 {
9012 $this->title = $title;
9013 }
9014
9015 public function getTitle()
9016 {
9017 return $this->title;
9018 }
9019 }
9020
9021 class Analytify_Google_Service_YouTube_SubscriptionSubscriberSnippet extends Analytify_Google_Model
9022 {
9023 public $channelId;
9024 public $description;
9025 protected $thumbnailsType = 'Analytify_Google_Service_YouTube_ThumbnailDetails';
9026 protected $thumbnailsDataType = '';
9027 public $title;
9028
9029 public function setChannelId($channelId)
9030 {
9031 $this->channelId = $channelId;
9032 }
9033
9034 public function getChannelId()
9035 {
9036 return $this->channelId;
9037 }
9038
9039 public function setDescription($description)
9040 {
9041 $this->description = $description;
9042 }
9043
9044 public function getDescription()
9045 {
9046 return $this->description;
9047 }
9048
9049 public function setThumbnails(Analytify_Google_Service_YouTube_ThumbnailDetails $thumbnails)
9050 {
9051 $this->thumbnails = $thumbnails;
9052 }
9053
9054 public function getThumbnails()
9055 {
9056 return $this->thumbnails;
9057 }
9058
9059 public function setTitle($title)
9060 {
9061 $this->title = $title;
9062 }
9063
9064 public function getTitle()
9065 {
9066 return $this->title;
9067 }
9068 }
9069
9070 class Analytify_Google_Service_YouTube_Thumbnail extends Analytify_Google_Model
9071 {
9072 public $height;
9073 public $url;
9074 public $width;
9075
9076 public function setHeight($height)
9077 {
9078 $this->height = $height;
9079 }
9080
9081 public function getHeight()
9082 {
9083 return $this->height;
9084 }
9085
9086 public function setUrl($url)
9087 {
9088 $this->url = $url;
9089 }
9090
9091 public function getUrl()
9092 {
9093 return $this->url;
9094 }
9095
9096 public function setWidth($width)
9097 {
9098 $this->width = $width;
9099 }
9100
9101 public function getWidth()
9102 {
9103 return $this->width;
9104 }
9105 }
9106
9107 class Analytify_Google_Service_YouTube_ThumbnailDetails extends Analytify_Google_Model
9108 {
9109 protected $defaultType = 'Analytify_Google_Service_YouTube_Thumbnail';
9110 protected $defaultDataType = '';
9111 protected $highType = 'Analytify_Google_Service_YouTube_Thumbnail';
9112 protected $highDataType = '';
9113 protected $maxresType = 'Analytify_Google_Service_YouTube_Thumbnail';
9114 protected $maxresDataType = '';
9115 protected $mediumType = 'Analytify_Google_Service_YouTube_Thumbnail';
9116 protected $mediumDataType = '';
9117 protected $standardType = 'Analytify_Google_Service_YouTube_Thumbnail';
9118 protected $standardDataType = '';
9119
9120 public function setDefault(Analytify_Google_Service_YouTube_Thumbnail $default)
9121 {
9122 $this->default = $default;
9123 }
9124
9125 public function getDefault()
9126 {
9127 return $this->default;
9128 }
9129
9130 public function setHigh(Analytify_Google_Service_YouTube_Thumbnail $high)
9131 {
9132 $this->high = $high;
9133 }
9134
9135 public function getHigh()
9136 {
9137 return $this->high;
9138 }
9139
9140 public function setMaxres(Analytify_Google_Service_YouTube_Thumbnail $maxres)
9141 {
9142 $this->maxres = $maxres;
9143 }
9144
9145 public function getMaxres()
9146 {
9147 return $this->maxres;
9148 }
9149
9150 public function setMedium(Analytify_Google_Service_YouTube_Thumbnail $medium)
9151 {
9152 $this->medium = $medium;
9153 }
9154
9155 public function getMedium()
9156 {
9157 return $this->medium;
9158 }
9159
9160 public function setStandard(Analytify_Google_Service_YouTube_Thumbnail $standard)
9161 {
9162 $this->standard = $standard;
9163 }
9164
9165 public function getStandard()
9166 {
9167 return $this->standard;
9168 }
9169 }
9170
9171 class Analytify_Google_Service_YouTube_ThumbnailSetResponse extends Analytify_Google_Collection
9172 {
9173 public $etag;
9174 public $eventId;
9175 protected $itemsType = 'Analytify_Google_Service_YouTube_ThumbnailDetails';
9176 protected $itemsDataType = 'array';
9177 public $kind;
9178 public $visitorId;
9179
9180 public function setEtag($etag)
9181 {
9182 $this->etag = $etag;
9183 }
9184
9185 public function getEtag()
9186 {
9187 return $this->etag;
9188 }
9189
9190 public function setEventId($eventId)
9191 {
9192 $this->eventId = $eventId;
9193 }
9194
9195 public function getEventId()
9196 {
9197 return $this->eventId;
9198 }
9199
9200 public function setItems($items)
9201 {
9202 $this->items = $items;
9203 }
9204
9205 public function getItems()
9206 {
9207 return $this->items;
9208 }
9209
9210 public function setKind($kind)
9211 {
9212 $this->kind = $kind;
9213 }
9214
9215 public function getKind()
9216 {
9217 return $this->kind;
9218 }
9219
9220 public function setVisitorId($visitorId)
9221 {
9222 $this->visitorId = $visitorId;
9223 }
9224
9225 public function getVisitorId()
9226 {
9227 return $this->visitorId;
9228 }
9229 }
9230
9231 class Analytify_Google_Service_YouTube_TokenPagination extends Analytify_Google_Model
9232 {
9233
9234 }
9235
9236 class Analytify_Google_Service_YouTube_Video extends Analytify_Google_Model
9237 {
9238 protected $ageGatingType = 'Analytify_Google_Service_YouTube_VideoAgeGating';
9239 protected $ageGatingDataType = '';
9240 protected $contentDetailsType = 'Analytify_Google_Service_YouTube_VideoContentDetails';
9241 protected $contentDetailsDataType = '';
9242 protected $conversionPingsType = 'Analytify_Google_Service_YouTube_VideoConversionPings';
9243 protected $conversionPingsDataType = '';
9244 public $etag;
9245 protected $fileDetailsType = 'Analytify_Google_Service_YouTube_VideoFileDetails';
9246 protected $fileDetailsDataType = '';
9247 public $id;
9248 public $kind;
9249 protected $liveStreamingDetailsType = 'Analytify_Google_Service_YouTube_VideoLiveStreamingDetails';
9250 protected $liveStreamingDetailsDataType = '';
9251 protected $monetizationDetailsType = 'Analytify_Google_Service_YouTube_VideoMonetizationDetails';
9252 protected $monetizationDetailsDataType = '';
9253 protected $playerType = 'Analytify_Google_Service_YouTube_VideoPlayer';
9254 protected $playerDataType = '';
9255 protected $processingDetailsType = 'Analytify_Google_Service_YouTube_VideoProcessingDetails';
9256 protected $processingDetailsDataType = '';
9257 protected $projectDetailsType = 'Analytify_Google_Service_YouTube_VideoProjectDetails';
9258 protected $projectDetailsDataType = '';
9259 protected $recordingDetailsType = 'Analytify_Google_Service_YouTube_VideoRecordingDetails';
9260 protected $recordingDetailsDataType = '';
9261 protected $snippetType = 'Analytify_Google_Service_YouTube_VideoSnippet';
9262 protected $snippetDataType = '';
9263 protected $statisticsType = 'Analytify_Google_Service_YouTube_VideoStatistics';
9264 protected $statisticsDataType = '';
9265 protected $statusType = 'Analytify_Google_Service_YouTube_VideoStatus';
9266 protected $statusDataType = '';
9267 protected $suggestionsType = 'Analytify_Google_Service_YouTube_VideoSuggestions';
9268 protected $suggestionsDataType = '';
9269 protected $topicDetailsType = 'Analytify_Google_Service_YouTube_VideoTopicDetails';
9270 protected $topicDetailsDataType = '';
9271
9272 public function setAgeGating(Analytify_Google_Service_YouTube_VideoAgeGating $ageGating)
9273 {
9274 $this->ageGating = $ageGating;
9275 }
9276
9277 public function getAgeGating()
9278 {
9279 return $this->ageGating;
9280 }
9281
9282 public function setContentDetails(Analytify_Google_Service_YouTube_VideoContentDetails $contentDetails)
9283 {
9284 $this->contentDetails = $contentDetails;
9285 }
9286
9287 public function getContentDetails()
9288 {
9289 return $this->contentDetails;
9290 }
9291
9292 public function setConversionPings(Analytify_Google_Service_YouTube_VideoConversionPings $conversionPings)
9293 {
9294 $this->conversionPings = $conversionPings;
9295 }
9296
9297 public function getConversionPings()
9298 {
9299 return $this->conversionPings;
9300 }
9301
9302 public function setEtag($etag)
9303 {
9304 $this->etag = $etag;
9305 }
9306
9307 public function getEtag()
9308 {
9309 return $this->etag;
9310 }
9311
9312 public function setFileDetails(Analytify_Google_Service_YouTube_VideoFileDetails $fileDetails)
9313 {
9314 $this->fileDetails = $fileDetails;
9315 }
9316
9317 public function getFileDetails()
9318 {
9319 return $this->fileDetails;
9320 }
9321
9322 public function setId($id)
9323 {
9324 $this->id = $id;
9325 }
9326
9327 public function getId()
9328 {
9329 return $this->id;
9330 }
9331
9332 public function setKind($kind)
9333 {
9334 $this->kind = $kind;
9335 }
9336
9337 public function getKind()
9338 {
9339 return $this->kind;
9340 }
9341
9342 public function setLiveStreamingDetails(Analytify_Google_Service_YouTube_VideoLiveStreamingDetails $liveStreamingDetails)
9343 {
9344 $this->liveStreamingDetails = $liveStreamingDetails;
9345 }
9346
9347 public function getLiveStreamingDetails()
9348 {
9349 return $this->liveStreamingDetails;
9350 }
9351
9352 public function setMonetizationDetails(Analytify_Google_Service_YouTube_VideoMonetizationDetails $monetizationDetails)
9353 {
9354 $this->monetizationDetails = $monetizationDetails;
9355 }
9356
9357 public function getMonetizationDetails()
9358 {
9359 return $this->monetizationDetails;
9360 }
9361
9362 public function setPlayer(Analytify_Google_Service_YouTube_VideoPlayer $player)
9363 {
9364 $this->player = $player;
9365 }
9366
9367 public function getPlayer()
9368 {
9369 return $this->player;
9370 }
9371
9372 public function setProcessingDetails(Analytify_Google_Service_YouTube_VideoProcessingDetails $processingDetails)
9373 {
9374 $this->processingDetails = $processingDetails;
9375 }
9376
9377 public function getProcessingDetails()
9378 {
9379 return $this->processingDetails;
9380 }
9381
9382 public function setProjectDetails(Analytify_Google_Service_YouTube_VideoProjectDetails $projectDetails)
9383 {
9384 $this->projectDetails = $projectDetails;
9385 }
9386
9387 public function getProjectDetails()
9388 {
9389 return $this->projectDetails;
9390 }
9391
9392 public function setRecordingDetails(Analytify_Google_Service_YouTube_VideoRecordingDetails $recordingDetails)
9393 {
9394 $this->recordingDetails = $recordingDetails;
9395 }
9396
9397 public function getRecordingDetails()
9398 {
9399 return $this->recordingDetails;
9400 }
9401
9402 public function setSnippet(Analytify_Google_Service_YouTube_VideoSnippet $snippet)
9403 {
9404 $this->snippet = $snippet;
9405 }
9406
9407 public function getSnippet()
9408 {
9409 return $this->snippet;
9410 }
9411
9412 public function setStatistics(Analytify_Google_Service_YouTube_VideoStatistics $statistics)
9413 {
9414 $this->statistics = $statistics;
9415 }
9416
9417 public function getStatistics()
9418 {
9419 return $this->statistics;
9420 }
9421
9422 public function setStatus(Analytify_Google_Service_YouTube_VideoStatus $status)
9423 {
9424 $this->status = $status;
9425 }
9426
9427 public function getStatus()
9428 {
9429 return $this->status;
9430 }
9431
9432 public function setSuggestions(Analytify_Google_Service_YouTube_VideoSuggestions $suggestions)
9433 {
9434 $this->suggestions = $suggestions;
9435 }
9436
9437 public function getSuggestions()
9438 {
9439 return $this->suggestions;
9440 }
9441
9442 public function setTopicDetails(Analytify_Google_Service_YouTube_VideoTopicDetails $topicDetails)
9443 {
9444 $this->topicDetails = $topicDetails;
9445 }
9446
9447 public function getTopicDetails()
9448 {
9449 return $this->topicDetails;
9450 }
9451 }
9452
9453 class Analytify_Google_Service_YouTube_VideoAgeGating extends Analytify_Google_Model
9454 {
9455 public $alcoholContent;
9456 public $restricted;
9457 public $videoGameRating;
9458
9459 public function setAlcoholContent($alcoholContent)
9460 {
9461 $this->alcoholContent = $alcoholContent;
9462 }
9463
9464 public function getAlcoholContent()
9465 {
9466 return $this->alcoholContent;
9467 }
9468
9469 public function setRestricted($restricted)
9470 {
9471 $this->restricted = $restricted;
9472 }
9473
9474 public function getRestricted()
9475 {
9476 return $this->restricted;
9477 }
9478
9479 public function setVideoGameRating($videoGameRating)
9480 {
9481 $this->videoGameRating = $videoGameRating;
9482 }
9483
9484 public function getVideoGameRating()
9485 {
9486 return $this->videoGameRating;
9487 }
9488 }
9489
9490 class Analytify_Google_Service_YouTube_VideoCategory extends Analytify_Google_Model
9491 {
9492 public $etag;
9493 public $id;
9494 public $kind;
9495 protected $snippetType = 'Analytify_Google_Service_YouTube_VideoCategorySnippet';
9496 protected $snippetDataType = '';
9497
9498 public function setEtag($etag)
9499 {
9500 $this->etag = $etag;
9501 }
9502
9503 public function getEtag()
9504 {
9505 return $this->etag;
9506 }
9507
9508 public function setId($id)
9509 {
9510 $this->id = $id;
9511 }
9512
9513 public function getId()
9514 {
9515 return $this->id;
9516 }
9517
9518 public function setKind($kind)
9519 {
9520 $this->kind = $kind;
9521 }
9522
9523 public function getKind()
9524 {
9525 return $this->kind;
9526 }
9527
9528 public function setSnippet(Analytify_Google_Service_YouTube_VideoCategorySnippet $snippet)
9529 {
9530 $this->snippet = $snippet;
9531 }
9532
9533 public function getSnippet()
9534 {
9535 return $this->snippet;
9536 }
9537 }
9538
9539 class Analytify_Google_Service_YouTube_VideoCategoryListResponse extends Analytify_Google_Collection
9540 {
9541 public $etag;
9542 public $eventId;
9543 protected $itemsType = 'Analytify_Google_Service_YouTube_VideoCategory';
9544 protected $itemsDataType = 'array';
9545 public $kind;
9546 public $nextPageToken;
9547 protected $pageInfoType = 'Analytify_Google_Service_YouTube_PageInfo';
9548 protected $pageInfoDataType = '';
9549 public $prevPageToken;
9550 protected $tokenPaginationType = 'Analytify_Google_Service_YouTube_TokenPagination';
9551 protected $tokenPaginationDataType = '';
9552 public $visitorId;
9553
9554 public function setEtag($etag)
9555 {
9556 $this->etag = $etag;
9557 }
9558
9559 public function getEtag()
9560 {
9561 return $this->etag;
9562 }
9563
9564 public function setEventId($eventId)
9565 {
9566 $this->eventId = $eventId;
9567 }
9568
9569 public function getEventId()
9570 {
9571 return $this->eventId;
9572 }
9573
9574 public function setItems($items)
9575 {
9576 $this->items = $items;
9577 }
9578
9579 public function getItems()
9580 {
9581 return $this->items;
9582 }
9583
9584 public function setKind($kind)
9585 {
9586 $this->kind = $kind;
9587 }
9588
9589 public function getKind()
9590 {
9591 return $this->kind;
9592 }
9593
9594 public function setNextPageToken($nextPageToken)
9595 {
9596 $this->nextPageToken = $nextPageToken;
9597 }
9598
9599 public function getNextPageToken()
9600 {
9601 return $this->nextPageToken;
9602 }
9603
9604 public function setPageInfo(Analytify_Google_Service_YouTube_PageInfo $pageInfo)
9605 {
9606 $this->pageInfo = $pageInfo;
9607 }
9608
9609 public function getPageInfo()
9610 {
9611 return $this->pageInfo;
9612 }
9613
9614 public function setPrevPageToken($prevPageToken)
9615 {
9616 $this->prevPageToken = $prevPageToken;
9617 }
9618
9619 public function getPrevPageToken()
9620 {
9621 return $this->prevPageToken;
9622 }
9623
9624 public function setTokenPagination(Analytify_Google_Service_YouTube_TokenPagination $tokenPagination)
9625 {
9626 $this->tokenPagination = $tokenPagination;
9627 }
9628
9629 public function getTokenPagination()
9630 {
9631 return $this->tokenPagination;
9632 }
9633
9634 public function setVisitorId($visitorId)
9635 {
9636 $this->visitorId = $visitorId;
9637 }
9638
9639 public function getVisitorId()
9640 {
9641 return $this->visitorId;
9642 }
9643 }
9644
9645 class Analytify_Google_Service_YouTube_VideoCategorySnippet extends Analytify_Google_Model
9646 {
9647 public $assignable;
9648 public $channelId;
9649 public $title;
9650
9651 public function setAssignable($assignable)
9652 {
9653 $this->assignable = $assignable;
9654 }
9655
9656 public function getAssignable()
9657 {
9658 return $this->assignable;
9659 }
9660
9661 public function setChannelId($channelId)
9662 {
9663 $this->channelId = $channelId;
9664 }
9665
9666 public function getChannelId()
9667 {
9668 return $this->channelId;
9669 }
9670
9671 public function setTitle($title)
9672 {
9673 $this->title = $title;
9674 }
9675
9676 public function getTitle()
9677 {
9678 return $this->title;
9679 }
9680 }
9681
9682 class Analytify_Google_Service_YouTube_VideoContentDetails extends Analytify_Google_Model
9683 {
9684 public $caption;
9685 protected $contentRatingType = 'Analytify_Google_Service_YouTube_ContentRating';
9686 protected $contentRatingDataType = '';
9687 protected $countryRestrictionType = 'Analytify_Google_Service_YouTube_AccessPolicy';
9688 protected $countryRestrictionDataType = '';
9689 public $definition;
9690 public $dimension;
9691 public $duration;
9692 public $licensedContent;
9693 protected $regionRestrictionType = 'Analytify_Google_Service_YouTube_VideoContentDetailsRegionRestriction';
9694 protected $regionRestrictionDataType = '';
9695
9696 public function setCaption($caption)
9697 {
9698 $this->caption = $caption;
9699 }
9700
9701 public function getCaption()
9702 {
9703 return $this->caption;
9704 }
9705
9706 public function setContentRating(Analytify_Google_Service_YouTube_ContentRating $contentRating)
9707 {
9708 $this->contentRating = $contentRating;
9709 }
9710
9711 public function getContentRating()
9712 {
9713 return $this->contentRating;
9714 }
9715
9716 public function setCountryRestriction(Analytify_Google_Service_YouTube_AccessPolicy $countryRestriction)
9717 {
9718 $this->countryRestriction = $countryRestriction;
9719 }
9720
9721 public function getCountryRestriction()
9722 {
9723 return $this->countryRestriction;
9724 }
9725
9726 public function setDefinition($definition)
9727 {
9728 $this->definition = $definition;
9729 }
9730
9731 public function getDefinition()
9732 {
9733 return $this->definition;
9734 }
9735
9736 public function setDimension($dimension)
9737 {
9738 $this->dimension = $dimension;
9739 }
9740
9741 public function getDimension()
9742 {
9743 return $this->dimension;
9744 }
9745
9746 public function setDuration($duration)
9747 {
9748 $this->duration = $duration;
9749 }
9750
9751 public function getDuration()
9752 {
9753 return $this->duration;
9754 }
9755
9756 public function setLicensedContent($licensedContent)
9757 {
9758 $this->licensedContent = $licensedContent;
9759 }
9760
9761 public function getLicensedContent()
9762 {
9763 return $this->licensedContent;
9764 }
9765
9766 public function setRegionRestriction(Analytify_Google_Service_YouTube_VideoContentDetailsRegionRestriction $regionRestriction)
9767 {
9768 $this->regionRestriction = $regionRestriction;
9769 }
9770
9771 public function getRegionRestriction()
9772 {
9773 return $this->regionRestriction;
9774 }
9775 }
9776
9777 class Analytify_Google_Service_YouTube_VideoContentDetailsRegionRestriction extends Analytify_Google_Collection
9778 {
9779 public $allowed;
9780 public $blocked;
9781
9782 public function setAllowed($allowed)
9783 {
9784 $this->allowed = $allowed;
9785 }
9786
9787 public function getAllowed()
9788 {
9789 return $this->allowed;
9790 }
9791
9792 public function setBlocked($blocked)
9793 {
9794 $this->blocked = $blocked;
9795 }
9796
9797 public function getBlocked()
9798 {
9799 return $this->blocked;
9800 }
9801 }
9802
9803 class Analytify_Google_Service_YouTube_VideoConversionPing extends Analytify_Google_Model
9804 {
9805 public $context;
9806 public $conversionUrl;
9807
9808 public function setContext($context)
9809 {
9810 $this->context = $context;
9811 }
9812
9813 public function getContext()
9814 {
9815 return $this->context;
9816 }
9817
9818 public function setConversionUrl($conversionUrl)
9819 {
9820 $this->conversionUrl = $conversionUrl;
9821 }
9822
9823 public function getConversionUrl()
9824 {
9825 return $this->conversionUrl;
9826 }
9827 }
9828
9829 class Analytify_Google_Service_YouTube_VideoConversionPings extends Analytify_Google_Collection
9830 {
9831 protected $pingsType = 'Analytify_Google_Service_YouTube_VideoConversionPing';
9832 protected $pingsDataType = 'array';
9833
9834 public function setPings($pings)
9835 {
9836 $this->pings = $pings;
9837 }
9838
9839 public function getPings()
9840 {
9841 return $this->pings;
9842 }
9843 }
9844
9845 class Analytify_Google_Service_YouTube_VideoFileDetails extends Analytify_Google_Collection
9846 {
9847 protected $audioStreamsType = 'Analytify_Google_Service_YouTube_VideoFileDetailsAudioStream';
9848 protected $audioStreamsDataType = 'array';
9849 public $bitrateBps;
9850 public $container;
9851 public $creationTime;
9852 public $durationMs;
9853 public $fileName;
9854 public $fileSize;
9855 public $fileType;
9856 protected $recordingLocationType = 'Analytify_Google_Service_YouTube_GeoPoint';
9857 protected $recordingLocationDataType = '';
9858 protected $videoStreamsType = 'Analytify_Google_Service_YouTube_VideoFileDetailsVideoStream';
9859 protected $videoStreamsDataType = 'array';
9860
9861 public function setAudioStreams($audioStreams)
9862 {
9863 $this->audioStreams = $audioStreams;
9864 }
9865
9866 public function getAudioStreams()
9867 {
9868 return $this->audioStreams;
9869 }
9870
9871 public function setBitrateBps($bitrateBps)
9872 {
9873 $this->bitrateBps = $bitrateBps;
9874 }
9875
9876 public function getBitrateBps()
9877 {
9878 return $this->bitrateBps;
9879 }
9880
9881 public function setContainer($container)
9882 {
9883 $this->container = $container;
9884 }
9885
9886 public function getContainer()
9887 {
9888 return $this->container;
9889 }
9890
9891 public function setCreationTime($creationTime)
9892 {
9893 $this->creationTime = $creationTime;
9894 }
9895
9896 public function getCreationTime()
9897 {
9898 return $this->creationTime;
9899 }
9900
9901 public function setDurationMs($durationMs)
9902 {
9903 $this->durationMs = $durationMs;
9904 }
9905
9906 public function getDurationMs()
9907 {
9908 return $this->durationMs;
9909 }
9910
9911 public function setFileName($fileName)
9912 {
9913 $this->fileName = $fileName;
9914 }
9915
9916 public function getFileName()
9917 {
9918 return $this->fileName;
9919 }
9920
9921 public function setFileSize($fileSize)
9922 {
9923 $this->fileSize = $fileSize;
9924 }
9925
9926 public function getFileSize()
9927 {
9928 return $this->fileSize;
9929 }
9930
9931 public function setFileType($fileType)
9932 {
9933 $this->fileType = $fileType;
9934 }
9935
9936 public function getFileType()
9937 {
9938 return $this->fileType;
9939 }
9940
9941 public function setRecordingLocation(Analytify_Google_Service_YouTube_GeoPoint $recordingLocation)
9942 {
9943 $this->recordingLocation = $recordingLocation;
9944 }
9945
9946 public function getRecordingLocation()
9947 {
9948 return $this->recordingLocation;
9949 }
9950
9951 public function setVideoStreams($videoStreams)
9952 {
9953 $this->videoStreams = $videoStreams;
9954 }
9955
9956 public function getVideoStreams()
9957 {
9958 return $this->videoStreams;
9959 }
9960 }
9961
9962 class Analytify_Google_Service_YouTube_VideoFileDetailsAudioStream extends Analytify_Google_Model
9963 {
9964 public $bitrateBps;
9965 public $channelCount;
9966 public $codec;
9967 public $vendor;
9968
9969 public function setBitrateBps($bitrateBps)
9970 {
9971 $this->bitrateBps = $bitrateBps;
9972 }
9973
9974 public function getBitrateBps()
9975 {
9976 return $this->bitrateBps;
9977 }
9978
9979 public function setChannelCount($channelCount)
9980 {
9981 $this->channelCount = $channelCount;
9982 }
9983
9984 public function getChannelCount()
9985 {
9986 return $this->channelCount;
9987 }
9988
9989 public function setCodec($codec)
9990 {
9991 $this->codec = $codec;
9992 }
9993
9994 public function getCodec()
9995 {
9996 return $this->codec;
9997 }
9998
9999 public function setVendor($vendor)
10000 {
10001 $this->vendor = $vendor;
10002 }
10003
10004 public function getVendor()
10005 {
10006 return $this->vendor;
10007 }
10008 }
10009
10010 class Analytify_Google_Service_YouTube_VideoFileDetailsVideoStream extends Analytify_Google_Model
10011 {
10012 public $aspectRatio;
10013 public $bitrateBps;
10014 public $codec;
10015 public $frameRateFps;
10016 public $heightPixels;
10017 public $rotation;
10018 public $vendor;
10019 public $widthPixels;
10020
10021 public function setAspectRatio($aspectRatio)
10022 {
10023 $this->aspectRatio = $aspectRatio;
10024 }
10025
10026 public function getAspectRatio()
10027 {
10028 return $this->aspectRatio;
10029 }
10030
10031 public function setBitrateBps($bitrateBps)
10032 {
10033 $this->bitrateBps = $bitrateBps;
10034 }
10035
10036 public function getBitrateBps()
10037 {
10038 return $this->bitrateBps;
10039 }
10040
10041 public function setCodec($codec)
10042 {
10043 $this->codec = $codec;
10044 }
10045
10046 public function getCodec()
10047 {
10048 return $this->codec;
10049 }
10050
10051 public function setFrameRateFps($frameRateFps)
10052 {
10053 $this->frameRateFps = $frameRateFps;
10054 }
10055
10056 public function getFrameRateFps()
10057 {
10058 return $this->frameRateFps;
10059 }
10060
10061 public function setHeightPixels($heightPixels)
10062 {
10063 $this->heightPixels = $heightPixels;
10064 }
10065
10066 public function getHeightPixels()
10067 {
10068 return $this->heightPixels;
10069 }
10070
10071 public function setRotation($rotation)
10072 {
10073 $this->rotation = $rotation;
10074 }
10075
10076 public function getRotation()
10077 {
10078 return $this->rotation;
10079 }
10080
10081 public function setVendor($vendor)
10082 {
10083 $this->vendor = $vendor;
10084 }
10085
10086 public function getVendor()
10087 {
10088 return $this->vendor;
10089 }
10090
10091 public function setWidthPixels($widthPixels)
10092 {
10093 $this->widthPixels = $widthPixels;
10094 }
10095
10096 public function getWidthPixels()
10097 {
10098 return $this->widthPixels;
10099 }
10100 }
10101
10102 class Analytify_Google_Service_YouTube_VideoGetRatingResponse extends Analytify_Google_Collection
10103 {
10104 public $etag;
10105 protected $itemsType = 'Analytify_Google_Service_YouTube_VideoRating';
10106 protected $itemsDataType = 'array';
10107 public $kind;
10108
10109 public function setEtag($etag)
10110 {
10111 $this->etag = $etag;
10112 }
10113
10114 public function getEtag()
10115 {
10116 return $this->etag;
10117 }
10118
10119 public function setItems($items)
10120 {
10121 $this->items = $items;
10122 }
10123
10124 public function getItems()
10125 {
10126 return $this->items;
10127 }
10128
10129 public function setKind($kind)
10130 {
10131 $this->kind = $kind;
10132 }
10133
10134 public function getKind()
10135 {
10136 return $this->kind;
10137 }
10138 }
10139
10140 class Analytify_Google_Service_YouTube_VideoListResponse extends Analytify_Google_Collection
10141 {
10142 public $etag;
10143 public $eventId;
10144 protected $itemsType = 'Analytify_Google_Service_YouTube_Video';
10145 protected $itemsDataType = 'array';
10146 public $kind;
10147 public $nextPageToken;
10148 protected $pageInfoType = 'Analytify_Google_Service_YouTube_PageInfo';
10149 protected $pageInfoDataType = '';
10150 public $prevPageToken;
10151 protected $tokenPaginationType = 'Analytify_Google_Service_YouTube_TokenPagination';
10152 protected $tokenPaginationDataType = '';
10153 public $visitorId;
10154
10155 public function setEtag($etag)
10156 {
10157 $this->etag = $etag;
10158 }
10159
10160 public function getEtag()
10161 {
10162 return $this->etag;
10163 }
10164
10165 public function setEventId($eventId)
10166 {
10167 $this->eventId = $eventId;
10168 }
10169
10170 public function getEventId()
10171 {
10172 return $this->eventId;
10173 }
10174
10175 public function setItems($items)
10176 {
10177 $this->items = $items;
10178 }
10179
10180 public function getItems()
10181 {
10182 return $this->items;
10183 }
10184
10185 public function setKind($kind)
10186 {
10187 $this->kind = $kind;
10188 }
10189
10190 public function getKind()
10191 {
10192 return $this->kind;
10193 }
10194
10195 public function setNextPageToken($nextPageToken)
10196 {
10197 $this->nextPageToken = $nextPageToken;
10198 }
10199
10200 public function getNextPageToken()
10201 {
10202 return $this->nextPageToken;
10203 }
10204
10205 public function setPageInfo(Analytify_Google_Service_YouTube_PageInfo $pageInfo)
10206 {
10207 $this->pageInfo = $pageInfo;
10208 }
10209
10210 public function getPageInfo()
10211 {
10212 return $this->pageInfo;
10213 }
10214
10215 public function setPrevPageToken($prevPageToken)
10216 {
10217 $this->prevPageToken = $prevPageToken;
10218 }
10219
10220 public function getPrevPageToken()
10221 {
10222 return $this->prevPageToken;
10223 }
10224
10225 public function setTokenPagination(Analytify_Google_Service_YouTube_TokenPagination $tokenPagination)
10226 {
10227 $this->tokenPagination = $tokenPagination;
10228 }
10229
10230 public function getTokenPagination()
10231 {
10232 return $this->tokenPagination;
10233 }
10234
10235 public function setVisitorId($visitorId)
10236 {
10237 $this->visitorId = $visitorId;
10238 }
10239
10240 public function getVisitorId()
10241 {
10242 return $this->visitorId;
10243 }
10244 }
10245
10246 class Analytify_Google_Service_YouTube_VideoLiveStreamingDetails extends Analytify_Google_Model
10247 {
10248 public $actualEndTime;
10249 public $actualStartTime;
10250 public $concurrentViewers;
10251 public $scheduledEndTime;
10252 public $scheduledStartTime;
10253
10254 public function setActualEndTime($actualEndTime)
10255 {
10256 $this->actualEndTime = $actualEndTime;
10257 }
10258
10259 public function getActualEndTime()
10260 {
10261 return $this->actualEndTime;
10262 }
10263
10264 public function setActualStartTime($actualStartTime)
10265 {
10266 $this->actualStartTime = $actualStartTime;
10267 }
10268
10269 public function getActualStartTime()
10270 {
10271 return $this->actualStartTime;
10272 }
10273
10274 public function setConcurrentViewers($concurrentViewers)
10275 {
10276 $this->concurrentViewers = $concurrentViewers;
10277 }
10278
10279 public function getConcurrentViewers()
10280 {
10281 return $this->concurrentViewers;
10282 }
10283
10284 public function setScheduledEndTime($scheduledEndTime)
10285 {
10286 $this->scheduledEndTime = $scheduledEndTime;
10287 }
10288
10289 public function getScheduledEndTime()
10290 {
10291 return $this->scheduledEndTime;
10292 }
10293
10294 public function setScheduledStartTime($scheduledStartTime)
10295 {
10296 $this->scheduledStartTime = $scheduledStartTime;
10297 }
10298
10299 public function getScheduledStartTime()
10300 {
10301 return $this->scheduledStartTime;
10302 }
10303 }
10304
10305 class Analytify_Google_Service_YouTube_VideoMonetizationDetails extends Analytify_Google_Model
10306 {
10307 protected $accessType = 'Analytify_Google_Service_YouTube_AccessPolicy';
10308 protected $accessDataType = '';
10309
10310 public function setAccess(Analytify_Google_Service_YouTube_AccessPolicy $access)
10311 {
10312 $this->access = $access;
10313 }
10314
10315 public function getAccess()
10316 {
10317 return $this->access;
10318 }
10319 }
10320
10321 class Analytify_Google_Service_YouTube_VideoPlayer extends Analytify_Google_Model
10322 {
10323 public $embedHtml;
10324
10325 public function setEmbedHtml($embedHtml)
10326 {
10327 $this->embedHtml = $embedHtml;
10328 }
10329
10330 public function getEmbedHtml()
10331 {
10332 return $this->embedHtml;
10333 }
10334 }
10335
10336 class Analytify_Google_Service_YouTube_VideoProcessingDetails extends Analytify_Google_Model
10337 {
10338 public $editorSuggestionsAvailability;
10339 public $fileDetailsAvailability;
10340 public $processingFailureReason;
10341 public $processingIssuesAvailability;
10342 protected $processingProgressType = 'Analytify_Google_Service_YouTube_VideoProcessingDetailsProcessingProgress';
10343 protected $processingProgressDataType = '';
10344 public $processingStatus;
10345 public $tagSuggestionsAvailability;
10346 public $thumbnailsAvailability;
10347
10348 public function setEditorSuggestionsAvailability($editorSuggestionsAvailability)
10349 {
10350 $this->editorSuggestionsAvailability = $editorSuggestionsAvailability;
10351 }
10352
10353 public function getEditorSuggestionsAvailability()
10354 {
10355 return $this->editorSuggestionsAvailability;
10356 }
10357
10358 public function setFileDetailsAvailability($fileDetailsAvailability)
10359 {
10360 $this->fileDetailsAvailability = $fileDetailsAvailability;
10361 }
10362
10363 public function getFileDetailsAvailability()
10364 {
10365 return $this->fileDetailsAvailability;
10366 }
10367
10368 public function setProcessingFailureReason($processingFailureReason)
10369 {
10370 $this->processingFailureReason = $processingFailureReason;
10371 }
10372
10373 public function getProcessingFailureReason()
10374 {
10375 return $this->processingFailureReason;
10376 }
10377
10378 public function setProcessingIssuesAvailability($processingIssuesAvailability)
10379 {
10380 $this->processingIssuesAvailability = $processingIssuesAvailability;
10381 }
10382
10383 public function getProcessingIssuesAvailability()
10384 {
10385 return $this->processingIssuesAvailability;
10386 }
10387
10388 public function setProcessingProgress(Analytify_Google_Service_YouTube_VideoProcessingDetailsProcessingProgress $processingProgress)
10389 {
10390 $this->processingProgress = $processingProgress;
10391 }
10392
10393 public function getProcessingProgress()
10394 {
10395 return $this->processingProgress;
10396 }
10397
10398 public function setProcessingStatus($processingStatus)
10399 {
10400 $this->processingStatus = $processingStatus;
10401 }
10402
10403 public function getProcessingStatus()
10404 {
10405 return $this->processingStatus;
10406 }
10407
10408 public function setTagSuggestionsAvailability($tagSuggestionsAvailability)
10409 {
10410 $this->tagSuggestionsAvailability = $tagSuggestionsAvailability;
10411 }
10412
10413 public function getTagSuggestionsAvailability()
10414 {
10415 return $this->tagSuggestionsAvailability;
10416 }
10417
10418 public function setThumbnailsAvailability($thumbnailsAvailability)
10419 {
10420 $this->thumbnailsAvailability = $thumbnailsAvailability;
10421 }
10422
10423 public function getThumbnailsAvailability()
10424 {
10425 return $this->thumbnailsAvailability;
10426 }
10427 }
10428
10429 class Analytify_Google_Service_YouTube_VideoProcessingDetailsProcessingProgress extends Analytify_Google_Model
10430 {
10431 public $partsProcessed;
10432 public $partsTotal;
10433 public $timeLeftMs;
10434
10435 public function setPartsProcessed($partsProcessed)
10436 {
10437 $this->partsProcessed = $partsProcessed;
10438 }
10439
10440 public function getPartsProcessed()
10441 {
10442 return $this->partsProcessed;
10443 }
10444
10445 public function setPartsTotal($partsTotal)
10446 {
10447 $this->partsTotal = $partsTotal;
10448 }
10449
10450 public function getPartsTotal()
10451 {
10452 return $this->partsTotal;
10453 }
10454
10455 public function setTimeLeftMs($timeLeftMs)
10456 {
10457 $this->timeLeftMs = $timeLeftMs;
10458 }
10459
10460 public function getTimeLeftMs()
10461 {
10462 return $this->timeLeftMs;
10463 }
10464 }
10465
10466 class Analytify_Google_Service_YouTube_VideoProjectDetails extends Analytify_Google_Collection
10467 {
10468 public $tags;
10469
10470 public function setTags($tags)
10471 {
10472 $this->tags = $tags;
10473 }
10474
10475 public function getTags()
10476 {
10477 return $this->tags;
10478 }
10479 }
10480
10481 class Analytify_Google_Service_YouTube_VideoRating extends Analytify_Google_Model
10482 {
10483 public $rating;
10484 public $videoId;
10485
10486 public function setRating($rating)
10487 {
10488 $this->rating = $rating;
10489 }
10490
10491 public function getRating()
10492 {
10493 return $this->rating;
10494 }
10495
10496 public function setVideoId($videoId)
10497 {
10498 $this->videoId = $videoId;
10499 }
10500
10501 public function getVideoId()
10502 {
10503 return $this->videoId;
10504 }
10505 }
10506
10507 class Analytify_Google_Service_YouTube_VideoRecordingDetails extends Analytify_Google_Model
10508 {
10509 protected $locationType = 'Analytify_Google_Service_YouTube_GeoPoint';
10510 protected $locationDataType = '';
10511 public $locationDescription;
10512 public $recordingDate;
10513
10514 public function setLocation(Analytify_Google_Service_YouTube_GeoPoint $location)
10515 {
10516 $this->location = $location;
10517 }
10518
10519 public function getLocation()
10520 {
10521 return $this->location;
10522 }
10523
10524 public function setLocationDescription($locationDescription)
10525 {
10526 $this->locationDescription = $locationDescription;
10527 }
10528
10529 public function getLocationDescription()
10530 {
10531 return $this->locationDescription;
10532 }
10533
10534 public function setRecordingDate($recordingDate)
10535 {
10536 $this->recordingDate = $recordingDate;
10537 }
10538
10539 public function getRecordingDate()
10540 {
10541 return $this->recordingDate;
10542 }
10543 }
10544
10545 class Analytify_Google_Service_YouTube_VideoSnippet extends Analytify_Google_Collection
10546 {
10547 public $categoryId;
10548 public $channelId;
10549 public $channelTitle;
10550 public $description;
10551 public $liveBroadcastContent;
10552 public $publishedAt;
10553 public $tags;
10554 protected $thumbnailsType = 'Analytify_Google_Service_YouTube_ThumbnailDetails';
10555 protected $thumbnailsDataType = '';
10556 public $title;
10557
10558 public function setCategoryId($categoryId)
10559 {
10560 $this->categoryId = $categoryId;
10561 }
10562
10563 public function getCategoryId()
10564 {
10565 return $this->categoryId;
10566 }
10567
10568 public function setChannelId($channelId)
10569 {
10570 $this->channelId = $channelId;
10571 }
10572
10573 public function getChannelId()
10574 {
10575 return $this->channelId;
10576 }
10577
10578 public function setChannelTitle($channelTitle)
10579 {
10580 $this->channelTitle = $channelTitle;
10581 }
10582
10583 public function getChannelTitle()
10584 {
10585 return $this->channelTitle;
10586 }
10587
10588 public function setDescription($description)
10589 {
10590 $this->description = $description;
10591 }
10592
10593 public function getDescription()
10594 {
10595 return $this->description;
10596 }
10597
10598 public function setLiveBroadcastContent($liveBroadcastContent)
10599 {
10600 $this->liveBroadcastContent = $liveBroadcastContent;
10601 }
10602
10603 public function getLiveBroadcastContent()
10604 {
10605 return $this->liveBroadcastContent;
10606 }
10607
10608 public function setPublishedAt($publishedAt)
10609 {
10610 $this->publishedAt = $publishedAt;
10611 }
10612
10613 public function getPublishedAt()
10614 {
10615 return $this->publishedAt;
10616 }
10617
10618 public function setTags($tags)
10619 {
10620 $this->tags = $tags;
10621 }
10622
10623 public function getTags()
10624 {
10625 return $this->tags;
10626 }
10627
10628 public function setThumbnails(Analytify_Google_Service_YouTube_ThumbnailDetails $thumbnails)
10629 {
10630 $this->thumbnails = $thumbnails;
10631 }
10632
10633 public function getThumbnails()
10634 {
10635 return $this->thumbnails;
10636 }
10637
10638 public function setTitle($title)
10639 {
10640 $this->title = $title;
10641 }
10642
10643 public function getTitle()
10644 {
10645 return $this->title;
10646 }
10647 }
10648
10649 class Analytify_Google_Service_YouTube_VideoStatistics extends Analytify_Google_Model
10650 {
10651 public $commentCount;
10652 public $dislikeCount;
10653 public $favoriteCount;
10654 public $likeCount;
10655 public $viewCount;
10656
10657 public function setCommentCount($commentCount)
10658 {
10659 $this->commentCount = $commentCount;
10660 }
10661
10662 public function getCommentCount()
10663 {
10664 return $this->commentCount;
10665 }
10666
10667 public function setDislikeCount($dislikeCount)
10668 {
10669 $this->dislikeCount = $dislikeCount;
10670 }
10671
10672 public function getDislikeCount()
10673 {
10674 return $this->dislikeCount;
10675 }
10676
10677 public function setFavoriteCount($favoriteCount)
10678 {
10679 $this->favoriteCount = $favoriteCount;
10680 }
10681
10682 public function getFavoriteCount()
10683 {
10684 return $this->favoriteCount;
10685 }
10686
10687 public function setLikeCount($likeCount)
10688 {
10689 $this->likeCount = $likeCount;
10690 }
10691
10692 public function getLikeCount()
10693 {
10694 return $this->likeCount;
10695 }
10696
10697 public function setViewCount($viewCount)
10698 {
10699 $this->viewCount = $viewCount;
10700 }
10701
10702 public function getViewCount()
10703 {
10704 return $this->viewCount;
10705 }
10706 }
10707
10708 class Analytify_Google_Service_YouTube_VideoStatus extends Analytify_Google_Model
10709 {
10710 public $embeddable;
10711 public $failureReason;
10712 public $license;
10713 public $privacyStatus;
10714 public $publicStatsViewable;
10715 public $publishAt;
10716 public $rejectionReason;
10717 public $uploadStatus;
10718
10719 public function setEmbeddable($embeddable)
10720 {
10721 $this->embeddable = $embeddable;
10722 }
10723
10724 public function getEmbeddable()
10725 {
10726 return $this->embeddable;
10727 }
10728
10729 public function setFailureReason($failureReason)
10730 {
10731 $this->failureReason = $failureReason;
10732 }
10733
10734 public function getFailureReason()
10735 {
10736 return $this->failureReason;
10737 }
10738
10739 public function setLicense($license)
10740 {
10741 $this->license = $license;
10742 }
10743
10744 public function getLicense()
10745 {
10746 return $this->license;
10747 }
10748
10749 public function setPrivacyStatus($privacyStatus)
10750 {
10751 $this->privacyStatus = $privacyStatus;
10752 }
10753
10754 public function getPrivacyStatus()
10755 {
10756 return $this->privacyStatus;
10757 }
10758
10759 public function setPublicStatsViewable($publicStatsViewable)
10760 {
10761 $this->publicStatsViewable = $publicStatsViewable;
10762 }
10763
10764 public function getPublicStatsViewable()
10765 {
10766 return $this->publicStatsViewable;
10767 }
10768
10769 public function setPublishAt($publishAt)
10770 {
10771 $this->publishAt = $publishAt;
10772 }
10773
10774 public function getPublishAt()
10775 {
10776 return $this->publishAt;
10777 }
10778
10779 public function setRejectionReason($rejectionReason)
10780 {
10781 $this->rejectionReason = $rejectionReason;
10782 }
10783
10784 public function getRejectionReason()
10785 {
10786 return $this->rejectionReason;
10787 }
10788
10789 public function setUploadStatus($uploadStatus)
10790 {
10791 $this->uploadStatus = $uploadStatus;
10792 }
10793
10794 public function getUploadStatus()
10795 {
10796 return $this->uploadStatus;
10797 }
10798 }
10799
10800 class Analytify_Google_Service_YouTube_VideoSuggestions extends Analytify_Google_Collection
10801 {
10802 public $editorSuggestions;
10803 public $processingErrors;
10804 public $processingHints;
10805 public $processingWarnings;
10806 protected $tagSuggestionsType = 'Analytify_Google_Service_YouTube_VideoSuggestionsTagSuggestion';
10807 protected $tagSuggestionsDataType = 'array';
10808
10809 public function setEditorSuggestions($editorSuggestions)
10810 {
10811 $this->editorSuggestions = $editorSuggestions;
10812 }
10813
10814 public function getEditorSuggestions()
10815 {
10816 return $this->editorSuggestions;
10817 }
10818
10819 public function setProcessingErrors($processingErrors)
10820 {
10821 $this->processingErrors = $processingErrors;
10822 }
10823
10824 public function getProcessingErrors()
10825 {
10826 return $this->processingErrors;
10827 }
10828
10829 public function setProcessingHints($processingHints)
10830 {
10831 $this->processingHints = $processingHints;
10832 }
10833
10834 public function getProcessingHints()
10835 {
10836 return $this->processingHints;
10837 }
10838
10839 public function setProcessingWarnings($processingWarnings)
10840 {
10841 $this->processingWarnings = $processingWarnings;
10842 }
10843
10844 public function getProcessingWarnings()
10845 {
10846 return $this->processingWarnings;
10847 }
10848
10849 public function setTagSuggestions($tagSuggestions)
10850 {
10851 $this->tagSuggestions = $tagSuggestions;
10852 }
10853
10854 public function getTagSuggestions()
10855 {
10856 return $this->tagSuggestions;
10857 }
10858 }
10859
10860 class Analytify_Google_Service_YouTube_VideoSuggestionsTagSuggestion extends Analytify_Google_Collection
10861 {
10862 public $categoryRestricts;
10863 public $tag;
10864
10865 public function setCategoryRestricts($categoryRestricts)
10866 {
10867 $this->categoryRestricts = $categoryRestricts;
10868 }
10869
10870 public function getCategoryRestricts()
10871 {
10872 return $this->categoryRestricts;
10873 }
10874
10875 public function setTag($tag)
10876 {
10877 $this->tag = $tag;
10878 }
10879
10880 public function getTag()
10881 {
10882 return $this->tag;
10883 }
10884 }
10885
10886 class Analytify_Google_Service_YouTube_VideoTopicDetails extends Analytify_Google_Collection
10887 {
10888 public $relevantTopicIds;
10889 public $topicIds;
10890
10891 public function setRelevantTopicIds($relevantTopicIds)
10892 {
10893 $this->relevantTopicIds = $relevantTopicIds;
10894 }
10895
10896 public function getRelevantTopicIds()
10897 {
10898 return $this->relevantTopicIds;
10899 }
10900
10901 public function setTopicIds($topicIds)
10902 {
10903 $this->topicIds = $topicIds;
10904 }
10905
10906 public function getTopicIds()
10907 {
10908 return $this->topicIds;
10909 }
10910 }
10911
10912 class Analytify_Google_Service_YouTube_WatchSettings extends Analytify_Google_Model
10913 {
10914 public $backgroundColor;
10915 public $featuredPlaylistId;
10916 public $textColor;
10917
10918 public function setBackgroundColor($backgroundColor)
10919 {
10920 $this->backgroundColor = $backgroundColor;
10921 }
10922
10923 public function getBackgroundColor()
10924 {
10925 return $this->backgroundColor;
10926 }
10927
10928 public function setFeaturedPlaylistId($featuredPlaylistId)
10929 {
10930 $this->featuredPlaylistId = $featuredPlaylistId;
10931 }
10932
10933 public function getFeaturedPlaylistId()
10934 {
10935 return $this->featuredPlaylistId;
10936 }
10937
10938 public function setTextColor($textColor)
10939 {
10940 $this->textColor = $textColor;
10941 }
10942
10943 public function getTextColor()
10944 {
10945 return $this->textColor;
10946 }
10947 }
10948