PluginProbe
Authorizer / 2.6.10
Authorizer v2.6.10
3.15.3 3.15.2 3.15.1 3.15.0 3.14.3 3.14.4 3.14.2 3.14.1 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.10 2.9.11 2.9.12 2.9.13 2.9.2 2.9.3 2.9.6 All 126 releases
authorizer / vendor / google-api-php-client / src / Google / Service / YouTube.php

YouTube.php in Authorizer 2.6.10, at vendor/google-api-php-client/src/Google/Service/YouTube.php

14,390 lines 414.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 * use this file except in compliance with the License. You may obtain a copy of
5 * the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 * License for the specific language governing permissions and limitations under
13 * the License.
14 */
15
16 /**
17 * Service definition for YouTube (v3).
18 *
19 * <p>
20 * Programmatic access to YouTube features.</p>
21 *
22 * <p>
23 * For more information about this service, see the API
24 * <a href="https://developers.google.com/youtube/v3" target="_blank">Documentation</a>
25 * </p>
26 *
27 * @author Google, Inc.
28 */
29 class Google_Service_YouTube extends Google_Service
30 {
31 /** Manage your YouTube account. */
32 const YOUTUBE =
33 "https://www.googleapis.com/auth/youtube";
34 /** Manage your YouTube account. */
35 const YOUTUBE_FORCE_SSL =
36 "https://www.googleapis.com/auth/youtube.force-ssl";
37 /** View your YouTube account. */
38 const YOUTUBE_READONLY =
39 "https://www.googleapis.com/auth/youtube.readonly";
40 /** Manage your YouTube videos. */
41 const YOUTUBE_UPLOAD =
42 "https://www.googleapis.com/auth/youtube.upload";
43 /** View and manage your assets and associated content on YouTube. */
44 const YOUTUBEPARTNER =
45 "https://www.googleapis.com/auth/youtubepartner";
46 /** View private information of your YouTube channel relevant during the audit process with a YouTube partner. */
47 const YOUTUBEPARTNER_CHANNEL_AUDIT =
48 "https://www.googleapis.com/auth/youtubepartner-channel-audit";
49
50 public $activities;
51 public $captions;
52 public $channelBanners;
53 public $channelSections;
54 public $channels;
55 public $commentThreads;
56 public $comments;
57 public $fanFundingEvents;
58 public $guideCategories;
59 public $i18nLanguages;
60 public $i18nRegions;
61 public $liveBroadcasts;
62 public $liveChatBans;
63 public $liveChatMessages;
64 public $liveChatModerators;
65 public $liveStreams;
66 public $playlistItems;
67 public $playlists;
68 public $search;
69 public $sponsors;
70 public $subscriptions;
71 public $thumbnails;
72 public $videoAbuseReportReasons;
73 public $videoCategories;
74 public $videos;
75 public $watermarks;
76
77
78 /**
79 * Constructs the internal representation of the YouTube service.
80 *
81 * @param Google_Client $client
82 */
83 public function __construct(Google_Client $client)
84 {
85 parent::__construct($client);
86 $this->rootUrl = 'https://www.googleapis.com/';
87 $this->servicePath = 'youtube/v3/';
88 $this->version = 'v3';
89 $this->serviceName = 'youtube';
90
91 $this->activities = new Google_Service_YouTube_Activities_Resource(
92 $this,
93 $this->serviceName,
94 'activities',
95 array(
96 'methods' => array(
97 'insert' => array(
98 'path' => 'activities',
99 'httpMethod' => 'POST',
100 'parameters' => array(
101 'part' => array(
102 'location' => 'query',
103 'type' => 'string',
104 'required' => true,
105 ),
106 ),
107 ),'list' => array(
108 'path' => 'activities',
109 'httpMethod' => 'GET',
110 'parameters' => array(
111 'part' => array(
112 'location' => 'query',
113 'type' => 'string',
114 'required' => true,
115 ),
116 'channelId' => array(
117 'location' => 'query',
118 'type' => 'string',
119 ),
120 'home' => array(
121 'location' => 'query',
122 'type' => 'boolean',
123 ),
124 'maxResults' => array(
125 'location' => 'query',
126 'type' => 'integer',
127 ),
128 'mine' => array(
129 'location' => 'query',
130 'type' => 'boolean',
131 ),
132 'pageToken' => array(
133 'location' => 'query',
134 'type' => 'string',
135 ),
136 'publishedAfter' => array(
137 'location' => 'query',
138 'type' => 'string',
139 ),
140 'publishedBefore' => array(
141 'location' => 'query',
142 'type' => 'string',
143 ),
144 'regionCode' => array(
145 'location' => 'query',
146 'type' => 'string',
147 ),
148 ),
149 ),
150 )
151 )
152 );
153 $this->captions = new Google_Service_YouTube_Captions_Resource(
154 $this,
155 $this->serviceName,
156 'captions',
157 array(
158 'methods' => array(
159 'delete' => array(
160 'path' => 'captions',
161 'httpMethod' => 'DELETE',
162 'parameters' => array(
163 'id' => array(
164 'location' => 'query',
165 'type' => 'string',
166 'required' => true,
167 ),
168 'onBehalfOf' => array(
169 'location' => 'query',
170 'type' => 'string',
171 ),
172 'onBehalfOfContentOwner' => array(
173 'location' => 'query',
174 'type' => 'string',
175 ),
176 ),
177 ),'download' => array(
178 'path' => 'captions/{id}',
179 'httpMethod' => 'GET',
180 'parameters' => array(
181 'id' => array(
182 'location' => 'path',
183 'type' => 'string',
184 'required' => true,
185 ),
186 'onBehalfOf' => array(
187 'location' => 'query',
188 'type' => 'string',
189 ),
190 'onBehalfOfContentOwner' => array(
191 'location' => 'query',
192 'type' => 'string',
193 ),
194 'tfmt' => array(
195 'location' => 'query',
196 'type' => 'string',
197 ),
198 'tlang' => array(
199 'location' => 'query',
200 'type' => 'string',
201 ),
202 ),
203 ),'insert' => array(
204 'path' => 'captions',
205 'httpMethod' => 'POST',
206 'parameters' => array(
207 'part' => array(
208 'location' => 'query',
209 'type' => 'string',
210 'required' => true,
211 ),
212 'onBehalfOf' => array(
213 'location' => 'query',
214 'type' => 'string',
215 ),
216 'onBehalfOfContentOwner' => array(
217 'location' => 'query',
218 'type' => 'string',
219 ),
220 'sync' => array(
221 'location' => 'query',
222 'type' => 'boolean',
223 ),
224 ),
225 ),'list' => array(
226 'path' => 'captions',
227 'httpMethod' => 'GET',
228 'parameters' => array(
229 'part' => array(
230 'location' => 'query',
231 'type' => 'string',
232 'required' => true,
233 ),
234 'videoId' => array(
235 'location' => 'query',
236 'type' => 'string',
237 'required' => true,
238 ),
239 'id' => array(
240 'location' => 'query',
241 'type' => 'string',
242 ),
243 'onBehalfOf' => array(
244 'location' => 'query',
245 'type' => 'string',
246 ),
247 'onBehalfOfContentOwner' => array(
248 'location' => 'query',
249 'type' => 'string',
250 ),
251 ),
252 ),'update' => array(
253 'path' => 'captions',
254 'httpMethod' => 'PUT',
255 'parameters' => array(
256 'part' => array(
257 'location' => 'query',
258 'type' => 'string',
259 'required' => true,
260 ),
261 'onBehalfOf' => array(
262 'location' => 'query',
263 'type' => 'string',
264 ),
265 'onBehalfOfContentOwner' => array(
266 'location' => 'query',
267 'type' => 'string',
268 ),
269 'sync' => array(
270 'location' => 'query',
271 'type' => 'boolean',
272 ),
273 ),
274 ),
275 )
276 )
277 );
278 $this->channelBanners = new Google_Service_YouTube_ChannelBanners_Resource(
279 $this,
280 $this->serviceName,
281 'channelBanners',
282 array(
283 'methods' => array(
284 'insert' => array(
285 'path' => 'channelBanners/insert',
286 'httpMethod' => 'POST',
287 'parameters' => array(
288 'onBehalfOfContentOwner' => array(
289 'location' => 'query',
290 'type' => 'string',
291 ),
292 ),
293 ),
294 )
295 )
296 );
297 $this->channelSections = new Google_Service_YouTube_ChannelSections_Resource(
298 $this,
299 $this->serviceName,
300 'channelSections',
301 array(
302 'methods' => array(
303 'delete' => array(
304 'path' => 'channelSections',
305 'httpMethod' => 'DELETE',
306 'parameters' => array(
307 'id' => array(
308 'location' => 'query',
309 'type' => 'string',
310 'required' => true,
311 ),
312 'onBehalfOfContentOwner' => array(
313 'location' => 'query',
314 'type' => 'string',
315 ),
316 ),
317 ),'insert' => array(
318 'path' => 'channelSections',
319 'httpMethod' => 'POST',
320 'parameters' => array(
321 'part' => array(
322 'location' => 'query',
323 'type' => 'string',
324 'required' => true,
325 ),
326 'onBehalfOfContentOwner' => array(
327 'location' => 'query',
328 'type' => 'string',
329 ),
330 'onBehalfOfContentOwnerChannel' => array(
331 'location' => 'query',
332 'type' => 'string',
333 ),
334 ),
335 ),'list' => array(
336 'path' => 'channelSections',
337 'httpMethod' => 'GET',
338 'parameters' => array(
339 'part' => array(
340 'location' => 'query',
341 'type' => 'string',
342 'required' => true,
343 ),
344 'channelId' => array(
345 'location' => 'query',
346 'type' => 'string',
347 ),
348 'hl' => array(
349 'location' => 'query',
350 'type' => 'string',
351 ),
352 'id' => array(
353 'location' => 'query',
354 'type' => 'string',
355 ),
356 'mine' => array(
357 'location' => 'query',
358 'type' => 'boolean',
359 ),
360 'onBehalfOfContentOwner' => array(
361 'location' => 'query',
362 'type' => 'string',
363 ),
364 ),
365 ),'update' => array(
366 'path' => 'channelSections',
367 'httpMethod' => 'PUT',
368 'parameters' => array(
369 'part' => array(
370 'location' => 'query',
371 'type' => 'string',
372 'required' => true,
373 ),
374 'onBehalfOfContentOwner' => array(
375 'location' => 'query',
376 'type' => 'string',
377 ),
378 ),
379 ),
380 )
381 )
382 );
383 $this->channels = new Google_Service_YouTube_Channels_Resource(
384 $this,
385 $this->serviceName,
386 'channels',
387 array(
388 'methods' => array(
389 'list' => array(
390 'path' => 'channels',
391 'httpMethod' => 'GET',
392 'parameters' => array(
393 'part' => array(
394 'location' => 'query',
395 'type' => 'string',
396 'required' => true,
397 ),
398 'categoryId' => array(
399 'location' => 'query',
400 'type' => 'string',
401 ),
402 'forUsername' => array(
403 'location' => 'query',
404 'type' => 'string',
405 ),
406 'hl' => array(
407 'location' => 'query',
408 'type' => 'string',
409 ),
410 'id' => array(
411 'location' => 'query',
412 'type' => 'string',
413 ),
414 'managedByMe' => array(
415 'location' => 'query',
416 'type' => 'boolean',
417 ),
418 'maxResults' => array(
419 'location' => 'query',
420 'type' => 'integer',
421 ),
422 'mine' => array(
423 'location' => 'query',
424 'type' => 'boolean',
425 ),
426 'mySubscribers' => array(
427 'location' => 'query',
428 'type' => 'boolean',
429 ),
430 'onBehalfOfContentOwner' => array(
431 'location' => 'query',
432 'type' => 'string',
433 ),
434 'pageToken' => array(
435 'location' => 'query',
436 'type' => 'string',
437 ),
438 ),
439 ),'update' => array(
440 'path' => 'channels',
441 'httpMethod' => 'PUT',
442 'parameters' => array(
443 'part' => array(
444 'location' => 'query',
445 'type' => 'string',
446 'required' => true,
447 ),
448 'onBehalfOfContentOwner' => array(
449 'location' => 'query',
450 'type' => 'string',
451 ),
452 ),
453 ),
454 )
455 )
456 );
457 $this->commentThreads = new Google_Service_YouTube_CommentThreads_Resource(
458 $this,
459 $this->serviceName,
460 'commentThreads',
461 array(
462 'methods' => array(
463 'insert' => array(
464 'path' => 'commentThreads',
465 'httpMethod' => 'POST',
466 'parameters' => array(
467 'part' => array(
468 'location' => 'query',
469 'type' => 'string',
470 'required' => true,
471 ),
472 ),
473 ),'list' => array(
474 'path' => 'commentThreads',
475 'httpMethod' => 'GET',
476 'parameters' => array(
477 'part' => array(
478 'location' => 'query',
479 'type' => 'string',
480 'required' => true,
481 ),
482 'allThreadsRelatedToChannelId' => array(
483 'location' => 'query',
484 'type' => 'string',
485 ),
486 'channelId' => array(
487 'location' => 'query',
488 'type' => 'string',
489 ),
490 'id' => array(
491 'location' => 'query',
492 'type' => 'string',
493 ),
494 'maxResults' => array(
495 'location' => 'query',
496 'type' => 'integer',
497 ),
498 'moderationStatus' => array(
499 'location' => 'query',
500 'type' => 'string',
501 ),
502 'order' => array(
503 'location' => 'query',
504 'type' => 'string',
505 ),
506 'pageToken' => array(
507 'location' => 'query',
508 'type' => 'string',
509 ),
510 'searchTerms' => array(
511 'location' => 'query',
512 'type' => 'string',
513 ),
514 'textFormat' => array(
515 'location' => 'query',
516 'type' => 'string',
517 ),
518 'videoId' => array(
519 'location' => 'query',
520 'type' => 'string',
521 ),
522 ),
523 ),'update' => array(
524 'path' => 'commentThreads',
525 'httpMethod' => 'PUT',
526 'parameters' => array(
527 'part' => array(
528 'location' => 'query',
529 'type' => 'string',
530 'required' => true,
531 ),
532 ),
533 ),
534 )
535 )
536 );
537 $this->comments = new Google_Service_YouTube_Comments_Resource(
538 $this,
539 $this->serviceName,
540 'comments',
541 array(
542 'methods' => array(
543 'delete' => array(
544 'path' => 'comments',
545 'httpMethod' => 'DELETE',
546 'parameters' => array(
547 'id' => array(
548 'location' => 'query',
549 'type' => 'string',
550 'required' => true,
551 ),
552 ),
553 ),'insert' => array(
554 'path' => 'comments',
555 'httpMethod' => 'POST',
556 'parameters' => array(
557 'part' => array(
558 'location' => 'query',
559 'type' => 'string',
560 'required' => true,
561 ),
562 ),
563 ),'list' => array(
564 'path' => 'comments',
565 'httpMethod' => 'GET',
566 'parameters' => array(
567 'part' => array(
568 'location' => 'query',
569 'type' => 'string',
570 'required' => true,
571 ),
572 'id' => array(
573 'location' => 'query',
574 'type' => 'string',
575 ),
576 'maxResults' => array(
577 'location' => 'query',
578 'type' => 'integer',
579 ),
580 'pageToken' => array(
581 'location' => 'query',
582 'type' => 'string',
583 ),
584 'parentId' => array(
585 'location' => 'query',
586 'type' => 'string',
587 ),
588 'textFormat' => array(
589 'location' => 'query',
590 'type' => 'string',
591 ),
592 ),
593 ),'markAsSpam' => array(
594 'path' => 'comments/markAsSpam',
595 'httpMethod' => 'POST',
596 'parameters' => array(
597 'id' => array(
598 'location' => 'query',
599 'type' => 'string',
600 'required' => true,
601 ),
602 ),
603 ),'setModerationStatus' => array(
604 'path' => 'comments/setModerationStatus',
605 'httpMethod' => 'POST',
606 'parameters' => array(
607 'id' => array(
608 'location' => 'query',
609 'type' => 'string',
610 'required' => true,
611 ),
612 'moderationStatus' => array(
613 'location' => 'query',
614 'type' => 'string',
615 'required' => true,
616 ),
617 'banAuthor' => array(
618 'location' => 'query',
619 'type' => 'boolean',
620 ),
621 ),
622 ),'update' => array(
623 'path' => 'comments',
624 'httpMethod' => 'PUT',
625 'parameters' => array(
626 'part' => array(
627 'location' => 'query',
628 'type' => 'string',
629 'required' => true,
630 ),
631 ),
632 ),
633 )
634 )
635 );
636 $this->fanFundingEvents = new Google_Service_YouTube_FanFundingEvents_Resource(
637 $this,
638 $this->serviceName,
639 'fanFundingEvents',
640 array(
641 'methods' => array(
642 'list' => array(
643 'path' => 'fanFundingEvents',
644 'httpMethod' => 'GET',
645 'parameters' => array(
646 'part' => array(
647 'location' => 'query',
648 'type' => 'string',
649 'required' => true,
650 ),
651 'hl' => array(
652 'location' => 'query',
653 'type' => 'string',
654 ),
655 'maxResults' => array(
656 'location' => 'query',
657 'type' => 'integer',
658 ),
659 'pageToken' => array(
660 'location' => 'query',
661 'type' => 'string',
662 ),
663 ),
664 ),
665 )
666 )
667 );
668 $this->guideCategories = new Google_Service_YouTube_GuideCategories_Resource(
669 $this,
670 $this->serviceName,
671 'guideCategories',
672 array(
673 'methods' => array(
674 'list' => array(
675 'path' => 'guideCategories',
676 'httpMethod' => 'GET',
677 'parameters' => array(
678 'part' => array(
679 'location' => 'query',
680 'type' => 'string',
681 'required' => true,
682 ),
683 'hl' => array(
684 'location' => 'query',
685 'type' => 'string',
686 ),
687 'id' => array(
688 'location' => 'query',
689 'type' => 'string',
690 ),
691 'regionCode' => array(
692 'location' => 'query',
693 'type' => 'string',
694 ),
695 ),
696 ),
697 )
698 )
699 );
700 $this->i18nLanguages = new Google_Service_YouTube_I18nLanguages_Resource(
701 $this,
702 $this->serviceName,
703 'i18nLanguages',
704 array(
705 'methods' => array(
706 'list' => array(
707 'path' => 'i18nLanguages',
708 'httpMethod' => 'GET',
709 'parameters' => array(
710 'part' => array(
711 'location' => 'query',
712 'type' => 'string',
713 'required' => true,
714 ),
715 'hl' => array(
716 'location' => 'query',
717 'type' => 'string',
718 ),
719 ),
720 ),
721 )
722 )
723 );
724 $this->i18nRegions = new Google_Service_YouTube_I18nRegions_Resource(
725 $this,
726 $this->serviceName,
727 'i18nRegions',
728 array(
729 'methods' => array(
730 'list' => array(
731 'path' => 'i18nRegions',
732 'httpMethod' => 'GET',
733 'parameters' => array(
734 'part' => array(
735 'location' => 'query',
736 'type' => 'string',
737 'required' => true,
738 ),
739 'hl' => array(
740 'location' => 'query',
741 'type' => 'string',
742 ),
743 ),
744 ),
745 )
746 )
747 );
748 $this->liveBroadcasts = new Google_Service_YouTube_LiveBroadcasts_Resource(
749 $this,
750 $this->serviceName,
751 'liveBroadcasts',
752 array(
753 'methods' => array(
754 'bind' => array(
755 'path' => 'liveBroadcasts/bind',
756 'httpMethod' => 'POST',
757 'parameters' => array(
758 'id' => array(
759 'location' => 'query',
760 'type' => 'string',
761 'required' => true,
762 ),
763 'part' => array(
764 'location' => 'query',
765 'type' => 'string',
766 'required' => true,
767 ),
768 'onBehalfOfContentOwner' => array(
769 'location' => 'query',
770 'type' => 'string',
771 ),
772 'onBehalfOfContentOwnerChannel' => array(
773 'location' => 'query',
774 'type' => 'string',
775 ),
776 'streamId' => array(
777 'location' => 'query',
778 'type' => 'string',
779 ),
780 ),
781 ),'control' => array(
782 'path' => 'liveBroadcasts/control',
783 'httpMethod' => 'POST',
784 'parameters' => array(
785 'id' => array(
786 'location' => 'query',
787 'type' => 'string',
788 'required' => true,
789 ),
790 'part' => array(
791 'location' => 'query',
792 'type' => 'string',
793 'required' => true,
794 ),
795 'displaySlate' => array(
796 'location' => 'query',
797 'type' => 'boolean',
798 ),
799 'offsetTimeMs' => array(
800 'location' => 'query',
801 'type' => 'string',
802 ),
803 'onBehalfOfContentOwner' => array(
804 'location' => 'query',
805 'type' => 'string',
806 ),
807 'onBehalfOfContentOwnerChannel' => array(
808 'location' => 'query',
809 'type' => 'string',
810 ),
811 'walltime' => array(
812 'location' => 'query',
813 'type' => 'string',
814 ),
815 ),
816 ),'delete' => array(
817 'path' => 'liveBroadcasts',
818 'httpMethod' => 'DELETE',
819 'parameters' => array(
820 'id' => array(
821 'location' => 'query',
822 'type' => 'string',
823 'required' => true,
824 ),
825 'onBehalfOfContentOwner' => array(
826 'location' => 'query',
827 'type' => 'string',
828 ),
829 'onBehalfOfContentOwnerChannel' => array(
830 'location' => 'query',
831 'type' => 'string',
832 ),
833 ),
834 ),'insert' => array(
835 'path' => 'liveBroadcasts',
836 'httpMethod' => 'POST',
837 'parameters' => array(
838 'part' => array(
839 'location' => 'query',
840 'type' => 'string',
841 'required' => true,
842 ),
843 'onBehalfOfContentOwner' => array(
844 'location' => 'query',
845 'type' => 'string',
846 ),
847 'onBehalfOfContentOwnerChannel' => array(
848 'location' => 'query',
849 'type' => 'string',
850 ),
851 ),
852 ),'list' => array(
853 'path' => 'liveBroadcasts',
854 'httpMethod' => 'GET',
855 'parameters' => array(
856 'part' => array(
857 'location' => 'query',
858 'type' => 'string',
859 'required' => true,
860 ),
861 'broadcastStatus' => array(
862 'location' => 'query',
863 'type' => 'string',
864 ),
865 'broadcastType' => array(
866 'location' => 'query',
867 'type' => 'string',
868 ),
869 'id' => array(
870 'location' => 'query',
871 'type' => 'string',
872 ),
873 'maxResults' => array(
874 'location' => 'query',
875 'type' => 'integer',
876 ),
877 'mine' => array(
878 'location' => 'query',
879 'type' => 'boolean',
880 ),
881 'onBehalfOfContentOwner' => array(
882 'location' => 'query',
883 'type' => 'string',
884 ),
885 'onBehalfOfContentOwnerChannel' => array(
886 'location' => 'query',
887 'type' => 'string',
888 ),
889 'pageToken' => array(
890 'location' => 'query',
891 'type' => 'string',
892 ),
893 ),
894 ),'transition' => array(
895 'path' => 'liveBroadcasts/transition',
896 'httpMethod' => 'POST',
897 'parameters' => array(
898 'broadcastStatus' => array(
899 'location' => 'query',
900 'type' => 'string',
901 'required' => true,
902 ),
903 'id' => array(
904 'location' => 'query',
905 'type' => 'string',
906 'required' => true,
907 ),
908 'part' => array(
909 'location' => 'query',
910 'type' => 'string',
911 'required' => true,
912 ),
913 'onBehalfOfContentOwner' => array(
914 'location' => 'query',
915 'type' => 'string',
916 ),
917 'onBehalfOfContentOwnerChannel' => array(
918 'location' => 'query',
919 'type' => 'string',
920 ),
921 ),
922 ),'update' => array(
923 'path' => 'liveBroadcasts',
924 'httpMethod' => 'PUT',
925 'parameters' => array(
926 'part' => array(
927 'location' => 'query',
928 'type' => 'string',
929 'required' => true,
930 ),
931 'onBehalfOfContentOwner' => array(
932 'location' => 'query',
933 'type' => 'string',
934 ),
935 'onBehalfOfContentOwnerChannel' => array(
936 'location' => 'query',
937 'type' => 'string',
938 ),
939 ),
940 ),
941 )
942 )
943 );
944 $this->liveChatBans = new Google_Service_YouTube_LiveChatBans_Resource(
945 $this,
946 $this->serviceName,
947 'liveChatBans',
948 array(
949 'methods' => array(
950 'delete' => array(
951 'path' => 'liveChat/bans',
952 'httpMethod' => 'DELETE',
953 'parameters' => array(
954 'id' => array(
955 'location' => 'query',
956 'type' => 'string',
957 'required' => true,
958 ),
959 ),
960 ),'insert' => array(
961 'path' => 'liveChat/bans',
962 'httpMethod' => 'POST',
963 'parameters' => array(
964 'part' => array(
965 'location' => 'query',
966 'type' => 'string',
967 'required' => true,
968 ),
969 ),
970 ),
971 )
972 )
973 );
974 $this->liveChatMessages = new Google_Service_YouTube_LiveChatMessages_Resource(
975 $this,
976 $this->serviceName,
977 'liveChatMessages',
978 array(
979 'methods' => array(
980 'delete' => array(
981 'path' => 'liveChat/messages',
982 'httpMethod' => 'DELETE',
983 'parameters' => array(
984 'id' => array(
985 'location' => 'query',
986 'type' => 'string',
987 'required' => true,
988 ),
989 ),
990 ),'insert' => array(
991 'path' => 'liveChat/messages',
992 'httpMethod' => 'POST',
993 'parameters' => array(
994 'part' => array(
995 'location' => 'query',
996 'type' => 'string',
997 'required' => true,
998 ),
999 ),
1000 ),'list' => array(
1001 'path' => 'liveChat/messages',
1002 'httpMethod' => 'GET',
1003 'parameters' => array(
1004 'liveChatId' => array(
1005 'location' => 'query',
1006 'type' => 'string',
1007 'required' => true,
1008 ),
1009 'part' => array(
1010 'location' => 'query',
1011 'type' => 'string',
1012 'required' => true,
1013 ),
1014 'hl' => array(
1015 'location' => 'query',
1016 'type' => 'string',
1017 ),
1018 'maxResults' => array(
1019 'location' => 'query',
1020 'type' => 'integer',
1021 ),
1022 'pageToken' => array(
1023 'location' => 'query',
1024 'type' => 'string',
1025 ),
1026 'profileImageSize' => array(
1027 'location' => 'query',
1028 'type' => 'integer',
1029 ),
1030 ),
1031 ),
1032 )
1033 )
1034 );
1035 $this->liveChatModerators = new Google_Service_YouTube_LiveChatModerators_Resource(
1036 $this,
1037 $this->serviceName,
1038 'liveChatModerators',
1039 array(
1040 'methods' => array(
1041 'delete' => array(
1042 'path' => 'liveChat/moderators',
1043 'httpMethod' => 'DELETE',
1044 'parameters' => array(
1045 'id' => array(
1046 'location' => 'query',
1047 'type' => 'string',
1048 'required' => true,
1049 ),
1050 ),
1051 ),'insert' => array(
1052 'path' => 'liveChat/moderators',
1053 'httpMethod' => 'POST',
1054 'parameters' => array(
1055 'part' => array(
1056 'location' => 'query',
1057 'type' => 'string',
1058 'required' => true,
1059 ),
1060 ),
1061 ),'list' => array(
1062 'path' => 'liveChat/moderators',
1063 'httpMethod' => 'GET',
1064 'parameters' => array(
1065 'liveChatId' => array(
1066 'location' => 'query',
1067 'type' => 'string',
1068 'required' => true,
1069 ),
1070 'part' => array(
1071 'location' => 'query',
1072 'type' => 'string',
1073 'required' => true,
1074 ),
1075 'maxResults' => array(
1076 'location' => 'query',
1077 'type' => 'integer',
1078 ),
1079 'pageToken' => array(
1080 'location' => 'query',
1081 'type' => 'string',
1082 ),
1083 ),
1084 ),
1085 )
1086 )
1087 );
1088 $this->liveStreams = new Google_Service_YouTube_LiveStreams_Resource(
1089 $this,
1090 $this->serviceName,
1091 'liveStreams',
1092 array(
1093 'methods' => array(
1094 'delete' => array(
1095 'path' => 'liveStreams',
1096 'httpMethod' => 'DELETE',
1097 'parameters' => array(
1098 'id' => array(
1099 'location' => 'query',
1100 'type' => 'string',
1101 'required' => true,
1102 ),
1103 'onBehalfOfContentOwner' => array(
1104 'location' => 'query',
1105 'type' => 'string',
1106 ),
1107 'onBehalfOfContentOwnerChannel' => array(
1108 'location' => 'query',
1109 'type' => 'string',
1110 ),
1111 ),
1112 ),'insert' => array(
1113 'path' => 'liveStreams',
1114 'httpMethod' => 'POST',
1115 'parameters' => array(
1116 'part' => array(
1117 'location' => 'query',
1118 'type' => 'string',
1119 'required' => true,
1120 ),
1121 'onBehalfOfContentOwner' => array(
1122 'location' => 'query',
1123 'type' => 'string',
1124 ),
1125 'onBehalfOfContentOwnerChannel' => array(
1126 'location' => 'query',
1127 'type' => 'string',
1128 ),
1129 ),
1130 ),'list' => array(
1131 'path' => 'liveStreams',
1132 'httpMethod' => 'GET',
1133 'parameters' => array(
1134 'part' => array(
1135 'location' => 'query',
1136 'type' => 'string',
1137 'required' => true,
1138 ),
1139 'id' => array(
1140 'location' => 'query',
1141 'type' => 'string',
1142 ),
1143 'maxResults' => array(
1144 'location' => 'query',
1145 'type' => 'integer',
1146 ),
1147 'mine' => array(
1148 'location' => 'query',
1149 'type' => 'boolean',
1150 ),
1151 'onBehalfOfContentOwner' => array(
1152 'location' => 'query',
1153 'type' => 'string',
1154 ),
1155 'onBehalfOfContentOwnerChannel' => array(
1156 'location' => 'query',
1157 'type' => 'string',
1158 ),
1159 'pageToken' => array(
1160 'location' => 'query',
1161 'type' => 'string',
1162 ),
1163 ),
1164 ),'update' => array(
1165 'path' => 'liveStreams',
1166 'httpMethod' => 'PUT',
1167 'parameters' => array(
1168 'part' => array(
1169 'location' => 'query',
1170 'type' => 'string',
1171 'required' => true,
1172 ),
1173 'onBehalfOfContentOwner' => array(
1174 'location' => 'query',
1175 'type' => 'string',
1176 ),
1177 'onBehalfOfContentOwnerChannel' => array(
1178 'location' => 'query',
1179 'type' => 'string',
1180 ),
1181 ),
1182 ),
1183 )
1184 )
1185 );
1186 $this->playlistItems = new Google_Service_YouTube_PlaylistItems_Resource(
1187 $this,
1188 $this->serviceName,
1189 'playlistItems',
1190 array(
1191 'methods' => array(
1192 'delete' => array(
1193 'path' => 'playlistItems',
1194 'httpMethod' => 'DELETE',
1195 'parameters' => array(
1196 'id' => array(
1197 'location' => 'query',
1198 'type' => 'string',
1199 'required' => true,
1200 ),
1201 ),
1202 ),'insert' => array(
1203 'path' => 'playlistItems',
1204 'httpMethod' => 'POST',
1205 'parameters' => array(
1206 'part' => array(
1207 'location' => 'query',
1208 'type' => 'string',
1209 'required' => true,
1210 ),
1211 'onBehalfOfContentOwner' => array(
1212 'location' => 'query',
1213 'type' => 'string',
1214 ),
1215 ),
1216 ),'list' => array(
1217 'path' => 'playlistItems',
1218 'httpMethod' => 'GET',
1219 'parameters' => array(
1220 'part' => array(
1221 'location' => 'query',
1222 'type' => 'string',
1223 'required' => true,
1224 ),
1225 'id' => array(
1226 'location' => 'query',
1227 'type' => 'string',
1228 ),
1229 'maxResults' => array(
1230 'location' => 'query',
1231 'type' => 'integer',
1232 ),
1233 'onBehalfOfContentOwner' => array(
1234 'location' => 'query',
1235 'type' => 'string',
1236 ),
1237 'pageToken' => array(
1238 'location' => 'query',
1239 'type' => 'string',
1240 ),
1241 'playlistId' => array(
1242 'location' => 'query',
1243 'type' => 'string',
1244 ),
1245 'videoId' => array(
1246 'location' => 'query',
1247 'type' => 'string',
1248 ),
1249 ),
1250 ),'update' => array(
1251 'path' => 'playlistItems',
1252 'httpMethod' => 'PUT',
1253 'parameters' => array(
1254 'part' => array(
1255 'location' => 'query',
1256 'type' => 'string',
1257 'required' => true,
1258 ),
1259 ),
1260 ),
1261 )
1262 )
1263 );
1264 $this->playlists = new Google_Service_YouTube_Playlists_Resource(
1265 $this,
1266 $this->serviceName,
1267 'playlists',
1268 array(
1269 'methods' => array(
1270 'delete' => array(
1271 'path' => 'playlists',
1272 'httpMethod' => 'DELETE',
1273 'parameters' => array(
1274 'id' => array(
1275 'location' => 'query',
1276 'type' => 'string',
1277 'required' => true,
1278 ),
1279 'onBehalfOfContentOwner' => array(
1280 'location' => 'query',
1281 'type' => 'string',
1282 ),
1283 ),
1284 ),'insert' => array(
1285 'path' => 'playlists',
1286 'httpMethod' => 'POST',
1287 'parameters' => array(
1288 'part' => array(
1289 'location' => 'query',
1290 'type' => 'string',
1291 'required' => true,
1292 ),
1293 'onBehalfOfContentOwner' => array(
1294 'location' => 'query',
1295 'type' => 'string',
1296 ),
1297 'onBehalfOfContentOwnerChannel' => array(
1298 'location' => 'query',
1299 'type' => 'string',
1300 ),
1301 ),
1302 ),'list' => array(
1303 'path' => 'playlists',
1304 'httpMethod' => 'GET',
1305 'parameters' => array(
1306 'part' => array(
1307 'location' => 'query',
1308 'type' => 'string',
1309 'required' => true,
1310 ),
1311 'channelId' => array(
1312 'location' => 'query',
1313 'type' => 'string',
1314 ),
1315 'hl' => array(
1316 'location' => 'query',
1317 'type' => 'string',
1318 ),
1319 'id' => array(
1320 'location' => 'query',
1321 'type' => 'string',
1322 ),
1323 'maxResults' => array(
1324 'location' => 'query',
1325 'type' => 'integer',
1326 ),
1327 'mine' => array(
1328 'location' => 'query',
1329 'type' => 'boolean',
1330 ),
1331 'onBehalfOfContentOwner' => array(
1332 'location' => 'query',
1333 'type' => 'string',
1334 ),
1335 'onBehalfOfContentOwnerChannel' => array(
1336 'location' => 'query',
1337 'type' => 'string',
1338 ),
1339 'pageToken' => array(
1340 'location' => 'query',
1341 'type' => 'string',
1342 ),
1343 ),
1344 ),'update' => array(
1345 'path' => 'playlists',
1346 'httpMethod' => 'PUT',
1347 'parameters' => array(
1348 'part' => array(
1349 'location' => 'query',
1350 'type' => 'string',
1351 'required' => true,
1352 ),
1353 'onBehalfOfContentOwner' => array(
1354 'location' => 'query',
1355 'type' => 'string',
1356 ),
1357 ),
1358 ),
1359 )
1360 )
1361 );
1362 $this->search = new Google_Service_YouTube_Search_Resource(
1363 $this,
1364 $this->serviceName,
1365 'search',
1366 array(
1367 'methods' => array(
1368 'list' => array(
1369 'path' => 'search',
1370 'httpMethod' => 'GET',
1371 'parameters' => array(
1372 'part' => array(
1373 'location' => 'query',
1374 'type' => 'string',
1375 'required' => true,
1376 ),
1377 'channelId' => array(
1378 'location' => 'query',
1379 'type' => 'string',
1380 ),
1381 'channelType' => array(
1382 'location' => 'query',
1383 'type' => 'string',
1384 ),
1385 'eventType' => array(
1386 'location' => 'query',
1387 'type' => 'string',
1388 ),
1389 'forContentOwner' => array(
1390 'location' => 'query',
1391 'type' => 'boolean',
1392 ),
1393 'forDeveloper' => array(
1394 'location' => 'query',
1395 'type' => 'boolean',
1396 ),
1397 'forMine' => array(
1398 'location' => 'query',
1399 'type' => 'boolean',
1400 ),
1401 'location' => array(
1402 'location' => 'query',
1403 'type' => 'string',
1404 ),
1405 'locationRadius' => array(
1406 'location' => 'query',
1407 'type' => 'string',
1408 ),
1409 'maxResults' => array(
1410 'location' => 'query',
1411 'type' => 'integer',
1412 ),
1413 'onBehalfOfContentOwner' => array(
1414 'location' => 'query',
1415 'type' => 'string',
1416 ),
1417 'order' => array(
1418 'location' => 'query',
1419 'type' => 'string',
1420 ),
1421 'pageToken' => array(
1422 'location' => 'query',
1423 'type' => 'string',
1424 ),
1425 'publishedAfter' => array(
1426 'location' => 'query',
1427 'type' => 'string',
1428 ),
1429 'publishedBefore' => array(
1430 'location' => 'query',
1431 'type' => 'string',
1432 ),
1433 'q' => array(
1434 'location' => 'query',
1435 'type' => 'string',
1436 ),
1437 'regionCode' => array(
1438 'location' => 'query',
1439 'type' => 'string',
1440 ),
1441 'relatedToVideoId' => array(
1442 'location' => 'query',
1443 'type' => 'string',
1444 ),
1445 'relevanceLanguage' => array(
1446 'location' => 'query',
1447 'type' => 'string',
1448 ),
1449 'safeSearch' => array(
1450 'location' => 'query',
1451 'type' => 'string',
1452 ),
1453 'topicId' => array(
1454 'location' => 'query',
1455 'type' => 'string',
1456 ),
1457 'type' => array(
1458 'location' => 'query',
1459 'type' => 'string',
1460 ),
1461 'videoCaption' => array(
1462 'location' => 'query',
1463 'type' => 'string',
1464 ),
1465 'videoCategoryId' => array(
1466 'location' => 'query',
1467 'type' => 'string',
1468 ),
1469 'videoDefinition' => array(
1470 'location' => 'query',
1471 'type' => 'string',
1472 ),
1473 'videoDimension' => array(
1474 'location' => 'query',
1475 'type' => 'string',
1476 ),
1477 'videoDuration' => array(
1478 'location' => 'query',
1479 'type' => 'string',
1480 ),
1481 'videoEmbeddable' => array(
1482 'location' => 'query',
1483 'type' => 'string',
1484 ),
1485 'videoLicense' => array(
1486 'location' => 'query',
1487 'type' => 'string',
1488 ),
1489 'videoSyndicated' => array(
1490 'location' => 'query',
1491 'type' => 'string',
1492 ),
1493 'videoType' => array(
1494 'location' => 'query',
1495 'type' => 'string',
1496 ),
1497 ),
1498 ),
1499 )
1500 )
1501 );
1502 $this->sponsors = new Google_Service_YouTube_Sponsors_Resource(
1503 $this,
1504 $this->serviceName,
1505 'sponsors',
1506 array(
1507 'methods' => array(
1508 'list' => array(
1509 'path' => 'sponsors',
1510 'httpMethod' => 'GET',
1511 'parameters' => array(
1512 'part' => array(
1513 'location' => 'query',
1514 'type' => 'string',
1515 'required' => true,
1516 ),
1517 'filter' => array(
1518 'location' => 'query',
1519 'type' => 'string',
1520 ),
1521 'maxResults' => array(
1522 'location' => 'query',
1523 'type' => 'integer',
1524 ),
1525 'pageToken' => array(
1526 'location' => 'query',
1527 'type' => 'string',
1528 ),
1529 ),
1530 ),
1531 )
1532 )
1533 );
1534 $this->subscriptions = new Google_Service_YouTube_Subscriptions_Resource(
1535 $this,
1536 $this->serviceName,
1537 'subscriptions',
1538 array(
1539 'methods' => array(
1540 'delete' => array(
1541 'path' => 'subscriptions',
1542 'httpMethod' => 'DELETE',
1543 'parameters' => array(
1544 'id' => array(
1545 'location' => 'query',
1546 'type' => 'string',
1547 'required' => true,
1548 ),
1549 ),
1550 ),'insert' => array(
1551 'path' => 'subscriptions',
1552 'httpMethod' => 'POST',
1553 'parameters' => array(
1554 'part' => array(
1555 'location' => 'query',
1556 'type' => 'string',
1557 'required' => true,
1558 ),
1559 ),
1560 ),'list' => array(
1561 'path' => 'subscriptions',
1562 'httpMethod' => 'GET',
1563 'parameters' => array(
1564 'part' => array(
1565 'location' => 'query',
1566 'type' => 'string',
1567 'required' => true,
1568 ),
1569 'channelId' => array(
1570 'location' => 'query',
1571 'type' => 'string',
1572 ),
1573 'forChannelId' => array(
1574 'location' => 'query',
1575 'type' => 'string',
1576 ),
1577 'id' => array(
1578 'location' => 'query',
1579 'type' => 'string',
1580 ),
1581 'maxResults' => array(
1582 'location' => 'query',
1583 'type' => 'integer',
1584 ),
1585 'mine' => array(
1586 'location' => 'query',
1587 'type' => 'boolean',
1588 ),
1589 'mySubscribers' => array(
1590 'location' => 'query',
1591 'type' => 'boolean',
1592 ),
1593 'onBehalfOfContentOwner' => array(
1594 'location' => 'query',
1595 'type' => 'string',
1596 ),
1597 'onBehalfOfContentOwnerChannel' => array(
1598 'location' => 'query',
1599 'type' => 'string',
1600 ),
1601 'order' => array(
1602 'location' => 'query',
1603 'type' => 'string',
1604 ),
1605 'pageToken' => array(
1606 'location' => 'query',
1607 'type' => 'string',
1608 ),
1609 ),
1610 ),
1611 )
1612 )
1613 );
1614 $this->thumbnails = new Google_Service_YouTube_Thumbnails_Resource(
1615 $this,
1616 $this->serviceName,
1617 'thumbnails',
1618 array(
1619 'methods' => array(
1620 'set' => array(
1621 'path' => 'thumbnails/set',
1622 'httpMethod' => 'POST',
1623 'parameters' => array(
1624 'videoId' => array(
1625 'location' => 'query',
1626 'type' => 'string',
1627 'required' => true,
1628 ),
1629 'onBehalfOfContentOwner' => array(
1630 'location' => 'query',
1631 'type' => 'string',
1632 ),
1633 ),
1634 ),
1635 )
1636 )
1637 );
1638 $this->videoAbuseReportReasons = new Google_Service_YouTube_VideoAbuseReportReasons_Resource(
1639 $this,
1640 $this->serviceName,
1641 'videoAbuseReportReasons',
1642 array(
1643 'methods' => array(
1644 'list' => array(
1645 'path' => 'videoAbuseReportReasons',
1646 'httpMethod' => 'GET',
1647 'parameters' => array(
1648 'part' => array(
1649 'location' => 'query',
1650 'type' => 'string',
1651 'required' => true,
1652 ),
1653 'hl' => array(
1654 'location' => 'query',
1655 'type' => 'string',
1656 ),
1657 ),
1658 ),
1659 )
1660 )
1661 );
1662 $this->videoCategories = new Google_Service_YouTube_VideoCategories_Resource(
1663 $this,
1664 $this->serviceName,
1665 'videoCategories',
1666 array(
1667 'methods' => array(
1668 'list' => array(
1669 'path' => 'videoCategories',
1670 'httpMethod' => 'GET',
1671 'parameters' => array(
1672 'part' => array(
1673 'location' => 'query',
1674 'type' => 'string',
1675 'required' => true,
1676 ),
1677 'hl' => array(
1678 'location' => 'query',
1679 'type' => 'string',
1680 ),
1681 'id' => array(
1682 'location' => 'query',
1683 'type' => 'string',
1684 ),
1685 'regionCode' => array(
1686 'location' => 'query',
1687 'type' => 'string',
1688 ),
1689 ),
1690 ),
1691 )
1692 )
1693 );
1694 $this->videos = new Google_Service_YouTube_Videos_Resource(
1695 $this,
1696 $this->serviceName,
1697 'videos',
1698 array(
1699 'methods' => array(
1700 'delete' => array(
1701 'path' => 'videos',
1702 'httpMethod' => 'DELETE',
1703 'parameters' => array(
1704 'id' => array(
1705 'location' => 'query',
1706 'type' => 'string',
1707 'required' => true,
1708 ),
1709 'onBehalfOfContentOwner' => array(
1710 'location' => 'query',
1711 'type' => 'string',
1712 ),
1713 ),
1714 ),'getRating' => array(
1715 'path' => 'videos/getRating',
1716 'httpMethod' => 'GET',
1717 'parameters' => array(
1718 'id' => array(
1719 'location' => 'query',
1720 'type' => 'string',
1721 'required' => true,
1722 ),
1723 'onBehalfOfContentOwner' => array(
1724 'location' => 'query',
1725 'type' => 'string',
1726 ),
1727 ),
1728 ),'insert' => array(
1729 'path' => 'videos',
1730 'httpMethod' => 'POST',
1731 'parameters' => array(
1732 'part' => array(
1733 'location' => 'query',
1734 'type' => 'string',
1735 'required' => true,
1736 ),
1737 'autoLevels' => array(
1738 'location' => 'query',
1739 'type' => 'boolean',
1740 ),
1741 'notifySubscribers' => array(
1742 'location' => 'query',
1743 'type' => 'boolean',
1744 ),
1745 'onBehalfOfContentOwner' => array(
1746 'location' => 'query',
1747 'type' => 'string',
1748 ),
1749 'onBehalfOfContentOwnerChannel' => array(
1750 'location' => 'query',
1751 'type' => 'string',
1752 ),
1753 'stabilize' => array(
1754 'location' => 'query',
1755 'type' => 'boolean',
1756 ),
1757 ),
1758 ),'list' => array(
1759 'path' => 'videos',
1760 'httpMethod' => 'GET',
1761 'parameters' => array(
1762 'part' => array(
1763 'location' => 'query',
1764 'type' => 'string',
1765 'required' => true,
1766 ),
1767 'chart' => array(
1768 'location' => 'query',
1769 'type' => 'string',
1770 ),
1771 'hl' => array(
1772 'location' => 'query',
1773 'type' => 'string',
1774 ),
1775 'id' => array(
1776 'location' => 'query',
1777 'type' => 'string',
1778 ),
1779 'locale' => array(
1780 'location' => 'query',
1781 'type' => 'string',
1782 ),
1783 'maxResults' => array(
1784 'location' => 'query',
1785 'type' => 'integer',
1786 ),
1787 'myRating' => array(
1788 'location' => 'query',
1789 'type' => 'string',
1790 ),
1791 'onBehalfOfContentOwner' => array(
1792 'location' => 'query',
1793 'type' => 'string',
1794 ),
1795 'pageToken' => array(
1796 'location' => 'query',
1797 'type' => 'string',
1798 ),
1799 'regionCode' => array(
1800 'location' => 'query',
1801 'type' => 'string',
1802 ),
1803 'videoCategoryId' => array(
1804 'location' => 'query',
1805 'type' => 'string',
1806 ),
1807 ),
1808 ),'rate' => array(
1809 'path' => 'videos/rate',
1810 'httpMethod' => 'POST',
1811 'parameters' => array(
1812 'id' => array(
1813 'location' => 'query',
1814 'type' => 'string',
1815 'required' => true,
1816 ),
1817 'rating' => array(
1818 'location' => 'query',
1819 'type' => 'string',
1820 'required' => true,
1821 ),
1822 ),
1823 ),'reportAbuse' => array(
1824 'path' => 'videos/reportAbuse',
1825 'httpMethod' => 'POST',
1826 'parameters' => array(
1827 'onBehalfOfContentOwner' => array(
1828 'location' => 'query',
1829 'type' => 'string',
1830 ),
1831 ),
1832 ),'update' => array(
1833 'path' => 'videos',
1834 'httpMethod' => 'PUT',
1835 'parameters' => array(
1836 'part' => array(
1837 'location' => 'query',
1838 'type' => 'string',
1839 'required' => true,
1840 ),
1841 'onBehalfOfContentOwner' => array(
1842 'location' => 'query',
1843 'type' => 'string',
1844 ),
1845 ),
1846 ),
1847 )
1848 )
1849 );
1850 $this->watermarks = new Google_Service_YouTube_Watermarks_Resource(
1851 $this,
1852 $this->serviceName,
1853 'watermarks',
1854 array(
1855 'methods' => array(
1856 'set' => array(
1857 'path' => 'watermarks/set',
1858 'httpMethod' => 'POST',
1859 'parameters' => array(
1860 'channelId' => array(
1861 'location' => 'query',
1862 'type' => 'string',
1863 'required' => true,
1864 ),
1865 'onBehalfOfContentOwner' => array(
1866 'location' => 'query',
1867 'type' => 'string',
1868 ),
1869 ),
1870 ),'unset' => array(
1871 'path' => 'watermarks/unset',
1872 'httpMethod' => 'POST',
1873 'parameters' => array(
1874 'channelId' => array(
1875 'location' => 'query',
1876 'type' => 'string',
1877 'required' => true,
1878 ),
1879 'onBehalfOfContentOwner' => array(
1880 'location' => 'query',
1881 'type' => 'string',
1882 ),
1883 ),
1884 ),
1885 )
1886 )
1887 );
1888 }
1889 }
1890
1891
1892 /**
1893 * The "activities" collection of methods.
1894 * Typical usage is:
1895 * <code>
1896 * $youtubeService = new Google_Service_YouTube(...);
1897 * $activities = $youtubeService->activities;
1898 * </code>
1899 */
1900 class Google_Service_YouTube_Activities_Resource extends Google_Service_Resource
1901 {
1902
1903 /**
1904 * Posts a bulletin for a specific channel. (The user submitting the request
1905 * must be authorized to act on the channel's behalf.)
1906 *
1907 * Note: Even though an activity resource can contain information about actions
1908 * like a user rating a video or marking a video as a favorite, you need to use
1909 * other API methods to generate those activity resources. For example, you
1910 * would use the API's videos.rate() method to rate a video and the
1911 * playlistItems.insert() method to mark a video as a favorite.
1912 * (activities.insert)
1913 *
1914 * @param string $part The part parameter serves two purposes in this operation.
1915 * It identifies the properties that the write operation will set as well as the
1916 * properties that the API response will include.
1917 * @param Google_Activity $postBody
1918 * @param array $optParams Optional parameters.
1919 * @return Google_Service_YouTube_Activity
1920 */
1921 public function insert($part, Google_Service_YouTube_Activity $postBody, $optParams = array())
1922 {
1923 $params = array('part' => $part, 'postBody' => $postBody);
1924 $params = array_merge($params, $optParams);
1925 return $this->call('insert', array($params), "Google_Service_YouTube_Activity");
1926 }
1927
1928 /**
1929 * Returns a list of channel activity events that match the request criteria.
1930 * For example, you can retrieve events associated with a particular channel,
1931 * events associated with the user's subscriptions and Google+ friends, or the
1932 * YouTube home page feed, which is customized for each user.
1933 * (activities.listActivities)
1934 *
1935 * @param string $part The part parameter specifies a comma-separated list of
1936 * one or more activity resource properties that the API response will include.
1937 *
1938 * If the parameter identifies a property that contains child properties, the
1939 * child properties will be included in the response. For example, in an
1940 * activity resource, the snippet property contains other properties that
1941 * identify the type of activity, a display title for the activity, and so
1942 * forth. If you set part=snippet, the API response will also contain all of
1943 * those nested properties.
1944 * @param array $optParams Optional parameters.
1945 *
1946 * @opt_param string channelId The channelId parameter specifies a unique
1947 * YouTube channel ID. The API will then return a list of that channel's
1948 * activities.
1949 * @opt_param bool home Set this parameter's value to true to retrieve the
1950 * activity feed that displays on the YouTube home page for the currently
1951 * authenticated user.
1952 * @opt_param string maxResults The maxResults parameter specifies the maximum
1953 * number of items that should be returned in the result set.
1954 * @opt_param bool mine Set this parameter's value to true to retrieve a feed of
1955 * the authenticated user's activities.
1956 * @opt_param string pageToken The pageToken parameter identifies a specific
1957 * page in the result set that should be returned. In an API response, the
1958 * nextPageToken and prevPageToken properties identify other pages that could be
1959 * retrieved.
1960 * @opt_param string publishedAfter The publishedAfter parameter specifies the
1961 * earliest date and time that an activity could have occurred for that activity
1962 * to be included in the API response. If the parameter value specifies a day,
1963 * but not a time, then any activities that occurred that day will be included
1964 * in the result set. The value is specified in ISO 8601 (YYYY-MM-
1965 * DDThh:mm:ss.sZ) format.
1966 * @opt_param string publishedBefore The publishedBefore parameter specifies the
1967 * date and time before which an activity must have occurred for that activity
1968 * to be included in the API response. If the parameter value specifies a day,
1969 * but not a time, then any activities that occurred that day will be excluded
1970 * from the result set. The value is specified in ISO 8601 (YYYY-MM-
1971 * DDThh:mm:ss.sZ) format.
1972 * @opt_param string regionCode The regionCode parameter instructs the API to
1973 * return results for the specified country. The parameter value is an ISO
1974 * 3166-1 alpha-2 country code. YouTube uses this value when the authorized
1975 * user's previous activity on YouTube does not provide enough information to
1976 * generate the activity feed.
1977 * @return Google_Service_YouTube_ActivityListResponse
1978 */
1979 public function listActivities($part, $optParams = array())
1980 {
1981 $params = array('part' => $part);
1982 $params = array_merge($params, $optParams);
1983 return $this->call('list', array($params), "Google_Service_YouTube_ActivityListResponse");
1984 }
1985 }
1986
1987 /**
1988 * The "captions" collection of methods.
1989 * Typical usage is:
1990 * <code>
1991 * $youtubeService = new Google_Service_YouTube(...);
1992 * $captions = $youtubeService->captions;
1993 * </code>
1994 */
1995 class Google_Service_YouTube_Captions_Resource extends Google_Service_Resource
1996 {
1997
1998 /**
1999 * Deletes a specified caption track. (captions.delete)
2000 *
2001 * @param string $id The id parameter identifies the caption track that is being
2002 * deleted. The value is a caption track ID as identified by the id property in
2003 * a caption resource.
2004 * @param array $optParams Optional parameters.
2005 *
2006 * @opt_param string onBehalfOf ID of the Google+ Page for the channel that the
2007 * request is be on behalf of
2008 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
2009 * exclusively for YouTube content partners.
2010 *
2011 * The onBehalfOfContentOwner parameter indicates that the request's
2012 * authorization credentials identify a YouTube CMS user who is acting on behalf
2013 * of the content owner specified in the parameter value. This parameter is
2014 * intended for YouTube content partners that own and manage many different
2015 * YouTube channels. It allows content owners to authenticate once and get
2016 * access to all their video and channel data, without having to provide
2017 * authentication credentials for each individual channel. The actual CMS
2018 * account that the user authenticates with must be linked to the specified
2019 * YouTube content owner.
2020 */
2021 public function delete($id, $optParams = array())
2022 {
2023 $params = array('id' => $id);
2024 $params = array_merge($params, $optParams);
2025 return $this->call('delete', array($params));
2026 }
2027
2028 /**
2029 * Downloads a caption track. The caption track is returned in its original
2030 * format unless the request specifies a value for the tfmt parameter and in its
2031 * original language unless the request specifies a value for the tlang
2032 * parameter. (captions.download)
2033 *
2034 * @param string $id The id parameter identifies the caption track that is being
2035 * retrieved. The value is a caption track ID as identified by the id property
2036 * in a caption resource.
2037 * @param array $optParams Optional parameters.
2038 *
2039 * @opt_param string onBehalfOf ID of the Google+ Page for the channel that the
2040 * request is be on behalf of
2041 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
2042 * exclusively for YouTube content partners.
2043 *
2044 * The onBehalfOfContentOwner parameter indicates that the request's
2045 * authorization credentials identify a YouTube CMS user who is acting on behalf
2046 * of the content owner specified in the parameter value. This parameter is
2047 * intended for YouTube content partners that own and manage many different
2048 * YouTube channels. It allows content owners to authenticate once and get
2049 * access to all their video and channel data, without having to provide
2050 * authentication credentials for each individual channel. The actual CMS
2051 * account that the user authenticates with must be linked to the specified
2052 * YouTube content owner.
2053 * @opt_param string tfmt The tfmt parameter specifies that the caption track
2054 * should be returned in a specific format. If the parameter is not included in
2055 * the request, the track is returned in its original format.
2056 * @opt_param string tlang The tlang parameter specifies that the API response
2057 * should return a translation of the specified caption track. The parameter
2058 * value is an ISO 639-1 two-letter language code that identifies the desired
2059 * caption language. The translation is generated by using machine translation,
2060 * such as Google Translate.
2061 */
2062 public function download($id, $optParams = array())
2063 {
2064 $params = array('id' => $id);
2065 $params = array_merge($params, $optParams);
2066 return $this->call('download', array($params));
2067 }
2068
2069 /**
2070 * Uploads a caption track. (captions.insert)
2071 *
2072 * @param string $part The part parameter specifies the caption resource parts
2073 * that the API response will include. Set the parameter value to snippet.
2074 * @param Google_Caption $postBody
2075 * @param array $optParams Optional parameters.
2076 *
2077 * @opt_param string onBehalfOf ID of the Google+ Page for the channel that the
2078 * request is be on behalf of
2079 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
2080 * exclusively for YouTube content partners.
2081 *
2082 * The onBehalfOfContentOwner parameter indicates that the request's
2083 * authorization credentials identify a YouTube CMS user who is acting on behalf
2084 * of the content owner specified in the parameter value. This parameter is
2085 * intended for YouTube content partners that own and manage many different
2086 * YouTube channels. It allows content owners to authenticate once and get
2087 * access to all their video and channel data, without having to provide
2088 * authentication credentials for each individual channel. The actual CMS
2089 * account that the user authenticates with must be linked to the specified
2090 * YouTube content owner.
2091 * @opt_param bool sync The sync parameter indicates whether YouTube should
2092 * automatically synchronize the caption file with the audio track of the video.
2093 * If you set the value to true, YouTube will disregard any time codes that are
2094 * in the uploaded caption file and generate new time codes for the captions.
2095 *
2096 * You should set the sync parameter to true if you are uploading a transcript,
2097 * which has no time codes, or if you suspect the time codes in your file are
2098 * incorrect and want YouTube to try to fix them.
2099 * @return Google_Service_YouTube_Caption
2100 */
2101 public function insert($part, Google_Service_YouTube_Caption $postBody, $optParams = array())
2102 {
2103 $params = array('part' => $part, 'postBody' => $postBody);
2104 $params = array_merge($params, $optParams);
2105 return $this->call('insert', array($params), "Google_Service_YouTube_Caption");
2106 }
2107
2108 /**
2109 * Returns a list of caption tracks that are associated with a specified video.
2110 * Note that the API response does not contain the actual captions and that the
2111 * captions.download method provides the ability to retrieve a caption track.
2112 * (captions.listCaptions)
2113 *
2114 * @param string $part The part parameter specifies a comma-separated list of
2115 * one or more caption resource parts that the API response will include. The
2116 * part names that you can include in the parameter value are id and snippet.
2117 * @param string $videoId The videoId parameter specifies the YouTube video ID
2118 * of the video for which the API should return caption tracks.
2119 * @param array $optParams Optional parameters.
2120 *
2121 * @opt_param string id The id parameter specifies a comma-separated list of IDs
2122 * that identify the caption resources that should be retrieved. Each ID must
2123 * identify a caption track associated with the specified video.
2124 * @opt_param string onBehalfOf ID of the Google+ Page for the channel that the
2125 * request is on behalf of.
2126 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
2127 * exclusively for YouTube content partners.
2128 *
2129 * The onBehalfOfContentOwner parameter indicates that the request's
2130 * authorization credentials identify a YouTube CMS user who is acting on behalf
2131 * of the content owner specified in the parameter value. This parameter is
2132 * intended for YouTube content partners that own and manage many different
2133 * YouTube channels. It allows content owners to authenticate once and get
2134 * access to all their video and channel data, without having to provide
2135 * authentication credentials for each individual channel. The actual CMS
2136 * account that the user authenticates with must be linked to the specified
2137 * YouTube content owner.
2138 * @return Google_Service_YouTube_CaptionListResponse
2139 */
2140 public function listCaptions($part, $videoId, $optParams = array())
2141 {
2142 $params = array('part' => $part, 'videoId' => $videoId);
2143 $params = array_merge($params, $optParams);
2144 return $this->call('list', array($params), "Google_Service_YouTube_CaptionListResponse");
2145 }
2146
2147 /**
2148 * Updates a caption track. When updating a caption track, you can change the
2149 * track's draft status, upload a new caption file for the track, or both.
2150 * (captions.update)
2151 *
2152 * @param string $part The part parameter serves two purposes in this operation.
2153 * It identifies the properties that the write operation will set as well as the
2154 * properties that the API response will include. Set the property value to
2155 * snippet if you are updating the track's draft status. Otherwise, set the
2156 * property value to id.
2157 * @param Google_Caption $postBody
2158 * @param array $optParams Optional parameters.
2159 *
2160 * @opt_param string onBehalfOf ID of the Google+ Page for the channel that the
2161 * request is be on behalf of
2162 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
2163 * exclusively for YouTube content partners.
2164 *
2165 * The onBehalfOfContentOwner parameter indicates that the request's
2166 * authorization credentials identify a YouTube CMS user who is acting on behalf
2167 * of the content owner specified in the parameter value. This parameter is
2168 * intended for YouTube content partners that own and manage many different
2169 * YouTube channels. It allows content owners to authenticate once and get
2170 * access to all their video and channel data, without having to provide
2171 * authentication credentials for each individual channel. The actual CMS
2172 * account that the user authenticates with must be linked to the specified
2173 * YouTube content owner.
2174 * @opt_param bool sync Note: The API server only processes the parameter value
2175 * if the request contains an updated caption file.
2176 *
2177 * The sync parameter indicates whether YouTube should automatically synchronize
2178 * the caption file with the audio track of the video. If you set the value to
2179 * true, YouTube will automatically synchronize the caption track with the audio
2180 * track.
2181 * @return Google_Service_YouTube_Caption
2182 */
2183 public function update($part, Google_Service_YouTube_Caption $postBody, $optParams = array())
2184 {
2185 $params = array('part' => $part, 'postBody' => $postBody);
2186 $params = array_merge($params, $optParams);
2187 return $this->call('update', array($params), "Google_Service_YouTube_Caption");
2188 }
2189 }
2190
2191 /**
2192 * The "channelBanners" collection of methods.
2193 * Typical usage is:
2194 * <code>
2195 * $youtubeService = new Google_Service_YouTube(...);
2196 * $channelBanners = $youtubeService->channelBanners;
2197 * </code>
2198 */
2199 class Google_Service_YouTube_ChannelBanners_Resource extends Google_Service_Resource
2200 {
2201
2202 /**
2203 * Uploads a channel banner image to YouTube. This method represents the first
2204 * two steps in a three-step process to update the banner image for a channel:
2205 *
2206 * - Call the channelBanners.insert method to upload the binary image data to
2207 * YouTube. The image must have a 16:9 aspect ratio and be at least 2120x1192
2208 * pixels. - Extract the url property's value from the response that the API
2209 * returns for step 1. - Call the channels.update method to update the channel's
2210 * branding settings. Set the brandingSettings.image.bannerExternalUrl
2211 * property's value to the URL obtained in step 2. (channelBanners.insert)
2212 *
2213 * @param Google_ChannelBannerResource $postBody
2214 * @param array $optParams Optional parameters.
2215 *
2216 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
2217 * exclusively for YouTube content partners.
2218 *
2219 * The onBehalfOfContentOwner parameter indicates that the request's
2220 * authorization credentials identify a YouTube CMS user who is acting on behalf
2221 * of the content owner specified in the parameter value. This parameter is
2222 * intended for YouTube content partners that own and manage many different
2223 * YouTube channels. It allows content owners to authenticate once and get
2224 * access to all their video and channel data, without having to provide
2225 * authentication credentials for each individual channel. The CMS account that
2226 * the user authenticates with must be linked to the specified YouTube content
2227 * owner.
2228 * @return Google_Service_YouTube_ChannelBannerResource
2229 */
2230 public function insert(Google_Service_YouTube_ChannelBannerResource $postBody, $optParams = array())
2231 {
2232 $params = array('postBody' => $postBody);
2233 $params = array_merge($params, $optParams);
2234 return $this->call('insert', array($params), "Google_Service_YouTube_ChannelBannerResource");
2235 }
2236 }
2237
2238 /**
2239 * The "channelSections" collection of methods.
2240 * Typical usage is:
2241 * <code>
2242 * $youtubeService = new Google_Service_YouTube(...);
2243 * $channelSections = $youtubeService->channelSections;
2244 * </code>
2245 */
2246 class Google_Service_YouTube_ChannelSections_Resource extends Google_Service_Resource
2247 {
2248
2249 /**
2250 * Deletes a channelSection. (channelSections.delete)
2251 *
2252 * @param string $id The id parameter specifies the YouTube channelSection ID
2253 * for the resource that is being deleted. In a channelSection resource, the id
2254 * property specifies the YouTube channelSection ID.
2255 * @param array $optParams Optional parameters.
2256 *
2257 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
2258 * exclusively for YouTube content partners.
2259 *
2260 * The onBehalfOfContentOwner parameter indicates that the request's
2261 * authorization credentials identify a YouTube CMS user who is acting on behalf
2262 * of the content owner specified in the parameter value. This parameter is
2263 * intended for YouTube content partners that own and manage many different
2264 * YouTube channels. It allows content owners to authenticate once and get
2265 * access to all their video and channel data, without having to provide
2266 * authentication credentials for each individual channel. The CMS account that
2267 * the user authenticates with must be linked to the specified YouTube content
2268 * owner.
2269 */
2270 public function delete($id, $optParams = array())
2271 {
2272 $params = array('id' => $id);
2273 $params = array_merge($params, $optParams);
2274 return $this->call('delete', array($params));
2275 }
2276
2277 /**
2278 * Adds a channelSection for the authenticated user's channel.
2279 * (channelSections.insert)
2280 *
2281 * @param string $part The part parameter serves two purposes in this operation.
2282 * It identifies the properties that the write operation will set as well as the
2283 * properties that the API response will include.
2284 *
2285 * The part names that you can include in the parameter value are snippet and
2286 * contentDetails.
2287 * @param Google_ChannelSection $postBody
2288 * @param array $optParams Optional parameters.
2289 *
2290 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
2291 * exclusively for YouTube content partners.
2292 *
2293 * The onBehalfOfContentOwner parameter indicates that the request's
2294 * authorization credentials identify a YouTube CMS user who is acting on behalf
2295 * of the content owner specified in the parameter value. This parameter is
2296 * intended for YouTube content partners that own and manage many different
2297 * YouTube channels. It allows content owners to authenticate once and get
2298 * access to all their video and channel data, without having to provide
2299 * authentication credentials for each individual channel. The CMS account that
2300 * the user authenticates with must be linked to the specified YouTube content
2301 * owner.
2302 * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
2303 * used in a properly authorized request. Note: This parameter is intended
2304 * exclusively for YouTube content partners.
2305 *
2306 * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
2307 * of the channel to which a video is being added. This parameter is required
2308 * when a request specifies a value for the onBehalfOfContentOwner parameter,
2309 * and it can only be used in conjunction with that parameter. In addition, the
2310 * request must be authorized using a CMS account that is linked to the content
2311 * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
2312 * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
2313 * be linked to the content owner that the onBehalfOfContentOwner parameter
2314 * specifies.
2315 *
2316 * This parameter is intended for YouTube content partners that own and manage
2317 * many different YouTube channels. It allows content owners to authenticate
2318 * once and perform actions on behalf of the channel specified in the parameter
2319 * value, without having to provide authentication credentials for each separate
2320 * channel.
2321 * @return Google_Service_YouTube_ChannelSection
2322 */
2323 public function insert($part, Google_Service_YouTube_ChannelSection $postBody, $optParams = array())
2324 {
2325 $params = array('part' => $part, 'postBody' => $postBody);
2326 $params = array_merge($params, $optParams);
2327 return $this->call('insert', array($params), "Google_Service_YouTube_ChannelSection");
2328 }
2329
2330 /**
2331 * Returns channelSection resources that match the API request criteria.
2332 * (channelSections.listChannelSections)
2333 *
2334 * @param string $part The part parameter specifies a comma-separated list of
2335 * one or more channelSection resource properties that the API response will
2336 * include. The part names that you can include in the parameter value are id,
2337 * snippet, and contentDetails.
2338 *
2339 * If the parameter identifies a property that contains child properties, the
2340 * child properties will be included in the response. For example, in a
2341 * channelSection resource, the snippet property contains other properties, such
2342 * as a display title for the channelSection. If you set part=snippet, the API
2343 * response will also contain all of those nested properties.
2344 * @param array $optParams Optional parameters.
2345 *
2346 * @opt_param string channelId The channelId parameter specifies a YouTube
2347 * channel ID. The API will only return that channel's channelSections.
2348 * @opt_param string hl The hl parameter indicates that the snippet.localized
2349 * property values in the returned channelSection resources should be in the
2350 * specified language if localized values for that language are available. For
2351 * example, if the API request specifies hl=de, the snippet.localized properties
2352 * in the API response will contain German titles if German titles are
2353 * available. Channel owners can provide localized channel section titles using
2354 * either the channelSections.insert or channelSections.update method.
2355 * @opt_param string id The id parameter specifies a comma-separated list of the
2356 * YouTube channelSection ID(s) for the resource(s) that are being retrieved. In
2357 * a channelSection resource, the id property specifies the YouTube
2358 * channelSection ID.
2359 * @opt_param bool mine Set this parameter's value to true to retrieve a feed of
2360 * the authenticated user's channelSections.
2361 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
2362 * exclusively for YouTube content partners.
2363 *
2364 * The onBehalfOfContentOwner parameter indicates that the request's
2365 * authorization credentials identify a YouTube CMS user who is acting on behalf
2366 * of the content owner specified in the parameter value. This parameter is
2367 * intended for YouTube content partners that own and manage many different
2368 * YouTube channels. It allows content owners to authenticate once and get
2369 * access to all their video and channel data, without having to provide
2370 * authentication credentials for each individual channel. The CMS account that
2371 * the user authenticates with must be linked to the specified YouTube content
2372 * owner.
2373 * @return Google_Service_YouTube_ChannelSectionListResponse
2374 */
2375 public function listChannelSections($part, $optParams = array())
2376 {
2377 $params = array('part' => $part);
2378 $params = array_merge($params, $optParams);
2379 return $this->call('list', array($params), "Google_Service_YouTube_ChannelSectionListResponse");
2380 }
2381
2382 /**
2383 * Update a channelSection. (channelSections.update)
2384 *
2385 * @param string $part The part parameter serves two purposes in this operation.
2386 * It identifies the properties that the write operation will set as well as the
2387 * properties that the API response will include.
2388 *
2389 * The part names that you can include in the parameter value are snippet and
2390 * contentDetails.
2391 * @param Google_ChannelSection $postBody
2392 * @param array $optParams Optional parameters.
2393 *
2394 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
2395 * exclusively for YouTube content partners.
2396 *
2397 * The onBehalfOfContentOwner parameter indicates that the request's
2398 * authorization credentials identify a YouTube CMS user who is acting on behalf
2399 * of the content owner specified in the parameter value. This parameter is
2400 * intended for YouTube content partners that own and manage many different
2401 * YouTube channels. It allows content owners to authenticate once and get
2402 * access to all their video and channel data, without having to provide
2403 * authentication credentials for each individual channel. The CMS account that
2404 * the user authenticates with must be linked to the specified YouTube content
2405 * owner.
2406 * @return Google_Service_YouTube_ChannelSection
2407 */
2408 public function update($part, Google_Service_YouTube_ChannelSection $postBody, $optParams = array())
2409 {
2410 $params = array('part' => $part, 'postBody' => $postBody);
2411 $params = array_merge($params, $optParams);
2412 return $this->call('update', array($params), "Google_Service_YouTube_ChannelSection");
2413 }
2414 }
2415
2416 /**
2417 * The "channels" collection of methods.
2418 * Typical usage is:
2419 * <code>
2420 * $youtubeService = new Google_Service_YouTube(...);
2421 * $channels = $youtubeService->channels;
2422 * </code>
2423 */
2424 class Google_Service_YouTube_Channels_Resource extends Google_Service_Resource
2425 {
2426
2427 /**
2428 * Returns a collection of zero or more channel resources that match the request
2429 * criteria. (channels.listChannels)
2430 *
2431 * @param string $part The part parameter specifies a comma-separated list of
2432 * one or more channel resource properties that the API response will include.
2433 *
2434 * If the parameter identifies a property that contains child properties, the
2435 * child properties will be included in the response. For example, in a channel
2436 * resource, the contentDetails property contains other properties, such as the
2437 * uploads properties. As such, if you set part=contentDetails, the API response
2438 * will also contain all of those nested properties.
2439 * @param array $optParams Optional parameters.
2440 *
2441 * @opt_param string categoryId The categoryId parameter specifies a YouTube
2442 * guide category, thereby requesting YouTube channels associated with that
2443 * category.
2444 * @opt_param string forUsername The forUsername parameter specifies a YouTube
2445 * username, thereby requesting the channel associated with that username.
2446 * @opt_param string hl The hl parameter should be used for filter out the
2447 * properties that are not in the given language. Used for the brandingSettings
2448 * part.
2449 * @opt_param string id The id parameter specifies a comma-separated list of the
2450 * YouTube channel ID(s) for the resource(s) that are being retrieved. In a
2451 * channel resource, the id property specifies the channel's YouTube channel ID.
2452 * @opt_param bool managedByMe Note: This parameter is intended exclusively for
2453 * YouTube content partners.
2454 *
2455 * Set this parameter's value to true to instruct the API to only return
2456 * channels managed by the content owner that the onBehalfOfContentOwner
2457 * parameter specifies. The user must be authenticated as a CMS account linked
2458 * to the specified content owner and onBehalfOfContentOwner must be provided.
2459 * @opt_param string maxResults The maxResults parameter specifies the maximum
2460 * number of items that should be returned in the result set.
2461 * @opt_param bool mine Set this parameter's value to true to instruct the API
2462 * to only return channels owned by the authenticated user.
2463 * @opt_param bool mySubscribers Use the subscriptions.list method and its
2464 * mySubscribers parameter to retrieve a list of subscribers to the
2465 * authenticated user's channel.
2466 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
2467 * exclusively for YouTube content partners.
2468 *
2469 * The onBehalfOfContentOwner parameter indicates that the request's
2470 * authorization credentials identify a YouTube CMS user who is acting on behalf
2471 * of the content owner specified in the parameter value. This parameter is
2472 * intended for YouTube content partners that own and manage many different
2473 * YouTube channels. It allows content owners to authenticate once and get
2474 * access to all their video and channel data, without having to provide
2475 * authentication credentials for each individual channel. The CMS account that
2476 * the user authenticates with must be linked to the specified YouTube content
2477 * owner.
2478 * @opt_param string pageToken The pageToken parameter identifies a specific
2479 * page in the result set that should be returned. In an API response, the
2480 * nextPageToken and prevPageToken properties identify other pages that could be
2481 * retrieved.
2482 * @return Google_Service_YouTube_ChannelListResponse
2483 */
2484 public function listChannels($part, $optParams = array())
2485 {
2486 $params = array('part' => $part);
2487 $params = array_merge($params, $optParams);
2488 return $this->call('list', array($params), "Google_Service_YouTube_ChannelListResponse");
2489 }
2490
2491 /**
2492 * Updates a channel's metadata. Note that this method currently only supports
2493 * updates to the channel resource's brandingSettings and invideoPromotion
2494 * objects and their child properties. (channels.update)
2495 *
2496 * @param string $part The part parameter serves two purposes in this operation.
2497 * It identifies the properties that the write operation will set as well as the
2498 * properties that the API response will include.
2499 *
2500 * The API currently only allows the parameter value to be set to either
2501 * brandingSettings or invideoPromotion. (You cannot update both of those parts
2502 * with a single request.)
2503 *
2504 * Note that this method overrides the existing values for all of the mutable
2505 * properties that are contained in any parts that the parameter value
2506 * specifies.
2507 * @param Google_Channel $postBody
2508 * @param array $optParams Optional parameters.
2509 *
2510 * @opt_param string onBehalfOfContentOwner The onBehalfOfContentOwner parameter
2511 * indicates that the authenticated user is acting on behalf of the content
2512 * owner specified in the parameter value. This parameter is intended for
2513 * YouTube content partners that own and manage many different YouTube channels.
2514 * It allows content owners to authenticate once and get access to all their
2515 * video and channel data, without having to provide authentication credentials
2516 * for each individual channel. The actual CMS account that the user
2517 * authenticates with needs to be linked to the specified YouTube content owner.
2518 * @return Google_Service_YouTube_Channel
2519 */
2520 public function update($part, Google_Service_YouTube_Channel $postBody, $optParams = array())
2521 {
2522 $params = array('part' => $part, 'postBody' => $postBody);
2523 $params = array_merge($params, $optParams);
2524 return $this->call('update', array($params), "Google_Service_YouTube_Channel");
2525 }
2526 }
2527
2528 /**
2529 * The "commentThreads" collection of methods.
2530 * Typical usage is:
2531 * <code>
2532 * $youtubeService = new Google_Service_YouTube(...);
2533 * $commentThreads = $youtubeService->commentThreads;
2534 * </code>
2535 */
2536 class Google_Service_YouTube_CommentThreads_Resource extends Google_Service_Resource
2537 {
2538
2539 /**
2540 * Creates a new top-level comment. To add a reply to an existing comment, use
2541 * the comments.insert method instead. (commentThreads.insert)
2542 *
2543 * @param string $part The part parameter identifies the properties that the API
2544 * response will include. Set the parameter value to snippet. The snippet part
2545 * has a quota cost of 2 units.
2546 * @param Google_CommentThread $postBody
2547 * @param array $optParams Optional parameters.
2548 * @return Google_Service_YouTube_CommentThread
2549 */
2550 public function insert($part, Google_Service_YouTube_CommentThread $postBody, $optParams = array())
2551 {
2552 $params = array('part' => $part, 'postBody' => $postBody);
2553 $params = array_merge($params, $optParams);
2554 return $this->call('insert', array($params), "Google_Service_YouTube_CommentThread");
2555 }
2556
2557 /**
2558 * Returns a list of comment threads that match the API request parameters.
2559 * (commentThreads.listCommentThreads)
2560 *
2561 * @param string $part The part parameter specifies a comma-separated list of
2562 * one or more commentThread resource properties that the API response will
2563 * include.
2564 * @param array $optParams Optional parameters.
2565 *
2566 * @opt_param string allThreadsRelatedToChannelId The
2567 * allThreadsRelatedToChannelId parameter instructs the API to return all
2568 * comment threads associated with the specified channel. The response can
2569 * include comments about the channel or about the channel's videos.
2570 * @opt_param string channelId The channelId parameter instructs the API to
2571 * return comment threads containing comments about the specified channel. (The
2572 * response will not include comments left on videos that the channel uploaded.)
2573 * @opt_param string id The id parameter specifies a comma-separated list of
2574 * comment thread IDs for the resources that should be retrieved.
2575 * @opt_param string maxResults The maxResults parameter specifies the maximum
2576 * number of items that should be returned in the result set.
2577 *
2578 * Note: This parameter is not supported for use in conjunction with the id
2579 * parameter.
2580 * @opt_param string moderationStatus Set this parameter to limit the returned
2581 * comment threads to a particular moderation state.
2582 *
2583 * Note: This parameter is not supported for use in conjunction with the id
2584 * parameter.
2585 * @opt_param string order The order parameter specifies the order in which the
2586 * API response should list comment threads. Valid values are: - time - Comment
2587 * threads are ordered by time. This is the default behavior. - relevance -
2588 * Comment threads are ordered by relevance.Note: This parameter is not
2589 * supported for use in conjunction with the id parameter.
2590 * @opt_param string pageToken The pageToken parameter identifies a specific
2591 * page in the result set that should be returned. In an API response, the
2592 * nextPageToken property identifies the next page of the result that can be
2593 * retrieved.
2594 *
2595 * Note: This parameter is not supported for use in conjunction with the id
2596 * parameter.
2597 * @opt_param string searchTerms The searchTerms parameter instructs the API to
2598 * limit the API response to only contain comments that contain the specified
2599 * search terms.
2600 *
2601 * Note: This parameter is not supported for use in conjunction with the id
2602 * parameter.
2603 * @opt_param string textFormat Set this parameter's value to html or plainText
2604 * to instruct the API to return the comments left by users in html formatted or
2605 * in plain text.
2606 * @opt_param string videoId The videoId parameter instructs the API to return
2607 * comment threads associated with the specified video ID.
2608 * @return Google_Service_YouTube_CommentThreadListResponse
2609 */
2610 public function listCommentThreads($part, $optParams = array())
2611 {
2612 $params = array('part' => $part);
2613 $params = array_merge($params, $optParams);
2614 return $this->call('list', array($params), "Google_Service_YouTube_CommentThreadListResponse");
2615 }
2616
2617 /**
2618 * Modifies the top-level comment in a comment thread. (commentThreads.update)
2619 *
2620 * @param string $part The part parameter specifies a comma-separated list of
2621 * commentThread resource properties that the API response will include. You
2622 * must at least include the snippet part in the parameter value since that part
2623 * contains all of the properties that the API request can update.
2624 * @param Google_CommentThread $postBody
2625 * @param array $optParams Optional parameters.
2626 * @return Google_Service_YouTube_CommentThread
2627 */
2628 public function update($part, Google_Service_YouTube_CommentThread $postBody, $optParams = array())
2629 {
2630 $params = array('part' => $part, 'postBody' => $postBody);
2631 $params = array_merge($params, $optParams);
2632 return $this->call('update', array($params), "Google_Service_YouTube_CommentThread");
2633 }
2634 }
2635
2636 /**
2637 * The "comments" collection of methods.
2638 * Typical usage is:
2639 * <code>
2640 * $youtubeService = new Google_Service_YouTube(...);
2641 * $comments = $youtubeService->comments;
2642 * </code>
2643 */
2644 class Google_Service_YouTube_Comments_Resource extends Google_Service_Resource
2645 {
2646
2647 /**
2648 * Deletes a comment. (comments.delete)
2649 *
2650 * @param string $id The id parameter specifies the comment ID for the resource
2651 * that is being deleted.
2652 * @param array $optParams Optional parameters.
2653 */
2654 public function delete($id, $optParams = array())
2655 {
2656 $params = array('id' => $id);
2657 $params = array_merge($params, $optParams);
2658 return $this->call('delete', array($params));
2659 }
2660
2661 /**
2662 * Creates a reply to an existing comment. Note: To create a top-level comment,
2663 * use the commentThreads.insert method. (comments.insert)
2664 *
2665 * @param string $part The part parameter identifies the properties that the API
2666 * response will include. Set the parameter value to snippet. The snippet part
2667 * has a quota cost of 2 units.
2668 * @param Google_Comment $postBody
2669 * @param array $optParams Optional parameters.
2670 * @return Google_Service_YouTube_Comment
2671 */
2672 public function insert($part, Google_Service_YouTube_Comment $postBody, $optParams = array())
2673 {
2674 $params = array('part' => $part, 'postBody' => $postBody);
2675 $params = array_merge($params, $optParams);
2676 return $this->call('insert', array($params), "Google_Service_YouTube_Comment");
2677 }
2678
2679 /**
2680 * Returns a list of comments that match the API request parameters.
2681 * (comments.listComments)
2682 *
2683 * @param string $part The part parameter specifies a comma-separated list of
2684 * one or more comment resource properties that the API response will include.
2685 * @param array $optParams Optional parameters.
2686 *
2687 * @opt_param string id The id parameter specifies a comma-separated list of
2688 * comment IDs for the resources that are being retrieved. In a comment
2689 * resource, the id property specifies the comment's ID.
2690 * @opt_param string maxResults The maxResults parameter specifies the maximum
2691 * number of items that should be returned in the result set.
2692 *
2693 * Note: This parameter is not supported for use in conjunction with the id
2694 * parameter.
2695 * @opt_param string pageToken The pageToken parameter identifies a specific
2696 * page in the result set that should be returned. In an API response, the
2697 * nextPageToken property identifies the next page of the result that can be
2698 * retrieved.
2699 *
2700 * Note: This parameter is not supported for use in conjunction with the id
2701 * parameter.
2702 * @opt_param string parentId The parentId parameter specifies the ID of the
2703 * comment for which replies should be retrieved.
2704 *
2705 * Note: YouTube currently supports replies only for top-level comments.
2706 * However, replies to replies may be supported in the future.
2707 * @opt_param string textFormat This parameter indicates whether the API should
2708 * return comments formatted as HTML or as plain text.
2709 * @return Google_Service_YouTube_CommentListResponse
2710 */
2711 public function listComments($part, $optParams = array())
2712 {
2713 $params = array('part' => $part);
2714 $params = array_merge($params, $optParams);
2715 return $this->call('list', array($params), "Google_Service_YouTube_CommentListResponse");
2716 }
2717
2718 /**
2719 * Expresses the caller's opinion that one or more comments should be flagged as
2720 * spam. (comments.markAsSpam)
2721 *
2722 * @param string $id The id parameter specifies a comma-separated list of IDs of
2723 * comments that the caller believes should be classified as spam.
2724 * @param array $optParams Optional parameters.
2725 */
2726 public function markAsSpam($id, $optParams = array())
2727 {
2728 $params = array('id' => $id);
2729 $params = array_merge($params, $optParams);
2730 return $this->call('markAsSpam', array($params));
2731 }
2732
2733 /**
2734 * Sets the moderation status of one or more comments. The API request must be
2735 * authorized by the owner of the channel or video associated with the comments.
2736 * (comments.setModerationStatus)
2737 *
2738 * @param string $id The id parameter specifies a comma-separated list of IDs
2739 * that identify the comments for which you are updating the moderation status.
2740 * @param string $moderationStatus Identifies the new moderation status of the
2741 * specified comments.
2742 * @param array $optParams Optional parameters.
2743 *
2744 * @opt_param bool banAuthor The banAuthor parameter lets you indicate that you
2745 * want to automatically reject any additional comments written by the comment's
2746 * author. Set the parameter value to true to ban the author.
2747 *
2748 * Note: This parameter is only valid if the moderationStatus parameter is also
2749 * set to rejected.
2750 */
2751 public function setModerationStatus($id, $moderationStatus, $optParams = array())
2752 {
2753 $params = array('id' => $id, 'moderationStatus' => $moderationStatus);
2754 $params = array_merge($params, $optParams);
2755 return $this->call('setModerationStatus', array($params));
2756 }
2757
2758 /**
2759 * Modifies a comment. (comments.update)
2760 *
2761 * @param string $part The part parameter identifies the properties that the API
2762 * response will include. You must at least include the snippet part in the
2763 * parameter value since that part contains all of the properties that the API
2764 * request can update.
2765 * @param Google_Comment $postBody
2766 * @param array $optParams Optional parameters.
2767 * @return Google_Service_YouTube_Comment
2768 */
2769 public function update($part, Google_Service_YouTube_Comment $postBody, $optParams = array())
2770 {
2771 $params = array('part' => $part, 'postBody' => $postBody);
2772 $params = array_merge($params, $optParams);
2773 return $this->call('update', array($params), "Google_Service_YouTube_Comment");
2774 }
2775 }
2776
2777 /**
2778 * The "fanFundingEvents" collection of methods.
2779 * Typical usage is:
2780 * <code>
2781 * $youtubeService = new Google_Service_YouTube(...);
2782 * $fanFundingEvents = $youtubeService->fanFundingEvents;
2783 * </code>
2784 */
2785 class Google_Service_YouTube_FanFundingEvents_Resource extends Google_Service_Resource
2786 {
2787
2788 /**
2789 * Lists fan funding events for a channel.
2790 * (fanFundingEvents.listFanFundingEvents)
2791 *
2792 * @param string $part The part parameter specifies the fanFundingEvent resource
2793 * parts that the API response will include. Supported values are id and
2794 * snippet.
2795 * @param array $optParams Optional parameters.
2796 *
2797 * @opt_param string hl The hl parameter instructs the API to retrieve localized
2798 * resource metadata for a specific application language that the YouTube
2799 * website supports. The parameter value must be a language code included in the
2800 * list returned by the i18nLanguages.list method.
2801 *
2802 * If localized resource details are available in that language, the resource's
2803 * snippet.localized object will contain the localized values. However, if
2804 * localized details are not available, the snippet.localized object will
2805 * contain resource details in the resource's default language.
2806 * @opt_param string maxResults The maxResults parameter specifies the maximum
2807 * number of items that should be returned in the result set.
2808 * @opt_param string pageToken The pageToken parameter identifies a specific
2809 * page in the result set that should be returned. In an API response, the
2810 * nextPageToken and prevPageToken properties identify other pages that could be
2811 * retrieved.
2812 * @return Google_Service_YouTube_FanFundingEventListResponse
2813 */
2814 public function listFanFundingEvents($part, $optParams = array())
2815 {
2816 $params = array('part' => $part);
2817 $params = array_merge($params, $optParams);
2818 return $this->call('list', array($params), "Google_Service_YouTube_FanFundingEventListResponse");
2819 }
2820 }
2821
2822 /**
2823 * The "guideCategories" collection of methods.
2824 * Typical usage is:
2825 * <code>
2826 * $youtubeService = new Google_Service_YouTube(...);
2827 * $guideCategories = $youtubeService->guideCategories;
2828 * </code>
2829 */
2830 class Google_Service_YouTube_GuideCategories_Resource extends Google_Service_Resource
2831 {
2832
2833 /**
2834 * Returns a list of categories that can be associated with YouTube channels.
2835 * (guideCategories.listGuideCategories)
2836 *
2837 * @param string $part The part parameter specifies the guideCategory resource
2838 * properties that the API response will include. Set the parameter value to
2839 * snippet.
2840 * @param array $optParams Optional parameters.
2841 *
2842 * @opt_param string hl The hl parameter specifies the language that will be
2843 * used for text values in the API response.
2844 * @opt_param string id The id parameter specifies a comma-separated list of the
2845 * YouTube channel category ID(s) for the resource(s) that are being retrieved.
2846 * In a guideCategory resource, the id property specifies the YouTube channel
2847 * category ID.
2848 * @opt_param string regionCode The regionCode parameter instructs the API to
2849 * return the list of guide categories available in the specified country. The
2850 * parameter value is an ISO 3166-1 alpha-2 country code.
2851 * @return Google_Service_YouTube_GuideCategoryListResponse
2852 */
2853 public function listGuideCategories($part, $optParams = array())
2854 {
2855 $params = array('part' => $part);
2856 $params = array_merge($params, $optParams);
2857 return $this->call('list', array($params), "Google_Service_YouTube_GuideCategoryListResponse");
2858 }
2859 }
2860
2861 /**
2862 * The "i18nLanguages" collection of methods.
2863 * Typical usage is:
2864 * <code>
2865 * $youtubeService = new Google_Service_YouTube(...);
2866 * $i18nLanguages = $youtubeService->i18nLanguages;
2867 * </code>
2868 */
2869 class Google_Service_YouTube_I18nLanguages_Resource extends Google_Service_Resource
2870 {
2871
2872 /**
2873 * Returns a list of application languages that the YouTube website supports.
2874 * (i18nLanguages.listI18nLanguages)
2875 *
2876 * @param string $part The part parameter specifies the i18nLanguage resource
2877 * properties that the API response will include. Set the parameter value to
2878 * snippet.
2879 * @param array $optParams Optional parameters.
2880 *
2881 * @opt_param string hl The hl parameter specifies the language that should be
2882 * used for text values in the API response.
2883 * @return Google_Service_YouTube_I18nLanguageListResponse
2884 */
2885 public function listI18nLanguages($part, $optParams = array())
2886 {
2887 $params = array('part' => $part);
2888 $params = array_merge($params, $optParams);
2889 return $this->call('list', array($params), "Google_Service_YouTube_I18nLanguageListResponse");
2890 }
2891 }
2892
2893 /**
2894 * The "i18nRegions" collection of methods.
2895 * Typical usage is:
2896 * <code>
2897 * $youtubeService = new Google_Service_YouTube(...);
2898 * $i18nRegions = $youtubeService->i18nRegions;
2899 * </code>
2900 */
2901 class Google_Service_YouTube_I18nRegions_Resource extends Google_Service_Resource
2902 {
2903
2904 /**
2905 * Returns a list of content regions that the YouTube website supports.
2906 * (i18nRegions.listI18nRegions)
2907 *
2908 * @param string $part The part parameter specifies the i18nRegion resource
2909 * properties that the API response will include. Set the parameter value to
2910 * snippet.
2911 * @param array $optParams Optional parameters.
2912 *
2913 * @opt_param string hl The hl parameter specifies the language that should be
2914 * used for text values in the API response.
2915 * @return Google_Service_YouTube_I18nRegionListResponse
2916 */
2917 public function listI18nRegions($part, $optParams = array())
2918 {
2919 $params = array('part' => $part);
2920 $params = array_merge($params, $optParams);
2921 return $this->call('list', array($params), "Google_Service_YouTube_I18nRegionListResponse");
2922 }
2923 }
2924
2925 /**
2926 * The "liveBroadcasts" collection of methods.
2927 * Typical usage is:
2928 * <code>
2929 * $youtubeService = new Google_Service_YouTube(...);
2930 * $liveBroadcasts = $youtubeService->liveBroadcasts;
2931 * </code>
2932 */
2933 class Google_Service_YouTube_LiveBroadcasts_Resource extends Google_Service_Resource
2934 {
2935
2936 /**
2937 * Binds a YouTube broadcast to a stream or removes an existing binding between
2938 * a broadcast and a stream. A broadcast can only be bound to one video stream,
2939 * though a video stream may be bound to more than one broadcast.
2940 * (liveBroadcasts.bind)
2941 *
2942 * @param string $id The id parameter specifies the unique ID of the broadcast
2943 * that is being bound to a video stream.
2944 * @param string $part The part parameter specifies a comma-separated list of
2945 * one or more liveBroadcast resource properties that the API response will
2946 * include. The part names that you can include in the parameter value are id,
2947 * snippet, contentDetails, and status.
2948 * @param array $optParams Optional parameters.
2949 *
2950 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
2951 * exclusively for YouTube content partners.
2952 *
2953 * The onBehalfOfContentOwner parameter indicates that the request's
2954 * authorization credentials identify a YouTube CMS user who is acting on behalf
2955 * of the content owner specified in the parameter value. This parameter is
2956 * intended for YouTube content partners that own and manage many different
2957 * YouTube channels. It allows content owners to authenticate once and get
2958 * access to all their video and channel data, without having to provide
2959 * authentication credentials for each individual channel. The CMS account that
2960 * the user authenticates with must be linked to the specified YouTube content
2961 * owner.
2962 * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
2963 * used in a properly authorized request. Note: This parameter is intended
2964 * exclusively for YouTube content partners.
2965 *
2966 * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
2967 * of the channel to which a video is being added. This parameter is required
2968 * when a request specifies a value for the onBehalfOfContentOwner parameter,
2969 * and it can only be used in conjunction with that parameter. In addition, the
2970 * request must be authorized using a CMS account that is linked to the content
2971 * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
2972 * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
2973 * be linked to the content owner that the onBehalfOfContentOwner parameter
2974 * specifies.
2975 *
2976 * This parameter is intended for YouTube content partners that own and manage
2977 * many different YouTube channels. It allows content owners to authenticate
2978 * once and perform actions on behalf of the channel specified in the parameter
2979 * value, without having to provide authentication credentials for each separate
2980 * channel.
2981 * @opt_param string streamId The streamId parameter specifies the unique ID of
2982 * the video stream that is being bound to a broadcast. If this parameter is
2983 * omitted, the API will remove any existing binding between the broadcast and a
2984 * video stream.
2985 * @return Google_Service_YouTube_LiveBroadcast
2986 */
2987 public function bind($id, $part, $optParams = array())
2988 {
2989 $params = array('id' => $id, 'part' => $part);
2990 $params = array_merge($params, $optParams);
2991 return $this->call('bind', array($params), "Google_Service_YouTube_LiveBroadcast");
2992 }
2993
2994 /**
2995 * Controls the settings for a slate that can be displayed in the broadcast
2996 * stream. (liveBroadcasts.control)
2997 *
2998 * @param string $id The id parameter specifies the YouTube live broadcast ID
2999 * that uniquely identifies the broadcast in which the slate is being updated.
3000 * @param string $part The part parameter specifies a comma-separated list of
3001 * one or more liveBroadcast resource properties that the API response will
3002 * include. The part names that you can include in the parameter value are id,
3003 * snippet, contentDetails, and status.
3004 * @param array $optParams Optional parameters.
3005 *
3006 * @opt_param bool displaySlate The displaySlate parameter specifies whether the
3007 * slate is being enabled or disabled.
3008 * @opt_param string offsetTimeMs The offsetTimeMs parameter specifies a
3009 * positive time offset when the specified slate change will occur. The value is
3010 * measured in milliseconds from the beginning of the broadcast's monitor
3011 * stream, which is the time that the testing phase for the broadcast began.
3012 * Even though it is specified in milliseconds, the value is actually an
3013 * approximation, and YouTube completes the requested action as closely as
3014 * possible to that time.
3015 *
3016 * If you do not specify a value for this parameter, then YouTube performs the
3017 * action as soon as possible. See the Getting started guide for more details.
3018 *
3019 * Important: You should only specify a value for this parameter if your
3020 * broadcast stream is delayed.
3021 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
3022 * exclusively for YouTube content partners.
3023 *
3024 * The onBehalfOfContentOwner parameter indicates that the request's
3025 * authorization credentials identify a YouTube CMS user who is acting on behalf
3026 * of the content owner specified in the parameter value. This parameter is
3027 * intended for YouTube content partners that own and manage many different
3028 * YouTube channels. It allows content owners to authenticate once and get
3029 * access to all their video and channel data, without having to provide
3030 * authentication credentials for each individual channel. The CMS account that
3031 * the user authenticates with must be linked to the specified YouTube content
3032 * owner.
3033 * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
3034 * used in a properly authorized request. Note: This parameter is intended
3035 * exclusively for YouTube content partners.
3036 *
3037 * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
3038 * of the channel to which a video is being added. This parameter is required
3039 * when a request specifies a value for the onBehalfOfContentOwner parameter,
3040 * and it can only be used in conjunction with that parameter. In addition, the
3041 * request must be authorized using a CMS account that is linked to the content
3042 * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
3043 * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
3044 * be linked to the content owner that the onBehalfOfContentOwner parameter
3045 * specifies.
3046 *
3047 * This parameter is intended for YouTube content partners that own and manage
3048 * many different YouTube channels. It allows content owners to authenticate
3049 * once and perform actions on behalf of the channel specified in the parameter
3050 * value, without having to provide authentication credentials for each separate
3051 * channel.
3052 * @opt_param string walltime The walltime parameter specifies the wall clock
3053 * time at which the specified slate change will occur. The value is specified
3054 * in ISO 8601 (YYYY-MM-DDThh:mm:ss.sssZ) format.
3055 * @return Google_Service_YouTube_LiveBroadcast
3056 */
3057 public function control($id, $part, $optParams = array())
3058 {
3059 $params = array('id' => $id, 'part' => $part);
3060 $params = array_merge($params, $optParams);
3061 return $this->call('control', array($params), "Google_Service_YouTube_LiveBroadcast");
3062 }
3063
3064 /**
3065 * Deletes a broadcast. (liveBroadcasts.delete)
3066 *
3067 * @param string $id The id parameter specifies the YouTube live broadcast ID
3068 * for the resource that is being deleted.
3069 * @param array $optParams Optional parameters.
3070 *
3071 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
3072 * exclusively for YouTube content partners.
3073 *
3074 * The onBehalfOfContentOwner parameter indicates that the request's
3075 * authorization credentials identify a YouTube CMS user who is acting on behalf
3076 * of the content owner specified in the parameter value. This parameter is
3077 * intended for YouTube content partners that own and manage many different
3078 * YouTube channels. It allows content owners to authenticate once and get
3079 * access to all their video and channel data, without having to provide
3080 * authentication credentials for each individual channel. The CMS account that
3081 * the user authenticates with must be linked to the specified YouTube content
3082 * owner.
3083 * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
3084 * used in a properly authorized request. Note: This parameter is intended
3085 * exclusively for YouTube content partners.
3086 *
3087 * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
3088 * of the channel to which a video is being added. This parameter is required
3089 * when a request specifies a value for the onBehalfOfContentOwner parameter,
3090 * and it can only be used in conjunction with that parameter. In addition, the
3091 * request must be authorized using a CMS account that is linked to the content
3092 * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
3093 * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
3094 * be linked to the content owner that the onBehalfOfContentOwner parameter
3095 * specifies.
3096 *
3097 * This parameter is intended for YouTube content partners that own and manage
3098 * many different YouTube channels. It allows content owners to authenticate
3099 * once and perform actions on behalf of the channel specified in the parameter
3100 * value, without having to provide authentication credentials for each separate
3101 * channel.
3102 */
3103 public function delete($id, $optParams = array())
3104 {
3105 $params = array('id' => $id);
3106 $params = array_merge($params, $optParams);
3107 return $this->call('delete', array($params));
3108 }
3109
3110 /**
3111 * Creates a broadcast. (liveBroadcasts.insert)
3112 *
3113 * @param string $part The part parameter serves two purposes in this operation.
3114 * It identifies the properties that the write operation will set as well as the
3115 * properties that the API response will include.
3116 *
3117 * The part properties that you can include in the parameter value are id,
3118 * snippet, contentDetails, and status.
3119 * @param Google_LiveBroadcast $postBody
3120 * @param array $optParams Optional parameters.
3121 *
3122 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
3123 * exclusively for YouTube content partners.
3124 *
3125 * The onBehalfOfContentOwner parameter indicates that the request's
3126 * authorization credentials identify a YouTube CMS user who is acting on behalf
3127 * of the content owner specified in the parameter value. This parameter is
3128 * intended for YouTube content partners that own and manage many different
3129 * YouTube channels. It allows content owners to authenticate once and get
3130 * access to all their video and channel data, without having to provide
3131 * authentication credentials for each individual channel. The CMS account that
3132 * the user authenticates with must be linked to the specified YouTube content
3133 * owner.
3134 * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
3135 * used in a properly authorized request. Note: This parameter is intended
3136 * exclusively for YouTube content partners.
3137 *
3138 * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
3139 * of the channel to which a video is being added. This parameter is required
3140 * when a request specifies a value for the onBehalfOfContentOwner parameter,
3141 * and it can only be used in conjunction with that parameter. In addition, the
3142 * request must be authorized using a CMS account that is linked to the content
3143 * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
3144 * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
3145 * be linked to the content owner that the onBehalfOfContentOwner parameter
3146 * specifies.
3147 *
3148 * This parameter is intended for YouTube content partners that own and manage
3149 * many different YouTube channels. It allows content owners to authenticate
3150 * once and perform actions on behalf of the channel specified in the parameter
3151 * value, without having to provide authentication credentials for each separate
3152 * channel.
3153 * @return Google_Service_YouTube_LiveBroadcast
3154 */
3155 public function insert($part, Google_Service_YouTube_LiveBroadcast $postBody, $optParams = array())
3156 {
3157 $params = array('part' => $part, 'postBody' => $postBody);
3158 $params = array_merge($params, $optParams);
3159 return $this->call('insert', array($params), "Google_Service_YouTube_LiveBroadcast");
3160 }
3161
3162 /**
3163 * Returns a list of YouTube broadcasts that match the API request parameters.
3164 * (liveBroadcasts.listLiveBroadcasts)
3165 *
3166 * @param string $part The part parameter specifies a comma-separated list of
3167 * one or more liveBroadcast resource properties that the API response will
3168 * include. The part names that you can include in the parameter value are id,
3169 * snippet, contentDetails, and status.
3170 * @param array $optParams Optional parameters.
3171 *
3172 * @opt_param string broadcastStatus The broadcastStatus parameter filters the
3173 * API response to only include broadcasts with the specified status.
3174 * @opt_param string broadcastType The broadcastType parameter filters the API
3175 * response to only include broadcasts with the specified type. This is only
3176 * compatible with the mine filter for now.
3177 * @opt_param string id The id parameter specifies a comma-separated list of
3178 * YouTube broadcast IDs that identify the broadcasts being retrieved. In a
3179 * liveBroadcast resource, the id property specifies the broadcast's ID.
3180 * @opt_param string maxResults The maxResults parameter specifies the maximum
3181 * number of items that should be returned in the result set.
3182 * @opt_param bool mine The mine parameter can be used to instruct the API to
3183 * only return broadcasts owned by the authenticated user. Set the parameter
3184 * value to true to only retrieve your own broadcasts.
3185 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
3186 * exclusively for YouTube content partners.
3187 *
3188 * The onBehalfOfContentOwner parameter indicates that the request's
3189 * authorization credentials identify a YouTube CMS user who is acting on behalf
3190 * of the content owner specified in the parameter value. This parameter is
3191 * intended for YouTube content partners that own and manage many different
3192 * YouTube channels. It allows content owners to authenticate once and get
3193 * access to all their video and channel data, without having to provide
3194 * authentication credentials for each individual channel. The CMS account that
3195 * the user authenticates with must be linked to the specified YouTube content
3196 * owner.
3197 * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
3198 * used in a properly authorized request. Note: This parameter is intended
3199 * exclusively for YouTube content partners.
3200 *
3201 * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
3202 * of the channel to which a video is being added. This parameter is required
3203 * when a request specifies a value for the onBehalfOfContentOwner parameter,
3204 * and it can only be used in conjunction with that parameter. In addition, the
3205 * request must be authorized using a CMS account that is linked to the content
3206 * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
3207 * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
3208 * be linked to the content owner that the onBehalfOfContentOwner parameter
3209 * specifies.
3210 *
3211 * This parameter is intended for YouTube content partners that own and manage
3212 * many different YouTube channels. It allows content owners to authenticate
3213 * once and perform actions on behalf of the channel specified in the parameter
3214 * value, without having to provide authentication credentials for each separate
3215 * channel.
3216 * @opt_param string pageToken The pageToken parameter identifies a specific
3217 * page in the result set that should be returned. In an API response, the
3218 * nextPageToken and prevPageToken properties identify other pages that could be
3219 * retrieved.
3220 * @return Google_Service_YouTube_LiveBroadcastListResponse
3221 */
3222 public function listLiveBroadcasts($part, $optParams = array())
3223 {
3224 $params = array('part' => $part);
3225 $params = array_merge($params, $optParams);
3226 return $this->call('list', array($params), "Google_Service_YouTube_LiveBroadcastListResponse");
3227 }
3228
3229 /**
3230 * Changes the status of a YouTube live broadcast and initiates any processes
3231 * associated with the new status. For example, when you transition a
3232 * broadcast's status to testing, YouTube starts to transmit video to that
3233 * broadcast's monitor stream. Before calling this method, you should confirm
3234 * that the value of the status.streamStatus property for the stream bound to
3235 * your broadcast is active. (liveBroadcasts.transition)
3236 *
3237 * @param string $broadcastStatus The broadcastStatus parameter identifies the
3238 * state to which the broadcast is changing. Note that to transition a broadcast
3239 * to either the testing or live state, the status.streamStatus must be active
3240 * for the stream that the broadcast is bound to.
3241 * @param string $id The id parameter specifies the unique ID of the broadcast
3242 * that is transitioning to another status.
3243 * @param string $part The part parameter specifies a comma-separated list of
3244 * one or more liveBroadcast resource properties that the API response will
3245 * include. The part names that you can include in the parameter value are id,
3246 * snippet, contentDetails, and status.
3247 * @param array $optParams Optional parameters.
3248 *
3249 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
3250 * exclusively for YouTube content partners.
3251 *
3252 * The onBehalfOfContentOwner parameter indicates that the request's
3253 * authorization credentials identify a YouTube CMS user who is acting on behalf
3254 * of the content owner specified in the parameter value. This parameter is
3255 * intended for YouTube content partners that own and manage many different
3256 * YouTube channels. It allows content owners to authenticate once and get
3257 * access to all their video and channel data, without having to provide
3258 * authentication credentials for each individual channel. The CMS account that
3259 * the user authenticates with must be linked to the specified YouTube content
3260 * owner.
3261 * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
3262 * used in a properly authorized request. Note: This parameter is intended
3263 * exclusively for YouTube content partners.
3264 *
3265 * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
3266 * of the channel to which a video is being added. This parameter is required
3267 * when a request specifies a value for the onBehalfOfContentOwner parameter,
3268 * and it can only be used in conjunction with that parameter. In addition, the
3269 * request must be authorized using a CMS account that is linked to the content
3270 * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
3271 * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
3272 * be linked to the content owner that the onBehalfOfContentOwner parameter
3273 * specifies.
3274 *
3275 * This parameter is intended for YouTube content partners that own and manage
3276 * many different YouTube channels. It allows content owners to authenticate
3277 * once and perform actions on behalf of the channel specified in the parameter
3278 * value, without having to provide authentication credentials for each separate
3279 * channel.
3280 * @return Google_Service_YouTube_LiveBroadcast
3281 */
3282 public function transition($broadcastStatus, $id, $part, $optParams = array())
3283 {
3284 $params = array('broadcastStatus' => $broadcastStatus, 'id' => $id, 'part' => $part);
3285 $params = array_merge($params, $optParams);
3286 return $this->call('transition', array($params), "Google_Service_YouTube_LiveBroadcast");
3287 }
3288
3289 /**
3290 * Updates a broadcast. For example, you could modify the broadcast settings
3291 * defined in the liveBroadcast resource's contentDetails object.
3292 * (liveBroadcasts.update)
3293 *
3294 * @param string $part The part parameter serves two purposes in this operation.
3295 * It identifies the properties that the write operation will set as well as the
3296 * properties that the API response will include.
3297 *
3298 * The part properties that you can include in the parameter value are id,
3299 * snippet, contentDetails, and status.
3300 *
3301 * Note that this method will override the existing values for all of the
3302 * mutable properties that are contained in any parts that the parameter value
3303 * specifies. For example, a broadcast's privacy status is defined in the status
3304 * part. As such, if your request is updating a private or unlisted broadcast,
3305 * and the request's part parameter value includes the status part, the
3306 * broadcast's privacy setting will be updated to whatever value the request
3307 * body specifies. If the request body does not specify a value, the existing
3308 * privacy setting will be removed and the broadcast will revert to the default
3309 * privacy setting.
3310 * @param Google_LiveBroadcast $postBody
3311 * @param array $optParams Optional parameters.
3312 *
3313 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
3314 * exclusively for YouTube content partners.
3315 *
3316 * The onBehalfOfContentOwner parameter indicates that the request's
3317 * authorization credentials identify a YouTube CMS user who is acting on behalf
3318 * of the content owner specified in the parameter value. This parameter is
3319 * intended for YouTube content partners that own and manage many different
3320 * YouTube channels. It allows content owners to authenticate once and get
3321 * access to all their video and channel data, without having to provide
3322 * authentication credentials for each individual channel. The CMS account that
3323 * the user authenticates with must be linked to the specified YouTube content
3324 * owner.
3325 * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
3326 * used in a properly authorized request. Note: This parameter is intended
3327 * exclusively for YouTube content partners.
3328 *
3329 * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
3330 * of the channel to which a video is being added. This parameter is required
3331 * when a request specifies a value for the onBehalfOfContentOwner parameter,
3332 * and it can only be used in conjunction with that parameter. In addition, the
3333 * request must be authorized using a CMS account that is linked to the content
3334 * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
3335 * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
3336 * be linked to the content owner that the onBehalfOfContentOwner parameter
3337 * specifies.
3338 *
3339 * This parameter is intended for YouTube content partners that own and manage
3340 * many different YouTube channels. It allows content owners to authenticate
3341 * once and perform actions on behalf of the channel specified in the parameter
3342 * value, without having to provide authentication credentials for each separate
3343 * channel.
3344 * @return Google_Service_YouTube_LiveBroadcast
3345 */
3346 public function update($part, Google_Service_YouTube_LiveBroadcast $postBody, $optParams = array())
3347 {
3348 $params = array('part' => $part, 'postBody' => $postBody);
3349 $params = array_merge($params, $optParams);
3350 return $this->call('update', array($params), "Google_Service_YouTube_LiveBroadcast");
3351 }
3352 }
3353
3354 /**
3355 * The "liveChatBans" collection of methods.
3356 * Typical usage is:
3357 * <code>
3358 * $youtubeService = new Google_Service_YouTube(...);
3359 * $liveChatBans = $youtubeService->liveChatBans;
3360 * </code>
3361 */
3362 class Google_Service_YouTube_LiveChatBans_Resource extends Google_Service_Resource
3363 {
3364
3365 /**
3366 * Removes a chat ban. (liveChatBans.delete)
3367 *
3368 * @param string $id The id parameter identifies the chat ban to remove. The
3369 * value uniquely identifies both the ban and the chat.
3370 * @param array $optParams Optional parameters.
3371 */
3372 public function delete($id, $optParams = array())
3373 {
3374 $params = array('id' => $id);
3375 $params = array_merge($params, $optParams);
3376 return $this->call('delete', array($params));
3377 }
3378
3379 /**
3380 * Adds a new ban to the chat. (liveChatBans.insert)
3381 *
3382 * @param string $part The part parameter serves two purposes in this operation.
3383 * It identifies the properties that the write operation will set as well as the
3384 * properties that the API response returns. Set the parameter value to snippet.
3385 * @param Google_LiveChatBan $postBody
3386 * @param array $optParams Optional parameters.
3387 * @return Google_Service_YouTube_LiveChatBan
3388 */
3389 public function insert($part, Google_Service_YouTube_LiveChatBan $postBody, $optParams = array())
3390 {
3391 $params = array('part' => $part, 'postBody' => $postBody);
3392 $params = array_merge($params, $optParams);
3393 return $this->call('insert', array($params), "Google_Service_YouTube_LiveChatBan");
3394 }
3395 }
3396
3397 /**
3398 * The "liveChatMessages" collection of methods.
3399 * Typical usage is:
3400 * <code>
3401 * $youtubeService = new Google_Service_YouTube(...);
3402 * $liveChatMessages = $youtubeService->liveChatMessages;
3403 * </code>
3404 */
3405 class Google_Service_YouTube_LiveChatMessages_Resource extends Google_Service_Resource
3406 {
3407
3408 /**
3409 * Deletes a chat message. (liveChatMessages.delete)
3410 *
3411 * @param string $id The id parameter specifies the YouTube chat message ID of
3412 * the resource that is being deleted.
3413 * @param array $optParams Optional parameters.
3414 */
3415 public function delete($id, $optParams = array())
3416 {
3417 $params = array('id' => $id);
3418 $params = array_merge($params, $optParams);
3419 return $this->call('delete', array($params));
3420 }
3421
3422 /**
3423 * Adds a message to a live chat. (liveChatMessages.insert)
3424 *
3425 * @param string $part The part parameter serves two purposes. It identifies the
3426 * properties that the write operation will set as well as the properties that
3427 * the API response will include. Set the parameter value to snippet.
3428 * @param Google_LiveChatMessage $postBody
3429 * @param array $optParams Optional parameters.
3430 * @return Google_Service_YouTube_LiveChatMessage
3431 */
3432 public function insert($part, Google_Service_YouTube_LiveChatMessage $postBody, $optParams = array())
3433 {
3434 $params = array('part' => $part, 'postBody' => $postBody);
3435 $params = array_merge($params, $optParams);
3436 return $this->call('insert', array($params), "Google_Service_YouTube_LiveChatMessage");
3437 }
3438
3439 /**
3440 * Lists live chat messages for a specific chat.
3441 * (liveChatMessages.listLiveChatMessages)
3442 *
3443 * @param string $liveChatId The liveChatId parameter specifies the ID of the
3444 * chat whose messages will be returned.
3445 * @param string $part The part parameter specifies the liveChatComment resource
3446 * parts that the API response will include. Supported values are id and
3447 * snippet.
3448 * @param array $optParams Optional parameters.
3449 *
3450 * @opt_param string hl The hl parameter instructs the API to retrieve localized
3451 * resource metadata for a specific application language that the YouTube
3452 * website supports. The parameter value must be a language code included in the
3453 * list returned by the i18nLanguages.list method.
3454 *
3455 * If localized resource details are available in that language, the resource's
3456 * snippet.localized object will contain the localized values. However, if
3457 * localized details are not available, the snippet.localized object will
3458 * contain resource details in the resource's default language.
3459 * @opt_param string maxResults The maxResults parameter specifies the maximum
3460 * number of messages that should be returned in the result set.
3461 * @opt_param string pageToken The pageToken parameter identifies a specific
3462 * page in the result set that should be returned. In an API response, the
3463 * nextPageToken property identify other pages that could be retrieved.
3464 * @opt_param string profileImageSize The profileImageSize parameter specifies
3465 * the size of the user profile pictures that should be returned in the result
3466 * set. Default: 88.
3467 * @return Google_Service_YouTube_LiveChatMessageListResponse
3468 */
3469 public function listLiveChatMessages($liveChatId, $part, $optParams = array())
3470 {
3471 $params = array('liveChatId' => $liveChatId, 'part' => $part);
3472 $params = array_merge($params, $optParams);
3473 return $this->call('list', array($params), "Google_Service_YouTube_LiveChatMessageListResponse");
3474 }
3475 }
3476
3477 /**
3478 * The "liveChatModerators" collection of methods.
3479 * Typical usage is:
3480 * <code>
3481 * $youtubeService = new Google_Service_YouTube(...);
3482 * $liveChatModerators = $youtubeService->liveChatModerators;
3483 * </code>
3484 */
3485 class Google_Service_YouTube_LiveChatModerators_Resource extends Google_Service_Resource
3486 {
3487
3488 /**
3489 * Removes a chat moderator. (liveChatModerators.delete)
3490 *
3491 * @param string $id The id parameter identifies the chat moderator to remove.
3492 * The value uniquely identifies both the moderator and the chat.
3493 * @param array $optParams Optional parameters.
3494 */
3495 public function delete($id, $optParams = array())
3496 {
3497 $params = array('id' => $id);
3498 $params = array_merge($params, $optParams);
3499 return $this->call('delete', array($params));
3500 }
3501
3502 /**
3503 * Adds a new moderator for the chat. (liveChatModerators.insert)
3504 *
3505 * @param string $part The part parameter serves two purposes in this operation.
3506 * It identifies the properties that the write operation will set as well as the
3507 * properties that the API response returns. Set the parameter value to snippet.
3508 * @param Google_LiveChatModerator $postBody
3509 * @param array $optParams Optional parameters.
3510 * @return Google_Service_YouTube_LiveChatModerator
3511 */
3512 public function insert($part, Google_Service_YouTube_LiveChatModerator $postBody, $optParams = array())
3513 {
3514 $params = array('part' => $part, 'postBody' => $postBody);
3515 $params = array_merge($params, $optParams);
3516 return $this->call('insert', array($params), "Google_Service_YouTube_LiveChatModerator");
3517 }
3518
3519 /**
3520 * Lists moderators for a live chat. (liveChatModerators.listLiveChatModerators)
3521 *
3522 * @param string $liveChatId The liveChatId parameter specifies the YouTube live
3523 * chat for which the API should return moderators.
3524 * @param string $part The part parameter specifies the liveChatModerator
3525 * resource parts that the API response will include. Supported values are id
3526 * and snippet.
3527 * @param array $optParams Optional parameters.
3528 *
3529 * @opt_param string maxResults The maxResults parameter specifies the maximum
3530 * number of items that should be returned in the result set.
3531 * @opt_param string pageToken The pageToken parameter identifies a specific
3532 * page in the result set that should be returned. In an API response, the
3533 * nextPageToken and prevPageToken properties identify other pages that could be
3534 * retrieved.
3535 * @return Google_Service_YouTube_LiveChatModeratorListResponse
3536 */
3537 public function listLiveChatModerators($liveChatId, $part, $optParams = array())
3538 {
3539 $params = array('liveChatId' => $liveChatId, 'part' => $part);
3540 $params = array_merge($params, $optParams);
3541 return $this->call('list', array($params), "Google_Service_YouTube_LiveChatModeratorListResponse");
3542 }
3543 }
3544
3545 /**
3546 * The "liveStreams" collection of methods.
3547 * Typical usage is:
3548 * <code>
3549 * $youtubeService = new Google_Service_YouTube(...);
3550 * $liveStreams = $youtubeService->liveStreams;
3551 * </code>
3552 */
3553 class Google_Service_YouTube_LiveStreams_Resource extends Google_Service_Resource
3554 {
3555
3556 /**
3557 * Deletes a video stream. (liveStreams.delete)
3558 *
3559 * @param string $id The id parameter specifies the YouTube live stream ID for
3560 * the resource that is being deleted.
3561 * @param array $optParams Optional parameters.
3562 *
3563 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
3564 * exclusively for YouTube content partners.
3565 *
3566 * The onBehalfOfContentOwner parameter indicates that the request's
3567 * authorization credentials identify a YouTube CMS user who is acting on behalf
3568 * of the content owner specified in the parameter value. This parameter is
3569 * intended for YouTube content partners that own and manage many different
3570 * YouTube channels. It allows content owners to authenticate once and get
3571 * access to all their video and channel data, without having to provide
3572 * authentication credentials for each individual channel. The CMS account that
3573 * the user authenticates with must be linked to the specified YouTube content
3574 * owner.
3575 * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
3576 * used in a properly authorized request. Note: This parameter is intended
3577 * exclusively for YouTube content partners.
3578 *
3579 * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
3580 * of the channel to which a video is being added. This parameter is required
3581 * when a request specifies a value for the onBehalfOfContentOwner parameter,
3582 * and it can only be used in conjunction with that parameter. In addition, the
3583 * request must be authorized using a CMS account that is linked to the content
3584 * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
3585 * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
3586 * be linked to the content owner that the onBehalfOfContentOwner parameter
3587 * specifies.
3588 *
3589 * This parameter is intended for YouTube content partners that own and manage
3590 * many different YouTube channels. It allows content owners to authenticate
3591 * once and perform actions on behalf of the channel specified in the parameter
3592 * value, without having to provide authentication credentials for each separate
3593 * channel.
3594 */
3595 public function delete($id, $optParams = array())
3596 {
3597 $params = array('id' => $id);
3598 $params = array_merge($params, $optParams);
3599 return $this->call('delete', array($params));
3600 }
3601
3602 /**
3603 * Creates a video stream. The stream enables you to send your video to YouTube,
3604 * which can then broadcast the video to your audience. (liveStreams.insert)
3605 *
3606 * @param string $part The part parameter serves two purposes in this operation.
3607 * It identifies the properties that the write operation will set as well as the
3608 * properties that the API response will include.
3609 *
3610 * The part properties that you can include in the parameter value are id,
3611 * snippet, cdn, and status.
3612 * @param Google_LiveStream $postBody
3613 * @param array $optParams Optional parameters.
3614 *
3615 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
3616 * exclusively for YouTube content partners.
3617 *
3618 * The onBehalfOfContentOwner parameter indicates that the request's
3619 * authorization credentials identify a YouTube CMS user who is acting on behalf
3620 * of the content owner specified in the parameter value. This parameter is
3621 * intended for YouTube content partners that own and manage many different
3622 * YouTube channels. It allows content owners to authenticate once and get
3623 * access to all their video and channel data, without having to provide
3624 * authentication credentials for each individual channel. The CMS account that
3625 * the user authenticates with must be linked to the specified YouTube content
3626 * owner.
3627 * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
3628 * used in a properly authorized request. Note: This parameter is intended
3629 * exclusively for YouTube content partners.
3630 *
3631 * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
3632 * of the channel to which a video is being added. This parameter is required
3633 * when a request specifies a value for the onBehalfOfContentOwner parameter,
3634 * and it can only be used in conjunction with that parameter. In addition, the
3635 * request must be authorized using a CMS account that is linked to the content
3636 * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
3637 * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
3638 * be linked to the content owner that the onBehalfOfContentOwner parameter
3639 * specifies.
3640 *
3641 * This parameter is intended for YouTube content partners that own and manage
3642 * many different YouTube channels. It allows content owners to authenticate
3643 * once and perform actions on behalf of the channel specified in the parameter
3644 * value, without having to provide authentication credentials for each separate
3645 * channel.
3646 * @return Google_Service_YouTube_LiveStream
3647 */
3648 public function insert($part, Google_Service_YouTube_LiveStream $postBody, $optParams = array())
3649 {
3650 $params = array('part' => $part, 'postBody' => $postBody);
3651 $params = array_merge($params, $optParams);
3652 return $this->call('insert', array($params), "Google_Service_YouTube_LiveStream");
3653 }
3654
3655 /**
3656 * Returns a list of video streams that match the API request parameters.
3657 * (liveStreams.listLiveStreams)
3658 *
3659 * @param string $part The part parameter specifies a comma-separated list of
3660 * one or more liveStream resource properties that the API response will
3661 * include. The part names that you can include in the parameter value are id,
3662 * snippet, cdn, and status.
3663 * @param array $optParams Optional parameters.
3664 *
3665 * @opt_param string id The id parameter specifies a comma-separated list of
3666 * YouTube stream IDs that identify the streams being retrieved. In a liveStream
3667 * resource, the id property specifies the stream's ID.
3668 * @opt_param string maxResults The maxResults parameter specifies the maximum
3669 * number of items that should be returned in the result set.
3670 * @opt_param bool mine The mine parameter can be used to instruct the API to
3671 * only return streams owned by the authenticated user. Set the parameter value
3672 * to true to only retrieve your own streams.
3673 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
3674 * exclusively for YouTube content partners.
3675 *
3676 * The onBehalfOfContentOwner parameter indicates that the request's
3677 * authorization credentials identify a YouTube CMS user who is acting on behalf
3678 * of the content owner specified in the parameter value. This parameter is
3679 * intended for YouTube content partners that own and manage many different
3680 * YouTube channels. It allows content owners to authenticate once and get
3681 * access to all their video and channel data, without having to provide
3682 * authentication credentials for each individual channel. The CMS account that
3683 * the user authenticates with must be linked to the specified YouTube content
3684 * owner.
3685 * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
3686 * used in a properly authorized request. Note: This parameter is intended
3687 * exclusively for YouTube content partners.
3688 *
3689 * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
3690 * of the channel to which a video is being added. This parameter is required
3691 * when a request specifies a value for the onBehalfOfContentOwner parameter,
3692 * and it can only be used in conjunction with that parameter. In addition, the
3693 * request must be authorized using a CMS account that is linked to the content
3694 * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
3695 * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
3696 * be linked to the content owner that the onBehalfOfContentOwner parameter
3697 * specifies.
3698 *
3699 * This parameter is intended for YouTube content partners that own and manage
3700 * many different YouTube channels. It allows content owners to authenticate
3701 * once and perform actions on behalf of the channel specified in the parameter
3702 * value, without having to provide authentication credentials for each separate
3703 * channel.
3704 * @opt_param string pageToken The pageToken parameter identifies a specific
3705 * page in the result set that should be returned. In an API response, the
3706 * nextPageToken and prevPageToken properties identify other pages that could be
3707 * retrieved.
3708 * @return Google_Service_YouTube_LiveStreamListResponse
3709 */
3710 public function listLiveStreams($part, $optParams = array())
3711 {
3712 $params = array('part' => $part);
3713 $params = array_merge($params, $optParams);
3714 return $this->call('list', array($params), "Google_Service_YouTube_LiveStreamListResponse");
3715 }
3716
3717 /**
3718 * Updates a video stream. If the properties that you want to change cannot be
3719 * updated, then you need to create a new stream with the proper settings.
3720 * (liveStreams.update)
3721 *
3722 * @param string $part The part parameter serves two purposes in this operation.
3723 * It identifies the properties that the write operation will set as well as the
3724 * properties that the API response will include.
3725 *
3726 * The part properties that you can include in the parameter value are id,
3727 * snippet, cdn, and status.
3728 *
3729 * Note that this method will override the existing values for all of the
3730 * mutable properties that are contained in any parts that the parameter value
3731 * specifies. If the request body does not specify a value for a mutable
3732 * property, the existing value for that property will be removed.
3733 * @param Google_LiveStream $postBody
3734 * @param array $optParams Optional parameters.
3735 *
3736 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
3737 * exclusively for YouTube content partners.
3738 *
3739 * The onBehalfOfContentOwner parameter indicates that the request's
3740 * authorization credentials identify a YouTube CMS user who is acting on behalf
3741 * of the content owner specified in the parameter value. This parameter is
3742 * intended for YouTube content partners that own and manage many different
3743 * YouTube channels. It allows content owners to authenticate once and get
3744 * access to all their video and channel data, without having to provide
3745 * authentication credentials for each individual channel. The CMS account that
3746 * the user authenticates with must be linked to the specified YouTube content
3747 * owner.
3748 * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
3749 * used in a properly authorized request. Note: This parameter is intended
3750 * exclusively for YouTube content partners.
3751 *
3752 * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
3753 * of the channel to which a video is being added. This parameter is required
3754 * when a request specifies a value for the onBehalfOfContentOwner parameter,
3755 * and it can only be used in conjunction with that parameter. In addition, the
3756 * request must be authorized using a CMS account that is linked to the content
3757 * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
3758 * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
3759 * be linked to the content owner that the onBehalfOfContentOwner parameter
3760 * specifies.
3761 *
3762 * This parameter is intended for YouTube content partners that own and manage
3763 * many different YouTube channels. It allows content owners to authenticate
3764 * once and perform actions on behalf of the channel specified in the parameter
3765 * value, without having to provide authentication credentials for each separate
3766 * channel.
3767 * @return Google_Service_YouTube_LiveStream
3768 */
3769 public function update($part, Google_Service_YouTube_LiveStream $postBody, $optParams = array())
3770 {
3771 $params = array('part' => $part, 'postBody' => $postBody);
3772 $params = array_merge($params, $optParams);
3773 return $this->call('update', array($params), "Google_Service_YouTube_LiveStream");
3774 }
3775 }
3776
3777 /**
3778 * The "playlistItems" collection of methods.
3779 * Typical usage is:
3780 * <code>
3781 * $youtubeService = new Google_Service_YouTube(...);
3782 * $playlistItems = $youtubeService->playlistItems;
3783 * </code>
3784 */
3785 class Google_Service_YouTube_PlaylistItems_Resource extends Google_Service_Resource
3786 {
3787
3788 /**
3789 * Deletes a playlist item. (playlistItems.delete)
3790 *
3791 * @param string $id The id parameter specifies the YouTube playlist item ID for
3792 * the playlist item that is being deleted. In a playlistItem resource, the id
3793 * property specifies the playlist item's ID.
3794 * @param array $optParams Optional parameters.
3795 */
3796 public function delete($id, $optParams = array())
3797 {
3798 $params = array('id' => $id);
3799 $params = array_merge($params, $optParams);
3800 return $this->call('delete', array($params));
3801 }
3802
3803 /**
3804 * Adds a resource to a playlist. (playlistItems.insert)
3805 *
3806 * @param string $part The part parameter serves two purposes in this operation.
3807 * It identifies the properties that the write operation will set as well as the
3808 * properties that the API response will include.
3809 * @param Google_PlaylistItem $postBody
3810 * @param array $optParams Optional parameters.
3811 *
3812 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
3813 * exclusively for YouTube content partners.
3814 *
3815 * The onBehalfOfContentOwner parameter indicates that the request's
3816 * authorization credentials identify a YouTube CMS user who is acting on behalf
3817 * of the content owner specified in the parameter value. This parameter is
3818 * intended for YouTube content partners that own and manage many different
3819 * YouTube channels. It allows content owners to authenticate once and get
3820 * access to all their video and channel data, without having to provide
3821 * authentication credentials for each individual channel. The CMS account that
3822 * the user authenticates with must be linked to the specified YouTube content
3823 * owner.
3824 * @return Google_Service_YouTube_PlaylistItem
3825 */
3826 public function insert($part, Google_Service_YouTube_PlaylistItem $postBody, $optParams = array())
3827 {
3828 $params = array('part' => $part, 'postBody' => $postBody);
3829 $params = array_merge($params, $optParams);
3830 return $this->call('insert', array($params), "Google_Service_YouTube_PlaylistItem");
3831 }
3832
3833 /**
3834 * Returns a collection of playlist items that match the API request parameters.
3835 * You can retrieve all of the playlist items in a specified playlist or
3836 * retrieve one or more playlist items by their unique IDs.
3837 * (playlistItems.listPlaylistItems)
3838 *
3839 * @param string $part The part parameter specifies a comma-separated list of
3840 * one or more playlistItem resource properties that the API response will
3841 * include.
3842 *
3843 * If the parameter identifies a property that contains child properties, the
3844 * child properties will be included in the response. For example, in a
3845 * playlistItem resource, the snippet property contains numerous fields,
3846 * including the title, description, position, and resourceId properties. As
3847 * such, if you set part=snippet, the API response will contain all of those
3848 * properties.
3849 * @param array $optParams Optional parameters.
3850 *
3851 * @opt_param string id The id parameter specifies a comma-separated list of one
3852 * or more unique playlist item IDs.
3853 * @opt_param string maxResults The maxResults parameter specifies the maximum
3854 * number of items that should be returned in the result set.
3855 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
3856 * exclusively for YouTube content partners.
3857 *
3858 * The onBehalfOfContentOwner parameter indicates that the request's
3859 * authorization credentials identify a YouTube CMS user who is acting on behalf
3860 * of the content owner specified in the parameter value. This parameter is
3861 * intended for YouTube content partners that own and manage many different
3862 * YouTube channels. It allows content owners to authenticate once and get
3863 * access to all their video and channel data, without having to provide
3864 * authentication credentials for each individual channel. The CMS account that
3865 * the user authenticates with must be linked to the specified YouTube content
3866 * owner.
3867 * @opt_param string pageToken The pageToken parameter identifies a specific
3868 * page in the result set that should be returned. In an API response, the
3869 * nextPageToken and prevPageToken properties identify other pages that could be
3870 * retrieved.
3871 * @opt_param string playlistId The playlistId parameter specifies the unique ID
3872 * of the playlist for which you want to retrieve playlist items. Note that even
3873 * though this is an optional parameter, every request to retrieve playlist
3874 * items must specify a value for either the id parameter or the playlistId
3875 * parameter.
3876 * @opt_param string videoId The videoId parameter specifies that the request
3877 * should return only the playlist items that contain the specified video.
3878 * @return Google_Service_YouTube_PlaylistItemListResponse
3879 */
3880 public function listPlaylistItems($part, $optParams = array())
3881 {
3882 $params = array('part' => $part);
3883 $params = array_merge($params, $optParams);
3884 return $this->call('list', array($params), "Google_Service_YouTube_PlaylistItemListResponse");
3885 }
3886
3887 /**
3888 * Modifies a playlist item. For example, you could update the item's position
3889 * in the playlist. (playlistItems.update)
3890 *
3891 * @param string $part The part parameter serves two purposes in this operation.
3892 * It identifies the properties that the write operation will set as well as the
3893 * properties that the API response will include.
3894 *
3895 * Note that this method will override the existing values for all of the
3896 * mutable properties that are contained in any parts that the parameter value
3897 * specifies. For example, a playlist item can specify a start time and end
3898 * time, which identify the times portion of the video that should play when
3899 * users watch the video in the playlist. If your request is updating a playlist
3900 * item that sets these values, and the request's part parameter value includes
3901 * the contentDetails part, the playlist item's start and end times will be
3902 * updated to whatever value the request body specifies. If the request body
3903 * does not specify values, the existing start and end times will be removed and
3904 * replaced with the default settings.
3905 * @param Google_PlaylistItem $postBody
3906 * @param array $optParams Optional parameters.
3907 * @return Google_Service_YouTube_PlaylistItem
3908 */
3909 public function update($part, Google_Service_YouTube_PlaylistItem $postBody, $optParams = array())
3910 {
3911 $params = array('part' => $part, 'postBody' => $postBody);
3912 $params = array_merge($params, $optParams);
3913 return $this->call('update', array($params), "Google_Service_YouTube_PlaylistItem");
3914 }
3915 }
3916
3917 /**
3918 * The "playlists" collection of methods.
3919 * Typical usage is:
3920 * <code>
3921 * $youtubeService = new Google_Service_YouTube(...);
3922 * $playlists = $youtubeService->playlists;
3923 * </code>
3924 */
3925 class Google_Service_YouTube_Playlists_Resource extends Google_Service_Resource
3926 {
3927
3928 /**
3929 * Deletes a playlist. (playlists.delete)
3930 *
3931 * @param string $id The id parameter specifies the YouTube playlist ID for the
3932 * playlist that is being deleted. In a playlist resource, the id property
3933 * specifies the playlist's ID.
3934 * @param array $optParams Optional parameters.
3935 *
3936 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
3937 * exclusively for YouTube content partners.
3938 *
3939 * The onBehalfOfContentOwner parameter indicates that the request's
3940 * authorization credentials identify a YouTube CMS user who is acting on behalf
3941 * of the content owner specified in the parameter value. This parameter is
3942 * intended for YouTube content partners that own and manage many different
3943 * YouTube channels. It allows content owners to authenticate once and get
3944 * access to all their video and channel data, without having to provide
3945 * authentication credentials for each individual channel. The CMS account that
3946 * the user authenticates with must be linked to the specified YouTube content
3947 * owner.
3948 */
3949 public function delete($id, $optParams = array())
3950 {
3951 $params = array('id' => $id);
3952 $params = array_merge($params, $optParams);
3953 return $this->call('delete', array($params));
3954 }
3955
3956 /**
3957 * Creates a playlist. (playlists.insert)
3958 *
3959 * @param string $part The part parameter serves two purposes in this operation.
3960 * It identifies the properties that the write operation will set as well as the
3961 * properties that the API response will include.
3962 * @param Google_Playlist $postBody
3963 * @param array $optParams Optional parameters.
3964 *
3965 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
3966 * exclusively for YouTube content partners.
3967 *
3968 * The onBehalfOfContentOwner parameter indicates that the request's
3969 * authorization credentials identify a YouTube CMS user who is acting on behalf
3970 * of the content owner specified in the parameter value. This parameter is
3971 * intended for YouTube content partners that own and manage many different
3972 * YouTube channels. It allows content owners to authenticate once and get
3973 * access to all their video and channel data, without having to provide
3974 * authentication credentials for each individual channel. The CMS account that
3975 * the user authenticates with must be linked to the specified YouTube content
3976 * owner.
3977 * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
3978 * used in a properly authorized request. Note: This parameter is intended
3979 * exclusively for YouTube content partners.
3980 *
3981 * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
3982 * of the channel to which a video is being added. This parameter is required
3983 * when a request specifies a value for the onBehalfOfContentOwner parameter,
3984 * and it can only be used in conjunction with that parameter. In addition, the
3985 * request must be authorized using a CMS account that is linked to the content
3986 * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
3987 * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
3988 * be linked to the content owner that the onBehalfOfContentOwner parameter
3989 * specifies.
3990 *
3991 * This parameter is intended for YouTube content partners that own and manage
3992 * many different YouTube channels. It allows content owners to authenticate
3993 * once and perform actions on behalf of the channel specified in the parameter
3994 * value, without having to provide authentication credentials for each separate
3995 * channel.
3996 * @return Google_Service_YouTube_Playlist
3997 */
3998 public function insert($part, Google_Service_YouTube_Playlist $postBody, $optParams = array())
3999 {
4000 $params = array('part' => $part, 'postBody' => $postBody);
4001 $params = array_merge($params, $optParams);
4002 return $this->call('insert', array($params), "Google_Service_YouTube_Playlist");
4003 }
4004
4005 /**
4006 * Returns a collection of playlists that match the API request parameters. For
4007 * example, you can retrieve all playlists that the authenticated user owns, or
4008 * you can retrieve one or more playlists by their unique IDs.
4009 * (playlists.listPlaylists)
4010 *
4011 * @param string $part The part parameter specifies a comma-separated list of
4012 * one or more playlist resource properties that the API response will include.
4013 *
4014 * If the parameter identifies a property that contains child properties, the
4015 * child properties will be included in the response. For example, in a playlist
4016 * resource, the snippet property contains properties like author, title,
4017 * description, tags, and timeCreated. As such, if you set part=snippet, the API
4018 * response will contain all of those properties.
4019 * @param array $optParams Optional parameters.
4020 *
4021 * @opt_param string channelId This value indicates that the API should only
4022 * return the specified channel's playlists.
4023 * @opt_param string hl The hl parameter should be used for filter out the
4024 * properties that are not in the given language. Used for the snippet part.
4025 * @opt_param string id The id parameter specifies a comma-separated list of the
4026 * YouTube playlist ID(s) for the resource(s) that are being retrieved. In a
4027 * playlist resource, the id property specifies the playlist's YouTube playlist
4028 * ID.
4029 * @opt_param string maxResults The maxResults parameter specifies the maximum
4030 * number of items that should be returned in the result set.
4031 * @opt_param bool mine Set this parameter's value to true to instruct the API
4032 * to only return playlists owned by the authenticated user.
4033 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
4034 * exclusively for YouTube content partners.
4035 *
4036 * The onBehalfOfContentOwner parameter indicates that the request's
4037 * authorization credentials identify a YouTube CMS user who is acting on behalf
4038 * of the content owner specified in the parameter value. This parameter is
4039 * intended for YouTube content partners that own and manage many different
4040 * YouTube channels. It allows content owners to authenticate once and get
4041 * access to all their video and channel data, without having to provide
4042 * authentication credentials for each individual channel. The CMS account that
4043 * the user authenticates with must be linked to the specified YouTube content
4044 * owner.
4045 * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
4046 * used in a properly authorized request. Note: This parameter is intended
4047 * exclusively for YouTube content partners.
4048 *
4049 * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
4050 * of the channel to which a video is being added. This parameter is required
4051 * when a request specifies a value for the onBehalfOfContentOwner parameter,
4052 * and it can only be used in conjunction with that parameter. In addition, the
4053 * request must be authorized using a CMS account that is linked to the content
4054 * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
4055 * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
4056 * be linked to the content owner that the onBehalfOfContentOwner parameter
4057 * specifies.
4058 *
4059 * This parameter is intended for YouTube content partners that own and manage
4060 * many different YouTube channels. It allows content owners to authenticate
4061 * once and perform actions on behalf of the channel specified in the parameter
4062 * value, without having to provide authentication credentials for each separate
4063 * channel.
4064 * @opt_param string pageToken The pageToken parameter identifies a specific
4065 * page in the result set that should be returned. In an API response, the
4066 * nextPageToken and prevPageToken properties identify other pages that could be
4067 * retrieved.
4068 * @return Google_Service_YouTube_PlaylistListResponse
4069 */
4070 public function listPlaylists($part, $optParams = array())
4071 {
4072 $params = array('part' => $part);
4073 $params = array_merge($params, $optParams);
4074 return $this->call('list', array($params), "Google_Service_YouTube_PlaylistListResponse");
4075 }
4076
4077 /**
4078 * Modifies a playlist. For example, you could change a playlist's title,
4079 * description, or privacy status. (playlists.update)
4080 *
4081 * @param string $part The part parameter serves two purposes in this operation.
4082 * It identifies the properties that the write operation will set as well as the
4083 * properties that the API response will include.
4084 *
4085 * Note that this method will override the existing values for mutable
4086 * properties that are contained in any parts that the request body specifies.
4087 * For example, a playlist's description is contained in the snippet part, which
4088 * must be included in the request body. If the request does not specify a value
4089 * for the snippet.description property, the playlist's existing description
4090 * will be deleted.
4091 * @param Google_Playlist $postBody
4092 * @param array $optParams Optional parameters.
4093 *
4094 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
4095 * exclusively for YouTube content partners.
4096 *
4097 * The onBehalfOfContentOwner parameter indicates that the request's
4098 * authorization credentials identify a YouTube CMS user who is acting on behalf
4099 * of the content owner specified in the parameter value. This parameter is
4100 * intended for YouTube content partners that own and manage many different
4101 * YouTube channels. It allows content owners to authenticate once and get
4102 * access to all their video and channel data, without having to provide
4103 * authentication credentials for each individual channel. The CMS account that
4104 * the user authenticates with must be linked to the specified YouTube content
4105 * owner.
4106 * @return Google_Service_YouTube_Playlist
4107 */
4108 public function update($part, Google_Service_YouTube_Playlist $postBody, $optParams = array())
4109 {
4110 $params = array('part' => $part, 'postBody' => $postBody);
4111 $params = array_merge($params, $optParams);
4112 return $this->call('update', array($params), "Google_Service_YouTube_Playlist");
4113 }
4114 }
4115
4116 /**
4117 * The "search" collection of methods.
4118 * Typical usage is:
4119 * <code>
4120 * $youtubeService = new Google_Service_YouTube(...);
4121 * $search = $youtubeService->search;
4122 * </code>
4123 */
4124 class Google_Service_YouTube_Search_Resource extends Google_Service_Resource
4125 {
4126
4127 /**
4128 * Returns a collection of search results that match the query parameters
4129 * specified in the API request. By default, a search result set identifies
4130 * matching video, channel, and playlist resources, but you can also configure
4131 * queries to only retrieve a specific type of resource. (search.listSearch)
4132 *
4133 * @param string $part The part parameter specifies a comma-separated list of
4134 * one or more search resource properties that the API response will include.
4135 * Set the parameter value to snippet.
4136 * @param array $optParams Optional parameters.
4137 *
4138 * @opt_param string channelId The channelId parameter indicates that the API
4139 * response should only contain resources created by the channel
4140 * @opt_param string channelType The channelType parameter lets you restrict a
4141 * search to a particular type of channel.
4142 * @opt_param string eventType The eventType parameter restricts a search to
4143 * broadcast events. If you specify a value for this parameter, you must also
4144 * set the type parameter's value to video.
4145 * @opt_param bool forContentOwner Note: This parameter is intended exclusively
4146 * for YouTube content partners.
4147 *
4148 * The forContentOwner parameter restricts the search to only retrieve resources
4149 * owned by the content owner specified by the onBehalfOfContentOwner parameter.
4150 * The user must be authenticated using a CMS account linked to the specified
4151 * content owner and onBehalfOfContentOwner must be provided.
4152 * @opt_param bool forDeveloper The forDeveloper parameter restricts the search
4153 * to only retrieve videos uploaded via the developer's application or website.
4154 * The API server uses the request's authorization credentials to identify the
4155 * developer. Therefore, a developer can restrict results to videos uploaded
4156 * through the developer's own app or website but not to videos uploaded through
4157 * other apps or sites.
4158 * @opt_param bool forMine The forMine parameter restricts the search to only
4159 * retrieve videos owned by the authenticated user. If you set this parameter to
4160 * true, then the type parameter's value must also be set to video.
4161 * @opt_param string location The location parameter, in conjunction with the
4162 * locationRadius parameter, defines a circular geographic area and also
4163 * restricts a search to videos that specify, in their metadata, a geographic
4164 * location that falls within that area. The parameter value is a string that
4165 * specifies latitude/longitude coordinates e.g. (37.42307,-122.08427).
4166 *
4167 * - The location parameter value identifies the point at the center of the
4168 * area. - The locationRadius parameter specifies the maximum distance that the
4169 * location associated with a video can be from that point for the video to
4170 * still be included in the search results.The API returns an error if your
4171 * request specifies a value for the location parameter but does not also
4172 * specify a value for the locationRadius parameter.
4173 * @opt_param string locationRadius The locationRadius parameter, in conjunction
4174 * with the location parameter, defines a circular geographic area.
4175 *
4176 * The parameter value must be a floating point number followed by a measurement
4177 * unit. Valid measurement units are m, km, ft, and mi. For example, valid
4178 * parameter values include 1500m, 5km, 10000ft, and 0.75mi. The API does not
4179 * support locationRadius parameter values larger than 1000 kilometers.
4180 *
4181 * Note: See the definition of the location parameter for more information.
4182 * @opt_param string maxResults The maxResults parameter specifies the maximum
4183 * number of items that should be returned in the result set.
4184 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
4185 * exclusively for YouTube content partners.
4186 *
4187 * The onBehalfOfContentOwner parameter indicates that the request's
4188 * authorization credentials identify a YouTube CMS user who is acting on behalf
4189 * of the content owner specified in the parameter value. This parameter is
4190 * intended for YouTube content partners that own and manage many different
4191 * YouTube channels. It allows content owners to authenticate once and get
4192 * access to all their video and channel data, without having to provide
4193 * authentication credentials for each individual channel. The CMS account that
4194 * the user authenticates with must be linked to the specified YouTube content
4195 * owner.
4196 * @opt_param string order The order parameter specifies the method that will be
4197 * used to order resources in the API response.
4198 * @opt_param string pageToken The pageToken parameter identifies a specific
4199 * page in the result set that should be returned. In an API response, the
4200 * nextPageToken and prevPageToken properties identify other pages that could be
4201 * retrieved.
4202 * @opt_param string publishedAfter The publishedAfter parameter indicates that
4203 * the API response should only contain resources created after the specified
4204 * time. The value is an RFC 3339 formatted date-time value
4205 * (1970-01-01T00:00:00Z).
4206 * @opt_param string publishedBefore The publishedBefore parameter indicates
4207 * that the API response should only contain resources created before the
4208 * specified time. The value is an RFC 3339 formatted date-time value
4209 * (1970-01-01T00:00:00Z).
4210 * @opt_param string q The q parameter specifies the query term to search for.
4211 *
4212 * Your request can also use the Boolean NOT (-) and OR (|) operators to exclude
4213 * videos or to find videos that are associated with one of several search
4214 * terms. For example, to search for videos matching either "boating" or
4215 * "sailing", set the q parameter value to boating|sailing. Similarly, to search
4216 * for videos matching either "boating" or "sailing" but not "fishing", set the
4217 * q parameter value to boating|sailing -fishing. Note that the pipe character
4218 * must be URL-escaped when it is sent in your API request. The URL-escaped
4219 * value for the pipe character is %7C.
4220 * @opt_param string regionCode The regionCode parameter instructs the API to
4221 * return search results for the specified country. The parameter value is an
4222 * ISO 3166-1 alpha-2 country code.
4223 * @opt_param string relatedToVideoId The relatedToVideoId parameter retrieves a
4224 * list of videos that are related to the video that the parameter value
4225 * identifies. The parameter value must be set to a YouTube video ID and, if you
4226 * are using this parameter, the type parameter must be set to video.
4227 * @opt_param string relevanceLanguage The relevanceLanguage parameter instructs
4228 * the API to return search results that are most relevant to the specified
4229 * language. The parameter value is typically an ISO 639-1 two-letter language
4230 * code. However, you should use the values zh-Hans for simplified Chinese and
4231 * zh-Hant for traditional Chinese. Please note that results in other languages
4232 * will still be returned if they are highly relevant to the search query term.
4233 * @opt_param string safeSearch The safeSearch parameter indicates whether the
4234 * search results should include restricted content as well as standard content.
4235 * @opt_param string topicId The topicId parameter indicates that the API
4236 * response should only contain resources associated with the specified topic.
4237 * The value identifies a Freebase topic ID.
4238 * @opt_param string type The type parameter restricts a search query to only
4239 * retrieve a particular type of resource. The value is a comma-separated list
4240 * of resource types.
4241 * @opt_param string videoCaption The videoCaption parameter indicates whether
4242 * the API should filter video search results based on whether they have
4243 * captions. If you specify a value for this parameter, you must also set the
4244 * type parameter's value to video.
4245 * @opt_param string videoCategoryId The videoCategoryId parameter filters video
4246 * search results based on their category. If you specify a value for this
4247 * parameter, you must also set the type parameter's value to video.
4248 * @opt_param string videoDefinition The videoDefinition parameter lets you
4249 * restrict a search to only include either high definition (HD) or standard
4250 * definition (SD) videos. HD videos are available for playback in at least
4251 * 720p, though higher resolutions, like 1080p, might also be available. If you
4252 * specify a value for this parameter, you must also set the type parameter's
4253 * value to video.
4254 * @opt_param string videoDimension The videoDimension parameter lets you
4255 * restrict a search to only retrieve 2D or 3D videos. If you specify a value
4256 * for this parameter, you must also set the type parameter's value to video.
4257 * @opt_param string videoDuration The videoDuration parameter filters video
4258 * search results based on their duration. If you specify a value for this
4259 * parameter, you must also set the type parameter's value to video.
4260 * @opt_param string videoEmbeddable The videoEmbeddable parameter lets you to
4261 * restrict a search to only videos that can be embedded into a webpage. If you
4262 * specify a value for this parameter, you must also set the type parameter's
4263 * value to video.
4264 * @opt_param string videoLicense The videoLicense parameter filters search
4265 * results to only include videos with a particular license. YouTube lets video
4266 * uploaders choose to attach either the Creative Commons license or the
4267 * standard YouTube license to each of their videos. If you specify a value for
4268 * this parameter, you must also set the type parameter's value to video.
4269 * @opt_param string videoSyndicated The videoSyndicated parameter lets you to
4270 * restrict a search to only videos that can be played outside youtube.com. If
4271 * you specify a value for this parameter, you must also set the type
4272 * parameter's value to video.
4273 * @opt_param string videoType The videoType parameter lets you restrict a
4274 * search to a particular type of videos. If you specify a value for this
4275 * parameter, you must also set the type parameter's value to video.
4276 * @return Google_Service_YouTube_SearchListResponse
4277 */
4278 public function listSearch($part, $optParams = array())
4279 {
4280 $params = array('part' => $part);
4281 $params = array_merge($params, $optParams);
4282 return $this->call('list', array($params), "Google_Service_YouTube_SearchListResponse");
4283 }
4284 }
4285
4286 /**
4287 * The "sponsors" collection of methods.
4288 * Typical usage is:
4289 * <code>
4290 * $youtubeService = new Google_Service_YouTube(...);
4291 * $sponsors = $youtubeService->sponsors;
4292 * </code>
4293 */
4294 class Google_Service_YouTube_Sponsors_Resource extends Google_Service_Resource
4295 {
4296
4297 /**
4298 * Lists sponsors for a channel. (sponsors.listSponsors)
4299 *
4300 * @param string $part The part parameter specifies the sponsor resource parts
4301 * that the API response will include. Supported values are id and snippet.
4302 * @param array $optParams Optional parameters.
4303 *
4304 * @opt_param string filter The filter parameter specifies which channel
4305 * sponsors to return.
4306 * @opt_param string maxResults The maxResults parameter specifies the maximum
4307 * number of items that should be returned in the result set.
4308 * @opt_param string pageToken The pageToken parameter identifies a specific
4309 * page in the result set that should be returned. In an API response, the
4310 * nextPageToken and prevPageToken properties identify other pages that could be
4311 * retrieved.
4312 * @return Google_Service_YouTube_SponsorListResponse
4313 */
4314 public function listSponsors($part, $optParams = array())
4315 {
4316 $params = array('part' => $part);
4317 $params = array_merge($params, $optParams);
4318 return $this->call('list', array($params), "Google_Service_YouTube_SponsorListResponse");
4319 }
4320 }
4321
4322 /**
4323 * The "subscriptions" collection of methods.
4324 * Typical usage is:
4325 * <code>
4326 * $youtubeService = new Google_Service_YouTube(...);
4327 * $subscriptions = $youtubeService->subscriptions;
4328 * </code>
4329 */
4330 class Google_Service_YouTube_Subscriptions_Resource extends Google_Service_Resource
4331 {
4332
4333 /**
4334 * Deletes a subscription. (subscriptions.delete)
4335 *
4336 * @param string $id The id parameter specifies the YouTube subscription ID for
4337 * the resource that is being deleted. In a subscription resource, the id
4338 * property specifies the YouTube subscription ID.
4339 * @param array $optParams Optional parameters.
4340 */
4341 public function delete($id, $optParams = array())
4342 {
4343 $params = array('id' => $id);
4344 $params = array_merge($params, $optParams);
4345 return $this->call('delete', array($params));
4346 }
4347
4348 /**
4349 * Adds a subscription for the authenticated user's channel.
4350 * (subscriptions.insert)
4351 *
4352 * @param string $part The part parameter serves two purposes in this operation.
4353 * It identifies the properties that the write operation will set as well as the
4354 * properties that the API response will include.
4355 * @param Google_Subscription $postBody
4356 * @param array $optParams Optional parameters.
4357 * @return Google_Service_YouTube_Subscription
4358 */
4359 public function insert($part, Google_Service_YouTube_Subscription $postBody, $optParams = array())
4360 {
4361 $params = array('part' => $part, 'postBody' => $postBody);
4362 $params = array_merge($params, $optParams);
4363 return $this->call('insert', array($params), "Google_Service_YouTube_Subscription");
4364 }
4365
4366 /**
4367 * Returns subscription resources that match the API request criteria.
4368 * (subscriptions.listSubscriptions)
4369 *
4370 * @param string $part The part parameter specifies a comma-separated list of
4371 * one or more subscription resource properties that the API response will
4372 * include.
4373 *
4374 * If the parameter identifies a property that contains child properties, the
4375 * child properties will be included in the response. For example, in a
4376 * subscription resource, the snippet property contains other properties, such
4377 * as a display title for the subscription. If you set part=snippet, the API
4378 * response will also contain all of those nested properties.
4379 * @param array $optParams Optional parameters.
4380 *
4381 * @opt_param string channelId The channelId parameter specifies a YouTube
4382 * channel ID. The API will only return that channel's subscriptions.
4383 * @opt_param string forChannelId The forChannelId parameter specifies a comma-
4384 * separated list of channel IDs. The API response will then only contain
4385 * subscriptions matching those channels.
4386 * @opt_param string id The id parameter specifies a comma-separated list of the
4387 * YouTube subscription ID(s) for the resource(s) that are being retrieved. In a
4388 * subscription resource, the id property specifies the YouTube subscription ID.
4389 * @opt_param string maxResults The maxResults parameter specifies the maximum
4390 * number of items that should be returned in the result set.
4391 * @opt_param bool mine Set this parameter's value to true to retrieve a feed of
4392 * the authenticated user's subscriptions.
4393 * @opt_param bool mySubscribers Set this parameter's value to true to retrieve
4394 * a feed of the subscribers of the authenticated user.
4395 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
4396 * exclusively for YouTube content partners.
4397 *
4398 * The onBehalfOfContentOwner parameter indicates that the request's
4399 * authorization credentials identify a YouTube CMS user who is acting on behalf
4400 * of the content owner specified in the parameter value. This parameter is
4401 * intended for YouTube content partners that own and manage many different
4402 * YouTube channels. It allows content owners to authenticate once and get
4403 * access to all their video and channel data, without having to provide
4404 * authentication credentials for each individual channel. The CMS account that
4405 * the user authenticates with must be linked to the specified YouTube content
4406 * owner.
4407 * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
4408 * used in a properly authorized request. Note: This parameter is intended
4409 * exclusively for YouTube content partners.
4410 *
4411 * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
4412 * of the channel to which a video is being added. This parameter is required
4413 * when a request specifies a value for the onBehalfOfContentOwner parameter,
4414 * and it can only be used in conjunction with that parameter. In addition, the
4415 * request must be authorized using a CMS account that is linked to the content
4416 * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
4417 * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
4418 * be linked to the content owner that the onBehalfOfContentOwner parameter
4419 * specifies.
4420 *
4421 * This parameter is intended for YouTube content partners that own and manage
4422 * many different YouTube channels. It allows content owners to authenticate
4423 * once and perform actions on behalf of the channel specified in the parameter
4424 * value, without having to provide authentication credentials for each separate
4425 * channel.
4426 * @opt_param string order The order parameter specifies the method that will be
4427 * used to sort resources in the API response.
4428 * @opt_param string pageToken The pageToken parameter identifies a specific
4429 * page in the result set that should be returned. In an API response, the
4430 * nextPageToken and prevPageToken properties identify other pages that could be
4431 * retrieved.
4432 * @return Google_Service_YouTube_SubscriptionListResponse
4433 */
4434 public function listSubscriptions($part, $optParams = array())
4435 {
4436 $params = array('part' => $part);
4437 $params = array_merge($params, $optParams);
4438 return $this->call('list', array($params), "Google_Service_YouTube_SubscriptionListResponse");
4439 }
4440 }
4441
4442 /**
4443 * The "thumbnails" collection of methods.
4444 * Typical usage is:
4445 * <code>
4446 * $youtubeService = new Google_Service_YouTube(...);
4447 * $thumbnails = $youtubeService->thumbnails;
4448 * </code>
4449 */
4450 class Google_Service_YouTube_Thumbnails_Resource extends Google_Service_Resource
4451 {
4452
4453 /**
4454 * Uploads a custom video thumbnail to YouTube and sets it for a video.
4455 * (thumbnails.set)
4456 *
4457 * @param string $videoId The videoId parameter specifies a YouTube video ID for
4458 * which the custom video thumbnail is being provided.
4459 * @param array $optParams Optional parameters.
4460 *
4461 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
4462 * exclusively for YouTube content partners.
4463 *
4464 * The onBehalfOfContentOwner parameter indicates that the request's
4465 * authorization credentials identify a YouTube CMS user who is acting on behalf
4466 * of the content owner specified in the parameter value. This parameter is
4467 * intended for YouTube content partners that own and manage many different
4468 * YouTube channels. It allows content owners to authenticate once and get
4469 * access to all their video and channel data, without having to provide
4470 * authentication credentials for each individual channel. The actual CMS
4471 * account that the user authenticates with must be linked to the specified
4472 * YouTube content owner.
4473 * @return Google_Service_YouTube_ThumbnailSetResponse
4474 */
4475 public function set($videoId, $optParams = array())
4476 {
4477 $params = array('videoId' => $videoId);
4478 $params = array_merge($params, $optParams);
4479 return $this->call('set', array($params), "Google_Service_YouTube_ThumbnailSetResponse");
4480 }
4481 }
4482
4483 /**
4484 * The "videoAbuseReportReasons" collection of methods.
4485 * Typical usage is:
4486 * <code>
4487 * $youtubeService = new Google_Service_YouTube(...);
4488 * $videoAbuseReportReasons = $youtubeService->videoAbuseReportReasons;
4489 * </code>
4490 */
4491 class Google_Service_YouTube_VideoAbuseReportReasons_Resource extends Google_Service_Resource
4492 {
4493
4494 /**
4495 * Returns a list of abuse reasons that can be used for reporting abusive
4496 * videos. (videoAbuseReportReasons.listVideoAbuseReportReasons)
4497 *
4498 * @param string $part The part parameter specifies the videoCategory resource
4499 * parts that the API response will include. Supported values are id and
4500 * snippet.
4501 * @param array $optParams Optional parameters.
4502 *
4503 * @opt_param string hl The hl parameter specifies the language that should be
4504 * used for text values in the API response.
4505 * @return Google_Service_YouTube_VideoAbuseReportReasonListResponse
4506 */
4507 public function listVideoAbuseReportReasons($part, $optParams = array())
4508 {
4509 $params = array('part' => $part);
4510 $params = array_merge($params, $optParams);
4511 return $this->call('list', array($params), "Google_Service_YouTube_VideoAbuseReportReasonListResponse");
4512 }
4513 }
4514
4515 /**
4516 * The "videoCategories" collection of methods.
4517 * Typical usage is:
4518 * <code>
4519 * $youtubeService = new Google_Service_YouTube(...);
4520 * $videoCategories = $youtubeService->videoCategories;
4521 * </code>
4522 */
4523 class Google_Service_YouTube_VideoCategories_Resource extends Google_Service_Resource
4524 {
4525
4526 /**
4527 * Returns a list of categories that can be associated with YouTube videos.
4528 * (videoCategories.listVideoCategories)
4529 *
4530 * @param string $part The part parameter specifies the videoCategory resource
4531 * properties that the API response will include. Set the parameter value to
4532 * snippet.
4533 * @param array $optParams Optional parameters.
4534 *
4535 * @opt_param string hl The hl parameter specifies the language that should be
4536 * used for text values in the API response.
4537 * @opt_param string id The id parameter specifies a comma-separated list of
4538 * video category IDs for the resources that you are retrieving.
4539 * @opt_param string regionCode The regionCode parameter instructs the API to
4540 * return the list of video categories available in the specified country. The
4541 * parameter value is an ISO 3166-1 alpha-2 country code.
4542 * @return Google_Service_YouTube_VideoCategoryListResponse
4543 */
4544 public function listVideoCategories($part, $optParams = array())
4545 {
4546 $params = array('part' => $part);
4547 $params = array_merge($params, $optParams);
4548 return $this->call('list', array($params), "Google_Service_YouTube_VideoCategoryListResponse");
4549 }
4550 }
4551
4552 /**
4553 * The "videos" collection of methods.
4554 * Typical usage is:
4555 * <code>
4556 * $youtubeService = new Google_Service_YouTube(...);
4557 * $videos = $youtubeService->videos;
4558 * </code>
4559 */
4560 class Google_Service_YouTube_Videos_Resource extends Google_Service_Resource
4561 {
4562
4563 /**
4564 * Deletes a YouTube video. (videos.delete)
4565 *
4566 * @param string $id The id parameter specifies the YouTube video ID for the
4567 * resource that is being deleted. In a video resource, the id property
4568 * specifies the video's ID.
4569 * @param array $optParams Optional parameters.
4570 *
4571 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
4572 * exclusively for YouTube content partners.
4573 *
4574 * The onBehalfOfContentOwner parameter indicates that the request's
4575 * authorization credentials identify a YouTube CMS user who is acting on behalf
4576 * of the content owner specified in the parameter value. This parameter is
4577 * intended for YouTube content partners that own and manage many different
4578 * YouTube channels. It allows content owners to authenticate once and get
4579 * access to all their video and channel data, without having to provide
4580 * authentication credentials for each individual channel. The actual CMS
4581 * account that the user authenticates with must be linked to the specified
4582 * YouTube content owner.
4583 */
4584 public function delete($id, $optParams = array())
4585 {
4586 $params = array('id' => $id);
4587 $params = array_merge($params, $optParams);
4588 return $this->call('delete', array($params));
4589 }
4590
4591 /**
4592 * Retrieves the ratings that the authorized user gave to a list of specified
4593 * videos. (videos.getRating)
4594 *
4595 * @param string $id The id parameter specifies a comma-separated list of the
4596 * YouTube video ID(s) for the resource(s) for which you are retrieving rating
4597 * data. In a video resource, the id property specifies the video's ID.
4598 * @param array $optParams Optional parameters.
4599 *
4600 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
4601 * exclusively for YouTube content partners.
4602 *
4603 * The onBehalfOfContentOwner parameter indicates that the request's
4604 * authorization credentials identify a YouTube CMS user who is acting on behalf
4605 * of the content owner specified in the parameter value. This parameter is
4606 * intended for YouTube content partners that own and manage many different
4607 * YouTube channels. It allows content owners to authenticate once and get
4608 * access to all their video and channel data, without having to provide
4609 * authentication credentials for each individual channel. The CMS account that
4610 * the user authenticates with must be linked to the specified YouTube content
4611 * owner.
4612 * @return Google_Service_YouTube_VideoGetRatingResponse
4613 */
4614 public function getRating($id, $optParams = array())
4615 {
4616 $params = array('id' => $id);
4617 $params = array_merge($params, $optParams);
4618 return $this->call('getRating', array($params), "Google_Service_YouTube_VideoGetRatingResponse");
4619 }
4620
4621 /**
4622 * Uploads a video to YouTube and optionally sets the video's metadata.
4623 * (videos.insert)
4624 *
4625 * @param string $part The part parameter serves two purposes in this operation.
4626 * It identifies the properties that the write operation will set as well as the
4627 * properties that the API response will include.
4628 *
4629 * Note that not all parts contain properties that can be set when inserting or
4630 * updating a video. For example, the statistics object encapsulates statistics
4631 * that YouTube calculates for a video and does not contain values that you can
4632 * set or modify. If the parameter value specifies a part that does not contain
4633 * mutable values, that part will still be included in the API response.
4634 * @param Google_Video $postBody
4635 * @param array $optParams Optional parameters.
4636 *
4637 * @opt_param bool autoLevels The autoLevels parameter indicates whether YouTube
4638 * should automatically enhance the video's lighting and color.
4639 * @opt_param bool notifySubscribers The notifySubscribers parameter indicates
4640 * whether YouTube should send a notification about the new video to users who
4641 * subscribe to the video's channel. A parameter value of True indicates that
4642 * subscribers will be notified of newly uploaded videos. However, a channel
4643 * owner who is uploading many videos might prefer to set the value to False to
4644 * avoid sending a notification about each new video to the channel's
4645 * subscribers.
4646 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
4647 * exclusively for YouTube content partners.
4648 *
4649 * The onBehalfOfContentOwner parameter indicates that the request's
4650 * authorization credentials identify a YouTube CMS user who is acting on behalf
4651 * of the content owner specified in the parameter value. This parameter is
4652 * intended for YouTube content partners that own and manage many different
4653 * YouTube channels. It allows content owners to authenticate once and get
4654 * access to all their video and channel data, without having to provide
4655 * authentication credentials for each individual channel. The CMS account that
4656 * the user authenticates with must be linked to the specified YouTube content
4657 * owner.
4658 * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
4659 * used in a properly authorized request. Note: This parameter is intended
4660 * exclusively for YouTube content partners.
4661 *
4662 * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
4663 * of the channel to which a video is being added. This parameter is required
4664 * when a request specifies a value for the onBehalfOfContentOwner parameter,
4665 * and it can only be used in conjunction with that parameter. In addition, the
4666 * request must be authorized using a CMS account that is linked to the content
4667 * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
4668 * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
4669 * be linked to the content owner that the onBehalfOfContentOwner parameter
4670 * specifies.
4671 *
4672 * This parameter is intended for YouTube content partners that own and manage
4673 * many different YouTube channels. It allows content owners to authenticate
4674 * once and perform actions on behalf of the channel specified in the parameter
4675 * value, without having to provide authentication credentials for each separate
4676 * channel.
4677 * @opt_param bool stabilize The stabilize parameter indicates whether YouTube
4678 * should adjust the video to remove shaky camera motions.
4679 * @return Google_Service_YouTube_Video
4680 */
4681 public function insert($part, Google_Service_YouTube_Video $postBody, $optParams = array())
4682 {
4683 $params = array('part' => $part, 'postBody' => $postBody);
4684 $params = array_merge($params, $optParams);
4685 return $this->call('insert', array($params), "Google_Service_YouTube_Video");
4686 }
4687
4688 /**
4689 * Returns a list of videos that match the API request parameters.
4690 * (videos.listVideos)
4691 *
4692 * @param string $part The part parameter specifies a comma-separated list of
4693 * one or more video resource properties that the API response will include.
4694 *
4695 * If the parameter identifies a property that contains child properties, the
4696 * child properties will be included in the response. For example, in a video
4697 * resource, the snippet property contains the channelId, title, description,
4698 * tags, and categoryId properties. As such, if you set part=snippet, the API
4699 * response will contain all of those properties.
4700 * @param array $optParams Optional parameters.
4701 *
4702 * @opt_param string chart The chart parameter identifies the chart that you
4703 * want to retrieve.
4704 * @opt_param string hl The hl parameter instructs the API to retrieve localized
4705 * resource metadata for a specific application language that the YouTube
4706 * website supports. The parameter value must be a language code included in the
4707 * list returned by the i18nLanguages.list method.
4708 *
4709 * If localized resource details are available in that language, the resource's
4710 * snippet.localized object will contain the localized values. However, if
4711 * localized details are not available, the snippet.localized object will
4712 * contain resource details in the resource's default language.
4713 * @opt_param string id The id parameter specifies a comma-separated list of the
4714 * YouTube video ID(s) for the resource(s) that are being retrieved. In a video
4715 * resource, the id property specifies the video's ID.
4716 * @opt_param string locale DEPRECATED
4717 * @opt_param string maxResults The maxResults parameter specifies the maximum
4718 * number of items that should be returned in the result set.
4719 *
4720 * Note: This parameter is supported for use in conjunction with the myRating
4721 * parameter, but it is not supported for use in conjunction with the id
4722 * parameter.
4723 * @opt_param string myRating Set this parameter's value to like or dislike to
4724 * instruct the API to only return videos liked or disliked by the authenticated
4725 * user.
4726 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
4727 * exclusively for YouTube content partners.
4728 *
4729 * The onBehalfOfContentOwner parameter indicates that the request's
4730 * authorization credentials identify a YouTube CMS user who is acting on behalf
4731 * of the content owner specified in the parameter value. This parameter is
4732 * intended for YouTube content partners that own and manage many different
4733 * YouTube channels. It allows content owners to authenticate once and get
4734 * access to all their video and channel data, without having to provide
4735 * authentication credentials for each individual channel. The CMS account that
4736 * the user authenticates with must be linked to the specified YouTube content
4737 * owner.
4738 * @opt_param string pageToken The pageToken parameter identifies a specific
4739 * page in the result set that should be returned. In an API response, the
4740 * nextPageToken and prevPageToken properties identify other pages that could be
4741 * retrieved.
4742 *
4743 * Note: This parameter is supported for use in conjunction with the myRating
4744 * parameter, but it is not supported for use in conjunction with the id
4745 * parameter.
4746 * @opt_param string regionCode The regionCode parameter instructs the API to
4747 * select a video chart available in the specified region. This parameter can
4748 * only be used in conjunction with the chart parameter. The parameter value is
4749 * an ISO 3166-1 alpha-2 country code.
4750 * @opt_param string videoCategoryId The videoCategoryId parameter identifies
4751 * the video category for which the chart should be retrieved. This parameter
4752 * can only be used in conjunction with the chart parameter. By default, charts
4753 * are not restricted to a particular category.
4754 * @return Google_Service_YouTube_VideoListResponse
4755 */
4756 public function listVideos($part, $optParams = array())
4757 {
4758 $params = array('part' => $part);
4759 $params = array_merge($params, $optParams);
4760 return $this->call('list', array($params), "Google_Service_YouTube_VideoListResponse");
4761 }
4762
4763 /**
4764 * Add a like or dislike rating to a video or remove a rating from a video.
4765 * (videos.rate)
4766 *
4767 * @param string $id The id parameter specifies the YouTube video ID of the
4768 * video that is being rated or having its rating removed.
4769 * @param string $rating Specifies the rating to record.
4770 * @param array $optParams Optional parameters.
4771 */
4772 public function rate($id, $rating, $optParams = array())
4773 {
4774 $params = array('id' => $id, 'rating' => $rating);
4775 $params = array_merge($params, $optParams);
4776 return $this->call('rate', array($params));
4777 }
4778
4779 /**
4780 * Report abuse for a video. (videos.reportAbuse)
4781 *
4782 * @param Google_VideoAbuseReport $postBody
4783 * @param array $optParams Optional parameters.
4784 *
4785 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
4786 * exclusively for YouTube content partners.
4787 *
4788 * The onBehalfOfContentOwner parameter indicates that the request's
4789 * authorization credentials identify a YouTube CMS user who is acting on behalf
4790 * of the content owner specified in the parameter value. This parameter is
4791 * intended for YouTube content partners that own and manage many different
4792 * YouTube channels. It allows content owners to authenticate once and get
4793 * access to all their video and channel data, without having to provide
4794 * authentication credentials for each individual channel. The CMS account that
4795 * the user authenticates with must be linked to the specified YouTube content
4796 * owner.
4797 */
4798 public function reportAbuse(Google_Service_YouTube_VideoAbuseReport $postBody, $optParams = array())
4799 {
4800 $params = array('postBody' => $postBody);
4801 $params = array_merge($params, $optParams);
4802 return $this->call('reportAbuse', array($params));
4803 }
4804
4805 /**
4806 * Updates a video's metadata. (videos.update)
4807 *
4808 * @param string $part The part parameter serves two purposes in this operation.
4809 * It identifies the properties that the write operation will set as well as the
4810 * properties that the API response will include.
4811 *
4812 * Note that this method will override the existing values for all of the
4813 * mutable properties that are contained in any parts that the parameter value
4814 * specifies. For example, a video's privacy setting is contained in the status
4815 * part. As such, if your request is updating a private video, and the request's
4816 * part parameter value includes the status part, the video's privacy setting
4817 * will be updated to whatever value the request body specifies. If the request
4818 * body does not specify a value, the existing privacy setting will be removed
4819 * and the video will revert to the default privacy setting.
4820 *
4821 * In addition, not all parts contain properties that can be set when inserting
4822 * or updating a video. For example, the statistics object encapsulates
4823 * statistics that YouTube calculates for a video and does not contain values
4824 * that you can set or modify. If the parameter value specifies a part that does
4825 * not contain mutable values, that part will still be included in the API
4826 * response.
4827 * @param Google_Video $postBody
4828 * @param array $optParams Optional parameters.
4829 *
4830 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
4831 * exclusively for YouTube content partners.
4832 *
4833 * The onBehalfOfContentOwner parameter indicates that the request's
4834 * authorization credentials identify a YouTube CMS user who is acting on behalf
4835 * of the content owner specified in the parameter value. This parameter is
4836 * intended for YouTube content partners that own and manage many different
4837 * YouTube channels. It allows content owners to authenticate once and get
4838 * access to all their video and channel data, without having to provide
4839 * authentication credentials for each individual channel. The actual CMS
4840 * account that the user authenticates with must be linked to the specified
4841 * YouTube content owner.
4842 * @return Google_Service_YouTube_Video
4843 */
4844 public function update($part, Google_Service_YouTube_Video $postBody, $optParams = array())
4845 {
4846 $params = array('part' => $part, 'postBody' => $postBody);
4847 $params = array_merge($params, $optParams);
4848 return $this->call('update', array($params), "Google_Service_YouTube_Video");
4849 }
4850 }
4851
4852 /**
4853 * The "watermarks" collection of methods.
4854 * Typical usage is:
4855 * <code>
4856 * $youtubeService = new Google_Service_YouTube(...);
4857 * $watermarks = $youtubeService->watermarks;
4858 * </code>
4859 */
4860 class Google_Service_YouTube_Watermarks_Resource extends Google_Service_Resource
4861 {
4862
4863 /**
4864 * Uploads a watermark image to YouTube and sets it for a channel.
4865 * (watermarks.set)
4866 *
4867 * @param string $channelId The channelId parameter specifies the YouTube
4868 * channel ID for which the watermark is being provided.
4869 * @param Google_InvideoBranding $postBody
4870 * @param array $optParams Optional parameters.
4871 *
4872 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
4873 * exclusively for YouTube content partners.
4874 *
4875 * The onBehalfOfContentOwner parameter indicates that the request's
4876 * authorization credentials identify a YouTube CMS user who is acting on behalf
4877 * of the content owner specified in the parameter value. This parameter is
4878 * intended for YouTube content partners that own and manage many different
4879 * YouTube channels. It allows content owners to authenticate once and get
4880 * access to all their video and channel data, without having to provide
4881 * authentication credentials for each individual channel. The CMS account that
4882 * the user authenticates with must be linked to the specified YouTube content
4883 * owner.
4884 */
4885 public function set($channelId, Google_Service_YouTube_InvideoBranding $postBody, $optParams = array())
4886 {
4887 $params = array('channelId' => $channelId, 'postBody' => $postBody);
4888 $params = array_merge($params, $optParams);
4889 return $this->call('set', array($params));
4890 }
4891
4892 /**
4893 * Deletes a channel's watermark image. (watermarks.unsetWatermarks)
4894 *
4895 * @param string $channelId The channelId parameter specifies the YouTube
4896 * channel ID for which the watermark is being unset.
4897 * @param array $optParams Optional parameters.
4898 *
4899 * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
4900 * exclusively for YouTube content partners.
4901 *
4902 * The onBehalfOfContentOwner parameter indicates that the request's
4903 * authorization credentials identify a YouTube CMS user who is acting on behalf
4904 * of the content owner specified in the parameter value. This parameter is
4905 * intended for YouTube content partners that own and manage many different
4906 * YouTube channels. It allows content owners to authenticate once and get
4907 * access to all their video and channel data, without having to provide
4908 * authentication credentials for each individual channel. The CMS account that
4909 * the user authenticates with must be linked to the specified YouTube content
4910 * owner.
4911 */
4912 public function unsetWatermarks($channelId, $optParams = array())
4913 {
4914 $params = array('channelId' => $channelId);
4915 $params = array_merge($params, $optParams);
4916 return $this->call('unset', array($params));
4917 }
4918 }
4919
4920
4921
4922
4923 class Google_Service_YouTube_AccessPolicy extends Google_Collection
4924 {
4925 protected $collection_key = 'exception';
4926 protected $internal_gapi_mappings = array(
4927 );
4928 public $allowed;
4929 public $exception;
4930
4931
4932 public function setAllowed($allowed)
4933 {
4934 $this->allowed = $allowed;
4935 }
4936 public function getAllowed()
4937 {
4938 return $this->allowed;
4939 }
4940 public function setException($exception)
4941 {
4942 $this->exception = $exception;
4943 }
4944 public function getException()
4945 {
4946 return $this->exception;
4947 }
4948 }
4949
4950 class Google_Service_YouTube_Activity extends Google_Model
4951 {
4952 protected $internal_gapi_mappings = array(
4953 );
4954 protected $contentDetailsType = 'Google_Service_YouTube_ActivityContentDetails';
4955 protected $contentDetailsDataType = '';
4956 public $etag;
4957 public $id;
4958 public $kind;
4959 protected $snippetType = 'Google_Service_YouTube_ActivitySnippet';
4960 protected $snippetDataType = '';
4961
4962
4963 public function setContentDetails(Google_Service_YouTube_ActivityContentDetails $contentDetails)
4964 {
4965 $this->contentDetails = $contentDetails;
4966 }
4967 public function getContentDetails()
4968 {
4969 return $this->contentDetails;
4970 }
4971 public function setEtag($etag)
4972 {
4973 $this->etag = $etag;
4974 }
4975 public function getEtag()
4976 {
4977 return $this->etag;
4978 }
4979 public function setId($id)
4980 {
4981 $this->id = $id;
4982 }
4983 public function getId()
4984 {
4985 return $this->id;
4986 }
4987 public function setKind($kind)
4988 {
4989 $this->kind = $kind;
4990 }
4991 public function getKind()
4992 {
4993 return $this->kind;
4994 }
4995 public function setSnippet(Google_Service_YouTube_ActivitySnippet $snippet)
4996 {
4997 $this->snippet = $snippet;
4998 }
4999 public function getSnippet()
5000 {
5001 return $this->snippet;
5002 }
5003 }
5004
5005 class Google_Service_YouTube_ActivityContentDetails extends Google_Model
5006 {
5007 protected $internal_gapi_mappings = array(
5008 );
5009 protected $bulletinType = 'Google_Service_YouTube_ActivityContentDetailsBulletin';
5010 protected $bulletinDataType = '';
5011 protected $channelItemType = 'Google_Service_YouTube_ActivityContentDetailsChannelItem';
5012 protected $channelItemDataType = '';
5013 protected $commentType = 'Google_Service_YouTube_ActivityContentDetailsComment';
5014 protected $commentDataType = '';
5015 protected $favoriteType = 'Google_Service_YouTube_ActivityContentDetailsFavorite';
5016 protected $favoriteDataType = '';
5017 protected $likeType = 'Google_Service_YouTube_ActivityContentDetailsLike';
5018 protected $likeDataType = '';
5019 protected $playlistItemType = 'Google_Service_YouTube_ActivityContentDetailsPlaylistItem';
5020 protected $playlistItemDataType = '';
5021 protected $promotedItemType = 'Google_Service_YouTube_ActivityContentDetailsPromotedItem';
5022 protected $promotedItemDataType = '';
5023 protected $recommendationType = 'Google_Service_YouTube_ActivityContentDetailsRecommendation';
5024 protected $recommendationDataType = '';
5025 protected $socialType = 'Google_Service_YouTube_ActivityContentDetailsSocial';
5026 protected $socialDataType = '';
5027 protected $subscriptionType = 'Google_Service_YouTube_ActivityContentDetailsSubscription';
5028 protected $subscriptionDataType = '';
5029 protected $uploadType = 'Google_Service_YouTube_ActivityContentDetailsUpload';
5030 protected $uploadDataType = '';
5031
5032
5033 public function setBulletin(Google_Service_YouTube_ActivityContentDetailsBulletin $bulletin)
5034 {
5035 $this->bulletin = $bulletin;
5036 }
5037 public function getBulletin()
5038 {
5039 return $this->bulletin;
5040 }
5041 public function setChannelItem(Google_Service_YouTube_ActivityContentDetailsChannelItem $channelItem)
5042 {
5043 $this->channelItem = $channelItem;
5044 }
5045 public function getChannelItem()
5046 {
5047 return $this->channelItem;
5048 }
5049 public function setComment(Google_Service_YouTube_ActivityContentDetailsComment $comment)
5050 {
5051 $this->comment = $comment;
5052 }
5053 public function getComment()
5054 {
5055 return $this->comment;
5056 }
5057 public function setFavorite(Google_Service_YouTube_ActivityContentDetailsFavorite $favorite)
5058 {
5059 $this->favorite = $favorite;
5060 }
5061 public function getFavorite()
5062 {
5063 return $this->favorite;
5064 }
5065 public function setLike(Google_Service_YouTube_ActivityContentDetailsLike $like)
5066 {
5067 $this->like = $like;
5068 }
5069 public function getLike()
5070 {
5071 return $this->like;
5072 }
5073 public function setPlaylistItem(Google_Service_YouTube_ActivityContentDetailsPlaylistItem $playlistItem)
5074 {
5075 $this->playlistItem = $playlistItem;
5076 }
5077 public function getPlaylistItem()
5078 {
5079 return $this->playlistItem;
5080 }
5081 public function setPromotedItem(Google_Service_YouTube_ActivityContentDetailsPromotedItem $promotedItem)
5082 {
5083 $this->promotedItem = $promotedItem;
5084 }
5085 public function getPromotedItem()
5086 {
5087 return $this->promotedItem;
5088 }
5089 public function setRecommendation(Google_Service_YouTube_ActivityContentDetailsRecommendation $recommendation)
5090 {
5091 $this->recommendation = $recommendation;
5092 }
5093 public function getRecommendation()
5094 {
5095 return $this->recommendation;
5096 }
5097 public function setSocial(Google_Service_YouTube_ActivityContentDetailsSocial $social)
5098 {
5099 $this->social = $social;
5100 }
5101 public function getSocial()
5102 {
5103 return $this->social;
5104 }
5105 public function setSubscription(Google_Service_YouTube_ActivityContentDetailsSubscription $subscription)
5106 {
5107 $this->subscription = $subscription;
5108 }
5109 public function getSubscription()
5110 {
5111 return $this->subscription;
5112 }
5113 public function setUpload(Google_Service_YouTube_ActivityContentDetailsUpload $upload)
5114 {
5115 $this->upload = $upload;
5116 }
5117 public function getUpload()
5118 {
5119 return $this->upload;
5120 }
5121 }
5122
5123 class Google_Service_YouTube_ActivityContentDetailsBulletin extends Google_Model
5124 {
5125 protected $internal_gapi_mappings = array(
5126 );
5127 protected $resourceIdType = 'Google_Service_YouTube_ResourceId';
5128 protected $resourceIdDataType = '';
5129
5130
5131 public function setResourceId(Google_Service_YouTube_ResourceId $resourceId)
5132 {
5133 $this->resourceId = $resourceId;
5134 }
5135 public function getResourceId()
5136 {
5137 return $this->resourceId;
5138 }
5139 }
5140
5141 class Google_Service_YouTube_ActivityContentDetailsChannelItem extends Google_Model
5142 {
5143 protected $internal_gapi_mappings = array(
5144 );
5145 protected $resourceIdType = 'Google_Service_YouTube_ResourceId';
5146 protected $resourceIdDataType = '';
5147
5148
5149 public function setResourceId(Google_Service_YouTube_ResourceId $resourceId)
5150 {
5151 $this->resourceId = $resourceId;
5152 }
5153 public function getResourceId()
5154 {
5155 return $this->resourceId;
5156 }
5157 }
5158
5159 class Google_Service_YouTube_ActivityContentDetailsComment extends Google_Model
5160 {
5161 protected $internal_gapi_mappings = array(
5162 );
5163 protected $resourceIdType = 'Google_Service_YouTube_ResourceId';
5164 protected $resourceIdDataType = '';
5165
5166
5167 public function setResourceId(Google_Service_YouTube_ResourceId $resourceId)
5168 {
5169 $this->resourceId = $resourceId;
5170 }
5171 public function getResourceId()
5172 {
5173 return $this->resourceId;
5174 }
5175 }
5176
5177 class Google_Service_YouTube_ActivityContentDetailsFavorite extends Google_Model
5178 {
5179 protected $internal_gapi_mappings = array(
5180 );
5181 protected $resourceIdType = 'Google_Service_YouTube_ResourceId';
5182 protected $resourceIdDataType = '';
5183
5184
5185 public function setResourceId(Google_Service_YouTube_ResourceId $resourceId)
5186 {
5187 $this->resourceId = $resourceId;
5188 }
5189 public function getResourceId()
5190 {
5191 return $this->resourceId;
5192 }
5193 }
5194
5195 class Google_Service_YouTube_ActivityContentDetailsLike extends Google_Model
5196 {
5197 protected $internal_gapi_mappings = array(
5198 );
5199 protected $resourceIdType = 'Google_Service_YouTube_ResourceId';
5200 protected $resourceIdDataType = '';
5201
5202
5203 public function setResourceId(Google_Service_YouTube_ResourceId $resourceId)
5204 {
5205 $this->resourceId = $resourceId;
5206 }
5207 public function getResourceId()
5208 {
5209 return $this->resourceId;
5210 }
5211 }
5212
5213 class Google_Service_YouTube_ActivityContentDetailsPlaylistItem extends Google_Model
5214 {
5215 protected $internal_gapi_mappings = array(
5216 );
5217 public $playlistId;
5218 public $playlistItemId;
5219 protected $resourceIdType = 'Google_Service_YouTube_ResourceId';
5220 protected $resourceIdDataType = '';
5221
5222
5223 public function setPlaylistId($playlistId)
5224 {
5225 $this->playlistId = $playlistId;
5226 }
5227 public function getPlaylistId()
5228 {
5229 return $this->playlistId;
5230 }
5231 public function setPlaylistItemId($playlistItemId)
5232 {
5233 $this->playlistItemId = $playlistItemId;
5234 }
5235 public function getPlaylistItemId()
5236 {
5237 return $this->playlistItemId;
5238 }
5239 public function setResourceId(Google_Service_YouTube_ResourceId $resourceId)
5240 {
5241 $this->resourceId = $resourceId;
5242 }
5243 public function getResourceId()
5244 {
5245 return $this->resourceId;
5246 }
5247 }
5248
5249 class Google_Service_YouTube_ActivityContentDetailsPromotedItem extends Google_Collection
5250 {
5251 protected $collection_key = 'impressionUrl';
5252 protected $internal_gapi_mappings = array(
5253 );
5254 public $adTag;
5255 public $clickTrackingUrl;
5256 public $creativeViewUrl;
5257 public $ctaType;
5258 public $customCtaButtonText;
5259 public $descriptionText;
5260 public $destinationUrl;
5261 public $forecastingUrl;
5262 public $impressionUrl;
5263 public $videoId;
5264
5265
5266 public function setAdTag($adTag)
5267 {
5268 $this->adTag = $adTag;
5269 }
5270 public function getAdTag()
5271 {
5272 return $this->adTag;
5273 }
5274 public function setClickTrackingUrl($clickTrackingUrl)
5275 {
5276 $this->clickTrackingUrl = $clickTrackingUrl;
5277 }
5278 public function getClickTrackingUrl()
5279 {
5280 return $this->clickTrackingUrl;
5281 }
5282 public function setCreativeViewUrl($creativeViewUrl)
5283 {
5284 $this->creativeViewUrl = $creativeViewUrl;
5285 }
5286 public function getCreativeViewUrl()
5287 {
5288 return $this->creativeViewUrl;
5289 }
5290 public function setCtaType($ctaType)
5291 {
5292 $this->ctaType = $ctaType;
5293 }
5294 public function getCtaType()
5295 {
5296 return $this->ctaType;
5297 }
5298 public function setCustomCtaButtonText($customCtaButtonText)
5299 {
5300 $this->customCtaButtonText = $customCtaButtonText;
5301 }
5302 public function getCustomCtaButtonText()
5303 {
5304 return $this->customCtaButtonText;
5305 }
5306 public function setDescriptionText($descriptionText)
5307 {
5308 $this->descriptionText = $descriptionText;
5309 }
5310 public function getDescriptionText()
5311 {
5312 return $this->descriptionText;
5313 }
5314 public function setDestinationUrl($destinationUrl)
5315 {
5316 $this->destinationUrl = $destinationUrl;
5317 }
5318 public function getDestinationUrl()
5319 {
5320 return $this->destinationUrl;
5321 }
5322 public function setForecastingUrl($forecastingUrl)
5323 {
5324 $this->forecastingUrl = $forecastingUrl;
5325 }
5326 public function getForecastingUrl()
5327 {
5328 return $this->forecastingUrl;
5329 }
5330 public function setImpressionUrl($impressionUrl)
5331 {
5332 $this->impressionUrl = $impressionUrl;
5333 }
5334 public function getImpressionUrl()
5335 {
5336 return $this->impressionUrl;
5337 }
5338 public function setVideoId($videoId)
5339 {
5340 $this->videoId = $videoId;
5341 }
5342 public function getVideoId()
5343 {
5344 return $this->videoId;
5345 }
5346 }
5347
5348 class Google_Service_YouTube_ActivityContentDetailsRecommendation extends Google_Model
5349 {
5350 protected $internal_gapi_mappings = array(
5351 );
5352 public $reason;
5353 protected $resourceIdType = 'Google_Service_YouTube_ResourceId';
5354 protected $resourceIdDataType = '';
5355 protected $seedResourceIdType = 'Google_Service_YouTube_ResourceId';
5356 protected $seedResourceIdDataType = '';
5357
5358
5359 public function setReason($reason)
5360 {
5361 $this->reason = $reason;
5362 }
5363 public function getReason()
5364 {
5365 return $this->reason;
5366 }
5367 public function setResourceId(Google_Service_YouTube_ResourceId $resourceId)
5368 {
5369 $this->resourceId = $resourceId;
5370 }
5371 public function getResourceId()
5372 {
5373 return $this->resourceId;
5374 }
5375 public function setSeedResourceId(Google_Service_YouTube_ResourceId $seedResourceId)
5376 {
5377 $this->seedResourceId = $seedResourceId;
5378 }
5379 public function getSeedResourceId()
5380 {
5381 return $this->seedResourceId;
5382 }
5383 }
5384
5385 class Google_Service_YouTube_ActivityContentDetailsSocial extends Google_Model
5386 {
5387 protected $internal_gapi_mappings = array(
5388 );
5389 public $author;
5390 public $imageUrl;
5391 public $referenceUrl;
5392 protected $resourceIdType = 'Google_Service_YouTube_ResourceId';
5393 protected $resourceIdDataType = '';
5394 public $type;
5395
5396
5397 public function setAuthor($author)
5398 {
5399 $this->author = $author;
5400 }
5401 public function getAuthor()
5402 {
5403 return $this->author;
5404 }
5405 public function setImageUrl($imageUrl)
5406 {
5407 $this->imageUrl = $imageUrl;
5408 }
5409 public function getImageUrl()
5410 {
5411 return $this->imageUrl;
5412 }
5413 public function setReferenceUrl($referenceUrl)
5414 {
5415 $this->referenceUrl = $referenceUrl;
5416 }
5417 public function getReferenceUrl()
5418 {
5419 return $this->referenceUrl;
5420 }
5421 public function setResourceId(Google_Service_YouTube_ResourceId $resourceId)
5422 {
5423 $this->resourceId = $resourceId;
5424 }
5425 public function getResourceId()
5426 {
5427 return $this->resourceId;
5428 }
5429 public function setType($type)
5430 {
5431 $this->type = $type;
5432 }
5433 public function getType()
5434 {
5435 return $this->type;
5436 }
5437 }
5438
5439 class Google_Service_YouTube_ActivityContentDetailsSubscription extends Google_Model
5440 {
5441 protected $internal_gapi_mappings = array(
5442 );
5443 protected $resourceIdType = 'Google_Service_YouTube_ResourceId';
5444 protected $resourceIdDataType = '';
5445
5446
5447 public function setResourceId(Google_Service_YouTube_ResourceId $resourceId)
5448 {
5449 $this->resourceId = $resourceId;
5450 }
5451 public function getResourceId()
5452 {
5453 return $this->resourceId;
5454 }
5455 }
5456
5457 class Google_Service_YouTube_ActivityContentDetailsUpload extends Google_Model
5458 {
5459 protected $internal_gapi_mappings = array(
5460 );
5461 public $videoId;
5462
5463
5464 public function setVideoId($videoId)
5465 {
5466 $this->videoId = $videoId;
5467 }
5468 public function getVideoId()
5469 {
5470 return $this->videoId;
5471 }
5472 }
5473
5474 class Google_Service_YouTube_ActivityListResponse extends Google_Collection
5475 {
5476 protected $collection_key = 'items';
5477 protected $internal_gapi_mappings = array(
5478 );
5479 public $etag;
5480 public $eventId;
5481 protected $itemsType = 'Google_Service_YouTube_Activity';
5482 protected $itemsDataType = 'array';
5483 public $kind;
5484 public $nextPageToken;
5485 protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
5486 protected $pageInfoDataType = '';
5487 public $prevPageToken;
5488 protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination';
5489 protected $tokenPaginationDataType = '';
5490 public $visitorId;
5491
5492
5493 public function setEtag($etag)
5494 {
5495 $this->etag = $etag;
5496 }
5497 public function getEtag()
5498 {
5499 return $this->etag;
5500 }
5501 public function setEventId($eventId)
5502 {
5503 $this->eventId = $eventId;
5504 }
5505 public function getEventId()
5506 {
5507 return $this->eventId;
5508 }
5509 public function setItems($items)
5510 {
5511 $this->items = $items;
5512 }
5513 public function getItems()
5514 {
5515 return $this->items;
5516 }
5517 public function setKind($kind)
5518 {
5519 $this->kind = $kind;
5520 }
5521 public function getKind()
5522 {
5523 return $this->kind;
5524 }
5525 public function setNextPageToken($nextPageToken)
5526 {
5527 $this->nextPageToken = $nextPageToken;
5528 }
5529 public function getNextPageToken()
5530 {
5531 return $this->nextPageToken;
5532 }
5533 public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo)
5534 {
5535 $this->pageInfo = $pageInfo;
5536 }
5537 public function getPageInfo()
5538 {
5539 return $this->pageInfo;
5540 }
5541 public function setPrevPageToken($prevPageToken)
5542 {
5543 $this->prevPageToken = $prevPageToken;
5544 }
5545 public function getPrevPageToken()
5546 {
5547 return $this->prevPageToken;
5548 }
5549 public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination)
5550 {
5551 $this->tokenPagination = $tokenPagination;
5552 }
5553 public function getTokenPagination()
5554 {
5555 return $this->tokenPagination;
5556 }
5557 public function setVisitorId($visitorId)
5558 {
5559 $this->visitorId = $visitorId;
5560 }
5561 public function getVisitorId()
5562 {
5563 return $this->visitorId;
5564 }
5565 }
5566
5567 class Google_Service_YouTube_ActivitySnippet extends Google_Model
5568 {
5569 protected $internal_gapi_mappings = array(
5570 );
5571 public $channelId;
5572 public $channelTitle;
5573 public $description;
5574 public $groupId;
5575 public $publishedAt;
5576 protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails';
5577 protected $thumbnailsDataType = '';
5578 public $title;
5579 public $type;
5580
5581
5582 public function setChannelId($channelId)
5583 {
5584 $this->channelId = $channelId;
5585 }
5586 public function getChannelId()
5587 {
5588 return $this->channelId;
5589 }
5590 public function setChannelTitle($channelTitle)
5591 {
5592 $this->channelTitle = $channelTitle;
5593 }
5594 public function getChannelTitle()
5595 {
5596 return $this->channelTitle;
5597 }
5598 public function setDescription($description)
5599 {
5600 $this->description = $description;
5601 }
5602 public function getDescription()
5603 {
5604 return $this->description;
5605 }
5606 public function setGroupId($groupId)
5607 {
5608 $this->groupId = $groupId;
5609 }
5610 public function getGroupId()
5611 {
5612 return $this->groupId;
5613 }
5614 public function setPublishedAt($publishedAt)
5615 {
5616 $this->publishedAt = $publishedAt;
5617 }
5618 public function getPublishedAt()
5619 {
5620 return $this->publishedAt;
5621 }
5622 public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails)
5623 {
5624 $this->thumbnails = $thumbnails;
5625 }
5626 public function getThumbnails()
5627 {
5628 return $this->thumbnails;
5629 }
5630 public function setTitle($title)
5631 {
5632 $this->title = $title;
5633 }
5634 public function getTitle()
5635 {
5636 return $this->title;
5637 }
5638 public function setType($type)
5639 {
5640 $this->type = $type;
5641 }
5642 public function getType()
5643 {
5644 return $this->type;
5645 }
5646 }
5647
5648 class Google_Service_YouTube_Caption extends Google_Model
5649 {
5650 protected $internal_gapi_mappings = array(
5651 );
5652 public $etag;
5653 public $id;
5654 public $kind;
5655 protected $snippetType = 'Google_Service_YouTube_CaptionSnippet';
5656 protected $snippetDataType = '';
5657
5658
5659 public function setEtag($etag)
5660 {
5661 $this->etag = $etag;
5662 }
5663 public function getEtag()
5664 {
5665 return $this->etag;
5666 }
5667 public function setId($id)
5668 {
5669 $this->id = $id;
5670 }
5671 public function getId()
5672 {
5673 return $this->id;
5674 }
5675 public function setKind($kind)
5676 {
5677 $this->kind = $kind;
5678 }
5679 public function getKind()
5680 {
5681 return $this->kind;
5682 }
5683 public function setSnippet(Google_Service_YouTube_CaptionSnippet $snippet)
5684 {
5685 $this->snippet = $snippet;
5686 }
5687 public function getSnippet()
5688 {
5689 return $this->snippet;
5690 }
5691 }
5692
5693 class Google_Service_YouTube_CaptionListResponse extends Google_Collection
5694 {
5695 protected $collection_key = 'items';
5696 protected $internal_gapi_mappings = array(
5697 );
5698 public $etag;
5699 public $eventId;
5700 protected $itemsType = 'Google_Service_YouTube_Caption';
5701 protected $itemsDataType = 'array';
5702 public $kind;
5703 public $visitorId;
5704
5705
5706 public function setEtag($etag)
5707 {
5708 $this->etag = $etag;
5709 }
5710 public function getEtag()
5711 {
5712 return $this->etag;
5713 }
5714 public function setEventId($eventId)
5715 {
5716 $this->eventId = $eventId;
5717 }
5718 public function getEventId()
5719 {
5720 return $this->eventId;
5721 }
5722 public function setItems($items)
5723 {
5724 $this->items = $items;
5725 }
5726 public function getItems()
5727 {
5728 return $this->items;
5729 }
5730 public function setKind($kind)
5731 {
5732 $this->kind = $kind;
5733 }
5734 public function getKind()
5735 {
5736 return $this->kind;
5737 }
5738 public function setVisitorId($visitorId)
5739 {
5740 $this->visitorId = $visitorId;
5741 }
5742 public function getVisitorId()
5743 {
5744 return $this->visitorId;
5745 }
5746 }
5747
5748 class Google_Service_YouTube_CaptionSnippet extends Google_Model
5749 {
5750 protected $internal_gapi_mappings = array(
5751 );
5752 public $audioTrackType;
5753 public $failureReason;
5754 public $isAutoSynced;
5755 public $isCC;
5756 public $isDraft;
5757 public $isEasyReader;
5758 public $isLarge;
5759 public $language;
5760 public $lastUpdated;
5761 public $name;
5762 public $status;
5763 public $trackKind;
5764 public $videoId;
5765
5766
5767 public function setAudioTrackType($audioTrackType)
5768 {
5769 $this->audioTrackType = $audioTrackType;
5770 }
5771 public function getAudioTrackType()
5772 {
5773 return $this->audioTrackType;
5774 }
5775 public function setFailureReason($failureReason)
5776 {
5777 $this->failureReason = $failureReason;
5778 }
5779 public function getFailureReason()
5780 {
5781 return $this->failureReason;
5782 }
5783 public function setIsAutoSynced($isAutoSynced)
5784 {
5785 $this->isAutoSynced = $isAutoSynced;
5786 }
5787 public function getIsAutoSynced()
5788 {
5789 return $this->isAutoSynced;
5790 }
5791 public function setIsCC($isCC)
5792 {
5793 $this->isCC = $isCC;
5794 }
5795 public function getIsCC()
5796 {
5797 return $this->isCC;
5798 }
5799 public function setIsDraft($isDraft)
5800 {
5801 $this->isDraft = $isDraft;
5802 }
5803 public function getIsDraft()
5804 {
5805 return $this->isDraft;
5806 }
5807 public function setIsEasyReader($isEasyReader)
5808 {
5809 $this->isEasyReader = $isEasyReader;
5810 }
5811 public function getIsEasyReader()
5812 {
5813 return $this->isEasyReader;
5814 }
5815 public function setIsLarge($isLarge)
5816 {
5817 $this->isLarge = $isLarge;
5818 }
5819 public function getIsLarge()
5820 {
5821 return $this->isLarge;
5822 }
5823 public function setLanguage($language)
5824 {
5825 $this->language = $language;
5826 }
5827 public function getLanguage()
5828 {
5829 return $this->language;
5830 }
5831 public function setLastUpdated($lastUpdated)
5832 {
5833 $this->lastUpdated = $lastUpdated;
5834 }
5835 public function getLastUpdated()
5836 {
5837 return $this->lastUpdated;
5838 }
5839 public function setName($name)
5840 {
5841 $this->name = $name;
5842 }
5843 public function getName()
5844 {
5845 return $this->name;
5846 }
5847 public function setStatus($status)
5848 {
5849 $this->status = $status;
5850 }
5851 public function getStatus()
5852 {
5853 return $this->status;
5854 }
5855 public function setTrackKind($trackKind)
5856 {
5857 $this->trackKind = $trackKind;
5858 }
5859 public function getTrackKind()
5860 {
5861 return $this->trackKind;
5862 }
5863 public function setVideoId($videoId)
5864 {
5865 $this->videoId = $videoId;
5866 }
5867 public function getVideoId()
5868 {
5869 return $this->videoId;
5870 }
5871 }
5872
5873 class Google_Service_YouTube_CdnSettings extends Google_Model
5874 {
5875 protected $internal_gapi_mappings = array(
5876 );
5877 public $format;
5878 protected $ingestionInfoType = 'Google_Service_YouTube_IngestionInfo';
5879 protected $ingestionInfoDataType = '';
5880 public $ingestionType;
5881
5882
5883 public function setFormat($format)
5884 {
5885 $this->format = $format;
5886 }
5887 public function getFormat()
5888 {
5889 return $this->format;
5890 }
5891 public function setIngestionInfo(Google_Service_YouTube_IngestionInfo $ingestionInfo)
5892 {
5893 $this->ingestionInfo = $ingestionInfo;
5894 }
5895 public function getIngestionInfo()
5896 {
5897 return $this->ingestionInfo;
5898 }
5899 public function setIngestionType($ingestionType)
5900 {
5901 $this->ingestionType = $ingestionType;
5902 }
5903 public function getIngestionType()
5904 {
5905 return $this->ingestionType;
5906 }
5907 }
5908
5909 class Google_Service_YouTube_Channel extends Google_Model
5910 {
5911 protected $internal_gapi_mappings = array(
5912 );
5913 protected $auditDetailsType = 'Google_Service_YouTube_ChannelAuditDetails';
5914 protected $auditDetailsDataType = '';
5915 protected $brandingSettingsType = 'Google_Service_YouTube_ChannelBrandingSettings';
5916 protected $brandingSettingsDataType = '';
5917 protected $contentDetailsType = 'Google_Service_YouTube_ChannelContentDetails';
5918 protected $contentDetailsDataType = '';
5919 protected $contentOwnerDetailsType = 'Google_Service_YouTube_ChannelContentOwnerDetails';
5920 protected $contentOwnerDetailsDataType = '';
5921 protected $conversionPingsType = 'Google_Service_YouTube_ChannelConversionPings';
5922 protected $conversionPingsDataType = '';
5923 public $etag;
5924 public $id;
5925 protected $invideoPromotionType = 'Google_Service_YouTube_InvideoPromotion';
5926 protected $invideoPromotionDataType = '';
5927 public $kind;
5928 protected $localizationsType = 'Google_Service_YouTube_ChannelLocalization';
5929 protected $localizationsDataType = 'map';
5930 protected $snippetType = 'Google_Service_YouTube_ChannelSnippet';
5931 protected $snippetDataType = '';
5932 protected $statisticsType = 'Google_Service_YouTube_ChannelStatistics';
5933 protected $statisticsDataType = '';
5934 protected $statusType = 'Google_Service_YouTube_ChannelStatus';
5935 protected $statusDataType = '';
5936 protected $topicDetailsType = 'Google_Service_YouTube_ChannelTopicDetails';
5937 protected $topicDetailsDataType = '';
5938
5939
5940 public function setAuditDetails(Google_Service_YouTube_ChannelAuditDetails $auditDetails)
5941 {
5942 $this->auditDetails = $auditDetails;
5943 }
5944 public function getAuditDetails()
5945 {
5946 return $this->auditDetails;
5947 }
5948 public function setBrandingSettings(Google_Service_YouTube_ChannelBrandingSettings $brandingSettings)
5949 {
5950 $this->brandingSettings = $brandingSettings;
5951 }
5952 public function getBrandingSettings()
5953 {
5954 return $this->brandingSettings;
5955 }
5956 public function setContentDetails(Google_Service_YouTube_ChannelContentDetails $contentDetails)
5957 {
5958 $this->contentDetails = $contentDetails;
5959 }
5960 public function getContentDetails()
5961 {
5962 return $this->contentDetails;
5963 }
5964 public function setContentOwnerDetails(Google_Service_YouTube_ChannelContentOwnerDetails $contentOwnerDetails)
5965 {
5966 $this->contentOwnerDetails = $contentOwnerDetails;
5967 }
5968 public function getContentOwnerDetails()
5969 {
5970 return $this->contentOwnerDetails;
5971 }
5972 public function setConversionPings(Google_Service_YouTube_ChannelConversionPings $conversionPings)
5973 {
5974 $this->conversionPings = $conversionPings;
5975 }
5976 public function getConversionPings()
5977 {
5978 return $this->conversionPings;
5979 }
5980 public function setEtag($etag)
5981 {
5982 $this->etag = $etag;
5983 }
5984 public function getEtag()
5985 {
5986 return $this->etag;
5987 }
5988 public function setId($id)
5989 {
5990 $this->id = $id;
5991 }
5992 public function getId()
5993 {
5994 return $this->id;
5995 }
5996 public function setInvideoPromotion(Google_Service_YouTube_InvideoPromotion $invideoPromotion)
5997 {
5998 $this->invideoPromotion = $invideoPromotion;
5999 }
6000 public function getInvideoPromotion()
6001 {
6002 return $this->invideoPromotion;
6003 }
6004 public function setKind($kind)
6005 {
6006 $this->kind = $kind;
6007 }
6008 public function getKind()
6009 {
6010 return $this->kind;
6011 }
6012 public function setLocalizations($localizations)
6013 {
6014 $this->localizations = $localizations;
6015 }
6016 public function getLocalizations()
6017 {
6018 return $this->localizations;
6019 }
6020 public function setSnippet(Google_Service_YouTube_ChannelSnippet $snippet)
6021 {
6022 $this->snippet = $snippet;
6023 }
6024 public function getSnippet()
6025 {
6026 return $this->snippet;
6027 }
6028 public function setStatistics(Google_Service_YouTube_ChannelStatistics $statistics)
6029 {
6030 $this->statistics = $statistics;
6031 }
6032 public function getStatistics()
6033 {
6034 return $this->statistics;
6035 }
6036 public function setStatus(Google_Service_YouTube_ChannelStatus $status)
6037 {
6038 $this->status = $status;
6039 }
6040 public function getStatus()
6041 {
6042 return $this->status;
6043 }
6044 public function setTopicDetails(Google_Service_YouTube_ChannelTopicDetails $topicDetails)
6045 {
6046 $this->topicDetails = $topicDetails;
6047 }
6048 public function getTopicDetails()
6049 {
6050 return $this->topicDetails;
6051 }
6052 }
6053
6054 class Google_Service_YouTube_ChannelAuditDetails extends Google_Model
6055 {
6056 protected $internal_gapi_mappings = array(
6057 );
6058 public $communityGuidelinesGoodStanding;
6059 public $contentIdClaimsGoodStanding;
6060 public $copyrightStrikesGoodStanding;
6061 public $overallGoodStanding;
6062
6063
6064 public function setCommunityGuidelinesGoodStanding($communityGuidelinesGoodStanding)
6065 {
6066 $this->communityGuidelinesGoodStanding = $communityGuidelinesGoodStanding;
6067 }
6068 public function getCommunityGuidelinesGoodStanding()
6069 {
6070 return $this->communityGuidelinesGoodStanding;
6071 }
6072 public function setContentIdClaimsGoodStanding($contentIdClaimsGoodStanding)
6073 {
6074 $this->contentIdClaimsGoodStanding = $contentIdClaimsGoodStanding;
6075 }
6076 public function getContentIdClaimsGoodStanding()
6077 {
6078 return $this->contentIdClaimsGoodStanding;
6079 }
6080 public function setCopyrightStrikesGoodStanding($copyrightStrikesGoodStanding)
6081 {
6082 $this->copyrightStrikesGoodStanding = $copyrightStrikesGoodStanding;
6083 }
6084 public function getCopyrightStrikesGoodStanding()
6085 {
6086 return $this->copyrightStrikesGoodStanding;
6087 }
6088 public function setOverallGoodStanding($overallGoodStanding)
6089 {
6090 $this->overallGoodStanding = $overallGoodStanding;
6091 }
6092 public function getOverallGoodStanding()
6093 {
6094 return $this->overallGoodStanding;
6095 }
6096 }
6097
6098 class Google_Service_YouTube_ChannelBannerResource extends Google_Model
6099 {
6100 protected $internal_gapi_mappings = array(
6101 );
6102 public $etag;
6103 public $kind;
6104 public $url;
6105
6106
6107 public function setEtag($etag)
6108 {
6109 $this->etag = $etag;
6110 }
6111 public function getEtag()
6112 {
6113 return $this->etag;
6114 }
6115 public function setKind($kind)
6116 {
6117 $this->kind = $kind;
6118 }
6119 public function getKind()
6120 {
6121 return $this->kind;
6122 }
6123 public function setUrl($url)
6124 {
6125 $this->url = $url;
6126 }
6127 public function getUrl()
6128 {
6129 return $this->url;
6130 }
6131 }
6132
6133 class Google_Service_YouTube_ChannelBrandingSettings extends Google_Collection
6134 {
6135 protected $collection_key = 'hints';
6136 protected $internal_gapi_mappings = array(
6137 );
6138 protected $channelType = 'Google_Service_YouTube_ChannelSettings';
6139 protected $channelDataType = '';
6140 protected $hintsType = 'Google_Service_YouTube_PropertyValue';
6141 protected $hintsDataType = 'array';
6142 protected $imageType = 'Google_Service_YouTube_ImageSettings';
6143 protected $imageDataType = '';
6144 protected $watchType = 'Google_Service_YouTube_WatchSettings';
6145 protected $watchDataType = '';
6146
6147
6148 public function setChannel(Google_Service_YouTube_ChannelSettings $channel)
6149 {
6150 $this->channel = $channel;
6151 }
6152 public function getChannel()
6153 {
6154 return $this->channel;
6155 }
6156 public function setHints($hints)
6157 {
6158 $this->hints = $hints;
6159 }
6160 public function getHints()
6161 {
6162 return $this->hints;
6163 }
6164 public function setImage(Google_Service_YouTube_ImageSettings $image)
6165 {
6166 $this->image = $image;
6167 }
6168 public function getImage()
6169 {
6170 return $this->image;
6171 }
6172 public function setWatch(Google_Service_YouTube_WatchSettings $watch)
6173 {
6174 $this->watch = $watch;
6175 }
6176 public function getWatch()
6177 {
6178 return $this->watch;
6179 }
6180 }
6181
6182 class Google_Service_YouTube_ChannelContentDetails extends Google_Model
6183 {
6184 protected $internal_gapi_mappings = array(
6185 );
6186 public $googlePlusUserId;
6187 protected $relatedPlaylistsType = 'Google_Service_YouTube_ChannelContentDetailsRelatedPlaylists';
6188 protected $relatedPlaylistsDataType = '';
6189
6190
6191 public function setGooglePlusUserId($googlePlusUserId)
6192 {
6193 $this->googlePlusUserId = $googlePlusUserId;
6194 }
6195 public function getGooglePlusUserId()
6196 {
6197 return $this->googlePlusUserId;
6198 }
6199 public function setRelatedPlaylists(Google_Service_YouTube_ChannelContentDetailsRelatedPlaylists $relatedPlaylists)
6200 {
6201 $this->relatedPlaylists = $relatedPlaylists;
6202 }
6203 public function getRelatedPlaylists()
6204 {
6205 return $this->relatedPlaylists;
6206 }
6207 }
6208
6209 class Google_Service_YouTube_ChannelContentDetailsRelatedPlaylists extends Google_Model
6210 {
6211 protected $internal_gapi_mappings = array(
6212 );
6213 public $favorites;
6214 public $likes;
6215 public $uploads;
6216 public $watchHistory;
6217 public $watchLater;
6218
6219
6220 public function setFavorites($favorites)
6221 {
6222 $this->favorites = $favorites;
6223 }
6224 public function getFavorites()
6225 {
6226 return $this->favorites;
6227 }
6228 public function setLikes($likes)
6229 {
6230 $this->likes = $likes;
6231 }
6232 public function getLikes()
6233 {
6234 return $this->likes;
6235 }
6236 public function setUploads($uploads)
6237 {
6238 $this->uploads = $uploads;
6239 }
6240 public function getUploads()
6241 {
6242 return $this->uploads;
6243 }
6244 public function setWatchHistory($watchHistory)
6245 {
6246 $this->watchHistory = $watchHistory;
6247 }
6248 public function getWatchHistory()
6249 {
6250 return $this->watchHistory;
6251 }
6252 public function setWatchLater($watchLater)
6253 {
6254 $this->watchLater = $watchLater;
6255 }
6256 public function getWatchLater()
6257 {
6258 return $this->watchLater;
6259 }
6260 }
6261
6262 class Google_Service_YouTube_ChannelContentOwnerDetails extends Google_Model
6263 {
6264 protected $internal_gapi_mappings = array(
6265 );
6266 public $contentOwner;
6267 public $timeLinked;
6268
6269
6270 public function setContentOwner($contentOwner)
6271 {
6272 $this->contentOwner = $contentOwner;
6273 }
6274 public function getContentOwner()
6275 {
6276 return $this->contentOwner;
6277 }
6278 public function setTimeLinked($timeLinked)
6279 {
6280 $this->timeLinked = $timeLinked;
6281 }
6282 public function getTimeLinked()
6283 {
6284 return $this->timeLinked;
6285 }
6286 }
6287
6288 class Google_Service_YouTube_ChannelConversionPing extends Google_Model
6289 {
6290 protected $internal_gapi_mappings = array(
6291 );
6292 public $context;
6293 public $conversionUrl;
6294
6295
6296 public function setContext($context)
6297 {
6298 $this->context = $context;
6299 }
6300 public function getContext()
6301 {
6302 return $this->context;
6303 }
6304 public function setConversionUrl($conversionUrl)
6305 {
6306 $this->conversionUrl = $conversionUrl;
6307 }
6308 public function getConversionUrl()
6309 {
6310 return $this->conversionUrl;
6311 }
6312 }
6313
6314 class Google_Service_YouTube_ChannelConversionPings extends Google_Collection
6315 {
6316 protected $collection_key = 'pings';
6317 protected $internal_gapi_mappings = array(
6318 );
6319 protected $pingsType = 'Google_Service_YouTube_ChannelConversionPing';
6320 protected $pingsDataType = 'array';
6321
6322
6323 public function setPings($pings)
6324 {
6325 $this->pings = $pings;
6326 }
6327 public function getPings()
6328 {
6329 return $this->pings;
6330 }
6331 }
6332
6333 class Google_Service_YouTube_ChannelListResponse extends Google_Collection
6334 {
6335 protected $collection_key = 'items';
6336 protected $internal_gapi_mappings = array(
6337 );
6338 public $etag;
6339 public $eventId;
6340 protected $itemsType = 'Google_Service_YouTube_Channel';
6341 protected $itemsDataType = 'array';
6342 public $kind;
6343 public $nextPageToken;
6344 protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
6345 protected $pageInfoDataType = '';
6346 public $prevPageToken;
6347 protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination';
6348 protected $tokenPaginationDataType = '';
6349 public $visitorId;
6350
6351
6352 public function setEtag($etag)
6353 {
6354 $this->etag = $etag;
6355 }
6356 public function getEtag()
6357 {
6358 return $this->etag;
6359 }
6360 public function setEventId($eventId)
6361 {
6362 $this->eventId = $eventId;
6363 }
6364 public function getEventId()
6365 {
6366 return $this->eventId;
6367 }
6368 public function setItems($items)
6369 {
6370 $this->items = $items;
6371 }
6372 public function getItems()
6373 {
6374 return $this->items;
6375 }
6376 public function setKind($kind)
6377 {
6378 $this->kind = $kind;
6379 }
6380 public function getKind()
6381 {
6382 return $this->kind;
6383 }
6384 public function setNextPageToken($nextPageToken)
6385 {
6386 $this->nextPageToken = $nextPageToken;
6387 }
6388 public function getNextPageToken()
6389 {
6390 return $this->nextPageToken;
6391 }
6392 public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo)
6393 {
6394 $this->pageInfo = $pageInfo;
6395 }
6396 public function getPageInfo()
6397 {
6398 return $this->pageInfo;
6399 }
6400 public function setPrevPageToken($prevPageToken)
6401 {
6402 $this->prevPageToken = $prevPageToken;
6403 }
6404 public function getPrevPageToken()
6405 {
6406 return $this->prevPageToken;
6407 }
6408 public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination)
6409 {
6410 $this->tokenPagination = $tokenPagination;
6411 }
6412 public function getTokenPagination()
6413 {
6414 return $this->tokenPagination;
6415 }
6416 public function setVisitorId($visitorId)
6417 {
6418 $this->visitorId = $visitorId;
6419 }
6420 public function getVisitorId()
6421 {
6422 return $this->visitorId;
6423 }
6424 }
6425
6426 class Google_Service_YouTube_ChannelLocalization extends Google_Model
6427 {
6428 protected $internal_gapi_mappings = array(
6429 );
6430 public $description;
6431 public $title;
6432
6433
6434 public function setDescription($description)
6435 {
6436 $this->description = $description;
6437 }
6438 public function getDescription()
6439 {
6440 return $this->description;
6441 }
6442 public function setTitle($title)
6443 {
6444 $this->title = $title;
6445 }
6446 public function getTitle()
6447 {
6448 return $this->title;
6449 }
6450 }
6451
6452 class Google_Service_YouTube_ChannelProfileDetails extends Google_Model
6453 {
6454 protected $internal_gapi_mappings = array(
6455 );
6456 public $channelId;
6457 public $channelUrl;
6458 public $displayName;
6459 public $profileImageUrl;
6460
6461
6462 public function setChannelId($channelId)
6463 {
6464 $this->channelId = $channelId;
6465 }
6466 public function getChannelId()
6467 {
6468 return $this->channelId;
6469 }
6470 public function setChannelUrl($channelUrl)
6471 {
6472 $this->channelUrl = $channelUrl;
6473 }
6474 public function getChannelUrl()
6475 {
6476 return $this->channelUrl;
6477 }
6478 public function setDisplayName($displayName)
6479 {
6480 $this->displayName = $displayName;
6481 }
6482 public function getDisplayName()
6483 {
6484 return $this->displayName;
6485 }
6486 public function setProfileImageUrl($profileImageUrl)
6487 {
6488 $this->profileImageUrl = $profileImageUrl;
6489 }
6490 public function getProfileImageUrl()
6491 {
6492 return $this->profileImageUrl;
6493 }
6494 }
6495
6496 class Google_Service_YouTube_ChannelSection extends Google_Model
6497 {
6498 protected $internal_gapi_mappings = array(
6499 );
6500 protected $contentDetailsType = 'Google_Service_YouTube_ChannelSectionContentDetails';
6501 protected $contentDetailsDataType = '';
6502 public $etag;
6503 public $id;
6504 public $kind;
6505 protected $localizationsType = 'Google_Service_YouTube_ChannelSectionLocalization';
6506 protected $localizationsDataType = 'map';
6507 protected $snippetType = 'Google_Service_YouTube_ChannelSectionSnippet';
6508 protected $snippetDataType = '';
6509 protected $targetingType = 'Google_Service_YouTube_ChannelSectionTargeting';
6510 protected $targetingDataType = '';
6511
6512
6513 public function setContentDetails(Google_Service_YouTube_ChannelSectionContentDetails $contentDetails)
6514 {
6515 $this->contentDetails = $contentDetails;
6516 }
6517 public function getContentDetails()
6518 {
6519 return $this->contentDetails;
6520 }
6521 public function setEtag($etag)
6522 {
6523 $this->etag = $etag;
6524 }
6525 public function getEtag()
6526 {
6527 return $this->etag;
6528 }
6529 public function setId($id)
6530 {
6531 $this->id = $id;
6532 }
6533 public function getId()
6534 {
6535 return $this->id;
6536 }
6537 public function setKind($kind)
6538 {
6539 $this->kind = $kind;
6540 }
6541 public function getKind()
6542 {
6543 return $this->kind;
6544 }
6545 public function setLocalizations($localizations)
6546 {
6547 $this->localizations = $localizations;
6548 }
6549 public function getLocalizations()
6550 {
6551 return $this->localizations;
6552 }
6553 public function setSnippet(Google_Service_YouTube_ChannelSectionSnippet $snippet)
6554 {
6555 $this->snippet = $snippet;
6556 }
6557 public function getSnippet()
6558 {
6559 return $this->snippet;
6560 }
6561 public function setTargeting(Google_Service_YouTube_ChannelSectionTargeting $targeting)
6562 {
6563 $this->targeting = $targeting;
6564 }
6565 public function getTargeting()
6566 {
6567 return $this->targeting;
6568 }
6569 }
6570
6571 class Google_Service_YouTube_ChannelSectionContentDetails extends Google_Collection
6572 {
6573 protected $collection_key = 'playlists';
6574 protected $internal_gapi_mappings = array(
6575 );
6576 public $channels;
6577 public $playlists;
6578
6579
6580 public function setChannels($channels)
6581 {
6582 $this->channels = $channels;
6583 }
6584 public function getChannels()
6585 {
6586 return $this->channels;
6587 }
6588 public function setPlaylists($playlists)
6589 {
6590 $this->playlists = $playlists;
6591 }
6592 public function getPlaylists()
6593 {
6594 return $this->playlists;
6595 }
6596 }
6597
6598 class Google_Service_YouTube_ChannelSectionListResponse extends Google_Collection
6599 {
6600 protected $collection_key = 'items';
6601 protected $internal_gapi_mappings = array(
6602 );
6603 public $etag;
6604 public $eventId;
6605 protected $itemsType = 'Google_Service_YouTube_ChannelSection';
6606 protected $itemsDataType = 'array';
6607 public $kind;
6608 public $visitorId;
6609
6610
6611 public function setEtag($etag)
6612 {
6613 $this->etag = $etag;
6614 }
6615 public function getEtag()
6616 {
6617 return $this->etag;
6618 }
6619 public function setEventId($eventId)
6620 {
6621 $this->eventId = $eventId;
6622 }
6623 public function getEventId()
6624 {
6625 return $this->eventId;
6626 }
6627 public function setItems($items)
6628 {
6629 $this->items = $items;
6630 }
6631 public function getItems()
6632 {
6633 return $this->items;
6634 }
6635 public function setKind($kind)
6636 {
6637 $this->kind = $kind;
6638 }
6639 public function getKind()
6640 {
6641 return $this->kind;
6642 }
6643 public function setVisitorId($visitorId)
6644 {
6645 $this->visitorId = $visitorId;
6646 }
6647 public function getVisitorId()
6648 {
6649 return $this->visitorId;
6650 }
6651 }
6652
6653 class Google_Service_YouTube_ChannelSectionLocalization extends Google_Model
6654 {
6655 protected $internal_gapi_mappings = array(
6656 );
6657 public $title;
6658
6659
6660 public function setTitle($title)
6661 {
6662 $this->title = $title;
6663 }
6664 public function getTitle()
6665 {
6666 return $this->title;
6667 }
6668 }
6669
6670 class Google_Service_YouTube_ChannelSectionSnippet extends Google_Model
6671 {
6672 protected $internal_gapi_mappings = array(
6673 );
6674 public $channelId;
6675 public $defaultLanguage;
6676 protected $localizedType = 'Google_Service_YouTube_ChannelSectionLocalization';
6677 protected $localizedDataType = '';
6678 public $position;
6679 public $style;
6680 public $title;
6681 public $type;
6682
6683
6684 public function setChannelId($channelId)
6685 {
6686 $this->channelId = $channelId;
6687 }
6688 public function getChannelId()
6689 {
6690 return $this->channelId;
6691 }
6692 public function setDefaultLanguage($defaultLanguage)
6693 {
6694 $this->defaultLanguage = $defaultLanguage;
6695 }
6696 public function getDefaultLanguage()
6697 {
6698 return $this->defaultLanguage;
6699 }
6700 public function setLocalized(Google_Service_YouTube_ChannelSectionLocalization $localized)
6701 {
6702 $this->localized = $localized;
6703 }
6704 public function getLocalized()
6705 {
6706 return $this->localized;
6707 }
6708 public function setPosition($position)
6709 {
6710 $this->position = $position;
6711 }
6712 public function getPosition()
6713 {
6714 return $this->position;
6715 }
6716 public function setStyle($style)
6717 {
6718 $this->style = $style;
6719 }
6720 public function getStyle()
6721 {
6722 return $this->style;
6723 }
6724 public function setTitle($title)
6725 {
6726 $this->title = $title;
6727 }
6728 public function getTitle()
6729 {
6730 return $this->title;
6731 }
6732 public function setType($type)
6733 {
6734 $this->type = $type;
6735 }
6736 public function getType()
6737 {
6738 return $this->type;
6739 }
6740 }
6741
6742 class Google_Service_YouTube_ChannelSectionTargeting extends Google_Collection
6743 {
6744 protected $collection_key = 'regions';
6745 protected $internal_gapi_mappings = array(
6746 );
6747 public $countries;
6748 public $languages;
6749 public $regions;
6750
6751
6752 public function setCountries($countries)
6753 {
6754 $this->countries = $countries;
6755 }
6756 public function getCountries()
6757 {
6758 return $this->countries;
6759 }
6760 public function setLanguages($languages)
6761 {
6762 $this->languages = $languages;
6763 }
6764 public function getLanguages()
6765 {
6766 return $this->languages;
6767 }
6768 public function setRegions($regions)
6769 {
6770 $this->regions = $regions;
6771 }
6772 public function getRegions()
6773 {
6774 return $this->regions;
6775 }
6776 }
6777
6778 class Google_Service_YouTube_ChannelSettings extends Google_Collection
6779 {
6780 protected $collection_key = 'featuredChannelsUrls';
6781 protected $internal_gapi_mappings = array(
6782 );
6783 public $country;
6784 public $defaultLanguage;
6785 public $defaultTab;
6786 public $description;
6787 public $featuredChannelsTitle;
6788 public $featuredChannelsUrls;
6789 public $keywords;
6790 public $moderateComments;
6791 public $profileColor;
6792 public $showBrowseView;
6793 public $showRelatedChannels;
6794 public $title;
6795 public $trackingAnalyticsAccountId;
6796 public $unsubscribedTrailer;
6797
6798
6799 public function setCountry($country)
6800 {
6801 $this->country = $country;
6802 }
6803 public function getCountry()
6804 {
6805 return $this->country;
6806 }
6807 public function setDefaultLanguage($defaultLanguage)
6808 {
6809 $this->defaultLanguage = $defaultLanguage;
6810 }
6811 public function getDefaultLanguage()
6812 {
6813 return $this->defaultLanguage;
6814 }
6815 public function setDefaultTab($defaultTab)
6816 {
6817 $this->defaultTab = $defaultTab;
6818 }
6819 public function getDefaultTab()
6820 {
6821 return $this->defaultTab;
6822 }
6823 public function setDescription($description)
6824 {
6825 $this->description = $description;
6826 }
6827 public function getDescription()
6828 {
6829 return $this->description;
6830 }
6831 public function setFeaturedChannelsTitle($featuredChannelsTitle)
6832 {
6833 $this->featuredChannelsTitle = $featuredChannelsTitle;
6834 }
6835 public function getFeaturedChannelsTitle()
6836 {
6837 return $this->featuredChannelsTitle;
6838 }
6839 public function setFeaturedChannelsUrls($featuredChannelsUrls)
6840 {
6841 $this->featuredChannelsUrls = $featuredChannelsUrls;
6842 }
6843 public function getFeaturedChannelsUrls()
6844 {
6845 return $this->featuredChannelsUrls;
6846 }
6847 public function setKeywords($keywords)
6848 {
6849 $this->keywords = $keywords;
6850 }
6851 public function getKeywords()
6852 {
6853 return $this->keywords;
6854 }
6855 public function setModerateComments($moderateComments)
6856 {
6857 $this->moderateComments = $moderateComments;
6858 }
6859 public function getModerateComments()
6860 {
6861 return $this->moderateComments;
6862 }
6863 public function setProfileColor($profileColor)
6864 {
6865 $this->profileColor = $profileColor;
6866 }
6867 public function getProfileColor()
6868 {
6869 return $this->profileColor;
6870 }
6871 public function setShowBrowseView($showBrowseView)
6872 {
6873 $this->showBrowseView = $showBrowseView;
6874 }
6875 public function getShowBrowseView()
6876 {
6877 return $this->showBrowseView;
6878 }
6879 public function setShowRelatedChannels($showRelatedChannels)
6880 {
6881 $this->showRelatedChannels = $showRelatedChannels;
6882 }
6883 public function getShowRelatedChannels()
6884 {
6885 return $this->showRelatedChannels;
6886 }
6887 public function setTitle($title)
6888 {
6889 $this->title = $title;
6890 }
6891 public function getTitle()
6892 {
6893 return $this->title;
6894 }
6895 public function setTrackingAnalyticsAccountId($trackingAnalyticsAccountId)
6896 {
6897 $this->trackingAnalyticsAccountId = $trackingAnalyticsAccountId;
6898 }
6899 public function getTrackingAnalyticsAccountId()
6900 {
6901 return $this->trackingAnalyticsAccountId;
6902 }
6903 public function setUnsubscribedTrailer($unsubscribedTrailer)
6904 {
6905 $this->unsubscribedTrailer = $unsubscribedTrailer;
6906 }
6907 public function getUnsubscribedTrailer()
6908 {
6909 return $this->unsubscribedTrailer;
6910 }
6911 }
6912
6913 class Google_Service_YouTube_ChannelSnippet extends Google_Model
6914 {
6915 protected $internal_gapi_mappings = array(
6916 );
6917 public $country;
6918 public $defaultLanguage;
6919 public $description;
6920 protected $localizedType = 'Google_Service_YouTube_ChannelLocalization';
6921 protected $localizedDataType = '';
6922 public $publishedAt;
6923 protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails';
6924 protected $thumbnailsDataType = '';
6925 public $title;
6926
6927
6928 public function setCountry($country)
6929 {
6930 $this->country = $country;
6931 }
6932 public function getCountry()
6933 {
6934 return $this->country;
6935 }
6936 public function setDefaultLanguage($defaultLanguage)
6937 {
6938 $this->defaultLanguage = $defaultLanguage;
6939 }
6940 public function getDefaultLanguage()
6941 {
6942 return $this->defaultLanguage;
6943 }
6944 public function setDescription($description)
6945 {
6946 $this->description = $description;
6947 }
6948 public function getDescription()
6949 {
6950 return $this->description;
6951 }
6952 public function setLocalized(Google_Service_YouTube_ChannelLocalization $localized)
6953 {
6954 $this->localized = $localized;
6955 }
6956 public function getLocalized()
6957 {
6958 return $this->localized;
6959 }
6960 public function setPublishedAt($publishedAt)
6961 {
6962 $this->publishedAt = $publishedAt;
6963 }
6964 public function getPublishedAt()
6965 {
6966 return $this->publishedAt;
6967 }
6968 public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails)
6969 {
6970 $this->thumbnails = $thumbnails;
6971 }
6972 public function getThumbnails()
6973 {
6974 return $this->thumbnails;
6975 }
6976 public function setTitle($title)
6977 {
6978 $this->title = $title;
6979 }
6980 public function getTitle()
6981 {
6982 return $this->title;
6983 }
6984 }
6985
6986 class Google_Service_YouTube_ChannelStatistics extends Google_Model
6987 {
6988 protected $internal_gapi_mappings = array(
6989 );
6990 public $commentCount;
6991 public $hiddenSubscriberCount;
6992 public $subscriberCount;
6993 public $videoCount;
6994 public $viewCount;
6995
6996
6997 public function setCommentCount($commentCount)
6998 {
6999 $this->commentCount = $commentCount;
7000 }
7001 public function getCommentCount()
7002 {
7003 return $this->commentCount;
7004 }
7005 public function setHiddenSubscriberCount($hiddenSubscriberCount)
7006 {
7007 $this->hiddenSubscriberCount = $hiddenSubscriberCount;
7008 }
7009 public function getHiddenSubscriberCount()
7010 {
7011 return $this->hiddenSubscriberCount;
7012 }
7013 public function setSubscriberCount($subscriberCount)
7014 {
7015 $this->subscriberCount = $subscriberCount;
7016 }
7017 public function getSubscriberCount()
7018 {
7019 return $this->subscriberCount;
7020 }
7021 public function setVideoCount($videoCount)
7022 {
7023 $this->videoCount = $videoCount;
7024 }
7025 public function getVideoCount()
7026 {
7027 return $this->videoCount;
7028 }
7029 public function setViewCount($viewCount)
7030 {
7031 $this->viewCount = $viewCount;
7032 }
7033 public function getViewCount()
7034 {
7035 return $this->viewCount;
7036 }
7037 }
7038
7039 class Google_Service_YouTube_ChannelStatus extends Google_Model
7040 {
7041 protected $internal_gapi_mappings = array(
7042 );
7043 public $isLinked;
7044 public $longUploadsStatus;
7045 public $privacyStatus;
7046
7047
7048 public function setIsLinked($isLinked)
7049 {
7050 $this->isLinked = $isLinked;
7051 }
7052 public function getIsLinked()
7053 {
7054 return $this->isLinked;
7055 }
7056 public function setLongUploadsStatus($longUploadsStatus)
7057 {
7058 $this->longUploadsStatus = $longUploadsStatus;
7059 }
7060 public function getLongUploadsStatus()
7061 {
7062 return $this->longUploadsStatus;
7063 }
7064 public function setPrivacyStatus($privacyStatus)
7065 {
7066 $this->privacyStatus = $privacyStatus;
7067 }
7068 public function getPrivacyStatus()
7069 {
7070 return $this->privacyStatus;
7071 }
7072 }
7073
7074 class Google_Service_YouTube_ChannelTopicDetails extends Google_Collection
7075 {
7076 protected $collection_key = 'topicIds';
7077 protected $internal_gapi_mappings = array(
7078 );
7079 public $topicIds;
7080
7081
7082 public function setTopicIds($topicIds)
7083 {
7084 $this->topicIds = $topicIds;
7085 }
7086 public function getTopicIds()
7087 {
7088 return $this->topicIds;
7089 }
7090 }
7091
7092 class Google_Service_YouTube_Comment extends Google_Model
7093 {
7094 protected $internal_gapi_mappings = array(
7095 );
7096 public $etag;
7097 public $id;
7098 public $kind;
7099 protected $snippetType = 'Google_Service_YouTube_CommentSnippet';
7100 protected $snippetDataType = '';
7101
7102
7103 public function setEtag($etag)
7104 {
7105 $this->etag = $etag;
7106 }
7107 public function getEtag()
7108 {
7109 return $this->etag;
7110 }
7111 public function setId($id)
7112 {
7113 $this->id = $id;
7114 }
7115 public function getId()
7116 {
7117 return $this->id;
7118 }
7119 public function setKind($kind)
7120 {
7121 $this->kind = $kind;
7122 }
7123 public function getKind()
7124 {
7125 return $this->kind;
7126 }
7127 public function setSnippet(Google_Service_YouTube_CommentSnippet $snippet)
7128 {
7129 $this->snippet = $snippet;
7130 }
7131 public function getSnippet()
7132 {
7133 return $this->snippet;
7134 }
7135 }
7136
7137 class Google_Service_YouTube_CommentListResponse extends Google_Collection
7138 {
7139 protected $collection_key = 'items';
7140 protected $internal_gapi_mappings = array(
7141 );
7142 public $etag;
7143 public $eventId;
7144 protected $itemsType = 'Google_Service_YouTube_Comment';
7145 protected $itemsDataType = 'array';
7146 public $kind;
7147 public $nextPageToken;
7148 protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
7149 protected $pageInfoDataType = '';
7150 protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination';
7151 protected $tokenPaginationDataType = '';
7152 public $visitorId;
7153
7154
7155 public function setEtag($etag)
7156 {
7157 $this->etag = $etag;
7158 }
7159 public function getEtag()
7160 {
7161 return $this->etag;
7162 }
7163 public function setEventId($eventId)
7164 {
7165 $this->eventId = $eventId;
7166 }
7167 public function getEventId()
7168 {
7169 return $this->eventId;
7170 }
7171 public function setItems($items)
7172 {
7173 $this->items = $items;
7174 }
7175 public function getItems()
7176 {
7177 return $this->items;
7178 }
7179 public function setKind($kind)
7180 {
7181 $this->kind = $kind;
7182 }
7183 public function getKind()
7184 {
7185 return $this->kind;
7186 }
7187 public function setNextPageToken($nextPageToken)
7188 {
7189 $this->nextPageToken = $nextPageToken;
7190 }
7191 public function getNextPageToken()
7192 {
7193 return $this->nextPageToken;
7194 }
7195 public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo)
7196 {
7197 $this->pageInfo = $pageInfo;
7198 }
7199 public function getPageInfo()
7200 {
7201 return $this->pageInfo;
7202 }
7203 public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination)
7204 {
7205 $this->tokenPagination = $tokenPagination;
7206 }
7207 public function getTokenPagination()
7208 {
7209 return $this->tokenPagination;
7210 }
7211 public function setVisitorId($visitorId)
7212 {
7213 $this->visitorId = $visitorId;
7214 }
7215 public function getVisitorId()
7216 {
7217 return $this->visitorId;
7218 }
7219 }
7220
7221 class Google_Service_YouTube_CommentSnippet extends Google_Model
7222 {
7223 protected $internal_gapi_mappings = array(
7224 );
7225 public $authorChannelId;
7226 public $authorChannelUrl;
7227 public $authorDisplayName;
7228 public $authorGoogleplusProfileUrl;
7229 public $authorProfileImageUrl;
7230 public $canRate;
7231 public $channelId;
7232 public $likeCount;
7233 public $moderationStatus;
7234 public $parentId;
7235 public $publishedAt;
7236 public $textDisplay;
7237 public $textOriginal;
7238 public $updatedAt;
7239 public $videoId;
7240 public $viewerRating;
7241
7242
7243 public function setAuthorChannelId($authorChannelId)
7244 {
7245 $this->authorChannelId = $authorChannelId;
7246 }
7247 public function getAuthorChannelId()
7248 {
7249 return $this->authorChannelId;
7250 }
7251 public function setAuthorChannelUrl($authorChannelUrl)
7252 {
7253 $this->authorChannelUrl = $authorChannelUrl;
7254 }
7255 public function getAuthorChannelUrl()
7256 {
7257 return $this->authorChannelUrl;
7258 }
7259 public function setAuthorDisplayName($authorDisplayName)
7260 {
7261 $this->authorDisplayName = $authorDisplayName;
7262 }
7263 public function getAuthorDisplayName()
7264 {
7265 return $this->authorDisplayName;
7266 }
7267 public function setAuthorGoogleplusProfileUrl($authorGoogleplusProfileUrl)
7268 {
7269 $this->authorGoogleplusProfileUrl = $authorGoogleplusProfileUrl;
7270 }
7271 public function getAuthorGoogleplusProfileUrl()
7272 {
7273 return $this->authorGoogleplusProfileUrl;
7274 }
7275 public function setAuthorProfileImageUrl($authorProfileImageUrl)
7276 {
7277 $this->authorProfileImageUrl = $authorProfileImageUrl;
7278 }
7279 public function getAuthorProfileImageUrl()
7280 {
7281 return $this->authorProfileImageUrl;
7282 }
7283 public function setCanRate($canRate)
7284 {
7285 $this->canRate = $canRate;
7286 }
7287 public function getCanRate()
7288 {
7289 return $this->canRate;
7290 }
7291 public function setChannelId($channelId)
7292 {
7293 $this->channelId = $channelId;
7294 }
7295 public function getChannelId()
7296 {
7297 return $this->channelId;
7298 }
7299 public function setLikeCount($likeCount)
7300 {
7301 $this->likeCount = $likeCount;
7302 }
7303 public function getLikeCount()
7304 {
7305 return $this->likeCount;
7306 }
7307 public function setModerationStatus($moderationStatus)
7308 {
7309 $this->moderationStatus = $moderationStatus;
7310 }
7311 public function getModerationStatus()
7312 {
7313 return $this->moderationStatus;
7314 }
7315 public function setParentId($parentId)
7316 {
7317 $this->parentId = $parentId;
7318 }
7319 public function getParentId()
7320 {
7321 return $this->parentId;
7322 }
7323 public function setPublishedAt($publishedAt)
7324 {
7325 $this->publishedAt = $publishedAt;
7326 }
7327 public function getPublishedAt()
7328 {
7329 return $this->publishedAt;
7330 }
7331 public function setTextDisplay($textDisplay)
7332 {
7333 $this->textDisplay = $textDisplay;
7334 }
7335 public function getTextDisplay()
7336 {
7337 return $this->textDisplay;
7338 }
7339 public function setTextOriginal($textOriginal)
7340 {
7341 $this->textOriginal = $textOriginal;
7342 }
7343 public function getTextOriginal()
7344 {
7345 return $this->textOriginal;
7346 }
7347 public function setUpdatedAt($updatedAt)
7348 {
7349 $this->updatedAt = $updatedAt;
7350 }
7351 public function getUpdatedAt()
7352 {
7353 return $this->updatedAt;
7354 }
7355 public function setVideoId($videoId)
7356 {
7357 $this->videoId = $videoId;
7358 }
7359 public function getVideoId()
7360 {
7361 return $this->videoId;
7362 }
7363 public function setViewerRating($viewerRating)
7364 {
7365 $this->viewerRating = $viewerRating;
7366 }
7367 public function getViewerRating()
7368 {
7369 return $this->viewerRating;
7370 }
7371 }
7372
7373 class Google_Service_YouTube_CommentThread extends Google_Model
7374 {
7375 protected $internal_gapi_mappings = array(
7376 );
7377 public $etag;
7378 public $id;
7379 public $kind;
7380 protected $repliesType = 'Google_Service_YouTube_CommentThreadReplies';
7381 protected $repliesDataType = '';
7382 protected $snippetType = 'Google_Service_YouTube_CommentThreadSnippet';
7383 protected $snippetDataType = '';
7384
7385
7386 public function setEtag($etag)
7387 {
7388 $this->etag = $etag;
7389 }
7390 public function getEtag()
7391 {
7392 return $this->etag;
7393 }
7394 public function setId($id)
7395 {
7396 $this->id = $id;
7397 }
7398 public function getId()
7399 {
7400 return $this->id;
7401 }
7402 public function setKind($kind)
7403 {
7404 $this->kind = $kind;
7405 }
7406 public function getKind()
7407 {
7408 return $this->kind;
7409 }
7410 public function setReplies(Google_Service_YouTube_CommentThreadReplies $replies)
7411 {
7412 $this->replies = $replies;
7413 }
7414 public function getReplies()
7415 {
7416 return $this->replies;
7417 }
7418 public function setSnippet(Google_Service_YouTube_CommentThreadSnippet $snippet)
7419 {
7420 $this->snippet = $snippet;
7421 }
7422 public function getSnippet()
7423 {
7424 return $this->snippet;
7425 }
7426 }
7427
7428 class Google_Service_YouTube_CommentThreadListResponse extends Google_Collection
7429 {
7430 protected $collection_key = 'items';
7431 protected $internal_gapi_mappings = array(
7432 );
7433 public $etag;
7434 public $eventId;
7435 protected $itemsType = 'Google_Service_YouTube_CommentThread';
7436 protected $itemsDataType = 'array';
7437 public $kind;
7438 public $nextPageToken;
7439 protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
7440 protected $pageInfoDataType = '';
7441 protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination';
7442 protected $tokenPaginationDataType = '';
7443 public $visitorId;
7444
7445
7446 public function setEtag($etag)
7447 {
7448 $this->etag = $etag;
7449 }
7450 public function getEtag()
7451 {
7452 return $this->etag;
7453 }
7454 public function setEventId($eventId)
7455 {
7456 $this->eventId = $eventId;
7457 }
7458 public function getEventId()
7459 {
7460 return $this->eventId;
7461 }
7462 public function setItems($items)
7463 {
7464 $this->items = $items;
7465 }
7466 public function getItems()
7467 {
7468 return $this->items;
7469 }
7470 public function setKind($kind)
7471 {
7472 $this->kind = $kind;
7473 }
7474 public function getKind()
7475 {
7476 return $this->kind;
7477 }
7478 public function setNextPageToken($nextPageToken)
7479 {
7480 $this->nextPageToken = $nextPageToken;
7481 }
7482 public function getNextPageToken()
7483 {
7484 return $this->nextPageToken;
7485 }
7486 public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo)
7487 {
7488 $this->pageInfo = $pageInfo;
7489 }
7490 public function getPageInfo()
7491 {
7492 return $this->pageInfo;
7493 }
7494 public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination)
7495 {
7496 $this->tokenPagination = $tokenPagination;
7497 }
7498 public function getTokenPagination()
7499 {
7500 return $this->tokenPagination;
7501 }
7502 public function setVisitorId($visitorId)
7503 {
7504 $this->visitorId = $visitorId;
7505 }
7506 public function getVisitorId()
7507 {
7508 return $this->visitorId;
7509 }
7510 }
7511
7512 class Google_Service_YouTube_CommentThreadReplies extends Google_Collection
7513 {
7514 protected $collection_key = 'comments';
7515 protected $internal_gapi_mappings = array(
7516 );
7517 protected $commentsType = 'Google_Service_YouTube_Comment';
7518 protected $commentsDataType = 'array';
7519
7520
7521 public function setComments($comments)
7522 {
7523 $this->comments = $comments;
7524 }
7525 public function getComments()
7526 {
7527 return $this->comments;
7528 }
7529 }
7530
7531 class Google_Service_YouTube_CommentThreadSnippet extends Google_Model
7532 {
7533 protected $internal_gapi_mappings = array(
7534 );
7535 public $canReply;
7536 public $channelId;
7537 public $isPublic;
7538 protected $topLevelCommentType = 'Google_Service_YouTube_Comment';
7539 protected $topLevelCommentDataType = '';
7540 public $totalReplyCount;
7541 public $videoId;
7542
7543
7544 public function setCanReply($canReply)
7545 {
7546 $this->canReply = $canReply;
7547 }
7548 public function getCanReply()
7549 {
7550 return $this->canReply;
7551 }
7552 public function setChannelId($channelId)
7553 {
7554 $this->channelId = $channelId;
7555 }
7556 public function getChannelId()
7557 {
7558 return $this->channelId;
7559 }
7560 public function setIsPublic($isPublic)
7561 {
7562 $this->isPublic = $isPublic;
7563 }
7564 public function getIsPublic()
7565 {
7566 return $this->isPublic;
7567 }
7568 public function setTopLevelComment(Google_Service_YouTube_Comment $topLevelComment)
7569 {
7570 $this->topLevelComment = $topLevelComment;
7571 }
7572 public function getTopLevelComment()
7573 {
7574 return $this->topLevelComment;
7575 }
7576 public function setTotalReplyCount($totalReplyCount)
7577 {
7578 $this->totalReplyCount = $totalReplyCount;
7579 }
7580 public function getTotalReplyCount()
7581 {
7582 return $this->totalReplyCount;
7583 }
7584 public function setVideoId($videoId)
7585 {
7586 $this->videoId = $videoId;
7587 }
7588 public function getVideoId()
7589 {
7590 return $this->videoId;
7591 }
7592 }
7593
7594 class Google_Service_YouTube_ContentRating extends Google_Collection
7595 {
7596 protected $collection_key = 'djctqRatingReasons';
7597 protected $internal_gapi_mappings = array(
7598 );
7599 public $acbRating;
7600 public $agcomRating;
7601 public $anatelRating;
7602 public $bbfcRating;
7603 public $bfvcRating;
7604 public $bmukkRating;
7605 public $catvRating;
7606 public $catvfrRating;
7607 public $cbfcRating;
7608 public $cccRating;
7609 public $cceRating;
7610 public $chfilmRating;
7611 public $chvrsRating;
7612 public $cicfRating;
7613 public $cnaRating;
7614 public $cncRating;
7615 public $csaRating;
7616 public $cscfRating;
7617 public $czfilmRating;
7618 public $djctqRating;
7619 public $djctqRatingReasons;
7620 public $ecbmctRating;
7621 public $eefilmRating;
7622 public $egfilmRating;
7623 public $eirinRating;
7624 public $fcbmRating;
7625 public $fcoRating;
7626 public $fmocRating;
7627 public $fpbRating;
7628 public $fskRating;
7629 public $grfilmRating;
7630 public $icaaRating;
7631 public $ifcoRating;
7632 public $ilfilmRating;
7633 public $incaaRating;
7634 public $kfcbRating;
7635 public $kijkwijzerRating;
7636 public $kmrbRating;
7637 public $lsfRating;
7638 public $mccaaRating;
7639 public $mccypRating;
7640 public $mdaRating;
7641 public $medietilsynetRating;
7642 public $mekuRating;
7643 public $mibacRating;
7644 public $mocRating;
7645 public $moctwRating;
7646 public $mpaaRating;
7647 public $mtrcbRating;
7648 public $nbcRating;
7649 public $nbcplRating;
7650 public $nfrcRating;
7651 public $nfvcbRating;
7652 public $nkclvRating;
7653 public $oflcRating;
7654 public $pefilmRating;
7655 public $rcnofRating;
7656 public $resorteviolenciaRating;
7657 public $rtcRating;
7658 public $rteRating;
7659 public $russiaRating;
7660 public $skfilmRating;
7661 public $smaisRating;
7662 public $smsaRating;
7663 public $tvpgRating;
7664 public $ytRating;
7665
7666
7667 public function setAcbRating($acbRating)
7668 {
7669 $this->acbRating = $acbRating;
7670 }
7671 public function getAcbRating()
7672 {
7673 return $this->acbRating;
7674 }
7675 public function setAgcomRating($agcomRating)
7676 {
7677 $this->agcomRating = $agcomRating;
7678 }
7679 public function getAgcomRating()
7680 {
7681 return $this->agcomRating;
7682 }
7683 public function setAnatelRating($anatelRating)
7684 {
7685 $this->anatelRating = $anatelRating;
7686 }
7687 public function getAnatelRating()
7688 {
7689 return $this->anatelRating;
7690 }
7691 public function setBbfcRating($bbfcRating)
7692 {
7693 $this->bbfcRating = $bbfcRating;
7694 }
7695 public function getBbfcRating()
7696 {
7697 return $this->bbfcRating;
7698 }
7699 public function setBfvcRating($bfvcRating)
7700 {
7701 $this->bfvcRating = $bfvcRating;
7702 }
7703 public function getBfvcRating()
7704 {
7705 return $this->bfvcRating;
7706 }
7707 public function setBmukkRating($bmukkRating)
7708 {
7709 $this->bmukkRating = $bmukkRating;
7710 }
7711 public function getBmukkRating()
7712 {
7713 return $this->bmukkRating;
7714 }
7715 public function setCatvRating($catvRating)
7716 {
7717 $this->catvRating = $catvRating;
7718 }
7719 public function getCatvRating()
7720 {
7721 return $this->catvRating;
7722 }
7723 public function setCatvfrRating($catvfrRating)
7724 {
7725 $this->catvfrRating = $catvfrRating;
7726 }
7727 public function getCatvfrRating()
7728 {
7729 return $this->catvfrRating;
7730 }
7731 public function setCbfcRating($cbfcRating)
7732 {
7733 $this->cbfcRating = $cbfcRating;
7734 }
7735 public function getCbfcRating()
7736 {
7737 return $this->cbfcRating;
7738 }
7739 public function setCccRating($cccRating)
7740 {
7741 $this->cccRating = $cccRating;
7742 }
7743 public function getCccRating()
7744 {
7745 return $this->cccRating;
7746 }
7747 public function setCceRating($cceRating)
7748 {
7749 $this->cceRating = $cceRating;
7750 }
7751 public function getCceRating()
7752 {
7753 return $this->cceRating;
7754 }
7755 public function setChfilmRating($chfilmRating)
7756 {
7757 $this->chfilmRating = $chfilmRating;
7758 }
7759 public function getChfilmRating()
7760 {
7761 return $this->chfilmRating;
7762 }
7763 public function setChvrsRating($chvrsRating)
7764 {
7765 $this->chvrsRating = $chvrsRating;
7766 }
7767 public function getChvrsRating()
7768 {
7769 return $this->chvrsRating;
7770 }
7771 public function setCicfRating($cicfRating)
7772 {
7773 $this->cicfRating = $cicfRating;
7774 }
7775 public function getCicfRating()
7776 {
7777 return $this->cicfRating;
7778 }
7779 public function setCnaRating($cnaRating)
7780 {
7781 $this->cnaRating = $cnaRating;
7782 }
7783 public function getCnaRating()
7784 {
7785 return $this->cnaRating;
7786 }
7787 public function setCncRating($cncRating)
7788 {
7789 $this->cncRating = $cncRating;
7790 }
7791 public function getCncRating()
7792 {
7793 return $this->cncRating;
7794 }
7795 public function setCsaRating($csaRating)
7796 {
7797 $this->csaRating = $csaRating;
7798 }
7799 public function getCsaRating()
7800 {
7801 return $this->csaRating;
7802 }
7803 public function setCscfRating($cscfRating)
7804 {
7805 $this->cscfRating = $cscfRating;
7806 }
7807 public function getCscfRating()
7808 {
7809 return $this->cscfRating;
7810 }
7811 public function setCzfilmRating($czfilmRating)
7812 {
7813 $this->czfilmRating = $czfilmRating;
7814 }
7815 public function getCzfilmRating()
7816 {
7817 return $this->czfilmRating;
7818 }
7819 public function setDjctqRating($djctqRating)
7820 {
7821 $this->djctqRating = $djctqRating;
7822 }
7823 public function getDjctqRating()
7824 {
7825 return $this->djctqRating;
7826 }
7827 public function setDjctqRatingReasons($djctqRatingReasons)
7828 {
7829 $this->djctqRatingReasons = $djctqRatingReasons;
7830 }
7831 public function getDjctqRatingReasons()
7832 {
7833 return $this->djctqRatingReasons;
7834 }
7835 public function setEcbmctRating($ecbmctRating)
7836 {
7837 $this->ecbmctRating = $ecbmctRating;
7838 }
7839 public function getEcbmctRating()
7840 {
7841 return $this->ecbmctRating;
7842 }
7843 public function setEefilmRating($eefilmRating)
7844 {
7845 $this->eefilmRating = $eefilmRating;
7846 }
7847 public function getEefilmRating()
7848 {
7849 return $this->eefilmRating;
7850 }
7851 public function setEgfilmRating($egfilmRating)
7852 {
7853 $this->egfilmRating = $egfilmRating;
7854 }
7855 public function getEgfilmRating()
7856 {
7857 return $this->egfilmRating;
7858 }
7859 public function setEirinRating($eirinRating)
7860 {
7861 $this->eirinRating = $eirinRating;
7862 }
7863 public function getEirinRating()
7864 {
7865 return $this->eirinRating;
7866 }
7867 public function setFcbmRating($fcbmRating)
7868 {
7869 $this->fcbmRating = $fcbmRating;
7870 }
7871 public function getFcbmRating()
7872 {
7873 return $this->fcbmRating;
7874 }
7875 public function setFcoRating($fcoRating)
7876 {
7877 $this->fcoRating = $fcoRating;
7878 }
7879 public function getFcoRating()
7880 {
7881 return $this->fcoRating;
7882 }
7883 public function setFmocRating($fmocRating)
7884 {
7885 $this->fmocRating = $fmocRating;
7886 }
7887 public function getFmocRating()
7888 {
7889 return $this->fmocRating;
7890 }
7891 public function setFpbRating($fpbRating)
7892 {
7893 $this->fpbRating = $fpbRating;
7894 }
7895 public function getFpbRating()
7896 {
7897 return $this->fpbRating;
7898 }
7899 public function setFskRating($fskRating)
7900 {
7901 $this->fskRating = $fskRating;
7902 }
7903 public function getFskRating()
7904 {
7905 return $this->fskRating;
7906 }
7907 public function setGrfilmRating($grfilmRating)
7908 {
7909 $this->grfilmRating = $grfilmRating;
7910 }
7911 public function getGrfilmRating()
7912 {
7913 return $this->grfilmRating;
7914 }
7915 public function setIcaaRating($icaaRating)
7916 {
7917 $this->icaaRating = $icaaRating;
7918 }
7919 public function getIcaaRating()
7920 {
7921 return $this->icaaRating;
7922 }
7923 public function setIfcoRating($ifcoRating)
7924 {
7925 $this->ifcoRating = $ifcoRating;
7926 }
7927 public function getIfcoRating()
7928 {
7929 return $this->ifcoRating;
7930 }
7931 public function setIlfilmRating($ilfilmRating)
7932 {
7933 $this->ilfilmRating = $ilfilmRating;
7934 }
7935 public function getIlfilmRating()
7936 {
7937 return $this->ilfilmRating;
7938 }
7939 public function setIncaaRating($incaaRating)
7940 {
7941 $this->incaaRating = $incaaRating;
7942 }
7943 public function getIncaaRating()
7944 {
7945 return $this->incaaRating;
7946 }
7947 public function setKfcbRating($kfcbRating)
7948 {
7949 $this->kfcbRating = $kfcbRating;
7950 }
7951 public function getKfcbRating()
7952 {
7953 return $this->kfcbRating;
7954 }
7955 public function setKijkwijzerRating($kijkwijzerRating)
7956 {
7957 $this->kijkwijzerRating = $kijkwijzerRating;
7958 }
7959 public function getKijkwijzerRating()
7960 {
7961 return $this->kijkwijzerRating;
7962 }
7963 public function setKmrbRating($kmrbRating)
7964 {
7965 $this->kmrbRating = $kmrbRating;
7966 }
7967 public function getKmrbRating()
7968 {
7969 return $this->kmrbRating;
7970 }
7971 public function setLsfRating($lsfRating)
7972 {
7973 $this->lsfRating = $lsfRating;
7974 }
7975 public function getLsfRating()
7976 {
7977 return $this->lsfRating;
7978 }
7979 public function setMccaaRating($mccaaRating)
7980 {
7981 $this->mccaaRating = $mccaaRating;
7982 }
7983 public function getMccaaRating()
7984 {
7985 return $this->mccaaRating;
7986 }
7987 public function setMccypRating($mccypRating)
7988 {
7989 $this->mccypRating = $mccypRating;
7990 }
7991 public function getMccypRating()
7992 {
7993 return $this->mccypRating;
7994 }
7995 public function setMdaRating($mdaRating)
7996 {
7997 $this->mdaRating = $mdaRating;
7998 }
7999 public function getMdaRating()
8000 {
8001 return $this->mdaRating;
8002 }
8003 public function setMedietilsynetRating($medietilsynetRating)
8004 {
8005 $this->medietilsynetRating = $medietilsynetRating;
8006 }
8007 public function getMedietilsynetRating()
8008 {
8009 return $this->medietilsynetRating;
8010 }
8011 public function setMekuRating($mekuRating)
8012 {
8013 $this->mekuRating = $mekuRating;
8014 }
8015 public function getMekuRating()
8016 {
8017 return $this->mekuRating;
8018 }
8019 public function setMibacRating($mibacRating)
8020 {
8021 $this->mibacRating = $mibacRating;
8022 }
8023 public function getMibacRating()
8024 {
8025 return $this->mibacRating;
8026 }
8027 public function setMocRating($mocRating)
8028 {
8029 $this->mocRating = $mocRating;
8030 }
8031 public function getMocRating()
8032 {
8033 return $this->mocRating;
8034 }
8035 public function setMoctwRating($moctwRating)
8036 {
8037 $this->moctwRating = $moctwRating;
8038 }
8039 public function getMoctwRating()
8040 {
8041 return $this->moctwRating;
8042 }
8043 public function setMpaaRating($mpaaRating)
8044 {
8045 $this->mpaaRating = $mpaaRating;
8046 }
8047 public function getMpaaRating()
8048 {
8049 return $this->mpaaRating;
8050 }
8051 public function setMtrcbRating($mtrcbRating)
8052 {
8053 $this->mtrcbRating = $mtrcbRating;
8054 }
8055 public function getMtrcbRating()
8056 {
8057 return $this->mtrcbRating;
8058 }
8059 public function setNbcRating($nbcRating)
8060 {
8061 $this->nbcRating = $nbcRating;
8062 }
8063 public function getNbcRating()
8064 {
8065 return $this->nbcRating;
8066 }
8067 public function setNbcplRating($nbcplRating)
8068 {
8069 $this->nbcplRating = $nbcplRating;
8070 }
8071 public function getNbcplRating()
8072 {
8073 return $this->nbcplRating;
8074 }
8075 public function setNfrcRating($nfrcRating)
8076 {
8077 $this->nfrcRating = $nfrcRating;
8078 }
8079 public function getNfrcRating()
8080 {
8081 return $this->nfrcRating;
8082 }
8083 public function setNfvcbRating($nfvcbRating)
8084 {
8085 $this->nfvcbRating = $nfvcbRating;
8086 }
8087 public function getNfvcbRating()
8088 {
8089 return $this->nfvcbRating;
8090 }
8091 public function setNkclvRating($nkclvRating)
8092 {
8093 $this->nkclvRating = $nkclvRating;
8094 }
8095 public function getNkclvRating()
8096 {
8097 return $this->nkclvRating;
8098 }
8099 public function setOflcRating($oflcRating)
8100 {
8101 $this->oflcRating = $oflcRating;
8102 }
8103 public function getOflcRating()
8104 {
8105 return $this->oflcRating;
8106 }
8107 public function setPefilmRating($pefilmRating)
8108 {
8109 $this->pefilmRating = $pefilmRating;
8110 }
8111 public function getPefilmRating()
8112 {
8113 return $this->pefilmRating;
8114 }
8115 public function setRcnofRating($rcnofRating)
8116 {
8117 $this->rcnofRating = $rcnofRating;
8118 }
8119 public function getRcnofRating()
8120 {
8121 return $this->rcnofRating;
8122 }
8123 public function setResorteviolenciaRating($resorteviolenciaRating)
8124 {
8125 $this->resorteviolenciaRating = $resorteviolenciaRating;
8126 }
8127 public function getResorteviolenciaRating()
8128 {
8129 return $this->resorteviolenciaRating;
8130 }
8131 public function setRtcRating($rtcRating)
8132 {
8133 $this->rtcRating = $rtcRating;
8134 }
8135 public function getRtcRating()
8136 {
8137 return $this->rtcRating;
8138 }
8139 public function setRteRating($rteRating)
8140 {
8141 $this->rteRating = $rteRating;
8142 }
8143 public function getRteRating()
8144 {
8145 return $this->rteRating;
8146 }
8147 public function setRussiaRating($russiaRating)
8148 {
8149 $this->russiaRating = $russiaRating;
8150 }
8151 public function getRussiaRating()
8152 {
8153 return $this->russiaRating;
8154 }
8155 public function setSkfilmRating($skfilmRating)
8156 {
8157 $this->skfilmRating = $skfilmRating;
8158 }
8159 public function getSkfilmRating()
8160 {
8161 return $this->skfilmRating;
8162 }
8163 public function setSmaisRating($smaisRating)
8164 {
8165 $this->smaisRating = $smaisRating;
8166 }
8167 public function getSmaisRating()
8168 {
8169 return $this->smaisRating;
8170 }
8171 public function setSmsaRating($smsaRating)
8172 {
8173 $this->smsaRating = $smsaRating;
8174 }
8175 public function getSmsaRating()
8176 {
8177 return $this->smsaRating;
8178 }
8179 public function setTvpgRating($tvpgRating)
8180 {
8181 $this->tvpgRating = $tvpgRating;
8182 }
8183 public function getTvpgRating()
8184 {
8185 return $this->tvpgRating;
8186 }
8187 public function setYtRating($ytRating)
8188 {
8189 $this->ytRating = $ytRating;
8190 }
8191 public function getYtRating()
8192 {
8193 return $this->ytRating;
8194 }
8195 }
8196
8197 class Google_Service_YouTube_FanFundingEvent extends Google_Model
8198 {
8199 protected $internal_gapi_mappings = array(
8200 );
8201 public $etag;
8202 public $id;
8203 public $kind;
8204 protected $snippetType = 'Google_Service_YouTube_FanFundingEventSnippet';
8205 protected $snippetDataType = '';
8206
8207
8208 public function setEtag($etag)
8209 {
8210 $this->etag = $etag;
8211 }
8212 public function getEtag()
8213 {
8214 return $this->etag;
8215 }
8216 public function setId($id)
8217 {
8218 $this->id = $id;
8219 }
8220 public function getId()
8221 {
8222 return $this->id;
8223 }
8224 public function setKind($kind)
8225 {
8226 $this->kind = $kind;
8227 }
8228 public function getKind()
8229 {
8230 return $this->kind;
8231 }
8232 public function setSnippet(Google_Service_YouTube_FanFundingEventSnippet $snippet)
8233 {
8234 $this->snippet = $snippet;
8235 }
8236 public function getSnippet()
8237 {
8238 return $this->snippet;
8239 }
8240 }
8241
8242 class Google_Service_YouTube_FanFundingEventListResponse extends Google_Collection
8243 {
8244 protected $collection_key = 'items';
8245 protected $internal_gapi_mappings = array(
8246 );
8247 public $etag;
8248 public $eventId;
8249 protected $itemsType = 'Google_Service_YouTube_FanFundingEvent';
8250 protected $itemsDataType = 'array';
8251 public $kind;
8252 public $nextPageToken;
8253 protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
8254 protected $pageInfoDataType = '';
8255 protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination';
8256 protected $tokenPaginationDataType = '';
8257 public $visitorId;
8258
8259
8260 public function setEtag($etag)
8261 {
8262 $this->etag = $etag;
8263 }
8264 public function getEtag()
8265 {
8266 return $this->etag;
8267 }
8268 public function setEventId($eventId)
8269 {
8270 $this->eventId = $eventId;
8271 }
8272 public function getEventId()
8273 {
8274 return $this->eventId;
8275 }
8276 public function setItems($items)
8277 {
8278 $this->items = $items;
8279 }
8280 public function getItems()
8281 {
8282 return $this->items;
8283 }
8284 public function setKind($kind)
8285 {
8286 $this->kind = $kind;
8287 }
8288 public function getKind()
8289 {
8290 return $this->kind;
8291 }
8292 public function setNextPageToken($nextPageToken)
8293 {
8294 $this->nextPageToken = $nextPageToken;
8295 }
8296 public function getNextPageToken()
8297 {
8298 return $this->nextPageToken;
8299 }
8300 public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo)
8301 {
8302 $this->pageInfo = $pageInfo;
8303 }
8304 public function getPageInfo()
8305 {
8306 return $this->pageInfo;
8307 }
8308 public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination)
8309 {
8310 $this->tokenPagination = $tokenPagination;
8311 }
8312 public function getTokenPagination()
8313 {
8314 return $this->tokenPagination;
8315 }
8316 public function setVisitorId($visitorId)
8317 {
8318 $this->visitorId = $visitorId;
8319 }
8320 public function getVisitorId()
8321 {
8322 return $this->visitorId;
8323 }
8324 }
8325
8326 class Google_Service_YouTube_FanFundingEventSnippet extends Google_Model
8327 {
8328 protected $internal_gapi_mappings = array(
8329 );
8330 public $amountMicros;
8331 public $channelId;
8332 public $commentText;
8333 public $createdAt;
8334 public $currency;
8335 public $displayString;
8336 protected $supporterDetailsType = 'Google_Service_YouTube_ChannelProfileDetails';
8337 protected $supporterDetailsDataType = '';
8338
8339
8340 public function setAmountMicros($amountMicros)
8341 {
8342 $this->amountMicros = $amountMicros;
8343 }
8344 public function getAmountMicros()
8345 {
8346 return $this->amountMicros;
8347 }
8348 public function setChannelId($channelId)
8349 {
8350 $this->channelId = $channelId;
8351 }
8352 public function getChannelId()
8353 {
8354 return $this->channelId;
8355 }
8356 public function setCommentText($commentText)
8357 {
8358 $this->commentText = $commentText;
8359 }
8360 public function getCommentText()
8361 {
8362 return $this->commentText;
8363 }
8364 public function setCreatedAt($createdAt)
8365 {
8366 $this->createdAt = $createdAt;
8367 }
8368 public function getCreatedAt()
8369 {
8370 return $this->createdAt;
8371 }
8372 public function setCurrency($currency)
8373 {
8374 $this->currency = $currency;
8375 }
8376 public function getCurrency()
8377 {
8378 return $this->currency;
8379 }
8380 public function setDisplayString($displayString)
8381 {
8382 $this->displayString = $displayString;
8383 }
8384 public function getDisplayString()
8385 {
8386 return $this->displayString;
8387 }
8388 public function setSupporterDetails(Google_Service_YouTube_ChannelProfileDetails $supporterDetails)
8389 {
8390 $this->supporterDetails = $supporterDetails;
8391 }
8392 public function getSupporterDetails()
8393 {
8394 return $this->supporterDetails;
8395 }
8396 }
8397
8398 class Google_Service_YouTube_GeoPoint extends Google_Model
8399 {
8400 protected $internal_gapi_mappings = array(
8401 );
8402 public $altitude;
8403 public $latitude;
8404 public $longitude;
8405
8406
8407 public function setAltitude($altitude)
8408 {
8409 $this->altitude = $altitude;
8410 }
8411 public function getAltitude()
8412 {
8413 return $this->altitude;
8414 }
8415 public function setLatitude($latitude)
8416 {
8417 $this->latitude = $latitude;
8418 }
8419 public function getLatitude()
8420 {
8421 return $this->latitude;
8422 }
8423 public function setLongitude($longitude)
8424 {
8425 $this->longitude = $longitude;
8426 }
8427 public function getLongitude()
8428 {
8429 return $this->longitude;
8430 }
8431 }
8432
8433 class Google_Service_YouTube_GuideCategory extends Google_Model
8434 {
8435 protected $internal_gapi_mappings = array(
8436 );
8437 public $etag;
8438 public $id;
8439 public $kind;
8440 protected $snippetType = 'Google_Service_YouTube_GuideCategorySnippet';
8441 protected $snippetDataType = '';
8442
8443
8444 public function setEtag($etag)
8445 {
8446 $this->etag = $etag;
8447 }
8448 public function getEtag()
8449 {
8450 return $this->etag;
8451 }
8452 public function setId($id)
8453 {
8454 $this->id = $id;
8455 }
8456 public function getId()
8457 {
8458 return $this->id;
8459 }
8460 public function setKind($kind)
8461 {
8462 $this->kind = $kind;
8463 }
8464 public function getKind()
8465 {
8466 return $this->kind;
8467 }
8468 public function setSnippet(Google_Service_YouTube_GuideCategorySnippet $snippet)
8469 {
8470 $this->snippet = $snippet;
8471 }
8472 public function getSnippet()
8473 {
8474 return $this->snippet;
8475 }
8476 }
8477
8478 class Google_Service_YouTube_GuideCategoryListResponse extends Google_Collection
8479 {
8480 protected $collection_key = 'items';
8481 protected $internal_gapi_mappings = array(
8482 );
8483 public $etag;
8484 public $eventId;
8485 protected $itemsType = 'Google_Service_YouTube_GuideCategory';
8486 protected $itemsDataType = 'array';
8487 public $kind;
8488 public $nextPageToken;
8489 protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
8490 protected $pageInfoDataType = '';
8491 public $prevPageToken;
8492 protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination';
8493 protected $tokenPaginationDataType = '';
8494 public $visitorId;
8495
8496
8497 public function setEtag($etag)
8498 {
8499 $this->etag = $etag;
8500 }
8501 public function getEtag()
8502 {
8503 return $this->etag;
8504 }
8505 public function setEventId($eventId)
8506 {
8507 $this->eventId = $eventId;
8508 }
8509 public function getEventId()
8510 {
8511 return $this->eventId;
8512 }
8513 public function setItems($items)
8514 {
8515 $this->items = $items;
8516 }
8517 public function getItems()
8518 {
8519 return $this->items;
8520 }
8521 public function setKind($kind)
8522 {
8523 $this->kind = $kind;
8524 }
8525 public function getKind()
8526 {
8527 return $this->kind;
8528 }
8529 public function setNextPageToken($nextPageToken)
8530 {
8531 $this->nextPageToken = $nextPageToken;
8532 }
8533 public function getNextPageToken()
8534 {
8535 return $this->nextPageToken;
8536 }
8537 public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo)
8538 {
8539 $this->pageInfo = $pageInfo;
8540 }
8541 public function getPageInfo()
8542 {
8543 return $this->pageInfo;
8544 }
8545 public function setPrevPageToken($prevPageToken)
8546 {
8547 $this->prevPageToken = $prevPageToken;
8548 }
8549 public function getPrevPageToken()
8550 {
8551 return $this->prevPageToken;
8552 }
8553 public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination)
8554 {
8555 $this->tokenPagination = $tokenPagination;
8556 }
8557 public function getTokenPagination()
8558 {
8559 return $this->tokenPagination;
8560 }
8561 public function setVisitorId($visitorId)
8562 {
8563 $this->visitorId = $visitorId;
8564 }
8565 public function getVisitorId()
8566 {
8567 return $this->visitorId;
8568 }
8569 }
8570
8571 class Google_Service_YouTube_GuideCategorySnippet extends Google_Model
8572 {
8573 protected $internal_gapi_mappings = array(
8574 );
8575 public $channelId;
8576 public $title;
8577
8578
8579 public function setChannelId($channelId)
8580 {
8581 $this->channelId = $channelId;
8582 }
8583 public function getChannelId()
8584 {
8585 return $this->channelId;
8586 }
8587 public function setTitle($title)
8588 {
8589 $this->title = $title;
8590 }
8591 public function getTitle()
8592 {
8593 return $this->title;
8594 }
8595 }
8596
8597 class Google_Service_YouTube_I18nLanguage extends Google_Model
8598 {
8599 protected $internal_gapi_mappings = array(
8600 );
8601 public $etag;
8602 public $id;
8603 public $kind;
8604 protected $snippetType = 'Google_Service_YouTube_I18nLanguageSnippet';
8605 protected $snippetDataType = '';
8606
8607
8608 public function setEtag($etag)
8609 {
8610 $this->etag = $etag;
8611 }
8612 public function getEtag()
8613 {
8614 return $this->etag;
8615 }
8616 public function setId($id)
8617 {
8618 $this->id = $id;
8619 }
8620 public function getId()
8621 {
8622 return $this->id;
8623 }
8624 public function setKind($kind)
8625 {
8626 $this->kind = $kind;
8627 }
8628 public function getKind()
8629 {
8630 return $this->kind;
8631 }
8632 public function setSnippet(Google_Service_YouTube_I18nLanguageSnippet $snippet)
8633 {
8634 $this->snippet = $snippet;
8635 }
8636 public function getSnippet()
8637 {
8638 return $this->snippet;
8639 }
8640 }
8641
8642 class Google_Service_YouTube_I18nLanguageListResponse extends Google_Collection
8643 {
8644 protected $collection_key = 'items';
8645 protected $internal_gapi_mappings = array(
8646 );
8647 public $etag;
8648 public $eventId;
8649 protected $itemsType = 'Google_Service_YouTube_I18nLanguage';
8650 protected $itemsDataType = 'array';
8651 public $kind;
8652 public $visitorId;
8653
8654
8655 public function setEtag($etag)
8656 {
8657 $this->etag = $etag;
8658 }
8659 public function getEtag()
8660 {
8661 return $this->etag;
8662 }
8663 public function setEventId($eventId)
8664 {
8665 $this->eventId = $eventId;
8666 }
8667 public function getEventId()
8668 {
8669 return $this->eventId;
8670 }
8671 public function setItems($items)
8672 {
8673 $this->items = $items;
8674 }
8675 public function getItems()
8676 {
8677 return $this->items;
8678 }
8679 public function setKind($kind)
8680 {
8681 $this->kind = $kind;
8682 }
8683 public function getKind()
8684 {
8685 return $this->kind;
8686 }
8687 public function setVisitorId($visitorId)
8688 {
8689 $this->visitorId = $visitorId;
8690 }
8691 public function getVisitorId()
8692 {
8693 return $this->visitorId;
8694 }
8695 }
8696
8697 class Google_Service_YouTube_I18nLanguageSnippet extends Google_Model
8698 {
8699 protected $internal_gapi_mappings = array(
8700 );
8701 public $hl;
8702 public $name;
8703
8704
8705 public function setHl($hl)
8706 {
8707 $this->hl = $hl;
8708 }
8709 public function getHl()
8710 {
8711 return $this->hl;
8712 }
8713 public function setName($name)
8714 {
8715 $this->name = $name;
8716 }
8717 public function getName()
8718 {
8719 return $this->name;
8720 }
8721 }
8722
8723 class Google_Service_YouTube_I18nRegion extends Google_Model
8724 {
8725 protected $internal_gapi_mappings = array(
8726 );
8727 public $etag;
8728 public $id;
8729 public $kind;
8730 protected $snippetType = 'Google_Service_YouTube_I18nRegionSnippet';
8731 protected $snippetDataType = '';
8732
8733
8734 public function setEtag($etag)
8735 {
8736 $this->etag = $etag;
8737 }
8738 public function getEtag()
8739 {
8740 return $this->etag;
8741 }
8742 public function setId($id)
8743 {
8744 $this->id = $id;
8745 }
8746 public function getId()
8747 {
8748 return $this->id;
8749 }
8750 public function setKind($kind)
8751 {
8752 $this->kind = $kind;
8753 }
8754 public function getKind()
8755 {
8756 return $this->kind;
8757 }
8758 public function setSnippet(Google_Service_YouTube_I18nRegionSnippet $snippet)
8759 {
8760 $this->snippet = $snippet;
8761 }
8762 public function getSnippet()
8763 {
8764 return $this->snippet;
8765 }
8766 }
8767
8768 class Google_Service_YouTube_I18nRegionListResponse extends Google_Collection
8769 {
8770 protected $collection_key = 'items';
8771 protected $internal_gapi_mappings = array(
8772 );
8773 public $etag;
8774 public $eventId;
8775 protected $itemsType = 'Google_Service_YouTube_I18nRegion';
8776 protected $itemsDataType = 'array';
8777 public $kind;
8778 public $visitorId;
8779
8780
8781 public function setEtag($etag)
8782 {
8783 $this->etag = $etag;
8784 }
8785 public function getEtag()
8786 {
8787 return $this->etag;
8788 }
8789 public function setEventId($eventId)
8790 {
8791 $this->eventId = $eventId;
8792 }
8793 public function getEventId()
8794 {
8795 return $this->eventId;
8796 }
8797 public function setItems($items)
8798 {
8799 $this->items = $items;
8800 }
8801 public function getItems()
8802 {
8803 return $this->items;
8804 }
8805 public function setKind($kind)
8806 {
8807 $this->kind = $kind;
8808 }
8809 public function getKind()
8810 {
8811 return $this->kind;
8812 }
8813 public function setVisitorId($visitorId)
8814 {
8815 $this->visitorId = $visitorId;
8816 }
8817 public function getVisitorId()
8818 {
8819 return $this->visitorId;
8820 }
8821 }
8822
8823 class Google_Service_YouTube_I18nRegionSnippet extends Google_Model
8824 {
8825 protected $internal_gapi_mappings = array(
8826 );
8827 public $gl;
8828 public $name;
8829
8830
8831 public function setGl($gl)
8832 {
8833 $this->gl = $gl;
8834 }
8835 public function getGl()
8836 {
8837 return $this->gl;
8838 }
8839 public function setName($name)
8840 {
8841 $this->name = $name;
8842 }
8843 public function getName()
8844 {
8845 return $this->name;
8846 }
8847 }
8848
8849 class Google_Service_YouTube_ImageSettings extends Google_Model
8850 {
8851 protected $internal_gapi_mappings = array(
8852 );
8853 protected $backgroundImageUrlType = 'Google_Service_YouTube_LocalizedProperty';
8854 protected $backgroundImageUrlDataType = '';
8855 public $bannerExternalUrl;
8856 public $bannerImageUrl;
8857 public $bannerMobileExtraHdImageUrl;
8858 public $bannerMobileHdImageUrl;
8859 public $bannerMobileImageUrl;
8860 public $bannerMobileLowImageUrl;
8861 public $bannerMobileMediumHdImageUrl;
8862 public $bannerTabletExtraHdImageUrl;
8863 public $bannerTabletHdImageUrl;
8864 public $bannerTabletImageUrl;
8865 public $bannerTabletLowImageUrl;
8866 public $bannerTvHighImageUrl;
8867 public $bannerTvImageUrl;
8868 public $bannerTvLowImageUrl;
8869 public $bannerTvMediumImageUrl;
8870 protected $largeBrandedBannerImageImapScriptType = 'Google_Service_YouTube_LocalizedProperty';
8871 protected $largeBrandedBannerImageImapScriptDataType = '';
8872 protected $largeBrandedBannerImageUrlType = 'Google_Service_YouTube_LocalizedProperty';
8873 protected $largeBrandedBannerImageUrlDataType = '';
8874 protected $smallBrandedBannerImageImapScriptType = 'Google_Service_YouTube_LocalizedProperty';
8875 protected $smallBrandedBannerImageImapScriptDataType = '';
8876 protected $smallBrandedBannerImageUrlType = 'Google_Service_YouTube_LocalizedProperty';
8877 protected $smallBrandedBannerImageUrlDataType = '';
8878 public $trackingImageUrl;
8879 public $watchIconImageUrl;
8880
8881
8882 public function setBackgroundImageUrl(Google_Service_YouTube_LocalizedProperty $backgroundImageUrl)
8883 {
8884 $this->backgroundImageUrl = $backgroundImageUrl;
8885 }
8886 public function getBackgroundImageUrl()
8887 {
8888 return $this->backgroundImageUrl;
8889 }
8890 public function setBannerExternalUrl($bannerExternalUrl)
8891 {
8892 $this->bannerExternalUrl = $bannerExternalUrl;
8893 }
8894 public function getBannerExternalUrl()
8895 {
8896 return $this->bannerExternalUrl;
8897 }
8898 public function setBannerImageUrl($bannerImageUrl)
8899 {
8900 $this->bannerImageUrl = $bannerImageUrl;
8901 }
8902 public function getBannerImageUrl()
8903 {
8904 return $this->bannerImageUrl;
8905 }
8906 public function setBannerMobileExtraHdImageUrl($bannerMobileExtraHdImageUrl)
8907 {
8908 $this->bannerMobileExtraHdImageUrl = $bannerMobileExtraHdImageUrl;
8909 }
8910 public function getBannerMobileExtraHdImageUrl()
8911 {
8912 return $this->bannerMobileExtraHdImageUrl;
8913 }
8914 public function setBannerMobileHdImageUrl($bannerMobileHdImageUrl)
8915 {
8916 $this->bannerMobileHdImageUrl = $bannerMobileHdImageUrl;
8917 }
8918 public function getBannerMobileHdImageUrl()
8919 {
8920 return $this->bannerMobileHdImageUrl;
8921 }
8922 public function setBannerMobileImageUrl($bannerMobileImageUrl)
8923 {
8924 $this->bannerMobileImageUrl = $bannerMobileImageUrl;
8925 }
8926 public function getBannerMobileImageUrl()
8927 {
8928 return $this->bannerMobileImageUrl;
8929 }
8930 public function setBannerMobileLowImageUrl($bannerMobileLowImageUrl)
8931 {
8932 $this->bannerMobileLowImageUrl = $bannerMobileLowImageUrl;
8933 }
8934 public function getBannerMobileLowImageUrl()
8935 {
8936 return $this->bannerMobileLowImageUrl;
8937 }
8938 public function setBannerMobileMediumHdImageUrl($bannerMobileMediumHdImageUrl)
8939 {
8940 $this->bannerMobileMediumHdImageUrl = $bannerMobileMediumHdImageUrl;
8941 }
8942 public function getBannerMobileMediumHdImageUrl()
8943 {
8944 return $this->bannerMobileMediumHdImageUrl;
8945 }
8946 public function setBannerTabletExtraHdImageUrl($bannerTabletExtraHdImageUrl)
8947 {
8948 $this->bannerTabletExtraHdImageUrl = $bannerTabletExtraHdImageUrl;
8949 }
8950 public function getBannerTabletExtraHdImageUrl()
8951 {
8952 return $this->bannerTabletExtraHdImageUrl;
8953 }
8954 public function setBannerTabletHdImageUrl($bannerTabletHdImageUrl)
8955 {
8956 $this->bannerTabletHdImageUrl = $bannerTabletHdImageUrl;
8957 }
8958 public function getBannerTabletHdImageUrl()
8959 {
8960 return $this->bannerTabletHdImageUrl;
8961 }
8962 public function setBannerTabletImageUrl($bannerTabletImageUrl)
8963 {
8964 $this->bannerTabletImageUrl = $bannerTabletImageUrl;
8965 }
8966 public function getBannerTabletImageUrl()
8967 {
8968 return $this->bannerTabletImageUrl;
8969 }
8970 public function setBannerTabletLowImageUrl($bannerTabletLowImageUrl)
8971 {
8972 $this->bannerTabletLowImageUrl = $bannerTabletLowImageUrl;
8973 }
8974 public function getBannerTabletLowImageUrl()
8975 {
8976 return $this->bannerTabletLowImageUrl;
8977 }
8978 public function setBannerTvHighImageUrl($bannerTvHighImageUrl)
8979 {
8980 $this->bannerTvHighImageUrl = $bannerTvHighImageUrl;
8981 }
8982 public function getBannerTvHighImageUrl()
8983 {
8984 return $this->bannerTvHighImageUrl;
8985 }
8986 public function setBannerTvImageUrl($bannerTvImageUrl)
8987 {
8988 $this->bannerTvImageUrl = $bannerTvImageUrl;
8989 }
8990 public function getBannerTvImageUrl()
8991 {
8992 return $this->bannerTvImageUrl;
8993 }
8994 public function setBannerTvLowImageUrl($bannerTvLowImageUrl)
8995 {
8996 $this->bannerTvLowImageUrl = $bannerTvLowImageUrl;
8997 }
8998 public function getBannerTvLowImageUrl()
8999 {
9000 return $this->bannerTvLowImageUrl;
9001 }
9002 public function setBannerTvMediumImageUrl($bannerTvMediumImageUrl)
9003 {
9004 $this->bannerTvMediumImageUrl = $bannerTvMediumImageUrl;
9005 }
9006 public function getBannerTvMediumImageUrl()
9007 {
9008 return $this->bannerTvMediumImageUrl;
9009 }
9010 public function setLargeBrandedBannerImageImapScript(Google_Service_YouTube_LocalizedProperty $largeBrandedBannerImageImapScript)
9011 {
9012 $this->largeBrandedBannerImageImapScript = $largeBrandedBannerImageImapScript;
9013 }
9014 public function getLargeBrandedBannerImageImapScript()
9015 {
9016 return $this->largeBrandedBannerImageImapScript;
9017 }
9018 public function setLargeBrandedBannerImageUrl(Google_Service_YouTube_LocalizedProperty $largeBrandedBannerImageUrl)
9019 {
9020 $this->largeBrandedBannerImageUrl = $largeBrandedBannerImageUrl;
9021 }
9022 public function getLargeBrandedBannerImageUrl()
9023 {
9024 return $this->largeBrandedBannerImageUrl;
9025 }
9026 public function setSmallBrandedBannerImageImapScript(Google_Service_YouTube_LocalizedProperty $smallBrandedBannerImageImapScript)
9027 {
9028 $this->smallBrandedBannerImageImapScript = $smallBrandedBannerImageImapScript;
9029 }
9030 public function getSmallBrandedBannerImageImapScript()
9031 {
9032 return $this->smallBrandedBannerImageImapScript;
9033 }
9034 public function setSmallBrandedBannerImageUrl(Google_Service_YouTube_LocalizedProperty $smallBrandedBannerImageUrl)
9035 {
9036 $this->smallBrandedBannerImageUrl = $smallBrandedBannerImageUrl;
9037 }
9038 public function getSmallBrandedBannerImageUrl()
9039 {
9040 return $this->smallBrandedBannerImageUrl;
9041 }
9042 public function setTrackingImageUrl($trackingImageUrl)
9043 {
9044 $this->trackingImageUrl = $trackingImageUrl;
9045 }
9046 public function getTrackingImageUrl()
9047 {
9048 return $this->trackingImageUrl;
9049 }
9050 public function setWatchIconImageUrl($watchIconImageUrl)
9051 {
9052 $this->watchIconImageUrl = $watchIconImageUrl;
9053 }
9054 public function getWatchIconImageUrl()
9055 {
9056 return $this->watchIconImageUrl;
9057 }
9058 }
9059
9060 class Google_Service_YouTube_IngestionInfo extends Google_Model
9061 {
9062 protected $internal_gapi_mappings = array(
9063 );
9064 public $backupIngestionAddress;
9065 public $ingestionAddress;
9066 public $streamName;
9067
9068
9069 public function setBackupIngestionAddress($backupIngestionAddress)
9070 {
9071 $this->backupIngestionAddress = $backupIngestionAddress;
9072 }
9073 public function getBackupIngestionAddress()
9074 {
9075 return $this->backupIngestionAddress;
9076 }
9077 public function setIngestionAddress($ingestionAddress)
9078 {
9079 $this->ingestionAddress = $ingestionAddress;
9080 }
9081 public function getIngestionAddress()
9082 {
9083 return $this->ingestionAddress;
9084 }
9085 public function setStreamName($streamName)
9086 {
9087 $this->streamName = $streamName;
9088 }
9089 public function getStreamName()
9090 {
9091 return $this->streamName;
9092 }
9093 }
9094
9095 class Google_Service_YouTube_InvideoBranding extends Google_Model
9096 {
9097 protected $internal_gapi_mappings = array(
9098 );
9099 public $imageBytes;
9100 public $imageUrl;
9101 protected $positionType = 'Google_Service_YouTube_InvideoPosition';
9102 protected $positionDataType = '';
9103 public $targetChannelId;
9104 protected $timingType = 'Google_Service_YouTube_InvideoTiming';
9105 protected $timingDataType = '';
9106
9107
9108 public function setImageBytes($imageBytes)
9109 {
9110 $this->imageBytes = $imageBytes;
9111 }
9112 public function getImageBytes()
9113 {
9114 return $this->imageBytes;
9115 }
9116 public function setImageUrl($imageUrl)
9117 {
9118 $this->imageUrl = $imageUrl;
9119 }
9120 public function getImageUrl()
9121 {
9122 return $this->imageUrl;
9123 }
9124 public function setPosition(Google_Service_YouTube_InvideoPosition $position)
9125 {
9126 $this->position = $position;
9127 }
9128 public function getPosition()
9129 {
9130 return $this->position;
9131 }
9132 public function setTargetChannelId($targetChannelId)
9133 {
9134 $this->targetChannelId = $targetChannelId;
9135 }
9136 public function getTargetChannelId()
9137 {
9138 return $this->targetChannelId;
9139 }
9140 public function setTiming(Google_Service_YouTube_InvideoTiming $timing)
9141 {
9142 $this->timing = $timing;
9143 }
9144 public function getTiming()
9145 {
9146 return $this->timing;
9147 }
9148 }
9149
9150 class Google_Service_YouTube_InvideoPosition extends Google_Model
9151 {
9152 protected $internal_gapi_mappings = array(
9153 );
9154 public $cornerPosition;
9155 public $type;
9156
9157
9158 public function setCornerPosition($cornerPosition)
9159 {
9160 $this->cornerPosition = $cornerPosition;
9161 }
9162 public function getCornerPosition()
9163 {
9164 return $this->cornerPosition;
9165 }
9166 public function setType($type)
9167 {
9168 $this->type = $type;
9169 }
9170 public function getType()
9171 {
9172 return $this->type;
9173 }
9174 }
9175
9176 class Google_Service_YouTube_InvideoPromotion extends Google_Collection
9177 {
9178 protected $collection_key = 'items';
9179 protected $internal_gapi_mappings = array(
9180 );
9181 protected $defaultTimingType = 'Google_Service_YouTube_InvideoTiming';
9182 protected $defaultTimingDataType = '';
9183 protected $itemsType = 'Google_Service_YouTube_PromotedItem';
9184 protected $itemsDataType = 'array';
9185 protected $positionType = 'Google_Service_YouTube_InvideoPosition';
9186 protected $positionDataType = '';
9187 public $useSmartTiming;
9188
9189
9190 public function setDefaultTiming(Google_Service_YouTube_InvideoTiming $defaultTiming)
9191 {
9192 $this->defaultTiming = $defaultTiming;
9193 }
9194 public function getDefaultTiming()
9195 {
9196 return $this->defaultTiming;
9197 }
9198 public function setItems($items)
9199 {
9200 $this->items = $items;
9201 }
9202 public function getItems()
9203 {
9204 return $this->items;
9205 }
9206 public function setPosition(Google_Service_YouTube_InvideoPosition $position)
9207 {
9208 $this->position = $position;
9209 }
9210 public function getPosition()
9211 {
9212 return $this->position;
9213 }
9214 public function setUseSmartTiming($useSmartTiming)
9215 {
9216 $this->useSmartTiming = $useSmartTiming;
9217 }
9218 public function getUseSmartTiming()
9219 {
9220 return $this->useSmartTiming;
9221 }
9222 }
9223
9224 class Google_Service_YouTube_InvideoTiming extends Google_Model
9225 {
9226 protected $internal_gapi_mappings = array(
9227 );
9228 public $durationMs;
9229 public $offsetMs;
9230 public $type;
9231
9232
9233 public function setDurationMs($durationMs)
9234 {
9235 $this->durationMs = $durationMs;
9236 }
9237 public function getDurationMs()
9238 {
9239 return $this->durationMs;
9240 }
9241 public function setOffsetMs($offsetMs)
9242 {
9243 $this->offsetMs = $offsetMs;
9244 }
9245 public function getOffsetMs()
9246 {
9247 return $this->offsetMs;
9248 }
9249 public function setType($type)
9250 {
9251 $this->type = $type;
9252 }
9253 public function getType()
9254 {
9255 return $this->type;
9256 }
9257 }
9258
9259 class Google_Service_YouTube_LanguageTag extends Google_Model
9260 {
9261 protected $internal_gapi_mappings = array(
9262 );
9263 public $value;
9264
9265
9266 public function setValue($value)
9267 {
9268 $this->value = $value;
9269 }
9270 public function getValue()
9271 {
9272 return $this->value;
9273 }
9274 }
9275
9276 class Google_Service_YouTube_LiveBroadcast extends Google_Model
9277 {
9278 protected $internal_gapi_mappings = array(
9279 );
9280 protected $contentDetailsType = 'Google_Service_YouTube_LiveBroadcastContentDetails';
9281 protected $contentDetailsDataType = '';
9282 public $etag;
9283 public $id;
9284 public $kind;
9285 protected $snippetType = 'Google_Service_YouTube_LiveBroadcastSnippet';
9286 protected $snippetDataType = '';
9287 protected $statisticsType = 'Google_Service_YouTube_LiveBroadcastStatistics';
9288 protected $statisticsDataType = '';
9289 protected $statusType = 'Google_Service_YouTube_LiveBroadcastStatus';
9290 protected $statusDataType = '';
9291 protected $topicDetailsType = 'Google_Service_YouTube_LiveBroadcastTopicDetails';
9292 protected $topicDetailsDataType = '';
9293
9294
9295 public function setContentDetails(Google_Service_YouTube_LiveBroadcastContentDetails $contentDetails)
9296 {
9297 $this->contentDetails = $contentDetails;
9298 }
9299 public function getContentDetails()
9300 {
9301 return $this->contentDetails;
9302 }
9303 public function setEtag($etag)
9304 {
9305 $this->etag = $etag;
9306 }
9307 public function getEtag()
9308 {
9309 return $this->etag;
9310 }
9311 public function setId($id)
9312 {
9313 $this->id = $id;
9314 }
9315 public function getId()
9316 {
9317 return $this->id;
9318 }
9319 public function setKind($kind)
9320 {
9321 $this->kind = $kind;
9322 }
9323 public function getKind()
9324 {
9325 return $this->kind;
9326 }
9327 public function setSnippet(Google_Service_YouTube_LiveBroadcastSnippet $snippet)
9328 {
9329 $this->snippet = $snippet;
9330 }
9331 public function getSnippet()
9332 {
9333 return $this->snippet;
9334 }
9335 public function setStatistics(Google_Service_YouTube_LiveBroadcastStatistics $statistics)
9336 {
9337 $this->statistics = $statistics;
9338 }
9339 public function getStatistics()
9340 {
9341 return $this->statistics;
9342 }
9343 public function setStatus(Google_Service_YouTube_LiveBroadcastStatus $status)
9344 {
9345 $this->status = $status;
9346 }
9347 public function getStatus()
9348 {
9349 return $this->status;
9350 }
9351 public function setTopicDetails(Google_Service_YouTube_LiveBroadcastTopicDetails $topicDetails)
9352 {
9353 $this->topicDetails = $topicDetails;
9354 }
9355 public function getTopicDetails()
9356 {
9357 return $this->topicDetails;
9358 }
9359 }
9360
9361 class Google_Service_YouTube_LiveBroadcastContentDetails extends Google_Model
9362 {
9363 protected $internal_gapi_mappings = array(
9364 );
9365 public $boundStreamId;
9366 public $closedCaptionsType;
9367 public $enableClosedCaptions;
9368 public $enableContentEncryption;
9369 public $enableDvr;
9370 public $enableEmbed;
9371 public $enableLowLatency;
9372 protected $monitorStreamType = 'Google_Service_YouTube_MonitorStreamInfo';
9373 protected $monitorStreamDataType = '';
9374 public $recordFromStart;
9375 public $startWithSlate;
9376
9377
9378 public function setBoundStreamId($boundStreamId)
9379 {
9380 $this->boundStreamId = $boundStreamId;
9381 }
9382 public function getBoundStreamId()
9383 {
9384 return $this->boundStreamId;
9385 }
9386 public function setClosedCaptionsType($closedCaptionsType)
9387 {
9388 $this->closedCaptionsType = $closedCaptionsType;
9389 }
9390 public function getClosedCaptionsType()
9391 {
9392 return $this->closedCaptionsType;
9393 }
9394 public function setEnableClosedCaptions($enableClosedCaptions)
9395 {
9396 $this->enableClosedCaptions = $enableClosedCaptions;
9397 }
9398 public function getEnableClosedCaptions()
9399 {
9400 return $this->enableClosedCaptions;
9401 }
9402 public function setEnableContentEncryption($enableContentEncryption)
9403 {
9404 $this->enableContentEncryption = $enableContentEncryption;
9405 }
9406 public function getEnableContentEncryption()
9407 {
9408 return $this->enableContentEncryption;
9409 }
9410 public function setEnableDvr($enableDvr)
9411 {
9412 $this->enableDvr = $enableDvr;
9413 }
9414 public function getEnableDvr()
9415 {
9416 return $this->enableDvr;
9417 }
9418 public function setEnableEmbed($enableEmbed)
9419 {
9420 $this->enableEmbed = $enableEmbed;
9421 }
9422 public function getEnableEmbed()
9423 {
9424 return $this->enableEmbed;
9425 }
9426 public function setEnableLowLatency($enableLowLatency)
9427 {
9428 $this->enableLowLatency = $enableLowLatency;
9429 }
9430 public function getEnableLowLatency()
9431 {
9432 return $this->enableLowLatency;
9433 }
9434 public function setMonitorStream(Google_Service_YouTube_MonitorStreamInfo $monitorStream)
9435 {
9436 $this->monitorStream = $monitorStream;
9437 }
9438 public function getMonitorStream()
9439 {
9440 return $this->monitorStream;
9441 }
9442 public function setRecordFromStart($recordFromStart)
9443 {
9444 $this->recordFromStart = $recordFromStart;
9445 }
9446 public function getRecordFromStart()
9447 {
9448 return $this->recordFromStart;
9449 }
9450 public function setStartWithSlate($startWithSlate)
9451 {
9452 $this->startWithSlate = $startWithSlate;
9453 }
9454 public function getStartWithSlate()
9455 {
9456 return $this->startWithSlate;
9457 }
9458 }
9459
9460 class Google_Service_YouTube_LiveBroadcastListResponse extends Google_Collection
9461 {
9462 protected $collection_key = 'items';
9463 protected $internal_gapi_mappings = array(
9464 );
9465 public $etag;
9466 public $eventId;
9467 protected $itemsType = 'Google_Service_YouTube_LiveBroadcast';
9468 protected $itemsDataType = 'array';
9469 public $kind;
9470 public $nextPageToken;
9471 protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
9472 protected $pageInfoDataType = '';
9473 public $prevPageToken;
9474 protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination';
9475 protected $tokenPaginationDataType = '';
9476 public $visitorId;
9477
9478
9479 public function setEtag($etag)
9480 {
9481 $this->etag = $etag;
9482 }
9483 public function getEtag()
9484 {
9485 return $this->etag;
9486 }
9487 public function setEventId($eventId)
9488 {
9489 $this->eventId = $eventId;
9490 }
9491 public function getEventId()
9492 {
9493 return $this->eventId;
9494 }
9495 public function setItems($items)
9496 {
9497 $this->items = $items;
9498 }
9499 public function getItems()
9500 {
9501 return $this->items;
9502 }
9503 public function setKind($kind)
9504 {
9505 $this->kind = $kind;
9506 }
9507 public function getKind()
9508 {
9509 return $this->kind;
9510 }
9511 public function setNextPageToken($nextPageToken)
9512 {
9513 $this->nextPageToken = $nextPageToken;
9514 }
9515 public function getNextPageToken()
9516 {
9517 return $this->nextPageToken;
9518 }
9519 public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo)
9520 {
9521 $this->pageInfo = $pageInfo;
9522 }
9523 public function getPageInfo()
9524 {
9525 return $this->pageInfo;
9526 }
9527 public function setPrevPageToken($prevPageToken)
9528 {
9529 $this->prevPageToken = $prevPageToken;
9530 }
9531 public function getPrevPageToken()
9532 {
9533 return $this->prevPageToken;
9534 }
9535 public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination)
9536 {
9537 $this->tokenPagination = $tokenPagination;
9538 }
9539 public function getTokenPagination()
9540 {
9541 return $this->tokenPagination;
9542 }
9543 public function setVisitorId($visitorId)
9544 {
9545 $this->visitorId = $visitorId;
9546 }
9547 public function getVisitorId()
9548 {
9549 return $this->visitorId;
9550 }
9551 }
9552
9553 class Google_Service_YouTube_LiveBroadcastSnippet extends Google_Model
9554 {
9555 protected $internal_gapi_mappings = array(
9556 );
9557 public $actualEndTime;
9558 public $actualStartTime;
9559 public $channelId;
9560 public $description;
9561 public $isDefaultBroadcast;
9562 public $liveChatId;
9563 public $publishedAt;
9564 public $scheduledEndTime;
9565 public $scheduledStartTime;
9566 protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails';
9567 protected $thumbnailsDataType = '';
9568 public $title;
9569
9570
9571 public function setActualEndTime($actualEndTime)
9572 {
9573 $this->actualEndTime = $actualEndTime;
9574 }
9575 public function getActualEndTime()
9576 {
9577 return $this->actualEndTime;
9578 }
9579 public function setActualStartTime($actualStartTime)
9580 {
9581 $this->actualStartTime = $actualStartTime;
9582 }
9583 public function getActualStartTime()
9584 {
9585 return $this->actualStartTime;
9586 }
9587 public function setChannelId($channelId)
9588 {
9589 $this->channelId = $channelId;
9590 }
9591 public function getChannelId()
9592 {
9593 return $this->channelId;
9594 }
9595 public function setDescription($description)
9596 {
9597 $this->description = $description;
9598 }
9599 public function getDescription()
9600 {
9601 return $this->description;
9602 }
9603 public function setIsDefaultBroadcast($isDefaultBroadcast)
9604 {
9605 $this->isDefaultBroadcast = $isDefaultBroadcast;
9606 }
9607 public function getIsDefaultBroadcast()
9608 {
9609 return $this->isDefaultBroadcast;
9610 }
9611 public function setLiveChatId($liveChatId)
9612 {
9613 $this->liveChatId = $liveChatId;
9614 }
9615 public function getLiveChatId()
9616 {
9617 return $this->liveChatId;
9618 }
9619 public function setPublishedAt($publishedAt)
9620 {
9621 $this->publishedAt = $publishedAt;
9622 }
9623 public function getPublishedAt()
9624 {
9625 return $this->publishedAt;
9626 }
9627 public function setScheduledEndTime($scheduledEndTime)
9628 {
9629 $this->scheduledEndTime = $scheduledEndTime;
9630 }
9631 public function getScheduledEndTime()
9632 {
9633 return $this->scheduledEndTime;
9634 }
9635 public function setScheduledStartTime($scheduledStartTime)
9636 {
9637 $this->scheduledStartTime = $scheduledStartTime;
9638 }
9639 public function getScheduledStartTime()
9640 {
9641 return $this->scheduledStartTime;
9642 }
9643 public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails)
9644 {
9645 $this->thumbnails = $thumbnails;
9646 }
9647 public function getThumbnails()
9648 {
9649 return $this->thumbnails;
9650 }
9651 public function setTitle($title)
9652 {
9653 $this->title = $title;
9654 }
9655 public function getTitle()
9656 {
9657 return $this->title;
9658 }
9659 }
9660
9661 class Google_Service_YouTube_LiveBroadcastStatistics extends Google_Model
9662 {
9663 protected $internal_gapi_mappings = array(
9664 );
9665 public $concurrentViewers;
9666 public $totalChatCount;
9667
9668
9669 public function setConcurrentViewers($concurrentViewers)
9670 {
9671 $this->concurrentViewers = $concurrentViewers;
9672 }
9673 public function getConcurrentViewers()
9674 {
9675 return $this->concurrentViewers;
9676 }
9677 public function setTotalChatCount($totalChatCount)
9678 {
9679 $this->totalChatCount = $totalChatCount;
9680 }
9681 public function getTotalChatCount()
9682 {
9683 return $this->totalChatCount;
9684 }
9685 }
9686
9687 class Google_Service_YouTube_LiveBroadcastStatus extends Google_Model
9688 {
9689 protected $internal_gapi_mappings = array(
9690 );
9691 public $lifeCycleStatus;
9692 public $liveBroadcastPriority;
9693 public $privacyStatus;
9694 public $recordingStatus;
9695
9696
9697 public function setLifeCycleStatus($lifeCycleStatus)
9698 {
9699 $this->lifeCycleStatus = $lifeCycleStatus;
9700 }
9701 public function getLifeCycleStatus()
9702 {
9703 return $this->lifeCycleStatus;
9704 }
9705 public function setLiveBroadcastPriority($liveBroadcastPriority)
9706 {
9707 $this->liveBroadcastPriority = $liveBroadcastPriority;
9708 }
9709 public function getLiveBroadcastPriority()
9710 {
9711 return $this->liveBroadcastPriority;
9712 }
9713 public function setPrivacyStatus($privacyStatus)
9714 {
9715 $this->privacyStatus = $privacyStatus;
9716 }
9717 public function getPrivacyStatus()
9718 {
9719 return $this->privacyStatus;
9720 }
9721 public function setRecordingStatus($recordingStatus)
9722 {
9723 $this->recordingStatus = $recordingStatus;
9724 }
9725 public function getRecordingStatus()
9726 {
9727 return $this->recordingStatus;
9728 }
9729 }
9730
9731 class Google_Service_YouTube_LiveBroadcastTopic extends Google_Model
9732 {
9733 protected $internal_gapi_mappings = array(
9734 );
9735 protected $snippetType = 'Google_Service_YouTube_LiveBroadcastTopicSnippet';
9736 protected $snippetDataType = '';
9737 public $type;
9738 public $unmatched;
9739
9740
9741 public function setSnippet(Google_Service_YouTube_LiveBroadcastTopicSnippet $snippet)
9742 {
9743 $this->snippet = $snippet;
9744 }
9745 public function getSnippet()
9746 {
9747 return $this->snippet;
9748 }
9749 public function setType($type)
9750 {
9751 $this->type = $type;
9752 }
9753 public function getType()
9754 {
9755 return $this->type;
9756 }
9757 public function setUnmatched($unmatched)
9758 {
9759 $this->unmatched = $unmatched;
9760 }
9761 public function getUnmatched()
9762 {
9763 return $this->unmatched;
9764 }
9765 }
9766
9767 class Google_Service_YouTube_LiveBroadcastTopicDetails extends Google_Collection
9768 {
9769 protected $collection_key = 'topics';
9770 protected $internal_gapi_mappings = array(
9771 );
9772 protected $topicsType = 'Google_Service_YouTube_LiveBroadcastTopic';
9773 protected $topicsDataType = 'array';
9774
9775
9776 public function setTopics($topics)
9777 {
9778 $this->topics = $topics;
9779 }
9780 public function getTopics()
9781 {
9782 return $this->topics;
9783 }
9784 }
9785
9786 class Google_Service_YouTube_LiveBroadcastTopicSnippet extends Google_Model
9787 {
9788 protected $internal_gapi_mappings = array(
9789 );
9790 public $name;
9791 public $releaseDate;
9792
9793
9794 public function setName($name)
9795 {
9796 $this->name = $name;
9797 }
9798 public function getName()
9799 {
9800 return $this->name;
9801 }
9802 public function setReleaseDate($releaseDate)
9803 {
9804 $this->releaseDate = $releaseDate;
9805 }
9806 public function getReleaseDate()
9807 {
9808 return $this->releaseDate;
9809 }
9810 }
9811
9812 class Google_Service_YouTube_LiveChatBan extends Google_Model
9813 {
9814 protected $internal_gapi_mappings = array(
9815 );
9816 public $etag;
9817 public $id;
9818 public $kind;
9819 protected $snippetType = 'Google_Service_YouTube_LiveChatBanSnippet';
9820 protected $snippetDataType = '';
9821
9822
9823 public function setEtag($etag)
9824 {
9825 $this->etag = $etag;
9826 }
9827 public function getEtag()
9828 {
9829 return $this->etag;
9830 }
9831 public function setId($id)
9832 {
9833 $this->id = $id;
9834 }
9835 public function getId()
9836 {
9837 return $this->id;
9838 }
9839 public function setKind($kind)
9840 {
9841 $this->kind = $kind;
9842 }
9843 public function getKind()
9844 {
9845 return $this->kind;
9846 }
9847 public function setSnippet(Google_Service_YouTube_LiveChatBanSnippet $snippet)
9848 {
9849 $this->snippet = $snippet;
9850 }
9851 public function getSnippet()
9852 {
9853 return $this->snippet;
9854 }
9855 }
9856
9857 class Google_Service_YouTube_LiveChatBanSnippet extends Google_Model
9858 {
9859 protected $internal_gapi_mappings = array(
9860 );
9861 public $banDurationSeconds;
9862 protected $bannedUserDetailsType = 'Google_Service_YouTube_ChannelProfileDetails';
9863 protected $bannedUserDetailsDataType = '';
9864 public $liveChatId;
9865 public $type;
9866
9867
9868 public function setBanDurationSeconds($banDurationSeconds)
9869 {
9870 $this->banDurationSeconds = $banDurationSeconds;
9871 }
9872 public function getBanDurationSeconds()
9873 {
9874 return $this->banDurationSeconds;
9875 }
9876 public function setBannedUserDetails(Google_Service_YouTube_ChannelProfileDetails $bannedUserDetails)
9877 {
9878 $this->bannedUserDetails = $bannedUserDetails;
9879 }
9880 public function getBannedUserDetails()
9881 {
9882 return $this->bannedUserDetails;
9883 }
9884 public function setLiveChatId($liveChatId)
9885 {
9886 $this->liveChatId = $liveChatId;
9887 }
9888 public function getLiveChatId()
9889 {
9890 return $this->liveChatId;
9891 }
9892 public function setType($type)
9893 {
9894 $this->type = $type;
9895 }
9896 public function getType()
9897 {
9898 return $this->type;
9899 }
9900 }
9901
9902 class Google_Service_YouTube_LiveChatFanFundingEventDetails extends Google_Model
9903 {
9904 protected $internal_gapi_mappings = array(
9905 );
9906 public $amountDisplayString;
9907 public $amountMicros;
9908 public $currency;
9909 public $userComment;
9910
9911
9912 public function setAmountDisplayString($amountDisplayString)
9913 {
9914 $this->amountDisplayString = $amountDisplayString;
9915 }
9916 public function getAmountDisplayString()
9917 {
9918 return $this->amountDisplayString;
9919 }
9920 public function setAmountMicros($amountMicros)
9921 {
9922 $this->amountMicros = $amountMicros;
9923 }
9924 public function getAmountMicros()
9925 {
9926 return $this->amountMicros;
9927 }
9928 public function setCurrency($currency)
9929 {
9930 $this->currency = $currency;
9931 }
9932 public function getCurrency()
9933 {
9934 return $this->currency;
9935 }
9936 public function setUserComment($userComment)
9937 {
9938 $this->userComment = $userComment;
9939 }
9940 public function getUserComment()
9941 {
9942 return $this->userComment;
9943 }
9944 }
9945
9946 class Google_Service_YouTube_LiveChatMessage extends Google_Model
9947 {
9948 protected $internal_gapi_mappings = array(
9949 );
9950 protected $authorDetailsType = 'Google_Service_YouTube_LiveChatMessageAuthorDetails';
9951 protected $authorDetailsDataType = '';
9952 public $etag;
9953 public $id;
9954 public $kind;
9955 protected $snippetType = 'Google_Service_YouTube_LiveChatMessageSnippet';
9956 protected $snippetDataType = '';
9957
9958
9959 public function setAuthorDetails(Google_Service_YouTube_LiveChatMessageAuthorDetails $authorDetails)
9960 {
9961 $this->authorDetails = $authorDetails;
9962 }
9963 public function getAuthorDetails()
9964 {
9965 return $this->authorDetails;
9966 }
9967 public function setEtag($etag)
9968 {
9969 $this->etag = $etag;
9970 }
9971 public function getEtag()
9972 {
9973 return $this->etag;
9974 }
9975 public function setId($id)
9976 {
9977 $this->id = $id;
9978 }
9979 public function getId()
9980 {
9981 return $this->id;
9982 }
9983 public function setKind($kind)
9984 {
9985 $this->kind = $kind;
9986 }
9987 public function getKind()
9988 {
9989 return $this->kind;
9990 }
9991 public function setSnippet(Google_Service_YouTube_LiveChatMessageSnippet $snippet)
9992 {
9993 $this->snippet = $snippet;
9994 }
9995 public function getSnippet()
9996 {
9997 return $this->snippet;
9998 }
9999 }
10000
10001 class Google_Service_YouTube_LiveChatMessageAuthorDetails extends Google_Model
10002 {
10003 protected $internal_gapi_mappings = array(
10004 );
10005 public $channelId;
10006 public $channelUrl;
10007 public $displayName;
10008 public $isChatModerator;
10009 public $isChatOwner;
10010 public $isChatSponsor;
10011 public $isVerified;
10012 public $profileImageUrl;
10013
10014
10015 public function setChannelId($channelId)
10016 {
10017 $this->channelId = $channelId;
10018 }
10019 public function getChannelId()
10020 {
10021 return $this->channelId;
10022 }
10023 public function setChannelUrl($channelUrl)
10024 {
10025 $this->channelUrl = $channelUrl;
10026 }
10027 public function getChannelUrl()
10028 {
10029 return $this->channelUrl;
10030 }
10031 public function setDisplayName($displayName)
10032 {
10033 $this->displayName = $displayName;
10034 }
10035 public function getDisplayName()
10036 {
10037 return $this->displayName;
10038 }
10039 public function setIsChatModerator($isChatModerator)
10040 {
10041 $this->isChatModerator = $isChatModerator;
10042 }
10043 public function getIsChatModerator()
10044 {
10045 return $this->isChatModerator;
10046 }
10047 public function setIsChatOwner($isChatOwner)
10048 {
10049 $this->isChatOwner = $isChatOwner;
10050 }
10051 public function getIsChatOwner()
10052 {
10053 return $this->isChatOwner;
10054 }
10055 public function setIsChatSponsor($isChatSponsor)
10056 {
10057 $this->isChatSponsor = $isChatSponsor;
10058 }
10059 public function getIsChatSponsor()
10060 {
10061 return $this->isChatSponsor;
10062 }
10063 public function setIsVerified($isVerified)
10064 {
10065 $this->isVerified = $isVerified;
10066 }
10067 public function getIsVerified()
10068 {
10069 return $this->isVerified;
10070 }
10071 public function setProfileImageUrl($profileImageUrl)
10072 {
10073 $this->profileImageUrl = $profileImageUrl;
10074 }
10075 public function getProfileImageUrl()
10076 {
10077 return $this->profileImageUrl;
10078 }
10079 }
10080
10081 class Google_Service_YouTube_LiveChatMessageListResponse extends Google_Collection
10082 {
10083 protected $collection_key = 'items';
10084 protected $internal_gapi_mappings = array(
10085 );
10086 public $etag;
10087 public $eventId;
10088 protected $itemsType = 'Google_Service_YouTube_LiveChatMessage';
10089 protected $itemsDataType = 'array';
10090 public $kind;
10091 public $nextPageToken;
10092 public $offlineAt;
10093 protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
10094 protected $pageInfoDataType = '';
10095 public $pollingIntervalMillis;
10096 protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination';
10097 protected $tokenPaginationDataType = '';
10098 public $visitorId;
10099
10100
10101 public function setEtag($etag)
10102 {
10103 $this->etag = $etag;
10104 }
10105 public function getEtag()
10106 {
10107 return $this->etag;
10108 }
10109 public function setEventId($eventId)
10110 {
10111 $this->eventId = $eventId;
10112 }
10113 public function getEventId()
10114 {
10115 return $this->eventId;
10116 }
10117 public function setItems($items)
10118 {
10119 $this->items = $items;
10120 }
10121 public function getItems()
10122 {
10123 return $this->items;
10124 }
10125 public function setKind($kind)
10126 {
10127 $this->kind = $kind;
10128 }
10129 public function getKind()
10130 {
10131 return $this->kind;
10132 }
10133 public function setNextPageToken($nextPageToken)
10134 {
10135 $this->nextPageToken = $nextPageToken;
10136 }
10137 public function getNextPageToken()
10138 {
10139 return $this->nextPageToken;
10140 }
10141 public function setOfflineAt($offlineAt)
10142 {
10143 $this->offlineAt = $offlineAt;
10144 }
10145 public function getOfflineAt()
10146 {
10147 return $this->offlineAt;
10148 }
10149 public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo)
10150 {
10151 $this->pageInfo = $pageInfo;
10152 }
10153 public function getPageInfo()
10154 {
10155 return $this->pageInfo;
10156 }
10157 public function setPollingIntervalMillis($pollingIntervalMillis)
10158 {
10159 $this->pollingIntervalMillis = $pollingIntervalMillis;
10160 }
10161 public function getPollingIntervalMillis()
10162 {
10163 return $this->pollingIntervalMillis;
10164 }
10165 public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination)
10166 {
10167 $this->tokenPagination = $tokenPagination;
10168 }
10169 public function getTokenPagination()
10170 {
10171 return $this->tokenPagination;
10172 }
10173 public function setVisitorId($visitorId)
10174 {
10175 $this->visitorId = $visitorId;
10176 }
10177 public function getVisitorId()
10178 {
10179 return $this->visitorId;
10180 }
10181 }
10182
10183 class Google_Service_YouTube_LiveChatMessageSnippet extends Google_Model
10184 {
10185 protected $internal_gapi_mappings = array(
10186 );
10187 public $authorChannelId;
10188 public $displayMessage;
10189 protected $fanFundingEventDetailsType = 'Google_Service_YouTube_LiveChatFanFundingEventDetails';
10190 protected $fanFundingEventDetailsDataType = '';
10191 public $hasDisplayContent;
10192 public $liveChatId;
10193 public $publishedAt;
10194 protected $textMessageDetailsType = 'Google_Service_YouTube_LiveChatTextMessageDetails';
10195 protected $textMessageDetailsDataType = '';
10196 public $type;
10197
10198
10199 public function setAuthorChannelId($authorChannelId)
10200 {
10201 $this->authorChannelId = $authorChannelId;
10202 }
10203 public function getAuthorChannelId()
10204 {
10205 return $this->authorChannelId;
10206 }
10207 public function setDisplayMessage($displayMessage)
10208 {
10209 $this->displayMessage = $displayMessage;
10210 }
10211 public function getDisplayMessage()
10212 {
10213 return $this->displayMessage;
10214 }
10215 public function setFanFundingEventDetails(Google_Service_YouTube_LiveChatFanFundingEventDetails $fanFundingEventDetails)
10216 {
10217 $this->fanFundingEventDetails = $fanFundingEventDetails;
10218 }
10219 public function getFanFundingEventDetails()
10220 {
10221 return $this->fanFundingEventDetails;
10222 }
10223 public function setHasDisplayContent($hasDisplayContent)
10224 {
10225 $this->hasDisplayContent = $hasDisplayContent;
10226 }
10227 public function getHasDisplayContent()
10228 {
10229 return $this->hasDisplayContent;
10230 }
10231 public function setLiveChatId($liveChatId)
10232 {
10233 $this->liveChatId = $liveChatId;
10234 }
10235 public function getLiveChatId()
10236 {
10237 return $this->liveChatId;
10238 }
10239 public function setPublishedAt($publishedAt)
10240 {
10241 $this->publishedAt = $publishedAt;
10242 }
10243 public function getPublishedAt()
10244 {
10245 return $this->publishedAt;
10246 }
10247 public function setTextMessageDetails(Google_Service_YouTube_LiveChatTextMessageDetails $textMessageDetails)
10248 {
10249 $this->textMessageDetails = $textMessageDetails;
10250 }
10251 public function getTextMessageDetails()
10252 {
10253 return $this->textMessageDetails;
10254 }
10255 public function setType($type)
10256 {
10257 $this->type = $type;
10258 }
10259 public function getType()
10260 {
10261 return $this->type;
10262 }
10263 }
10264
10265 class Google_Service_YouTube_LiveChatModerator extends Google_Model
10266 {
10267 protected $internal_gapi_mappings = array(
10268 );
10269 public $etag;
10270 public $id;
10271 public $kind;
10272 protected $snippetType = 'Google_Service_YouTube_LiveChatModeratorSnippet';
10273 protected $snippetDataType = '';
10274
10275
10276 public function setEtag($etag)
10277 {
10278 $this->etag = $etag;
10279 }
10280 public function getEtag()
10281 {
10282 return $this->etag;
10283 }
10284 public function setId($id)
10285 {
10286 $this->id = $id;
10287 }
10288 public function getId()
10289 {
10290 return $this->id;
10291 }
10292 public function setKind($kind)
10293 {
10294 $this->kind = $kind;
10295 }
10296 public function getKind()
10297 {
10298 return $this->kind;
10299 }
10300 public function setSnippet(Google_Service_YouTube_LiveChatModeratorSnippet $snippet)
10301 {
10302 $this->snippet = $snippet;
10303 }
10304 public function getSnippet()
10305 {
10306 return $this->snippet;
10307 }
10308 }
10309
10310 class Google_Service_YouTube_LiveChatModeratorListResponse extends Google_Collection
10311 {
10312 protected $collection_key = 'items';
10313 protected $internal_gapi_mappings = array(
10314 );
10315 public $etag;
10316 public $eventId;
10317 protected $itemsType = 'Google_Service_YouTube_LiveChatModerator';
10318 protected $itemsDataType = 'array';
10319 public $kind;
10320 public $nextPageToken;
10321 protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
10322 protected $pageInfoDataType = '';
10323 public $prevPageToken;
10324 protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination';
10325 protected $tokenPaginationDataType = '';
10326 public $visitorId;
10327
10328
10329 public function setEtag($etag)
10330 {
10331 $this->etag = $etag;
10332 }
10333 public function getEtag()
10334 {
10335 return $this->etag;
10336 }
10337 public function setEventId($eventId)
10338 {
10339 $this->eventId = $eventId;
10340 }
10341 public function getEventId()
10342 {
10343 return $this->eventId;
10344 }
10345 public function setItems($items)
10346 {
10347 $this->items = $items;
10348 }
10349 public function getItems()
10350 {
10351 return $this->items;
10352 }
10353 public function setKind($kind)
10354 {
10355 $this->kind = $kind;
10356 }
10357 public function getKind()
10358 {
10359 return $this->kind;
10360 }
10361 public function setNextPageToken($nextPageToken)
10362 {
10363 $this->nextPageToken = $nextPageToken;
10364 }
10365 public function getNextPageToken()
10366 {
10367 return $this->nextPageToken;
10368 }
10369 public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo)
10370 {
10371 $this->pageInfo = $pageInfo;
10372 }
10373 public function getPageInfo()
10374 {
10375 return $this->pageInfo;
10376 }
10377 public function setPrevPageToken($prevPageToken)
10378 {
10379 $this->prevPageToken = $prevPageToken;
10380 }
10381 public function getPrevPageToken()
10382 {
10383 return $this->prevPageToken;
10384 }
10385 public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination)
10386 {
10387 $this->tokenPagination = $tokenPagination;
10388 }
10389 public function getTokenPagination()
10390 {
10391 return $this->tokenPagination;
10392 }
10393 public function setVisitorId($visitorId)
10394 {
10395 $this->visitorId = $visitorId;
10396 }
10397 public function getVisitorId()
10398 {
10399 return $this->visitorId;
10400 }
10401 }
10402
10403 class Google_Service_YouTube_LiveChatModeratorSnippet extends Google_Model
10404 {
10405 protected $internal_gapi_mappings = array(
10406 );
10407 public $liveChatId;
10408 protected $moderatorDetailsType = 'Google_Service_YouTube_ChannelProfileDetails';
10409 protected $moderatorDetailsDataType = '';
10410
10411
10412 public function setLiveChatId($liveChatId)
10413 {
10414 $this->liveChatId = $liveChatId;
10415 }
10416 public function getLiveChatId()
10417 {
10418 return $this->liveChatId;
10419 }
10420 public function setModeratorDetails(Google_Service_YouTube_ChannelProfileDetails $moderatorDetails)
10421 {
10422 $this->moderatorDetails = $moderatorDetails;
10423 }
10424 public function getModeratorDetails()
10425 {
10426 return $this->moderatorDetails;
10427 }
10428 }
10429
10430 class Google_Service_YouTube_LiveChatTextMessageDetails extends Google_Model
10431 {
10432 protected $internal_gapi_mappings = array(
10433 );
10434 public $messageText;
10435
10436
10437 public function setMessageText($messageText)
10438 {
10439 $this->messageText = $messageText;
10440 }
10441 public function getMessageText()
10442 {
10443 return $this->messageText;
10444 }
10445 }
10446
10447 class Google_Service_YouTube_LiveStream extends Google_Model
10448 {
10449 protected $internal_gapi_mappings = array(
10450 );
10451 protected $cdnType = 'Google_Service_YouTube_CdnSettings';
10452 protected $cdnDataType = '';
10453 protected $contentDetailsType = 'Google_Service_YouTube_LiveStreamContentDetails';
10454 protected $contentDetailsDataType = '';
10455 public $etag;
10456 public $id;
10457 public $kind;
10458 protected $snippetType = 'Google_Service_YouTube_LiveStreamSnippet';
10459 protected $snippetDataType = '';
10460 protected $statusType = 'Google_Service_YouTube_LiveStreamStatus';
10461 protected $statusDataType = '';
10462
10463
10464 public function setCdn(Google_Service_YouTube_CdnSettings $cdn)
10465 {
10466 $this->cdn = $cdn;
10467 }
10468 public function getCdn()
10469 {
10470 return $this->cdn;
10471 }
10472 public function setContentDetails(Google_Service_YouTube_LiveStreamContentDetails $contentDetails)
10473 {
10474 $this->contentDetails = $contentDetails;
10475 }
10476 public function getContentDetails()
10477 {
10478 return $this->contentDetails;
10479 }
10480 public function setEtag($etag)
10481 {
10482 $this->etag = $etag;
10483 }
10484 public function getEtag()
10485 {
10486 return $this->etag;
10487 }
10488 public function setId($id)
10489 {
10490 $this->id = $id;
10491 }
10492 public function getId()
10493 {
10494 return $this->id;
10495 }
10496 public function setKind($kind)
10497 {
10498 $this->kind = $kind;
10499 }
10500 public function getKind()
10501 {
10502 return $this->kind;
10503 }
10504 public function setSnippet(Google_Service_YouTube_LiveStreamSnippet $snippet)
10505 {
10506 $this->snippet = $snippet;
10507 }
10508 public function getSnippet()
10509 {
10510 return $this->snippet;
10511 }
10512 public function setStatus(Google_Service_YouTube_LiveStreamStatus $status)
10513 {
10514 $this->status = $status;
10515 }
10516 public function getStatus()
10517 {
10518 return $this->status;
10519 }
10520 }
10521
10522 class Google_Service_YouTube_LiveStreamConfigurationIssue extends Google_Model
10523 {
10524 protected $internal_gapi_mappings = array(
10525 );
10526 public $description;
10527 public $reason;
10528 public $severity;
10529 public $type;
10530
10531
10532 public function setDescription($description)
10533 {
10534 $this->description = $description;
10535 }
10536 public function getDescription()
10537 {
10538 return $this->description;
10539 }
10540 public function setReason($reason)
10541 {
10542 $this->reason = $reason;
10543 }
10544 public function getReason()
10545 {
10546 return $this->reason;
10547 }
10548 public function setSeverity($severity)
10549 {
10550 $this->severity = $severity;
10551 }
10552 public function getSeverity()
10553 {
10554 return $this->severity;
10555 }
10556 public function setType($type)
10557 {
10558 $this->type = $type;
10559 }
10560 public function getType()
10561 {
10562 return $this->type;
10563 }
10564 }
10565
10566 class Google_Service_YouTube_LiveStreamContentDetails extends Google_Model
10567 {
10568 protected $internal_gapi_mappings = array(
10569 );
10570 public $closedCaptionsIngestionUrl;
10571 public $isReusable;
10572
10573
10574 public function setClosedCaptionsIngestionUrl($closedCaptionsIngestionUrl)
10575 {
10576 $this->closedCaptionsIngestionUrl = $closedCaptionsIngestionUrl;
10577 }
10578 public function getClosedCaptionsIngestionUrl()
10579 {
10580 return $this->closedCaptionsIngestionUrl;
10581 }
10582 public function setIsReusable($isReusable)
10583 {
10584 $this->isReusable = $isReusable;
10585 }
10586 public function getIsReusable()
10587 {
10588 return $this->isReusable;
10589 }
10590 }
10591
10592 class Google_Service_YouTube_LiveStreamHealthStatus extends Google_Collection
10593 {
10594 protected $collection_key = 'configurationIssues';
10595 protected $internal_gapi_mappings = array(
10596 );
10597 protected $configurationIssuesType = 'Google_Service_YouTube_LiveStreamConfigurationIssue';
10598 protected $configurationIssuesDataType = 'array';
10599 public $lastUpdateTimeSeconds;
10600 public $status;
10601
10602
10603 public function setConfigurationIssues($configurationIssues)
10604 {
10605 $this->configurationIssues = $configurationIssues;
10606 }
10607 public function getConfigurationIssues()
10608 {
10609 return $this->configurationIssues;
10610 }
10611 public function setLastUpdateTimeSeconds($lastUpdateTimeSeconds)
10612 {
10613 $this->lastUpdateTimeSeconds = $lastUpdateTimeSeconds;
10614 }
10615 public function getLastUpdateTimeSeconds()
10616 {
10617 return $this->lastUpdateTimeSeconds;
10618 }
10619 public function setStatus($status)
10620 {
10621 $this->status = $status;
10622 }
10623 public function getStatus()
10624 {
10625 return $this->status;
10626 }
10627 }
10628
10629 class Google_Service_YouTube_LiveStreamListResponse extends Google_Collection
10630 {
10631 protected $collection_key = 'items';
10632 protected $internal_gapi_mappings = array(
10633 );
10634 public $etag;
10635 public $eventId;
10636 protected $itemsType = 'Google_Service_YouTube_LiveStream';
10637 protected $itemsDataType = 'array';
10638 public $kind;
10639 public $nextPageToken;
10640 protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
10641 protected $pageInfoDataType = '';
10642 public $prevPageToken;
10643 protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination';
10644 protected $tokenPaginationDataType = '';
10645 public $visitorId;
10646
10647
10648 public function setEtag($etag)
10649 {
10650 $this->etag = $etag;
10651 }
10652 public function getEtag()
10653 {
10654 return $this->etag;
10655 }
10656 public function setEventId($eventId)
10657 {
10658 $this->eventId = $eventId;
10659 }
10660 public function getEventId()
10661 {
10662 return $this->eventId;
10663 }
10664 public function setItems($items)
10665 {
10666 $this->items = $items;
10667 }
10668 public function getItems()
10669 {
10670 return $this->items;
10671 }
10672 public function setKind($kind)
10673 {
10674 $this->kind = $kind;
10675 }
10676 public function getKind()
10677 {
10678 return $this->kind;
10679 }
10680 public function setNextPageToken($nextPageToken)
10681 {
10682 $this->nextPageToken = $nextPageToken;
10683 }
10684 public function getNextPageToken()
10685 {
10686 return $this->nextPageToken;
10687 }
10688 public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo)
10689 {
10690 $this->pageInfo = $pageInfo;
10691 }
10692 public function getPageInfo()
10693 {
10694 return $this->pageInfo;
10695 }
10696 public function setPrevPageToken($prevPageToken)
10697 {
10698 $this->prevPageToken = $prevPageToken;
10699 }
10700 public function getPrevPageToken()
10701 {
10702 return $this->prevPageToken;
10703 }
10704 public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination)
10705 {
10706 $this->tokenPagination = $tokenPagination;
10707 }
10708 public function getTokenPagination()
10709 {
10710 return $this->tokenPagination;
10711 }
10712 public function setVisitorId($visitorId)
10713 {
10714 $this->visitorId = $visitorId;
10715 }
10716 public function getVisitorId()
10717 {
10718 return $this->visitorId;
10719 }
10720 }
10721
10722 class Google_Service_YouTube_LiveStreamSnippet extends Google_Model
10723 {
10724 protected $internal_gapi_mappings = array(
10725 );
10726 public $channelId;
10727 public $description;
10728 public $isDefaultStream;
10729 public $publishedAt;
10730 public $title;
10731
10732
10733 public function setChannelId($channelId)
10734 {
10735 $this->channelId = $channelId;
10736 }
10737 public function getChannelId()
10738 {
10739 return $this->channelId;
10740 }
10741 public function setDescription($description)
10742 {
10743 $this->description = $description;
10744 }
10745 public function getDescription()
10746 {
10747 return $this->description;
10748 }
10749 public function setIsDefaultStream($isDefaultStream)
10750 {
10751 $this->isDefaultStream = $isDefaultStream;
10752 }
10753 public function getIsDefaultStream()
10754 {
10755 return $this->isDefaultStream;
10756 }
10757 public function setPublishedAt($publishedAt)
10758 {
10759 $this->publishedAt = $publishedAt;
10760 }
10761 public function getPublishedAt()
10762 {
10763 return $this->publishedAt;
10764 }
10765 public function setTitle($title)
10766 {
10767 $this->title = $title;
10768 }
10769 public function getTitle()
10770 {
10771 return $this->title;
10772 }
10773 }
10774
10775 class Google_Service_YouTube_LiveStreamStatus extends Google_Model
10776 {
10777 protected $internal_gapi_mappings = array(
10778 );
10779 protected $healthStatusType = 'Google_Service_YouTube_LiveStreamHealthStatus';
10780 protected $healthStatusDataType = '';
10781 public $streamStatus;
10782
10783
10784 public function setHealthStatus(Google_Service_YouTube_LiveStreamHealthStatus $healthStatus)
10785 {
10786 $this->healthStatus = $healthStatus;
10787 }
10788 public function getHealthStatus()
10789 {
10790 return $this->healthStatus;
10791 }
10792 public function setStreamStatus($streamStatus)
10793 {
10794 $this->streamStatus = $streamStatus;
10795 }
10796 public function getStreamStatus()
10797 {
10798 return $this->streamStatus;
10799 }
10800 }
10801
10802 class Google_Service_YouTube_LocalizedProperty extends Google_Collection
10803 {
10804 protected $collection_key = 'localized';
10805 protected $internal_gapi_mappings = array(
10806 );
10807 public $default;
10808 protected $defaultLanguageType = 'Google_Service_YouTube_LanguageTag';
10809 protected $defaultLanguageDataType = '';
10810 protected $localizedType = 'Google_Service_YouTube_LocalizedString';
10811 protected $localizedDataType = 'array';
10812
10813
10814 public function setDefault($default)
10815 {
10816 $this->default = $default;
10817 }
10818 public function getDefault()
10819 {
10820 return $this->default;
10821 }
10822 public function setDefaultLanguage(Google_Service_YouTube_LanguageTag $defaultLanguage)
10823 {
10824 $this->defaultLanguage = $defaultLanguage;
10825 }
10826 public function getDefaultLanguage()
10827 {
10828 return $this->defaultLanguage;
10829 }
10830 public function setLocalized($localized)
10831 {
10832 $this->localized = $localized;
10833 }
10834 public function getLocalized()
10835 {
10836 return $this->localized;
10837 }
10838 }
10839
10840 class Google_Service_YouTube_LocalizedString extends Google_Model
10841 {
10842 protected $internal_gapi_mappings = array(
10843 );
10844 public $language;
10845 public $value;
10846
10847
10848 public function setLanguage($language)
10849 {
10850 $this->language = $language;
10851 }
10852 public function getLanguage()
10853 {
10854 return $this->language;
10855 }
10856 public function setValue($value)
10857 {
10858 $this->value = $value;
10859 }
10860 public function getValue()
10861 {
10862 return $this->value;
10863 }
10864 }
10865
10866 class Google_Service_YouTube_MonitorStreamInfo extends Google_Model
10867 {
10868 protected $internal_gapi_mappings = array(
10869 );
10870 public $broadcastStreamDelayMs;
10871 public $embedHtml;
10872 public $enableMonitorStream;
10873
10874
10875 public function setBroadcastStreamDelayMs($broadcastStreamDelayMs)
10876 {
10877 $this->broadcastStreamDelayMs = $broadcastStreamDelayMs;
10878 }
10879 public function getBroadcastStreamDelayMs()
10880 {
10881 return $this->broadcastStreamDelayMs;
10882 }
10883 public function setEmbedHtml($embedHtml)
10884 {
10885 $this->embedHtml = $embedHtml;
10886 }
10887 public function getEmbedHtml()
10888 {
10889 return $this->embedHtml;
10890 }
10891 public function setEnableMonitorStream($enableMonitorStream)
10892 {
10893 $this->enableMonitorStream = $enableMonitorStream;
10894 }
10895 public function getEnableMonitorStream()
10896 {
10897 return $this->enableMonitorStream;
10898 }
10899 }
10900
10901 class Google_Service_YouTube_PageInfo extends Google_Model
10902 {
10903 protected $internal_gapi_mappings = array(
10904 );
10905 public $resultsPerPage;
10906 public $totalResults;
10907
10908
10909 public function setResultsPerPage($resultsPerPage)
10910 {
10911 $this->resultsPerPage = $resultsPerPage;
10912 }
10913 public function getResultsPerPage()
10914 {
10915 return $this->resultsPerPage;
10916 }
10917 public function setTotalResults($totalResults)
10918 {
10919 $this->totalResults = $totalResults;
10920 }
10921 public function getTotalResults()
10922 {
10923 return $this->totalResults;
10924 }
10925 }
10926
10927 class Google_Service_YouTube_Playlist extends Google_Model
10928 {
10929 protected $internal_gapi_mappings = array(
10930 );
10931 protected $contentDetailsType = 'Google_Service_YouTube_PlaylistContentDetails';
10932 protected $contentDetailsDataType = '';
10933 public $etag;
10934 public $id;
10935 public $kind;
10936 protected $localizationsType = 'Google_Service_YouTube_PlaylistLocalization';
10937 protected $localizationsDataType = 'map';
10938 protected $playerType = 'Google_Service_YouTube_PlaylistPlayer';
10939 protected $playerDataType = '';
10940 protected $snippetType = 'Google_Service_YouTube_PlaylistSnippet';
10941 protected $snippetDataType = '';
10942 protected $statusType = 'Google_Service_YouTube_PlaylistStatus';
10943 protected $statusDataType = '';
10944
10945
10946 public function setContentDetails(Google_Service_YouTube_PlaylistContentDetails $contentDetails)
10947 {
10948 $this->contentDetails = $contentDetails;
10949 }
10950 public function getContentDetails()
10951 {
10952 return $this->contentDetails;
10953 }
10954 public function setEtag($etag)
10955 {
10956 $this->etag = $etag;
10957 }
10958 public function getEtag()
10959 {
10960 return $this->etag;
10961 }
10962 public function setId($id)
10963 {
10964 $this->id = $id;
10965 }
10966 public function getId()
10967 {
10968 return $this->id;
10969 }
10970 public function setKind($kind)
10971 {
10972 $this->kind = $kind;
10973 }
10974 public function getKind()
10975 {
10976 return $this->kind;
10977 }
10978 public function setLocalizations($localizations)
10979 {
10980 $this->localizations = $localizations;
10981 }
10982 public function getLocalizations()
10983 {
10984 return $this->localizations;
10985 }
10986 public function setPlayer(Google_Service_YouTube_PlaylistPlayer $player)
10987 {
10988 $this->player = $player;
10989 }
10990 public function getPlayer()
10991 {
10992 return $this->player;
10993 }
10994 public function setSnippet(Google_Service_YouTube_PlaylistSnippet $snippet)
10995 {
10996 $this->snippet = $snippet;
10997 }
10998 public function getSnippet()
10999 {
11000 return $this->snippet;
11001 }
11002 public function setStatus(Google_Service_YouTube_PlaylistStatus $status)
11003 {
11004 $this->status = $status;
11005 }
11006 public function getStatus()
11007 {
11008 return $this->status;
11009 }
11010 }
11011
11012 class Google_Service_YouTube_PlaylistContentDetails extends Google_Model
11013 {
11014 protected $internal_gapi_mappings = array(
11015 );
11016 public $itemCount;
11017
11018
11019 public function setItemCount($itemCount)
11020 {
11021 $this->itemCount = $itemCount;
11022 }
11023 public function getItemCount()
11024 {
11025 return $this->itemCount;
11026 }
11027 }
11028
11029 class Google_Service_YouTube_PlaylistItem extends Google_Model
11030 {
11031 protected $internal_gapi_mappings = array(
11032 );
11033 protected $contentDetailsType = 'Google_Service_YouTube_PlaylistItemContentDetails';
11034 protected $contentDetailsDataType = '';
11035 public $etag;
11036 public $id;
11037 public $kind;
11038 protected $snippetType = 'Google_Service_YouTube_PlaylistItemSnippet';
11039 protected $snippetDataType = '';
11040 protected $statusType = 'Google_Service_YouTube_PlaylistItemStatus';
11041 protected $statusDataType = '';
11042
11043
11044 public function setContentDetails(Google_Service_YouTube_PlaylistItemContentDetails $contentDetails)
11045 {
11046 $this->contentDetails = $contentDetails;
11047 }
11048 public function getContentDetails()
11049 {
11050 return $this->contentDetails;
11051 }
11052 public function setEtag($etag)
11053 {
11054 $this->etag = $etag;
11055 }
11056 public function getEtag()
11057 {
11058 return $this->etag;
11059 }
11060 public function setId($id)
11061 {
11062 $this->id = $id;
11063 }
11064 public function getId()
11065 {
11066 return $this->id;
11067 }
11068 public function setKind($kind)
11069 {
11070 $this->kind = $kind;
11071 }
11072 public function getKind()
11073 {
11074 return $this->kind;
11075 }
11076 public function setSnippet(Google_Service_YouTube_PlaylistItemSnippet $snippet)
11077 {
11078 $this->snippet = $snippet;
11079 }
11080 public function getSnippet()
11081 {
11082 return $this->snippet;
11083 }
11084 public function setStatus(Google_Service_YouTube_PlaylistItemStatus $status)
11085 {
11086 $this->status = $status;
11087 }
11088 public function getStatus()
11089 {
11090 return $this->status;
11091 }
11092 }
11093
11094 class Google_Service_YouTube_PlaylistItemContentDetails extends Google_Model
11095 {
11096 protected $internal_gapi_mappings = array(
11097 );
11098 public $endAt;
11099 public $note;
11100 public $startAt;
11101 public $videoId;
11102
11103
11104 public function setEndAt($endAt)
11105 {
11106 $this->endAt = $endAt;
11107 }
11108 public function getEndAt()
11109 {
11110 return $this->endAt;
11111 }
11112 public function setNote($note)
11113 {
11114 $this->note = $note;
11115 }
11116 public function getNote()
11117 {
11118 return $this->note;
11119 }
11120 public function setStartAt($startAt)
11121 {
11122 $this->startAt = $startAt;
11123 }
11124 public function getStartAt()
11125 {
11126 return $this->startAt;
11127 }
11128 public function setVideoId($videoId)
11129 {
11130 $this->videoId = $videoId;
11131 }
11132 public function getVideoId()
11133 {
11134 return $this->videoId;
11135 }
11136 }
11137
11138 class Google_Service_YouTube_PlaylistItemListResponse extends Google_Collection
11139 {
11140 protected $collection_key = 'items';
11141 protected $internal_gapi_mappings = array(
11142 );
11143 public $etag;
11144 public $eventId;
11145 protected $itemsType = 'Google_Service_YouTube_PlaylistItem';
11146 protected $itemsDataType = 'array';
11147 public $kind;
11148 public $nextPageToken;
11149 protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
11150 protected $pageInfoDataType = '';
11151 public $prevPageToken;
11152 protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination';
11153 protected $tokenPaginationDataType = '';
11154 public $visitorId;
11155
11156
11157 public function setEtag($etag)
11158 {
11159 $this->etag = $etag;
11160 }
11161 public function getEtag()
11162 {
11163 return $this->etag;
11164 }
11165 public function setEventId($eventId)
11166 {
11167 $this->eventId = $eventId;
11168 }
11169 public function getEventId()
11170 {
11171 return $this->eventId;
11172 }
11173 public function setItems($items)
11174 {
11175 $this->items = $items;
11176 }
11177 public function getItems()
11178 {
11179 return $this->items;
11180 }
11181 public function setKind($kind)
11182 {
11183 $this->kind = $kind;
11184 }
11185 public function getKind()
11186 {
11187 return $this->kind;
11188 }
11189 public function setNextPageToken($nextPageToken)
11190 {
11191 $this->nextPageToken = $nextPageToken;
11192 }
11193 public function getNextPageToken()
11194 {
11195 return $this->nextPageToken;
11196 }
11197 public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo)
11198 {
11199 $this->pageInfo = $pageInfo;
11200 }
11201 public function getPageInfo()
11202 {
11203 return $this->pageInfo;
11204 }
11205 public function setPrevPageToken($prevPageToken)
11206 {
11207 $this->prevPageToken = $prevPageToken;
11208 }
11209 public function getPrevPageToken()
11210 {
11211 return $this->prevPageToken;
11212 }
11213 public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination)
11214 {
11215 $this->tokenPagination = $tokenPagination;
11216 }
11217 public function getTokenPagination()
11218 {
11219 return $this->tokenPagination;
11220 }
11221 public function setVisitorId($visitorId)
11222 {
11223 $this->visitorId = $visitorId;
11224 }
11225 public function getVisitorId()
11226 {
11227 return $this->visitorId;
11228 }
11229 }
11230
11231 class Google_Service_YouTube_PlaylistItemSnippet extends Google_Model
11232 {
11233 protected $internal_gapi_mappings = array(
11234 );
11235 public $channelId;
11236 public $channelTitle;
11237 public $description;
11238 public $playlistId;
11239 public $position;
11240 public $publishedAt;
11241 protected $resourceIdType = 'Google_Service_YouTube_ResourceId';
11242 protected $resourceIdDataType = '';
11243 protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails';
11244 protected $thumbnailsDataType = '';
11245 public $title;
11246
11247
11248 public function setChannelId($channelId)
11249 {
11250 $this->channelId = $channelId;
11251 }
11252 public function getChannelId()
11253 {
11254 return $this->channelId;
11255 }
11256 public function setChannelTitle($channelTitle)
11257 {
11258 $this->channelTitle = $channelTitle;
11259 }
11260 public function getChannelTitle()
11261 {
11262 return $this->channelTitle;
11263 }
11264 public function setDescription($description)
11265 {
11266 $this->description = $description;
11267 }
11268 public function getDescription()
11269 {
11270 return $this->description;
11271 }
11272 public function setPlaylistId($playlistId)
11273 {
11274 $this->playlistId = $playlistId;
11275 }
11276 public function getPlaylistId()
11277 {
11278 return $this->playlistId;
11279 }
11280 public function setPosition($position)
11281 {
11282 $this->position = $position;
11283 }
11284 public function getPosition()
11285 {
11286 return $this->position;
11287 }
11288 public function setPublishedAt($publishedAt)
11289 {
11290 $this->publishedAt = $publishedAt;
11291 }
11292 public function getPublishedAt()
11293 {
11294 return $this->publishedAt;
11295 }
11296 public function setResourceId(Google_Service_YouTube_ResourceId $resourceId)
11297 {
11298 $this->resourceId = $resourceId;
11299 }
11300 public function getResourceId()
11301 {
11302 return $this->resourceId;
11303 }
11304 public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails)
11305 {
11306 $this->thumbnails = $thumbnails;
11307 }
11308 public function getThumbnails()
11309 {
11310 return $this->thumbnails;
11311 }
11312 public function setTitle($title)
11313 {
11314 $this->title = $title;
11315 }
11316 public function getTitle()
11317 {
11318 return $this->title;
11319 }
11320 }
11321
11322 class Google_Service_YouTube_PlaylistItemStatus extends Google_Model
11323 {
11324 protected $internal_gapi_mappings = array(
11325 );
11326 public $privacyStatus;
11327
11328
11329 public function setPrivacyStatus($privacyStatus)
11330 {
11331 $this->privacyStatus = $privacyStatus;
11332 }
11333 public function getPrivacyStatus()
11334 {
11335 return $this->privacyStatus;
11336 }
11337 }
11338
11339 class Google_Service_YouTube_PlaylistListResponse extends Google_Collection
11340 {
11341 protected $collection_key = 'items';
11342 protected $internal_gapi_mappings = array(
11343 );
11344 public $etag;
11345 public $eventId;
11346 protected $itemsType = 'Google_Service_YouTube_Playlist';
11347 protected $itemsDataType = 'array';
11348 public $kind;
11349 public $nextPageToken;
11350 protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
11351 protected $pageInfoDataType = '';
11352 public $prevPageToken;
11353 protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination';
11354 protected $tokenPaginationDataType = '';
11355 public $visitorId;
11356
11357
11358 public function setEtag($etag)
11359 {
11360 $this->etag = $etag;
11361 }
11362 public function getEtag()
11363 {
11364 return $this->etag;
11365 }
11366 public function setEventId($eventId)
11367 {
11368 $this->eventId = $eventId;
11369 }
11370 public function getEventId()
11371 {
11372 return $this->eventId;
11373 }
11374 public function setItems($items)
11375 {
11376 $this->items = $items;
11377 }
11378 public function getItems()
11379 {
11380 return $this->items;
11381 }
11382 public function setKind($kind)
11383 {
11384 $this->kind = $kind;
11385 }
11386 public function getKind()
11387 {
11388 return $this->kind;
11389 }
11390 public function setNextPageToken($nextPageToken)
11391 {
11392 $this->nextPageToken = $nextPageToken;
11393 }
11394 public function getNextPageToken()
11395 {
11396 return $this->nextPageToken;
11397 }
11398 public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo)
11399 {
11400 $this->pageInfo = $pageInfo;
11401 }
11402 public function getPageInfo()
11403 {
11404 return $this->pageInfo;
11405 }
11406 public function setPrevPageToken($prevPageToken)
11407 {
11408 $this->prevPageToken = $prevPageToken;
11409 }
11410 public function getPrevPageToken()
11411 {
11412 return $this->prevPageToken;
11413 }
11414 public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination)
11415 {
11416 $this->tokenPagination = $tokenPagination;
11417 }
11418 public function getTokenPagination()
11419 {
11420 return $this->tokenPagination;
11421 }
11422 public function setVisitorId($visitorId)
11423 {
11424 $this->visitorId = $visitorId;
11425 }
11426 public function getVisitorId()
11427 {
11428 return $this->visitorId;
11429 }
11430 }
11431
11432 class Google_Service_YouTube_PlaylistLocalization extends Google_Model
11433 {
11434 protected $internal_gapi_mappings = array(
11435 );
11436 public $description;
11437 public $title;
11438
11439
11440 public function setDescription($description)
11441 {
11442 $this->description = $description;
11443 }
11444 public function getDescription()
11445 {
11446 return $this->description;
11447 }
11448 public function setTitle($title)
11449 {
11450 $this->title = $title;
11451 }
11452 public function getTitle()
11453 {
11454 return $this->title;
11455 }
11456 }
11457
11458 class Google_Service_YouTube_PlaylistPlayer extends Google_Model
11459 {
11460 protected $internal_gapi_mappings = array(
11461 );
11462 public $embedHtml;
11463
11464
11465 public function setEmbedHtml($embedHtml)
11466 {
11467 $this->embedHtml = $embedHtml;
11468 }
11469 public function getEmbedHtml()
11470 {
11471 return $this->embedHtml;
11472 }
11473 }
11474
11475 class Google_Service_YouTube_PlaylistSnippet extends Google_Collection
11476 {
11477 protected $collection_key = 'tags';
11478 protected $internal_gapi_mappings = array(
11479 );
11480 public $channelId;
11481 public $channelTitle;
11482 public $defaultLanguage;
11483 public $description;
11484 protected $localizedType = 'Google_Service_YouTube_PlaylistLocalization';
11485 protected $localizedDataType = '';
11486 public $publishedAt;
11487 public $tags;
11488 protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails';
11489 protected $thumbnailsDataType = '';
11490 public $title;
11491
11492
11493 public function setChannelId($channelId)
11494 {
11495 $this->channelId = $channelId;
11496 }
11497 public function getChannelId()
11498 {
11499 return $this->channelId;
11500 }
11501 public function setChannelTitle($channelTitle)
11502 {
11503 $this->channelTitle = $channelTitle;
11504 }
11505 public function getChannelTitle()
11506 {
11507 return $this->channelTitle;
11508 }
11509 public function setDefaultLanguage($defaultLanguage)
11510 {
11511 $this->defaultLanguage = $defaultLanguage;
11512 }
11513 public function getDefaultLanguage()
11514 {
11515 return $this->defaultLanguage;
11516 }
11517 public function setDescription($description)
11518 {
11519 $this->description = $description;
11520 }
11521 public function getDescription()
11522 {
11523 return $this->description;
11524 }
11525 public function setLocalized(Google_Service_YouTube_PlaylistLocalization $localized)
11526 {
11527 $this->localized = $localized;
11528 }
11529 public function getLocalized()
11530 {
11531 return $this->localized;
11532 }
11533 public function setPublishedAt($publishedAt)
11534 {
11535 $this->publishedAt = $publishedAt;
11536 }
11537 public function getPublishedAt()
11538 {
11539 return $this->publishedAt;
11540 }
11541 public function setTags($tags)
11542 {
11543 $this->tags = $tags;
11544 }
11545 public function getTags()
11546 {
11547 return $this->tags;
11548 }
11549 public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails)
11550 {
11551 $this->thumbnails = $thumbnails;
11552 }
11553 public function getThumbnails()
11554 {
11555 return $this->thumbnails;
11556 }
11557 public function setTitle($title)
11558 {
11559 $this->title = $title;
11560 }
11561 public function getTitle()
11562 {
11563 return $this->title;
11564 }
11565 }
11566
11567 class Google_Service_YouTube_PlaylistStatus extends Google_Model
11568 {
11569 protected $internal_gapi_mappings = array(
11570 );
11571 public $privacyStatus;
11572
11573
11574 public function setPrivacyStatus($privacyStatus)
11575 {
11576 $this->privacyStatus = $privacyStatus;
11577 }
11578 public function getPrivacyStatus()
11579 {
11580 return $this->privacyStatus;
11581 }
11582 }
11583
11584 class Google_Service_YouTube_PromotedItem extends Google_Model
11585 {
11586 protected $internal_gapi_mappings = array(
11587 );
11588 public $customMessage;
11589 protected $idType = 'Google_Service_YouTube_PromotedItemId';
11590 protected $idDataType = '';
11591 public $promotedByContentOwner;
11592 protected $timingType = 'Google_Service_YouTube_InvideoTiming';
11593 protected $timingDataType = '';
11594
11595
11596 public function setCustomMessage($customMessage)
11597 {
11598 $this->customMessage = $customMessage;
11599 }
11600 public function getCustomMessage()
11601 {
11602 return $this->customMessage;
11603 }
11604 public function setId(Google_Service_YouTube_PromotedItemId $id)
11605 {
11606 $this->id = $id;
11607 }
11608 public function getId()
11609 {
11610 return $this->id;
11611 }
11612 public function setPromotedByContentOwner($promotedByContentOwner)
11613 {
11614 $this->promotedByContentOwner = $promotedByContentOwner;
11615 }
11616 public function getPromotedByContentOwner()
11617 {
11618 return $this->promotedByContentOwner;
11619 }
11620 public function setTiming(Google_Service_YouTube_InvideoTiming $timing)
11621 {
11622 $this->timing = $timing;
11623 }
11624 public function getTiming()
11625 {
11626 return $this->timing;
11627 }
11628 }
11629
11630 class Google_Service_YouTube_PromotedItemId extends Google_Model
11631 {
11632 protected $internal_gapi_mappings = array(
11633 );
11634 public $recentlyUploadedBy;
11635 public $type;
11636 public $videoId;
11637 public $websiteUrl;
11638
11639
11640 public function setRecentlyUploadedBy($recentlyUploadedBy)
11641 {
11642 $this->recentlyUploadedBy = $recentlyUploadedBy;
11643 }
11644 public function getRecentlyUploadedBy()
11645 {
11646 return $this->recentlyUploadedBy;
11647 }
11648 public function setType($type)
11649 {
11650 $this->type = $type;
11651 }
11652 public function getType()
11653 {
11654 return $this->type;
11655 }
11656 public function setVideoId($videoId)
11657 {
11658 $this->videoId = $videoId;
11659 }
11660 public function getVideoId()
11661 {
11662 return $this->videoId;
11663 }
11664 public function setWebsiteUrl($websiteUrl)
11665 {
11666 $this->websiteUrl = $websiteUrl;
11667 }
11668 public function getWebsiteUrl()
11669 {
11670 return $this->websiteUrl;
11671 }
11672 }
11673
11674 class Google_Service_YouTube_PropertyValue extends Google_Model
11675 {
11676 protected $internal_gapi_mappings = array(
11677 );
11678 public $property;
11679 public $value;
11680
11681
11682 public function setProperty($property)
11683 {
11684 $this->property = $property;
11685 }
11686 public function getProperty()
11687 {
11688 return $this->property;
11689 }
11690 public function setValue($value)
11691 {
11692 $this->value = $value;
11693 }
11694 public function getValue()
11695 {
11696 return $this->value;
11697 }
11698 }
11699
11700 class Google_Service_YouTube_ResourceId extends Google_Model
11701 {
11702 protected $internal_gapi_mappings = array(
11703 );
11704 public $channelId;
11705 public $kind;
11706 public $playlistId;
11707 public $videoId;
11708
11709
11710 public function setChannelId($channelId)
11711 {
11712 $this->channelId = $channelId;
11713 }
11714 public function getChannelId()
11715 {
11716 return $this->channelId;
11717 }
11718 public function setKind($kind)
11719 {
11720 $this->kind = $kind;
11721 }
11722 public function getKind()
11723 {
11724 return $this->kind;
11725 }
11726 public function setPlaylistId($playlistId)
11727 {
11728 $this->playlistId = $playlistId;
11729 }
11730 public function getPlaylistId()
11731 {
11732 return $this->playlistId;
11733 }
11734 public function setVideoId($videoId)
11735 {
11736 $this->videoId = $videoId;
11737 }
11738 public function getVideoId()
11739 {
11740 return $this->videoId;
11741 }
11742 }
11743
11744 class Google_Service_YouTube_SearchListResponse extends Google_Collection
11745 {
11746 protected $collection_key = 'items';
11747 protected $internal_gapi_mappings = array(
11748 );
11749 public $etag;
11750 public $eventId;
11751 protected $itemsType = 'Google_Service_YouTube_SearchResult';
11752 protected $itemsDataType = 'array';
11753 public $kind;
11754 public $nextPageToken;
11755 protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
11756 protected $pageInfoDataType = '';
11757 public $prevPageToken;
11758 public $regionCode;
11759 protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination';
11760 protected $tokenPaginationDataType = '';
11761 public $visitorId;
11762
11763
11764 public function setEtag($etag)
11765 {
11766 $this->etag = $etag;
11767 }
11768 public function getEtag()
11769 {
11770 return $this->etag;
11771 }
11772 public function setEventId($eventId)
11773 {
11774 $this->eventId = $eventId;
11775 }
11776 public function getEventId()
11777 {
11778 return $this->eventId;
11779 }
11780 public function setItems($items)
11781 {
11782 $this->items = $items;
11783 }
11784 public function getItems()
11785 {
11786 return $this->items;
11787 }
11788 public function setKind($kind)
11789 {
11790 $this->kind = $kind;
11791 }
11792 public function getKind()
11793 {
11794 return $this->kind;
11795 }
11796 public function setNextPageToken($nextPageToken)
11797 {
11798 $this->nextPageToken = $nextPageToken;
11799 }
11800 public function getNextPageToken()
11801 {
11802 return $this->nextPageToken;
11803 }
11804 public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo)
11805 {
11806 $this->pageInfo = $pageInfo;
11807 }
11808 public function getPageInfo()
11809 {
11810 return $this->pageInfo;
11811 }
11812 public function setPrevPageToken($prevPageToken)
11813 {
11814 $this->prevPageToken = $prevPageToken;
11815 }
11816 public function getPrevPageToken()
11817 {
11818 return $this->prevPageToken;
11819 }
11820 public function setRegionCode($regionCode)
11821 {
11822 $this->regionCode = $regionCode;
11823 }
11824 public function getRegionCode()
11825 {
11826 return $this->regionCode;
11827 }
11828 public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination)
11829 {
11830 $this->tokenPagination = $tokenPagination;
11831 }
11832 public function getTokenPagination()
11833 {
11834 return $this->tokenPagination;
11835 }
11836 public function setVisitorId($visitorId)
11837 {
11838 $this->visitorId = $visitorId;
11839 }
11840 public function getVisitorId()
11841 {
11842 return $this->visitorId;
11843 }
11844 }
11845
11846 class Google_Service_YouTube_SearchResult extends Google_Model
11847 {
11848 protected $internal_gapi_mappings = array(
11849 );
11850 public $etag;
11851 protected $idType = 'Google_Service_YouTube_ResourceId';
11852 protected $idDataType = '';
11853 public $kind;
11854 protected $snippetType = 'Google_Service_YouTube_SearchResultSnippet';
11855 protected $snippetDataType = '';
11856
11857
11858 public function setEtag($etag)
11859 {
11860 $this->etag = $etag;
11861 }
11862 public function getEtag()
11863 {
11864 return $this->etag;
11865 }
11866 public function setId(Google_Service_YouTube_ResourceId $id)
11867 {
11868 $this->id = $id;
11869 }
11870 public function getId()
11871 {
11872 return $this->id;
11873 }
11874 public function setKind($kind)
11875 {
11876 $this->kind = $kind;
11877 }
11878 public function getKind()
11879 {
11880 return $this->kind;
11881 }
11882 public function setSnippet(Google_Service_YouTube_SearchResultSnippet $snippet)
11883 {
11884 $this->snippet = $snippet;
11885 }
11886 public function getSnippet()
11887 {
11888 return $this->snippet;
11889 }
11890 }
11891
11892 class Google_Service_YouTube_SearchResultSnippet extends Google_Model
11893 {
11894 protected $internal_gapi_mappings = array(
11895 );
11896 public $channelId;
11897 public $channelTitle;
11898 public $description;
11899 public $liveBroadcastContent;
11900 public $publishedAt;
11901 protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails';
11902 protected $thumbnailsDataType = '';
11903 public $title;
11904
11905
11906 public function setChannelId($channelId)
11907 {
11908 $this->channelId = $channelId;
11909 }
11910 public function getChannelId()
11911 {
11912 return $this->channelId;
11913 }
11914 public function setChannelTitle($channelTitle)
11915 {
11916 $this->channelTitle = $channelTitle;
11917 }
11918 public function getChannelTitle()
11919 {
11920 return $this->channelTitle;
11921 }
11922 public function setDescription($description)
11923 {
11924 $this->description = $description;
11925 }
11926 public function getDescription()
11927 {
11928 return $this->description;
11929 }
11930 public function setLiveBroadcastContent($liveBroadcastContent)
11931 {
11932 $this->liveBroadcastContent = $liveBroadcastContent;
11933 }
11934 public function getLiveBroadcastContent()
11935 {
11936 return $this->liveBroadcastContent;
11937 }
11938 public function setPublishedAt($publishedAt)
11939 {
11940 $this->publishedAt = $publishedAt;
11941 }
11942 public function getPublishedAt()
11943 {
11944 return $this->publishedAt;
11945 }
11946 public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails)
11947 {
11948 $this->thumbnails = $thumbnails;
11949 }
11950 public function getThumbnails()
11951 {
11952 return $this->thumbnails;
11953 }
11954 public function setTitle($title)
11955 {
11956 $this->title = $title;
11957 }
11958 public function getTitle()
11959 {
11960 return $this->title;
11961 }
11962 }
11963
11964 class Google_Service_YouTube_Sponsor extends Google_Model
11965 {
11966 protected $internal_gapi_mappings = array(
11967 );
11968 public $etag;
11969 public $id;
11970 public $kind;
11971 protected $snippetType = 'Google_Service_YouTube_SponsorSnippet';
11972 protected $snippetDataType = '';
11973
11974
11975 public function setEtag($etag)
11976 {
11977 $this->etag = $etag;
11978 }
11979 public function getEtag()
11980 {
11981 return $this->etag;
11982 }
11983 public function setId($id)
11984 {
11985 $this->id = $id;
11986 }
11987 public function getId()
11988 {
11989 return $this->id;
11990 }
11991 public function setKind($kind)
11992 {
11993 $this->kind = $kind;
11994 }
11995 public function getKind()
11996 {
11997 return $this->kind;
11998 }
11999 public function setSnippet(Google_Service_YouTube_SponsorSnippet $snippet)
12000 {
12001 $this->snippet = $snippet;
12002 }
12003 public function getSnippet()
12004 {
12005 return $this->snippet;
12006 }
12007 }
12008
12009 class Google_Service_YouTube_SponsorListResponse extends Google_Collection
12010 {
12011 protected $collection_key = 'items';
12012 protected $internal_gapi_mappings = array(
12013 );
12014 public $etag;
12015 public $eventId;
12016 protected $itemsType = 'Google_Service_YouTube_Sponsor';
12017 protected $itemsDataType = 'array';
12018 public $kind;
12019 public $nextPageToken;
12020 protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
12021 protected $pageInfoDataType = '';
12022 protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination';
12023 protected $tokenPaginationDataType = '';
12024 public $visitorId;
12025
12026
12027 public function setEtag($etag)
12028 {
12029 $this->etag = $etag;
12030 }
12031 public function getEtag()
12032 {
12033 return $this->etag;
12034 }
12035 public function setEventId($eventId)
12036 {
12037 $this->eventId = $eventId;
12038 }
12039 public function getEventId()
12040 {
12041 return $this->eventId;
12042 }
12043 public function setItems($items)
12044 {
12045 $this->items = $items;
12046 }
12047 public function getItems()
12048 {
12049 return $this->items;
12050 }
12051 public function setKind($kind)
12052 {
12053 $this->kind = $kind;
12054 }
12055 public function getKind()
12056 {
12057 return $this->kind;
12058 }
12059 public function setNextPageToken($nextPageToken)
12060 {
12061 $this->nextPageToken = $nextPageToken;
12062 }
12063 public function getNextPageToken()
12064 {
12065 return $this->nextPageToken;
12066 }
12067 public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo)
12068 {
12069 $this->pageInfo = $pageInfo;
12070 }
12071 public function getPageInfo()
12072 {
12073 return $this->pageInfo;
12074 }
12075 public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination)
12076 {
12077 $this->tokenPagination = $tokenPagination;
12078 }
12079 public function getTokenPagination()
12080 {
12081 return $this->tokenPagination;
12082 }
12083 public function setVisitorId($visitorId)
12084 {
12085 $this->visitorId = $visitorId;
12086 }
12087 public function getVisitorId()
12088 {
12089 return $this->visitorId;
12090 }
12091 }
12092
12093 class Google_Service_YouTube_SponsorSnippet extends Google_Model
12094 {
12095 protected $internal_gapi_mappings = array(
12096 );
12097 public $channelId;
12098 protected $sponsorDetailsType = 'Google_Service_YouTube_ChannelProfileDetails';
12099 protected $sponsorDetailsDataType = '';
12100 public $sponsorSince;
12101
12102
12103 public function setChannelId($channelId)
12104 {
12105 $this->channelId = $channelId;
12106 }
12107 public function getChannelId()
12108 {
12109 return $this->channelId;
12110 }
12111 public function setSponsorDetails(Google_Service_YouTube_ChannelProfileDetails $sponsorDetails)
12112 {
12113 $this->sponsorDetails = $sponsorDetails;
12114 }
12115 public function getSponsorDetails()
12116 {
12117 return $this->sponsorDetails;
12118 }
12119 public function setSponsorSince($sponsorSince)
12120 {
12121 $this->sponsorSince = $sponsorSince;
12122 }
12123 public function getSponsorSince()
12124 {
12125 return $this->sponsorSince;
12126 }
12127 }
12128
12129 class Google_Service_YouTube_Subscription extends Google_Model
12130 {
12131 protected $internal_gapi_mappings = array(
12132 );
12133 protected $contentDetailsType = 'Google_Service_YouTube_SubscriptionContentDetails';
12134 protected $contentDetailsDataType = '';
12135 public $etag;
12136 public $id;
12137 public $kind;
12138 protected $snippetType = 'Google_Service_YouTube_SubscriptionSnippet';
12139 protected $snippetDataType = '';
12140 protected $subscriberSnippetType = 'Google_Service_YouTube_SubscriptionSubscriberSnippet';
12141 protected $subscriberSnippetDataType = '';
12142
12143
12144 public function setContentDetails(Google_Service_YouTube_SubscriptionContentDetails $contentDetails)
12145 {
12146 $this->contentDetails = $contentDetails;
12147 }
12148 public function getContentDetails()
12149 {
12150 return $this->contentDetails;
12151 }
12152 public function setEtag($etag)
12153 {
12154 $this->etag = $etag;
12155 }
12156 public function getEtag()
12157 {
12158 return $this->etag;
12159 }
12160 public function setId($id)
12161 {
12162 $this->id = $id;
12163 }
12164 public function getId()
12165 {
12166 return $this->id;
12167 }
12168 public function setKind($kind)
12169 {
12170 $this->kind = $kind;
12171 }
12172 public function getKind()
12173 {
12174 return $this->kind;
12175 }
12176 public function setSnippet(Google_Service_YouTube_SubscriptionSnippet $snippet)
12177 {
12178 $this->snippet = $snippet;
12179 }
12180 public function getSnippet()
12181 {
12182 return $this->snippet;
12183 }
12184 public function setSubscriberSnippet(Google_Service_YouTube_SubscriptionSubscriberSnippet $subscriberSnippet)
12185 {
12186 $this->subscriberSnippet = $subscriberSnippet;
12187 }
12188 public function getSubscriberSnippet()
12189 {
12190 return $this->subscriberSnippet;
12191 }
12192 }
12193
12194 class Google_Service_YouTube_SubscriptionContentDetails extends Google_Model
12195 {
12196 protected $internal_gapi_mappings = array(
12197 );
12198 public $activityType;
12199 public $newItemCount;
12200 public $totalItemCount;
12201
12202
12203 public function setActivityType($activityType)
12204 {
12205 $this->activityType = $activityType;
12206 }
12207 public function getActivityType()
12208 {
12209 return $this->activityType;
12210 }
12211 public function setNewItemCount($newItemCount)
12212 {
12213 $this->newItemCount = $newItemCount;
12214 }
12215 public function getNewItemCount()
12216 {
12217 return $this->newItemCount;
12218 }
12219 public function setTotalItemCount($totalItemCount)
12220 {
12221 $this->totalItemCount = $totalItemCount;
12222 }
12223 public function getTotalItemCount()
12224 {
12225 return $this->totalItemCount;
12226 }
12227 }
12228
12229 class Google_Service_YouTube_SubscriptionListResponse extends Google_Collection
12230 {
12231 protected $collection_key = 'items';
12232 protected $internal_gapi_mappings = array(
12233 );
12234 public $etag;
12235 public $eventId;
12236 protected $itemsType = 'Google_Service_YouTube_Subscription';
12237 protected $itemsDataType = 'array';
12238 public $kind;
12239 public $nextPageToken;
12240 protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
12241 protected $pageInfoDataType = '';
12242 public $prevPageToken;
12243 protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination';
12244 protected $tokenPaginationDataType = '';
12245 public $visitorId;
12246
12247
12248 public function setEtag($etag)
12249 {
12250 $this->etag = $etag;
12251 }
12252 public function getEtag()
12253 {
12254 return $this->etag;
12255 }
12256 public function setEventId($eventId)
12257 {
12258 $this->eventId = $eventId;
12259 }
12260 public function getEventId()
12261 {
12262 return $this->eventId;
12263 }
12264 public function setItems($items)
12265 {
12266 $this->items = $items;
12267 }
12268 public function getItems()
12269 {
12270 return $this->items;
12271 }
12272 public function setKind($kind)
12273 {
12274 $this->kind = $kind;
12275 }
12276 public function getKind()
12277 {
12278 return $this->kind;
12279 }
12280 public function setNextPageToken($nextPageToken)
12281 {
12282 $this->nextPageToken = $nextPageToken;
12283 }
12284 public function getNextPageToken()
12285 {
12286 return $this->nextPageToken;
12287 }
12288 public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo)
12289 {
12290 $this->pageInfo = $pageInfo;
12291 }
12292 public function getPageInfo()
12293 {
12294 return $this->pageInfo;
12295 }
12296 public function setPrevPageToken($prevPageToken)
12297 {
12298 $this->prevPageToken = $prevPageToken;
12299 }
12300 public function getPrevPageToken()
12301 {
12302 return $this->prevPageToken;
12303 }
12304 public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination)
12305 {
12306 $this->tokenPagination = $tokenPagination;
12307 }
12308 public function getTokenPagination()
12309 {
12310 return $this->tokenPagination;
12311 }
12312 public function setVisitorId($visitorId)
12313 {
12314 $this->visitorId = $visitorId;
12315 }
12316 public function getVisitorId()
12317 {
12318 return $this->visitorId;
12319 }
12320 }
12321
12322 class Google_Service_YouTube_SubscriptionSnippet extends Google_Model
12323 {
12324 protected $internal_gapi_mappings = array(
12325 );
12326 public $channelId;
12327 public $channelTitle;
12328 public $description;
12329 public $publishedAt;
12330 protected $resourceIdType = 'Google_Service_YouTube_ResourceId';
12331 protected $resourceIdDataType = '';
12332 protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails';
12333 protected $thumbnailsDataType = '';
12334 public $title;
12335
12336
12337 public function setChannelId($channelId)
12338 {
12339 $this->channelId = $channelId;
12340 }
12341 public function getChannelId()
12342 {
12343 return $this->channelId;
12344 }
12345 public function setChannelTitle($channelTitle)
12346 {
12347 $this->channelTitle = $channelTitle;
12348 }
12349 public function getChannelTitle()
12350 {
12351 return $this->channelTitle;
12352 }
12353 public function setDescription($description)
12354 {
12355 $this->description = $description;
12356 }
12357 public function getDescription()
12358 {
12359 return $this->description;
12360 }
12361 public function setPublishedAt($publishedAt)
12362 {
12363 $this->publishedAt = $publishedAt;
12364 }
12365 public function getPublishedAt()
12366 {
12367 return $this->publishedAt;
12368 }
12369 public function setResourceId(Google_Service_YouTube_ResourceId $resourceId)
12370 {
12371 $this->resourceId = $resourceId;
12372 }
12373 public function getResourceId()
12374 {
12375 return $this->resourceId;
12376 }
12377 public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails)
12378 {
12379 $this->thumbnails = $thumbnails;
12380 }
12381 public function getThumbnails()
12382 {
12383 return $this->thumbnails;
12384 }
12385 public function setTitle($title)
12386 {
12387 $this->title = $title;
12388 }
12389 public function getTitle()
12390 {
12391 return $this->title;
12392 }
12393 }
12394
12395 class Google_Service_YouTube_SubscriptionSubscriberSnippet extends Google_Model
12396 {
12397 protected $internal_gapi_mappings = array(
12398 );
12399 public $channelId;
12400 public $description;
12401 protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails';
12402 protected $thumbnailsDataType = '';
12403 public $title;
12404
12405
12406 public function setChannelId($channelId)
12407 {
12408 $this->channelId = $channelId;
12409 }
12410 public function getChannelId()
12411 {
12412 return $this->channelId;
12413 }
12414 public function setDescription($description)
12415 {
12416 $this->description = $description;
12417 }
12418 public function getDescription()
12419 {
12420 return $this->description;
12421 }
12422 public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails)
12423 {
12424 $this->thumbnails = $thumbnails;
12425 }
12426 public function getThumbnails()
12427 {
12428 return $this->thumbnails;
12429 }
12430 public function setTitle($title)
12431 {
12432 $this->title = $title;
12433 }
12434 public function getTitle()
12435 {
12436 return $this->title;
12437 }
12438 }
12439
12440 class Google_Service_YouTube_Thumbnail extends Google_Model
12441 {
12442 protected $internal_gapi_mappings = array(
12443 );
12444 public $height;
12445 public $url;
12446 public $width;
12447
12448
12449 public function setHeight($height)
12450 {
12451 $this->height = $height;
12452 }
12453 public function getHeight()
12454 {
12455 return $this->height;
12456 }
12457 public function setUrl($url)
12458 {
12459 $this->url = $url;
12460 }
12461 public function getUrl()
12462 {
12463 return $this->url;
12464 }
12465 public function setWidth($width)
12466 {
12467 $this->width = $width;
12468 }
12469 public function getWidth()
12470 {
12471 return $this->width;
12472 }
12473 }
12474
12475 class Google_Service_YouTube_ThumbnailDetails extends Google_Model
12476 {
12477 protected $internal_gapi_mappings = array(
12478 );
12479 protected $defaultType = 'Google_Service_YouTube_Thumbnail';
12480 protected $defaultDataType = '';
12481 protected $highType = 'Google_Service_YouTube_Thumbnail';
12482 protected $highDataType = '';
12483 protected $maxresType = 'Google_Service_YouTube_Thumbnail';
12484 protected $maxresDataType = '';
12485 protected $mediumType = 'Google_Service_YouTube_Thumbnail';
12486 protected $mediumDataType = '';
12487 protected $standardType = 'Google_Service_YouTube_Thumbnail';
12488 protected $standardDataType = '';
12489
12490
12491 public function setDefault(Google_Service_YouTube_Thumbnail $default)
12492 {
12493 $this->default = $default;
12494 }
12495 public function getDefault()
12496 {
12497 return $this->default;
12498 }
12499 public function setHigh(Google_Service_YouTube_Thumbnail $high)
12500 {
12501 $this->high = $high;
12502 }
12503 public function getHigh()
12504 {
12505 return $this->high;
12506 }
12507 public function setMaxres(Google_Service_YouTube_Thumbnail $maxres)
12508 {
12509 $this->maxres = $maxres;
12510 }
12511 public function getMaxres()
12512 {
12513 return $this->maxres;
12514 }
12515 public function setMedium(Google_Service_YouTube_Thumbnail $medium)
12516 {
12517 $this->medium = $medium;
12518 }
12519 public function getMedium()
12520 {
12521 return $this->medium;
12522 }
12523 public function setStandard(Google_Service_YouTube_Thumbnail $standard)
12524 {
12525 $this->standard = $standard;
12526 }
12527 public function getStandard()
12528 {
12529 return $this->standard;
12530 }
12531 }
12532
12533 class Google_Service_YouTube_ThumbnailSetResponse extends Google_Collection
12534 {
12535 protected $collection_key = 'items';
12536 protected $internal_gapi_mappings = array(
12537 );
12538 public $etag;
12539 public $eventId;
12540 protected $itemsType = 'Google_Service_YouTube_ThumbnailDetails';
12541 protected $itemsDataType = 'array';
12542 public $kind;
12543 public $visitorId;
12544
12545
12546 public function setEtag($etag)
12547 {
12548 $this->etag = $etag;
12549 }
12550 public function getEtag()
12551 {
12552 return $this->etag;
12553 }
12554 public function setEventId($eventId)
12555 {
12556 $this->eventId = $eventId;
12557 }
12558 public function getEventId()
12559 {
12560 return $this->eventId;
12561 }
12562 public function setItems($items)
12563 {
12564 $this->items = $items;
12565 }
12566 public function getItems()
12567 {
12568 return $this->items;
12569 }
12570 public function setKind($kind)
12571 {
12572 $this->kind = $kind;
12573 }
12574 public function getKind()
12575 {
12576 return $this->kind;
12577 }
12578 public function setVisitorId($visitorId)
12579 {
12580 $this->visitorId = $visitorId;
12581 }
12582 public function getVisitorId()
12583 {
12584 return $this->visitorId;
12585 }
12586 }
12587
12588 class Google_Service_YouTube_TokenPagination extends Google_Model
12589 {
12590 }
12591
12592 class Google_Service_YouTube_Video extends Google_Model
12593 {
12594 protected $internal_gapi_mappings = array(
12595 );
12596 protected $ageGatingType = 'Google_Service_YouTube_VideoAgeGating';
12597 protected $ageGatingDataType = '';
12598 protected $contentDetailsType = 'Google_Service_YouTube_VideoContentDetails';
12599 protected $contentDetailsDataType = '';
12600 public $etag;
12601 protected $fileDetailsType = 'Google_Service_YouTube_VideoFileDetails';
12602 protected $fileDetailsDataType = '';
12603 public $id;
12604 public $kind;
12605 protected $liveStreamingDetailsType = 'Google_Service_YouTube_VideoLiveStreamingDetails';
12606 protected $liveStreamingDetailsDataType = '';
12607 protected $localizationsType = 'Google_Service_YouTube_VideoLocalization';
12608 protected $localizationsDataType = 'map';
12609 protected $monetizationDetailsType = 'Google_Service_YouTube_VideoMonetizationDetails';
12610 protected $monetizationDetailsDataType = '';
12611 protected $playerType = 'Google_Service_YouTube_VideoPlayer';
12612 protected $playerDataType = '';
12613 protected $processingDetailsType = 'Google_Service_YouTube_VideoProcessingDetails';
12614 protected $processingDetailsDataType = '';
12615 protected $projectDetailsType = 'Google_Service_YouTube_VideoProjectDetails';
12616 protected $projectDetailsDataType = '';
12617 protected $recordingDetailsType = 'Google_Service_YouTube_VideoRecordingDetails';
12618 protected $recordingDetailsDataType = '';
12619 protected $snippetType = 'Google_Service_YouTube_VideoSnippet';
12620 protected $snippetDataType = '';
12621 protected $statisticsType = 'Google_Service_YouTube_VideoStatistics';
12622 protected $statisticsDataType = '';
12623 protected $statusType = 'Google_Service_YouTube_VideoStatus';
12624 protected $statusDataType = '';
12625 protected $suggestionsType = 'Google_Service_YouTube_VideoSuggestions';
12626 protected $suggestionsDataType = '';
12627 protected $topicDetailsType = 'Google_Service_YouTube_VideoTopicDetails';
12628 protected $topicDetailsDataType = '';
12629
12630
12631 public function setAgeGating(Google_Service_YouTube_VideoAgeGating $ageGating)
12632 {
12633 $this->ageGating = $ageGating;
12634 }
12635 public function getAgeGating()
12636 {
12637 return $this->ageGating;
12638 }
12639 public function setContentDetails(Google_Service_YouTube_VideoContentDetails $contentDetails)
12640 {
12641 $this->contentDetails = $contentDetails;
12642 }
12643 public function getContentDetails()
12644 {
12645 return $this->contentDetails;
12646 }
12647 public function setEtag($etag)
12648 {
12649 $this->etag = $etag;
12650 }
12651 public function getEtag()
12652 {
12653 return $this->etag;
12654 }
12655 public function setFileDetails(Google_Service_YouTube_VideoFileDetails $fileDetails)
12656 {
12657 $this->fileDetails = $fileDetails;
12658 }
12659 public function getFileDetails()
12660 {
12661 return $this->fileDetails;
12662 }
12663 public function setId($id)
12664 {
12665 $this->id = $id;
12666 }
12667 public function getId()
12668 {
12669 return $this->id;
12670 }
12671 public function setKind($kind)
12672 {
12673 $this->kind = $kind;
12674 }
12675 public function getKind()
12676 {
12677 return $this->kind;
12678 }
12679 public function setLiveStreamingDetails(Google_Service_YouTube_VideoLiveStreamingDetails $liveStreamingDetails)
12680 {
12681 $this->liveStreamingDetails = $liveStreamingDetails;
12682 }
12683 public function getLiveStreamingDetails()
12684 {
12685 return $this->liveStreamingDetails;
12686 }
12687 public function setLocalizations($localizations)
12688 {
12689 $this->localizations = $localizations;
12690 }
12691 public function getLocalizations()
12692 {
12693 return $this->localizations;
12694 }
12695 public function setMonetizationDetails(Google_Service_YouTube_VideoMonetizationDetails $monetizationDetails)
12696 {
12697 $this->monetizationDetails = $monetizationDetails;
12698 }
12699 public function getMonetizationDetails()
12700 {
12701 return $this->monetizationDetails;
12702 }
12703 public function setPlayer(Google_Service_YouTube_VideoPlayer $player)
12704 {
12705 $this->player = $player;
12706 }
12707 public function getPlayer()
12708 {
12709 return $this->player;
12710 }
12711 public function setProcessingDetails(Google_Service_YouTube_VideoProcessingDetails $processingDetails)
12712 {
12713 $this->processingDetails = $processingDetails;
12714 }
12715 public function getProcessingDetails()
12716 {
12717 return $this->processingDetails;
12718 }
12719 public function setProjectDetails(Google_Service_YouTube_VideoProjectDetails $projectDetails)
12720 {
12721 $this->projectDetails = $projectDetails;
12722 }
12723 public function getProjectDetails()
12724 {
12725 return $this->projectDetails;
12726 }
12727 public function setRecordingDetails(Google_Service_YouTube_VideoRecordingDetails $recordingDetails)
12728 {
12729 $this->recordingDetails = $recordingDetails;
12730 }
12731 public function getRecordingDetails()
12732 {
12733 return $this->recordingDetails;
12734 }
12735 public function setSnippet(Google_Service_YouTube_VideoSnippet $snippet)
12736 {
12737 $this->snippet = $snippet;
12738 }
12739 public function getSnippet()
12740 {
12741 return $this->snippet;
12742 }
12743 public function setStatistics(Google_Service_YouTube_VideoStatistics $statistics)
12744 {
12745 $this->statistics = $statistics;
12746 }
12747 public function getStatistics()
12748 {
12749 return $this->statistics;
12750 }
12751 public function setStatus(Google_Service_YouTube_VideoStatus $status)
12752 {
12753 $this->status = $status;
12754 }
12755 public function getStatus()
12756 {
12757 return $this->status;
12758 }
12759 public function setSuggestions(Google_Service_YouTube_VideoSuggestions $suggestions)
12760 {
12761 $this->suggestions = $suggestions;
12762 }
12763 public function getSuggestions()
12764 {
12765 return $this->suggestions;
12766 }
12767 public function setTopicDetails(Google_Service_YouTube_VideoTopicDetails $topicDetails)
12768 {
12769 $this->topicDetails = $topicDetails;
12770 }
12771 public function getTopicDetails()
12772 {
12773 return $this->topicDetails;
12774 }
12775 }
12776
12777 class Google_Service_YouTube_VideoAbuseReport extends Google_Model
12778 {
12779 protected $internal_gapi_mappings = array(
12780 );
12781 public $comments;
12782 public $language;
12783 public $reasonId;
12784 public $secondaryReasonId;
12785 public $videoId;
12786
12787
12788 public function setComments($comments)
12789 {
12790 $this->comments = $comments;
12791 }
12792 public function getComments()
12793 {
12794 return $this->comments;
12795 }
12796 public function setLanguage($language)
12797 {
12798 $this->language = $language;
12799 }
12800 public function getLanguage()
12801 {
12802 return $this->language;
12803 }
12804 public function setReasonId($reasonId)
12805 {
12806 $this->reasonId = $reasonId;
12807 }
12808 public function getReasonId()
12809 {
12810 return $this->reasonId;
12811 }
12812 public function setSecondaryReasonId($secondaryReasonId)
12813 {
12814 $this->secondaryReasonId = $secondaryReasonId;
12815 }
12816 public function getSecondaryReasonId()
12817 {
12818 return $this->secondaryReasonId;
12819 }
12820 public function setVideoId($videoId)
12821 {
12822 $this->videoId = $videoId;
12823 }
12824 public function getVideoId()
12825 {
12826 return $this->videoId;
12827 }
12828 }
12829
12830 class Google_Service_YouTube_VideoAbuseReportReason extends Google_Model
12831 {
12832 protected $internal_gapi_mappings = array(
12833 );
12834 public $etag;
12835 public $id;
12836 public $kind;
12837 protected $snippetType = 'Google_Service_YouTube_VideoAbuseReportReasonSnippet';
12838 protected $snippetDataType = '';
12839
12840
12841 public function setEtag($etag)
12842 {
12843 $this->etag = $etag;
12844 }
12845 public function getEtag()
12846 {
12847 return $this->etag;
12848 }
12849 public function setId($id)
12850 {
12851 $this->id = $id;
12852 }
12853 public function getId()
12854 {
12855 return $this->id;
12856 }
12857 public function setKind($kind)
12858 {
12859 $this->kind = $kind;
12860 }
12861 public function getKind()
12862 {
12863 return $this->kind;
12864 }
12865 public function setSnippet(Google_Service_YouTube_VideoAbuseReportReasonSnippet $snippet)
12866 {
12867 $this->snippet = $snippet;
12868 }
12869 public function getSnippet()
12870 {
12871 return $this->snippet;
12872 }
12873 }
12874
12875 class Google_Service_YouTube_VideoAbuseReportReasonListResponse extends Google_Collection
12876 {
12877 protected $collection_key = 'items';
12878 protected $internal_gapi_mappings = array(
12879 );
12880 public $etag;
12881 public $eventId;
12882 protected $itemsType = 'Google_Service_YouTube_VideoAbuseReportReason';
12883 protected $itemsDataType = 'array';
12884 public $kind;
12885 public $visitorId;
12886
12887
12888 public function setEtag($etag)
12889 {
12890 $this->etag = $etag;
12891 }
12892 public function getEtag()
12893 {
12894 return $this->etag;
12895 }
12896 public function setEventId($eventId)
12897 {
12898 $this->eventId = $eventId;
12899 }
12900 public function getEventId()
12901 {
12902 return $this->eventId;
12903 }
12904 public function setItems($items)
12905 {
12906 $this->items = $items;
12907 }
12908 public function getItems()
12909 {
12910 return $this->items;
12911 }
12912 public function setKind($kind)
12913 {
12914 $this->kind = $kind;
12915 }
12916 public function getKind()
12917 {
12918 return $this->kind;
12919 }
12920 public function setVisitorId($visitorId)
12921 {
12922 $this->visitorId = $visitorId;
12923 }
12924 public function getVisitorId()
12925 {
12926 return $this->visitorId;
12927 }
12928 }
12929
12930 class Google_Service_YouTube_VideoAbuseReportReasonSnippet extends Google_Collection
12931 {
12932 protected $collection_key = 'secondaryReasons';
12933 protected $internal_gapi_mappings = array(
12934 );
12935 public $label;
12936 protected $secondaryReasonsType = 'Google_Service_YouTube_VideoAbuseReportSecondaryReason';
12937 protected $secondaryReasonsDataType = 'array';
12938
12939
12940 public function setLabel($label)
12941 {
12942 $this->label = $label;
12943 }
12944 public function getLabel()
12945 {
12946 return $this->label;
12947 }
12948 public function setSecondaryReasons($secondaryReasons)
12949 {
12950 $this->secondaryReasons = $secondaryReasons;
12951 }
12952 public function getSecondaryReasons()
12953 {
12954 return $this->secondaryReasons;
12955 }
12956 }
12957
12958 class Google_Service_YouTube_VideoAbuseReportSecondaryReason extends Google_Model
12959 {
12960 protected $internal_gapi_mappings = array(
12961 );
12962 public $id;
12963 public $label;
12964
12965
12966 public function setId($id)
12967 {
12968 $this->id = $id;
12969 }
12970 public function getId()
12971 {
12972 return $this->id;
12973 }
12974 public function setLabel($label)
12975 {
12976 $this->label = $label;
12977 }
12978 public function getLabel()
12979 {
12980 return $this->label;
12981 }
12982 }
12983
12984 class Google_Service_YouTube_VideoAgeGating extends Google_Model
12985 {
12986 protected $internal_gapi_mappings = array(
12987 );
12988 public $alcoholContent;
12989 public $restricted;
12990 public $videoGameRating;
12991
12992
12993 public function setAlcoholContent($alcoholContent)
12994 {
12995 $this->alcoholContent = $alcoholContent;
12996 }
12997 public function getAlcoholContent()
12998 {
12999 return $this->alcoholContent;
13000 }
13001 public function setRestricted($restricted)
13002 {
13003 $this->restricted = $restricted;
13004 }
13005 public function getRestricted()
13006 {
13007 return $this->restricted;
13008 }
13009 public function setVideoGameRating($videoGameRating)
13010 {
13011 $this->videoGameRating = $videoGameRating;
13012 }
13013 public function getVideoGameRating()
13014 {
13015 return $this->videoGameRating;
13016 }
13017 }
13018
13019 class Google_Service_YouTube_VideoCategory extends Google_Model
13020 {
13021 protected $internal_gapi_mappings = array(
13022 );
13023 public $etag;
13024 public $id;
13025 public $kind;
13026 protected $snippetType = 'Google_Service_YouTube_VideoCategorySnippet';
13027 protected $snippetDataType = '';
13028
13029
13030 public function setEtag($etag)
13031 {
13032 $this->etag = $etag;
13033 }
13034 public function getEtag()
13035 {
13036 return $this->etag;
13037 }
13038 public function setId($id)
13039 {
13040 $this->id = $id;
13041 }
13042 public function getId()
13043 {
13044 return $this->id;
13045 }
13046 public function setKind($kind)
13047 {
13048 $this->kind = $kind;
13049 }
13050 public function getKind()
13051 {
13052 return $this->kind;
13053 }
13054 public function setSnippet(Google_Service_YouTube_VideoCategorySnippet $snippet)
13055 {
13056 $this->snippet = $snippet;
13057 }
13058 public function getSnippet()
13059 {
13060 return $this->snippet;
13061 }
13062 }
13063
13064 class Google_Service_YouTube_VideoCategoryListResponse extends Google_Collection
13065 {
13066 protected $collection_key = 'items';
13067 protected $internal_gapi_mappings = array(
13068 );
13069 public $etag;
13070 public $eventId;
13071 protected $itemsType = 'Google_Service_YouTube_VideoCategory';
13072 protected $itemsDataType = 'array';
13073 public $kind;
13074 public $nextPageToken;
13075 protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
13076 protected $pageInfoDataType = '';
13077 public $prevPageToken;
13078 protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination';
13079 protected $tokenPaginationDataType = '';
13080 public $visitorId;
13081
13082
13083 public function setEtag($etag)
13084 {
13085 $this->etag = $etag;
13086 }
13087 public function getEtag()
13088 {
13089 return $this->etag;
13090 }
13091 public function setEventId($eventId)
13092 {
13093 $this->eventId = $eventId;
13094 }
13095 public function getEventId()
13096 {
13097 return $this->eventId;
13098 }
13099 public function setItems($items)
13100 {
13101 $this->items = $items;
13102 }
13103 public function getItems()
13104 {
13105 return $this->items;
13106 }
13107 public function setKind($kind)
13108 {
13109 $this->kind = $kind;
13110 }
13111 public function getKind()
13112 {
13113 return $this->kind;
13114 }
13115 public function setNextPageToken($nextPageToken)
13116 {
13117 $this->nextPageToken = $nextPageToken;
13118 }
13119 public function getNextPageToken()
13120 {
13121 return $this->nextPageToken;
13122 }
13123 public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo)
13124 {
13125 $this->pageInfo = $pageInfo;
13126 }
13127 public function getPageInfo()
13128 {
13129 return $this->pageInfo;
13130 }
13131 public function setPrevPageToken($prevPageToken)
13132 {
13133 $this->prevPageToken = $prevPageToken;
13134 }
13135 public function getPrevPageToken()
13136 {
13137 return $this->prevPageToken;
13138 }
13139 public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination)
13140 {
13141 $this->tokenPagination = $tokenPagination;
13142 }
13143 public function getTokenPagination()
13144 {
13145 return $this->tokenPagination;
13146 }
13147 public function setVisitorId($visitorId)
13148 {
13149 $this->visitorId = $visitorId;
13150 }
13151 public function getVisitorId()
13152 {
13153 return $this->visitorId;
13154 }
13155 }
13156
13157 class Google_Service_YouTube_VideoCategorySnippet extends Google_Model
13158 {
13159 protected $internal_gapi_mappings = array(
13160 );
13161 public $assignable;
13162 public $channelId;
13163 public $title;
13164
13165
13166 public function setAssignable($assignable)
13167 {
13168 $this->assignable = $assignable;
13169 }
13170 public function getAssignable()
13171 {
13172 return $this->assignable;
13173 }
13174 public function setChannelId($channelId)
13175 {
13176 $this->channelId = $channelId;
13177 }
13178 public function getChannelId()
13179 {
13180 return $this->channelId;
13181 }
13182 public function setTitle($title)
13183 {
13184 $this->title = $title;
13185 }
13186 public function getTitle()
13187 {
13188 return $this->title;
13189 }
13190 }
13191
13192 class Google_Service_YouTube_VideoContentDetails extends Google_Model
13193 {
13194 protected $internal_gapi_mappings = array(
13195 );
13196 public $caption;
13197 protected $contentRatingType = 'Google_Service_YouTube_ContentRating';
13198 protected $contentRatingDataType = '';
13199 protected $countryRestrictionType = 'Google_Service_YouTube_AccessPolicy';
13200 protected $countryRestrictionDataType = '';
13201 public $definition;
13202 public $dimension;
13203 public $duration;
13204 public $licensedContent;
13205 protected $regionRestrictionType = 'Google_Service_YouTube_VideoContentDetailsRegionRestriction';
13206 protected $regionRestrictionDataType = '';
13207
13208
13209 public function setCaption($caption)
13210 {
13211 $this->caption = $caption;
13212 }
13213 public function getCaption()
13214 {
13215 return $this->caption;
13216 }
13217 public function setContentRating(Google_Service_YouTube_ContentRating $contentRating)
13218 {
13219 $this->contentRating = $contentRating;
13220 }
13221 public function getContentRating()
13222 {
13223 return $this->contentRating;
13224 }
13225 public function setCountryRestriction(Google_Service_YouTube_AccessPolicy $countryRestriction)
13226 {
13227 $this->countryRestriction = $countryRestriction;
13228 }
13229 public function getCountryRestriction()
13230 {
13231 return $this->countryRestriction;
13232 }
13233 public function setDefinition($definition)
13234 {
13235 $this->definition = $definition;
13236 }
13237 public function getDefinition()
13238 {
13239 return $this->definition;
13240 }
13241 public function setDimension($dimension)
13242 {
13243 $this->dimension = $dimension;
13244 }
13245 public function getDimension()
13246 {
13247 return $this->dimension;
13248 }
13249 public function setDuration($duration)
13250 {
13251 $this->duration = $duration;
13252 }
13253 public function getDuration()
13254 {
13255 return $this->duration;
13256 }
13257 public function setLicensedContent($licensedContent)
13258 {
13259 $this->licensedContent = $licensedContent;
13260 }
13261 public function getLicensedContent()
13262 {
13263 return $this->licensedContent;
13264 }
13265 public function setRegionRestriction(Google_Service_YouTube_VideoContentDetailsRegionRestriction $regionRestriction)
13266 {
13267 $this->regionRestriction = $regionRestriction;
13268 }
13269 public function getRegionRestriction()
13270 {
13271 return $this->regionRestriction;
13272 }
13273 }
13274
13275 class Google_Service_YouTube_VideoContentDetailsRegionRestriction extends Google_Collection
13276 {
13277 protected $collection_key = 'blocked';
13278 protected $internal_gapi_mappings = array(
13279 );
13280 public $allowed;
13281 public $blocked;
13282
13283
13284 public function setAllowed($allowed)
13285 {
13286 $this->allowed = $allowed;
13287 }
13288 public function getAllowed()
13289 {
13290 return $this->allowed;
13291 }
13292 public function setBlocked($blocked)
13293 {
13294 $this->blocked = $blocked;
13295 }
13296 public function getBlocked()
13297 {
13298 return $this->blocked;
13299 }
13300 }
13301
13302 class Google_Service_YouTube_VideoFileDetails extends Google_Collection
13303 {
13304 protected $collection_key = 'videoStreams';
13305 protected $internal_gapi_mappings = array(
13306 );
13307 protected $audioStreamsType = 'Google_Service_YouTube_VideoFileDetailsAudioStream';
13308 protected $audioStreamsDataType = 'array';
13309 public $bitrateBps;
13310 public $container;
13311 public $creationTime;
13312 public $durationMs;
13313 public $fileName;
13314 public $fileSize;
13315 public $fileType;
13316 protected $recordingLocationType = 'Google_Service_YouTube_GeoPoint';
13317 protected $recordingLocationDataType = '';
13318 protected $videoStreamsType = 'Google_Service_YouTube_VideoFileDetailsVideoStream';
13319 protected $videoStreamsDataType = 'array';
13320
13321
13322 public function setAudioStreams($audioStreams)
13323 {
13324 $this->audioStreams = $audioStreams;
13325 }
13326 public function getAudioStreams()
13327 {
13328 return $this->audioStreams;
13329 }
13330 public function setBitrateBps($bitrateBps)
13331 {
13332 $this->bitrateBps = $bitrateBps;
13333 }
13334 public function getBitrateBps()
13335 {
13336 return $this->bitrateBps;
13337 }
13338 public function setContainer($container)
13339 {
13340 $this->container = $container;
13341 }
13342 public function getContainer()
13343 {
13344 return $this->container;
13345 }
13346 public function setCreationTime($creationTime)
13347 {
13348 $this->creationTime = $creationTime;
13349 }
13350 public function getCreationTime()
13351 {
13352 return $this->creationTime;
13353 }
13354 public function setDurationMs($durationMs)
13355 {
13356 $this->durationMs = $durationMs;
13357 }
13358 public function getDurationMs()
13359 {
13360 return $this->durationMs;
13361 }
13362 public function setFileName($fileName)
13363 {
13364 $this->fileName = $fileName;
13365 }
13366 public function getFileName()
13367 {
13368 return $this->fileName;
13369 }
13370 public function setFileSize($fileSize)
13371 {
13372 $this->fileSize = $fileSize;
13373 }
13374 public function getFileSize()
13375 {
13376 return $this->fileSize;
13377 }
13378 public function setFileType($fileType)
13379 {
13380 $this->fileType = $fileType;
13381 }
13382 public function getFileType()
13383 {
13384 return $this->fileType;
13385 }
13386 public function setRecordingLocation(Google_Service_YouTube_GeoPoint $recordingLocation)
13387 {
13388 $this->recordingLocation = $recordingLocation;
13389 }
13390 public function getRecordingLocation()
13391 {
13392 return $this->recordingLocation;
13393 }
13394 public function setVideoStreams($videoStreams)
13395 {
13396 $this->videoStreams = $videoStreams;
13397 }
13398 public function getVideoStreams()
13399 {
13400 return $this->videoStreams;
13401 }
13402 }
13403
13404 class Google_Service_YouTube_VideoFileDetailsAudioStream extends Google_Model
13405 {
13406 protected $internal_gapi_mappings = array(
13407 );
13408 public $bitrateBps;
13409 public $channelCount;
13410 public $codec;
13411 public $vendor;
13412
13413
13414 public function setBitrateBps($bitrateBps)
13415 {
13416 $this->bitrateBps = $bitrateBps;
13417 }
13418 public function getBitrateBps()
13419 {
13420 return $this->bitrateBps;
13421 }
13422 public function setChannelCount($channelCount)
13423 {
13424 $this->channelCount = $channelCount;
13425 }
13426 public function getChannelCount()
13427 {
13428 return $this->channelCount;
13429 }
13430 public function setCodec($codec)
13431 {
13432 $this->codec = $codec;
13433 }
13434 public function getCodec()
13435 {
13436 return $this->codec;
13437 }
13438 public function setVendor($vendor)
13439 {
13440 $this->vendor = $vendor;
13441 }
13442 public function getVendor()
13443 {
13444 return $this->vendor;
13445 }
13446 }
13447
13448 class Google_Service_YouTube_VideoFileDetailsVideoStream extends Google_Model
13449 {
13450 protected $internal_gapi_mappings = array(
13451 );
13452 public $aspectRatio;
13453 public $bitrateBps;
13454 public $codec;
13455 public $frameRateFps;
13456 public $heightPixels;
13457 public $rotation;
13458 public $vendor;
13459 public $widthPixels;
13460
13461
13462 public function setAspectRatio($aspectRatio)
13463 {
13464 $this->aspectRatio = $aspectRatio;
13465 }
13466 public function getAspectRatio()
13467 {
13468 return $this->aspectRatio;
13469 }
13470 public function setBitrateBps($bitrateBps)
13471 {
13472 $this->bitrateBps = $bitrateBps;
13473 }
13474 public function getBitrateBps()
13475 {
13476 return $this->bitrateBps;
13477 }
13478 public function setCodec($codec)
13479 {
13480 $this->codec = $codec;
13481 }
13482 public function getCodec()
13483 {
13484 return $this->codec;
13485 }
13486 public function setFrameRateFps($frameRateFps)
13487 {
13488 $this->frameRateFps = $frameRateFps;
13489 }
13490 public function getFrameRateFps()
13491 {
13492 return $this->frameRateFps;
13493 }
13494 public function setHeightPixels($heightPixels)
13495 {
13496 $this->heightPixels = $heightPixels;
13497 }
13498 public function getHeightPixels()
13499 {
13500 return $this->heightPixels;
13501 }
13502 public function setRotation($rotation)
13503 {
13504 $this->rotation = $rotation;
13505 }
13506 public function getRotation()
13507 {
13508 return $this->rotation;
13509 }
13510 public function setVendor($vendor)
13511 {
13512 $this->vendor = $vendor;
13513 }
13514 public function getVendor()
13515 {
13516 return $this->vendor;
13517 }
13518 public function setWidthPixels($widthPixels)
13519 {
13520 $this->widthPixels = $widthPixels;
13521 }
13522 public function getWidthPixels()
13523 {
13524 return $this->widthPixels;
13525 }
13526 }
13527
13528 class Google_Service_YouTube_VideoGetRatingResponse extends Google_Collection
13529 {
13530 protected $collection_key = 'items';
13531 protected $internal_gapi_mappings = array(
13532 );
13533 public $etag;
13534 public $eventId;
13535 protected $itemsType = 'Google_Service_YouTube_VideoRating';
13536 protected $itemsDataType = 'array';
13537 public $kind;
13538 public $visitorId;
13539
13540
13541 public function setEtag($etag)
13542 {
13543 $this->etag = $etag;
13544 }
13545 public function getEtag()
13546 {
13547 return $this->etag;
13548 }
13549 public function setEventId($eventId)
13550 {
13551 $this->eventId = $eventId;
13552 }
13553 public function getEventId()
13554 {
13555 return $this->eventId;
13556 }
13557 public function setItems($items)
13558 {
13559 $this->items = $items;
13560 }
13561 public function getItems()
13562 {
13563 return $this->items;
13564 }
13565 public function setKind($kind)
13566 {
13567 $this->kind = $kind;
13568 }
13569 public function getKind()
13570 {
13571 return $this->kind;
13572 }
13573 public function setVisitorId($visitorId)
13574 {
13575 $this->visitorId = $visitorId;
13576 }
13577 public function getVisitorId()
13578 {
13579 return $this->visitorId;
13580 }
13581 }
13582
13583 class Google_Service_YouTube_VideoListResponse extends Google_Collection
13584 {
13585 protected $collection_key = 'items';
13586 protected $internal_gapi_mappings = array(
13587 );
13588 public $etag;
13589 public $eventId;
13590 protected $itemsType = 'Google_Service_YouTube_Video';
13591 protected $itemsDataType = 'array';
13592 public $kind;
13593 public $nextPageToken;
13594 protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
13595 protected $pageInfoDataType = '';
13596 public $prevPageToken;
13597 protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination';
13598 protected $tokenPaginationDataType = '';
13599 public $visitorId;
13600
13601
13602 public function setEtag($etag)
13603 {
13604 $this->etag = $etag;
13605 }
13606 public function getEtag()
13607 {
13608 return $this->etag;
13609 }
13610 public function setEventId($eventId)
13611 {
13612 $this->eventId = $eventId;
13613 }
13614 public function getEventId()
13615 {
13616 return $this->eventId;
13617 }
13618 public function setItems($items)
13619 {
13620 $this->items = $items;
13621 }
13622 public function getItems()
13623 {
13624 return $this->items;
13625 }
13626 public function setKind($kind)
13627 {
13628 $this->kind = $kind;
13629 }
13630 public function getKind()
13631 {
13632 return $this->kind;
13633 }
13634 public function setNextPageToken($nextPageToken)
13635 {
13636 $this->nextPageToken = $nextPageToken;
13637 }
13638 public function getNextPageToken()
13639 {
13640 return $this->nextPageToken;
13641 }
13642 public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo)
13643 {
13644 $this->pageInfo = $pageInfo;
13645 }
13646 public function getPageInfo()
13647 {
13648 return $this->pageInfo;
13649 }
13650 public function setPrevPageToken($prevPageToken)
13651 {
13652 $this->prevPageToken = $prevPageToken;
13653 }
13654 public function getPrevPageToken()
13655 {
13656 return $this->prevPageToken;
13657 }
13658 public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination)
13659 {
13660 $this->tokenPagination = $tokenPagination;
13661 }
13662 public function getTokenPagination()
13663 {
13664 return $this->tokenPagination;
13665 }
13666 public function setVisitorId($visitorId)
13667 {
13668 $this->visitorId = $visitorId;
13669 }
13670 public function getVisitorId()
13671 {
13672 return $this->visitorId;
13673 }
13674 }
13675
13676 class Google_Service_YouTube_VideoLiveStreamingDetails extends Google_Model
13677 {
13678 protected $internal_gapi_mappings = array(
13679 );
13680 public $activeLiveChatId;
13681 public $actualEndTime;
13682 public $actualStartTime;
13683 public $concurrentViewers;
13684 public $scheduledEndTime;
13685 public $scheduledStartTime;
13686
13687
13688 public function setActiveLiveChatId($activeLiveChatId)
13689 {
13690 $this->activeLiveChatId = $activeLiveChatId;
13691 }
13692 public function getActiveLiveChatId()
13693 {
13694 return $this->activeLiveChatId;
13695 }
13696 public function setActualEndTime($actualEndTime)
13697 {
13698 $this->actualEndTime = $actualEndTime;
13699 }
13700 public function getActualEndTime()
13701 {
13702 return $this->actualEndTime;
13703 }
13704 public function setActualStartTime($actualStartTime)
13705 {
13706 $this->actualStartTime = $actualStartTime;
13707 }
13708 public function getActualStartTime()
13709 {
13710 return $this->actualStartTime;
13711 }
13712 public function setConcurrentViewers($concurrentViewers)
13713 {
13714 $this->concurrentViewers = $concurrentViewers;
13715 }
13716 public function getConcurrentViewers()
13717 {
13718 return $this->concurrentViewers;
13719 }
13720 public function setScheduledEndTime($scheduledEndTime)
13721 {
13722 $this->scheduledEndTime = $scheduledEndTime;
13723 }
13724 public function getScheduledEndTime()
13725 {
13726 return $this->scheduledEndTime;
13727 }
13728 public function setScheduledStartTime($scheduledStartTime)
13729 {
13730 $this->scheduledStartTime = $scheduledStartTime;
13731 }
13732 public function getScheduledStartTime()
13733 {
13734 return $this->scheduledStartTime;
13735 }
13736 }
13737
13738 class Google_Service_YouTube_VideoLocalization extends Google_Model
13739 {
13740 protected $internal_gapi_mappings = array(
13741 );
13742 public $description;
13743 public $title;
13744
13745
13746 public function setDescription($description)
13747 {
13748 $this->description = $description;
13749 }
13750 public function getDescription()
13751 {
13752 return $this->description;
13753 }
13754 public function setTitle($title)
13755 {
13756 $this->title = $title;
13757 }
13758 public function getTitle()
13759 {
13760 return $this->title;
13761 }
13762 }
13763
13764 class Google_Service_YouTube_VideoMonetizationDetails extends Google_Model
13765 {
13766 protected $internal_gapi_mappings = array(
13767 );
13768 protected $accessType = 'Google_Service_YouTube_AccessPolicy';
13769 protected $accessDataType = '';
13770
13771
13772 public function setAccess(Google_Service_YouTube_AccessPolicy $access)
13773 {
13774 $this->access = $access;
13775 }
13776 public function getAccess()
13777 {
13778 return $this->access;
13779 }
13780 }
13781
13782 class Google_Service_YouTube_VideoPlayer extends Google_Model
13783 {
13784 protected $internal_gapi_mappings = array(
13785 );
13786 public $embedHtml;
13787
13788
13789 public function setEmbedHtml($embedHtml)
13790 {
13791 $this->embedHtml = $embedHtml;
13792 }
13793 public function getEmbedHtml()
13794 {
13795 return $this->embedHtml;
13796 }
13797 }
13798
13799 class Google_Service_YouTube_VideoProcessingDetails extends Google_Model
13800 {
13801 protected $internal_gapi_mappings = array(
13802 );
13803 public $editorSuggestionsAvailability;
13804 public $fileDetailsAvailability;
13805 public $processingFailureReason;
13806 public $processingIssuesAvailability;
13807 protected $processingProgressType = 'Google_Service_YouTube_VideoProcessingDetailsProcessingProgress';
13808 protected $processingProgressDataType = '';
13809 public $processingStatus;
13810 public $tagSuggestionsAvailability;
13811 public $thumbnailsAvailability;
13812
13813
13814 public function setEditorSuggestionsAvailability($editorSuggestionsAvailability)
13815 {
13816 $this->editorSuggestionsAvailability = $editorSuggestionsAvailability;
13817 }
13818 public function getEditorSuggestionsAvailability()
13819 {
13820 return $this->editorSuggestionsAvailability;
13821 }
13822 public function setFileDetailsAvailability($fileDetailsAvailability)
13823 {
13824 $this->fileDetailsAvailability = $fileDetailsAvailability;
13825 }
13826 public function getFileDetailsAvailability()
13827 {
13828 return $this->fileDetailsAvailability;
13829 }
13830 public function setProcessingFailureReason($processingFailureReason)
13831 {
13832 $this->processingFailureReason = $processingFailureReason;
13833 }
13834 public function getProcessingFailureReason()
13835 {
13836 return $this->processingFailureReason;
13837 }
13838 public function setProcessingIssuesAvailability($processingIssuesAvailability)
13839 {
13840 $this->processingIssuesAvailability = $processingIssuesAvailability;
13841 }
13842 public function getProcessingIssuesAvailability()
13843 {
13844 return $this->processingIssuesAvailability;
13845 }
13846 public function setProcessingProgress(Google_Service_YouTube_VideoProcessingDetailsProcessingProgress $processingProgress)
13847 {
13848 $this->processingProgress = $processingProgress;
13849 }
13850 public function getProcessingProgress()
13851 {
13852 return $this->processingProgress;
13853 }
13854 public function setProcessingStatus($processingStatus)
13855 {
13856 $this->processingStatus = $processingStatus;
13857 }
13858 public function getProcessingStatus()
13859 {
13860 return $this->processingStatus;
13861 }
13862 public function setTagSuggestionsAvailability($tagSuggestionsAvailability)
13863 {
13864 $this->tagSuggestionsAvailability = $tagSuggestionsAvailability;
13865 }
13866 public function getTagSuggestionsAvailability()
13867 {
13868 return $this->tagSuggestionsAvailability;
13869 }
13870 public function setThumbnailsAvailability($thumbnailsAvailability)
13871 {
13872 $this->thumbnailsAvailability = $thumbnailsAvailability;
13873 }
13874 public function getThumbnailsAvailability()
13875 {
13876 return $this->thumbnailsAvailability;
13877 }
13878 }
13879
13880 class Google_Service_YouTube_VideoProcessingDetailsProcessingProgress extends Google_Model
13881 {
13882 protected $internal_gapi_mappings = array(
13883 );
13884 public $partsProcessed;
13885 public $partsTotal;
13886 public $timeLeftMs;
13887
13888
13889 public function setPartsProcessed($partsProcessed)
13890 {
13891 $this->partsProcessed = $partsProcessed;
13892 }
13893 public function getPartsProcessed()
13894 {
13895 return $this->partsProcessed;
13896 }
13897 public function setPartsTotal($partsTotal)
13898 {
13899 $this->partsTotal = $partsTotal;
13900 }
13901 public function getPartsTotal()
13902 {
13903 return $this->partsTotal;
13904 }
13905 public function setTimeLeftMs($timeLeftMs)
13906 {
13907 $this->timeLeftMs = $timeLeftMs;
13908 }
13909 public function getTimeLeftMs()
13910 {
13911 return $this->timeLeftMs;
13912 }
13913 }
13914
13915 class Google_Service_YouTube_VideoProjectDetails extends Google_Collection
13916 {
13917 protected $collection_key = 'tags';
13918 protected $internal_gapi_mappings = array(
13919 );
13920 public $tags;
13921
13922
13923 public function setTags($tags)
13924 {
13925 $this->tags = $tags;
13926 }
13927 public function getTags()
13928 {
13929 return $this->tags;
13930 }
13931 }
13932
13933 class Google_Service_YouTube_VideoRating extends Google_Model
13934 {
13935 protected $internal_gapi_mappings = array(
13936 );
13937 public $rating;
13938 public $videoId;
13939
13940
13941 public function setRating($rating)
13942 {
13943 $this->rating = $rating;
13944 }
13945 public function getRating()
13946 {
13947 return $this->rating;
13948 }
13949 public function setVideoId($videoId)
13950 {
13951 $this->videoId = $videoId;
13952 }
13953 public function getVideoId()
13954 {
13955 return $this->videoId;
13956 }
13957 }
13958
13959 class Google_Service_YouTube_VideoRecordingDetails extends Google_Model
13960 {
13961 protected $internal_gapi_mappings = array(
13962 );
13963 protected $locationType = 'Google_Service_YouTube_GeoPoint';
13964 protected $locationDataType = '';
13965 public $locationDescription;
13966 public $recordingDate;
13967
13968
13969 public function setLocation(Google_Service_YouTube_GeoPoint $location)
13970 {
13971 $this->location = $location;
13972 }
13973 public function getLocation()
13974 {
13975 return $this->location;
13976 }
13977 public function setLocationDescription($locationDescription)
13978 {
13979 $this->locationDescription = $locationDescription;
13980 }
13981 public function getLocationDescription()
13982 {
13983 return $this->locationDescription;
13984 }
13985 public function setRecordingDate($recordingDate)
13986 {
13987 $this->recordingDate = $recordingDate;
13988 }
13989 public function getRecordingDate()
13990 {
13991 return $this->recordingDate;
13992 }
13993 }
13994
13995 class Google_Service_YouTube_VideoSnippet extends Google_Collection
13996 {
13997 protected $collection_key = 'tags';
13998 protected $internal_gapi_mappings = array(
13999 );
14000 public $categoryId;
14001 public $channelId;
14002 public $channelTitle;
14003 public $defaultAudioLanguage;
14004 public $defaultLanguage;
14005 public $description;
14006 public $liveBroadcastContent;
14007 protected $localizedType = 'Google_Service_YouTube_VideoLocalization';
14008 protected $localizedDataType = '';
14009 public $publishedAt;
14010 public $tags;
14011 protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails';
14012 protected $thumbnailsDataType = '';
14013 public $title;
14014
14015
14016 public function setCategoryId($categoryId)
14017 {
14018 $this->categoryId = $categoryId;
14019 }
14020 public function getCategoryId()
14021 {
14022 return $this->categoryId;
14023 }
14024 public function setChannelId($channelId)
14025 {
14026 $this->channelId = $channelId;
14027 }
14028 public function getChannelId()
14029 {
14030 return $this->channelId;
14031 }
14032 public function setChannelTitle($channelTitle)
14033 {
14034 $this->channelTitle = $channelTitle;
14035 }
14036 public function getChannelTitle()
14037 {
14038 return $this->channelTitle;
14039 }
14040 public function setDefaultAudioLanguage($defaultAudioLanguage)
14041 {
14042 $this->defaultAudioLanguage = $defaultAudioLanguage;
14043 }
14044 public function getDefaultAudioLanguage()
14045 {
14046 return $this->defaultAudioLanguage;
14047 }
14048 public function setDefaultLanguage($defaultLanguage)
14049 {
14050 $this->defaultLanguage = $defaultLanguage;
14051 }
14052 public function getDefaultLanguage()
14053 {
14054 return $this->defaultLanguage;
14055 }
14056 public function setDescription($description)
14057 {
14058 $this->description = $description;
14059 }
14060 public function getDescription()
14061 {
14062 return $this->description;
14063 }
14064 public function setLiveBroadcastContent($liveBroadcastContent)
14065 {
14066 $this->liveBroadcastContent = $liveBroadcastContent;
14067 }
14068 public function getLiveBroadcastContent()
14069 {
14070 return $this->liveBroadcastContent;
14071 }
14072 public function setLocalized(Google_Service_YouTube_VideoLocalization $localized)
14073 {
14074 $this->localized = $localized;
14075 }
14076 public function getLocalized()
14077 {
14078 return $this->localized;
14079 }
14080 public function setPublishedAt($publishedAt)
14081 {
14082 $this->publishedAt = $publishedAt;
14083 }
14084 public function getPublishedAt()
14085 {
14086 return $this->publishedAt;
14087 }
14088 public function setTags($tags)
14089 {
14090 $this->tags = $tags;
14091 }
14092 public function getTags()
14093 {
14094 return $this->tags;
14095 }
14096 public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails)
14097 {
14098 $this->thumbnails = $thumbnails;
14099 }
14100 public function getThumbnails()
14101 {
14102 return $this->thumbnails;
14103 }
14104 public function setTitle($title)
14105 {
14106 $this->title = $title;
14107 }
14108 public function getTitle()
14109 {
14110 return $this->title;
14111 }
14112 }
14113
14114 class Google_Service_YouTube_VideoStatistics extends Google_Model
14115 {
14116 protected $internal_gapi_mappings = array(
14117 );
14118 public $commentCount;
14119 public $dislikeCount;
14120 public $favoriteCount;
14121 public $likeCount;
14122 public $viewCount;
14123
14124
14125 public function setCommentCount($commentCount)
14126 {
14127 $this->commentCount = $commentCount;
14128 }
14129 public function getCommentCount()
14130 {
14131 return $this->commentCount;
14132 }
14133 public function setDislikeCount($dislikeCount)
14134 {
14135 $this->dislikeCount = $dislikeCount;
14136 }
14137 public function getDislikeCount()
14138 {
14139 return $this->dislikeCount;
14140 }
14141 public function setFavoriteCount($favoriteCount)
14142 {
14143 $this->favoriteCount = $favoriteCount;
14144 }
14145 public function getFavoriteCount()
14146 {
14147 return $this->favoriteCount;
14148 }
14149 public function setLikeCount($likeCount)
14150 {
14151 $this->likeCount = $likeCount;
14152 }
14153 public function getLikeCount()
14154 {
14155 return $this->likeCount;
14156 }
14157 public function setViewCount($viewCount)
14158 {
14159 $this->viewCount = $viewCount;
14160 }
14161 public function getViewCount()
14162 {
14163 return $this->viewCount;
14164 }
14165 }
14166
14167 class Google_Service_YouTube_VideoStatus extends Google_Model
14168 {
14169 protected $internal_gapi_mappings = array(
14170 );
14171 public $embeddable;
14172 public $failureReason;
14173 public $license;
14174 public $privacyStatus;
14175 public $publicStatsViewable;
14176 public $publishAt;
14177 public $rejectionReason;
14178 public $uploadStatus;
14179
14180
14181 public function setEmbeddable($embeddable)
14182 {
14183 $this->embeddable = $embeddable;
14184 }
14185 public function getEmbeddable()
14186 {
14187 return $this->embeddable;
14188 }
14189 public function setFailureReason($failureReason)
14190 {
14191 $this->failureReason = $failureReason;
14192 }
14193 public function getFailureReason()
14194 {
14195 return $this->failureReason;
14196 }
14197 public function setLicense($license)
14198 {
14199 $this->license = $license;
14200 }
14201 public function getLicense()
14202 {
14203 return $this->license;
14204 }
14205 public function setPrivacyStatus($privacyStatus)
14206 {
14207 $this->privacyStatus = $privacyStatus;
14208 }
14209 public function getPrivacyStatus()
14210 {
14211 return $this->privacyStatus;
14212 }
14213 public function setPublicStatsViewable($publicStatsViewable)
14214 {
14215 $this->publicStatsViewable = $publicStatsViewable;
14216 }
14217 public function getPublicStatsViewable()
14218 {
14219 return $this->publicStatsViewable;
14220 }
14221 public function setPublishAt($publishAt)
14222 {
14223 $this->publishAt = $publishAt;
14224 }
14225 public function getPublishAt()
14226 {
14227 return $this->publishAt;
14228 }
14229 public function setRejectionReason($rejectionReason)
14230 {
14231 $this->rejectionReason = $rejectionReason;
14232 }
14233 public function getRejectionReason()
14234 {
14235 return $this->rejectionReason;
14236 }
14237 public function setUploadStatus($uploadStatus)
14238 {
14239 $this->uploadStatus = $uploadStatus;
14240 }
14241 public function getUploadStatus()
14242 {
14243 return $this->uploadStatus;
14244 }
14245 }
14246
14247 class Google_Service_YouTube_VideoSuggestions extends Google_Collection
14248 {
14249 protected $collection_key = 'tagSuggestions';
14250 protected $internal_gapi_mappings = array(
14251 );
14252 public $editorSuggestions;
14253 public $processingErrors;
14254 public $processingHints;
14255 public $processingWarnings;
14256 protected $tagSuggestionsType = 'Google_Service_YouTube_VideoSuggestionsTagSuggestion';
14257 protected $tagSuggestionsDataType = 'array';
14258
14259
14260 public function setEditorSuggestions($editorSuggestions)
14261 {
14262 $this->editorSuggestions = $editorSuggestions;
14263 }
14264 public function getEditorSuggestions()
14265 {
14266 return $this->editorSuggestions;
14267 }
14268 public function setProcessingErrors($processingErrors)
14269 {
14270 $this->processingErrors = $processingErrors;
14271 }
14272 public function getProcessingErrors()
14273 {
14274 return $this->processingErrors;
14275 }
14276 public function setProcessingHints($processingHints)
14277 {
14278 $this->processingHints = $processingHints;
14279 }
14280 public function getProcessingHints()
14281 {
14282 return $this->processingHints;
14283 }
14284 public function setProcessingWarnings($processingWarnings)
14285 {
14286 $this->processingWarnings = $processingWarnings;
14287 }
14288 public function getProcessingWarnings()
14289 {
14290 return $this->processingWarnings;
14291 }
14292 public function setTagSuggestions($tagSuggestions)
14293 {
14294 $this->tagSuggestions = $tagSuggestions;
14295 }
14296 public function getTagSuggestions()
14297 {
14298 return $this->tagSuggestions;
14299 }
14300 }
14301
14302 class Google_Service_YouTube_VideoSuggestionsTagSuggestion extends Google_Collection
14303 {
14304 protected $collection_key = 'categoryRestricts';
14305 protected $internal_gapi_mappings = array(
14306 );
14307 public $categoryRestricts;
14308 public $tag;
14309
14310
14311 public function setCategoryRestricts($categoryRestricts)
14312 {
14313 $this->categoryRestricts = $categoryRestricts;
14314 }
14315 public function getCategoryRestricts()
14316 {
14317 return $this->categoryRestricts;
14318 }
14319 public function setTag($tag)
14320 {
14321 $this->tag = $tag;
14322 }
14323 public function getTag()
14324 {
14325 return $this->tag;
14326 }
14327 }
14328
14329 class Google_Service_YouTube_VideoTopicDetails extends Google_Collection
14330 {
14331 protected $collection_key = 'topicIds';
14332 protected $internal_gapi_mappings = array(
14333 );
14334 public $relevantTopicIds;
14335 public $topicIds;
14336
14337
14338 public function setRelevantTopicIds($relevantTopicIds)
14339 {
14340 $this->relevantTopicIds = $relevantTopicIds;
14341 }
14342 public function getRelevantTopicIds()
14343 {
14344 return $this->relevantTopicIds;
14345 }
14346 public function setTopicIds($topicIds)
14347 {
14348 $this->topicIds = $topicIds;
14349 }
14350 public function getTopicIds()
14351 {
14352 return $this->topicIds;
14353 }
14354 }
14355
14356 class Google_Service_YouTube_WatchSettings extends Google_Model
14357 {
14358 protected $internal_gapi_mappings = array(
14359 );
14360 public $backgroundColor;
14361 public $featuredPlaylistId;
14362 public $textColor;
14363
14364
14365 public function setBackgroundColor($backgroundColor)
14366 {
14367 $this->backgroundColor = $backgroundColor;
14368 }
14369 public function getBackgroundColor()
14370 {
14371 return $this->backgroundColor;
14372 }
14373 public function setFeaturedPlaylistId($featuredPlaylistId)
14374 {
14375 $this->featuredPlaylistId = $featuredPlaylistId;
14376 }
14377 public function getFeaturedPlaylistId()
14378 {
14379 return $this->featuredPlaylistId;
14380 }
14381 public function setTextColor($textColor)
14382 {
14383 $this->textColor = $textColor;
14384 }
14385 public function getTextColor()
14386 {
14387 return $this->textColor;
14388 }
14389 }
14390