PluginProbe
Authorizer / 2.2
Authorizer v2.2
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 / inc / google-api-php-client / src / Google / Service / YouTube.php

YouTube.php in Authorizer 2.2, at inc/google-api-php-client/src/Google/Service/YouTube.php

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