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