1<?php 2/* 3 * Copyright 2014 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 * Supports core YouTube features, such as uploading videos, creating and 23 * managing playlists, searching for content, and much more.</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 */ 32class Google_Service_YouTube extends Google_Service 33{ 34 /** Manage your YouTube account. */ 35 const YOUTUBE = 36 "https://www.googleapis.com/auth/youtube"; 37 /** See, edit, and permanently delete your YouTube videos, ratings, comments and captions. */ 38 const YOUTUBE_FORCE_SSL = 39 "https://www.googleapis.com/auth/youtube.force-ssl"; 40 /** View your YouTube account. */ 41 const YOUTUBE_READONLY = 42 "https://www.googleapis.com/auth/youtube.readonly"; 43 /** Manage your YouTube videos. */ 44 const YOUTUBE_UPLOAD = 45 "https://www.googleapis.com/auth/youtube.upload"; 46 /** View and manage your assets and associated content on YouTube. */ 47 const YOUTUBEPARTNER = 48 "https://www.googleapis.com/auth/youtubepartner"; 49 /** View private information of your YouTube channel relevant during the audit process with a YouTube partner. */ 50 const YOUTUBEPARTNER_CHANNEL_AUDIT = 51 "https://www.googleapis.com/auth/youtubepartner-channel-audit"; 52 53 public $activities; 54 public $captions; 55 public $channelBanners; 56 public $channelSections; 57 public $channels; 58 public $commentThreads; 59 public $comments; 60 public $guideCategories; 61 public $i18nLanguages; 62 public $i18nRegions; 63 public $liveBroadcasts; 64 public $liveChatBans; 65 public $liveChatMessages; 66 public $liveChatModerators; 67 public $liveStreams; 68 public $playlistItems; 69 public $playlists; 70 public $search; 71 public $sponsors; 72 public $subscriptions; 73 public $superChatEvents; 74 public $thumbnails; 75 public $videoAbuseReportReasons; 76 public $videoCategories; 77 public $videos; 78 public $watermarks; 79 80 /** 81 * Constructs the internal representation of the YouTube service. 82 * 83 * @param Google_Client $client 84 */ 85 public function __construct(Google_Client $client) 86 { 87 parent::__construct($client); 88 $this->rootUrl = 'https://www.googleapis.com/'; 89 $this->servicePath = 'youtube/v3/'; 90 $this->batchPath = 'batch/youtube/v3'; 91 $this->version = 'v3'; 92 $this->serviceName = 'youtube'; 93 94 $this->activities = new Google_Service_YouTube_Resource_Activities( 95 $this, 96 $this->serviceName, 97 'activities', 98 array( 99 'methods' => array( 100 'insert' => array( 101 'path' => 'activities', 102 'httpMethod' => 'POST', 103 'parameters' => array( 104 'part' => array( 105 'location' => 'query', 106 'type' => 'string', 107 'required' => true, 108 ), 109 ), 110 ),'list' => array( 111 'path' => 'activities', 112 'httpMethod' => 'GET', 113 'parameters' => array( 114 'part' => array( 115 'location' => 'query', 116 'type' => 'string', 117 'required' => true, 118 ), 119 'channelId' => array( 120 'location' => 'query', 121 'type' => 'string', 122 ), 123 'home' => array( 124 'location' => 'query', 125 'type' => 'boolean', 126 ), 127 'maxResults' => array( 128 'location' => 'query', 129 'type' => 'integer', 130 ), 131 'mine' => array( 132 'location' => 'query', 133 'type' => 'boolean', 134 ), 135 'pageToken' => array( 136 'location' => 'query', 137 'type' => 'string', 138 ), 139 'publishedAfter' => array( 140 'location' => 'query', 141 'type' => 'string', 142 ), 143 'publishedBefore' => array( 144 'location' => 'query', 145 'type' => 'string', 146 ), 147 'regionCode' => array( 148 'location' => 'query', 149 'type' => 'string', 150 ), 151 ), 152 ), 153 ) 154 ) 155 ); 156 $this->captions = new Google_Service_YouTube_Resource_Captions( 157 $this, 158 $this->serviceName, 159 'captions', 160 array( 161 'methods' => array( 162 'delete' => array( 163 'path' => 'captions', 164 'httpMethod' => 'DELETE', 165 'parameters' => array( 166 'id' => array( 167 'location' => 'query', 168 'type' => 'string', 169 'required' => true, 170 ), 171 'onBehalfOf' => array( 172 'location' => 'query', 173 'type' => 'string', 174 ), 175 'onBehalfOfContentOwner' => array( 176 'location' => 'query', 177 'type' => 'string', 178 ), 179 ), 180 ),'download' => array( 181 'path' => 'captions/{id}', 182 'httpMethod' => 'GET', 183 'parameters' => array( 184 'id' => array( 185 'location' => 'path', 186 'type' => 'string', 187 'required' => true, 188 ), 189 'onBehalfOf' => array( 190 'location' => 'query', 191 'type' => 'string', 192 ), 193 'onBehalfOfContentOwner' => array( 194 'location' => 'query', 195 'type' => 'string', 196 ), 197 'tfmt' => array( 198 'location' => 'query', 199 'type' => 'string', 200 ), 201 'tlang' => array( 202 'location' => 'query', 203 'type' => 'string', 204 ), 205 ), 206 ),'insert' => array( 207 'path' => 'captions', 208 'httpMethod' => 'POST', 209 'parameters' => array( 210 'part' => array( 211 'location' => 'query', 212 'type' => 'string', 213 'required' => true, 214 ), 215 'onBehalfOf' => array( 216 'location' => 'query', 217 'type' => 'string', 218 ), 219 'onBehalfOfContentOwner' => array( 220 'location' => 'query', 221 'type' => 'string', 222 ), 223 'sync' => array( 224 'location' => 'query', 225 'type' => 'boolean', 226 ), 227 ), 228 ),'list' => array( 229 'path' => 'captions', 230 'httpMethod' => 'GET', 231 'parameters' => array( 232 'part' => array( 233 'location' => 'query', 234 'type' => 'string', 235 'required' => true, 236 ), 237 'videoId' => array( 238 'location' => 'query', 239 'type' => 'string', 240 'required' => true, 241 ), 242 'id' => array( 243 'location' => 'query', 244 'type' => 'string', 245 ), 246 'onBehalfOf' => array( 247 'location' => 'query', 248 'type' => 'string', 249 ), 250 'onBehalfOfContentOwner' => array( 251 'location' => 'query', 252 'type' => 'string', 253 ), 254 ), 255 ),'update' => array( 256 'path' => 'captions', 257 'httpMethod' => 'PUT', 258 'parameters' => array( 259 'part' => array( 260 'location' => 'query', 261 'type' => 'string', 262 'required' => true, 263 ), 264 'onBehalfOf' => array( 265 'location' => 'query', 266 'type' => 'string', 267 ), 268 'onBehalfOfContentOwner' => array( 269 'location' => 'query', 270 'type' => 'string', 271 ), 272 'sync' => array( 273 'location' => 'query', 274 'type' => 'boolean', 275 ), 276 ), 277 ), 278 ) 279 ) 280 ); 281 $this->channelBanners = new Google_Service_YouTube_Resource_ChannelBanners( 282 $this, 283 $this->serviceName, 284 'channelBanners', 285 array( 286 'methods' => array( 287 'insert' => array( 288 'path' => 'channelBanners/insert', 289 'httpMethod' => 'POST', 290 'parameters' => array( 291 'channelId' => array( 292 'location' => 'query', 293 'type' => 'string', 294 ), 295 'onBehalfOfContentOwner' => array( 296 'location' => 'query', 297 'type' => 'string', 298 ), 299 ), 300 ), 301 ) 302 ) 303 ); 304 $this->channelSections = new Google_Service_YouTube_Resource_ChannelSections( 305 $this, 306 $this->serviceName, 307 'channelSections', 308 array( 309 'methods' => array( 310 'delete' => array( 311 'path' => 'channelSections', 312 'httpMethod' => 'DELETE', 313 'parameters' => array( 314 'id' => array( 315 'location' => 'query', 316 'type' => 'string', 317 'required' => true, 318 ), 319 'onBehalfOfContentOwner' => array( 320 'location' => 'query', 321 'type' => 'string', 322 ), 323 ), 324 ),'insert' => array( 325 'path' => 'channelSections', 326 'httpMethod' => 'POST', 327 'parameters' => array( 328 'part' => array( 329 'location' => 'query', 330 'type' => 'string', 331 'required' => true, 332 ), 333 'onBehalfOfContentOwner' => array( 334 'location' => 'query', 335 'type' => 'string', 336 ), 337 'onBehalfOfContentOwnerChannel' => array( 338 'location' => 'query', 339 'type' => 'string', 340 ), 341 ), 342 ),'list' => array( 343 'path' => 'channelSections', 344 'httpMethod' => 'GET', 345 'parameters' => array( 346 'part' => array( 347 'location' => 'query', 348 'type' => 'string', 349 'required' => true, 350 ), 351 'channelId' => array( 352 'location' => 'query', 353 'type' => 'string', 354 ), 355 'hl' => array( 356 'location' => 'query', 357 'type' => 'string', 358 ), 359 'id' => array( 360 'location' => 'query', 361 'type' => 'string', 362 ), 363 'mine' => array( 364 'location' => 'query', 365 'type' => 'boolean', 366 ), 367 'onBehalfOfContentOwner' => array( 368 'location' => 'query', 369 'type' => 'string', 370 ), 371 ), 372 ),'update' => array( 373 'path' => 'channelSections', 374 'httpMethod' => 'PUT', 375 'parameters' => array( 376 'part' => array( 377 'location' => 'query', 378 'type' => 'string', 379 'required' => true, 380 ), 381 'onBehalfOfContentOwner' => array( 382 'location' => 'query', 383 'type' => 'string', 384 ), 385 ), 386 ), 387 ) 388 ) 389 ); 390 $this->channels = new Google_Service_YouTube_Resource_Channels( 391 $this, 392 $this->serviceName, 393 'channels', 394 array( 395 'methods' => array( 396 'list' => array( 397 'path' => 'channels', 398 'httpMethod' => 'GET', 399 'parameters' => array( 400 'part' => array( 401 'location' => 'query', 402 'type' => 'string', 403 'required' => true, 404 ), 405 'categoryId' => array( 406 'location' => 'query', 407 'type' => 'string', 408 ), 409 'forUsername' => array( 410 'location' => 'query', 411 'type' => 'string', 412 ), 413 'hl' => array( 414 'location' => 'query', 415 'type' => 'string', 416 ), 417 'id' => array( 418 'location' => 'query', 419 'type' => 'string', 420 ), 421 'managedByMe' => array( 422 'location' => 'query', 423 'type' => 'boolean', 424 ), 425 'maxResults' => array( 426 'location' => 'query', 427 'type' => 'integer', 428 ), 429 'mine' => array( 430 'location' => 'query', 431 'type' => 'boolean', 432 ), 433 'mySubscribers' => array( 434 'location' => 'query', 435 'type' => 'boolean', 436 ), 437 'onBehalfOfContentOwner' => array( 438 'location' => 'query', 439 'type' => 'string', 440 ), 441 'pageToken' => array( 442 'location' => 'query', 443 'type' => 'string', 444 ), 445 ), 446 ),'update' => array( 447 'path' => 'channels', 448 'httpMethod' => 'PUT', 449 'parameters' => array( 450 'part' => array( 451 'location' => 'query', 452 'type' => 'string', 453 'required' => true, 454 ), 455 'onBehalfOfContentOwner' => array( 456 'location' => 'query', 457 'type' => 'string', 458 ), 459 ), 460 ), 461 ) 462 ) 463 ); 464 $this->commentThreads = new Google_Service_YouTube_Resource_CommentThreads( 465 $this, 466 $this->serviceName, 467 'commentThreads', 468 array( 469 'methods' => array( 470 'insert' => array( 471 'path' => 'commentThreads', 472 'httpMethod' => 'POST', 473 'parameters' => array( 474 'part' => array( 475 'location' => 'query', 476 'type' => 'string', 477 'required' => true, 478 ), 479 ), 480 ),'list' => array( 481 'path' => 'commentThreads', 482 'httpMethod' => 'GET', 483 'parameters' => array( 484 'part' => array( 485 'location' => 'query', 486 'type' => 'string', 487 'required' => true, 488 ), 489 'allThreadsRelatedToChannelId' => array( 490 'location' => 'query', 491 'type' => 'string', 492 ), 493 'channelId' => array( 494 'location' => 'query', 495 'type' => 'string', 496 ), 497 'id' => array( 498 'location' => 'query', 499 'type' => 'string', 500 ), 501 'maxResults' => array( 502 'location' => 'query', 503 'type' => 'integer', 504 ), 505 'moderationStatus' => array( 506 'location' => 'query', 507 'type' => 'string', 508 ), 509 'order' => array( 510 'location' => 'query', 511 'type' => 'string', 512 ), 513 'pageToken' => array( 514 'location' => 'query', 515 'type' => 'string', 516 ), 517 'searchTerms' => array( 518 'location' => 'query', 519 'type' => 'string', 520 ), 521 'textFormat' => array( 522 'location' => 'query', 523 'type' => 'string', 524 ), 525 'videoId' => array( 526 'location' => 'query', 527 'type' => 'string', 528 ), 529 ), 530 ),'update' => array( 531 'path' => 'commentThreads', 532 'httpMethod' => 'PUT', 533 'parameters' => array( 534 'part' => array( 535 'location' => 'query', 536 'type' => 'string', 537 'required' => true, 538 ), 539 ), 540 ), 541 ) 542 ) 543 ); 544 $this->comments = new Google_Service_YouTube_Resource_Comments( 545 $this, 546 $this->serviceName, 547 'comments', 548 array( 549 'methods' => array( 550 'delete' => array( 551 'path' => 'comments', 552 'httpMethod' => 'DELETE', 553 'parameters' => array( 554 'id' => array( 555 'location' => 'query', 556 'type' => 'string', 557 'required' => true, 558 ), 559 ), 560 ),'insert' => array( 561 'path' => 'comments', 562 'httpMethod' => 'POST', 563 'parameters' => array( 564 'part' => array( 565 'location' => 'query', 566 'type' => 'string', 567 'required' => true, 568 ), 569 ), 570 ),'list' => array( 571 'path' => 'comments', 572 'httpMethod' => 'GET', 573 'parameters' => array( 574 'part' => array( 575 'location' => 'query', 576 'type' => 'string', 577 'required' => true, 578 ), 579 'id' => array( 580 'location' => 'query', 581 'type' => 'string', 582 ), 583 'maxResults' => array( 584 'location' => 'query', 585 'type' => 'integer', 586 ), 587 'pageToken' => array( 588 'location' => 'query', 589 'type' => 'string', 590 ), 591 'parentId' => array( 592 'location' => 'query', 593 'type' => 'string', 594 ), 595 'textFormat' => array( 596 'location' => 'query', 597 'type' => 'string', 598 ), 599 ), 600 ),'markAsSpam' => array( 601 'path' => 'comments/markAsSpam', 602 'httpMethod' => 'POST', 603 'parameters' => array( 604 'id' => array( 605 'location' => 'query', 606 'type' => 'string', 607 'required' => true, 608 ), 609 ), 610 ),'setModerationStatus' => array( 611 'path' => 'comments/setModerationStatus', 612 'httpMethod' => 'POST', 613 'parameters' => array( 614 'id' => array( 615 'location' => 'query', 616 'type' => 'string', 617 'required' => true, 618 ), 619 'moderationStatus' => array( 620 'location' => 'query', 621 'type' => 'string', 622 'required' => true, 623 ), 624 'banAuthor' => array( 625 'location' => 'query', 626 'type' => 'boolean', 627 ), 628 ), 629 ),'update' => array( 630 'path' => 'comments', 631 'httpMethod' => 'PUT', 632 'parameters' => array( 633 'part' => array( 634 'location' => 'query', 635 'type' => 'string', 636 'required' => true, 637 ), 638 ), 639 ), 640 ) 641 ) 642 ); 643 $this->guideCategories = new Google_Service_YouTube_Resource_GuideCategories( 644 $this, 645 $this->serviceName, 646 'guideCategories', 647 array( 648 'methods' => array( 649 'list' => array( 650 'path' => 'guideCategories', 651 'httpMethod' => 'GET', 652 'parameters' => array( 653 'part' => array( 654 'location' => 'query', 655 'type' => 'string', 656 'required' => true, 657 ), 658 'hl' => array( 659 'location' => 'query', 660 'type' => 'string', 661 ), 662 'id' => array( 663 'location' => 'query', 664 'type' => 'string', 665 ), 666 'regionCode' => array( 667 'location' => 'query', 668 'type' => 'string', 669 ), 670 ), 671 ), 672 ) 673 ) 674 ); 675 $this->i18nLanguages = new Google_Service_YouTube_Resource_I18nLanguages( 676 $this, 677 $this->serviceName, 678 'i18nLanguages', 679 array( 680 'methods' => array( 681 'list' => array( 682 'path' => 'i18nLanguages', 683 'httpMethod' => 'GET', 684 'parameters' => array( 685 'part' => array( 686 'location' => 'query', 687 'type' => 'string', 688 'required' => true, 689 ), 690 'hl' => array( 691 'location' => 'query', 692 'type' => 'string', 693 ), 694 ), 695 ), 696 ) 697 ) 698 ); 699 $this->i18nRegions = new Google_Service_YouTube_Resource_I18nRegions( 700 $this, 701 $this->serviceName, 702 'i18nRegions', 703 array( 704 'methods' => array( 705 'list' => array( 706 'path' => 'i18nRegions', 707 'httpMethod' => 'GET', 708 'parameters' => array( 709 'part' => array( 710 'location' => 'query', 711 'type' => 'string', 712 'required' => true, 713 ), 714 'hl' => array( 715 'location' => 'query', 716 'type' => 'string', 717 ), 718 ), 719 ), 720 ) 721 ) 722 ); 723 $this->liveBroadcasts = new Google_Service_YouTube_Resource_LiveBroadcasts( 724 $this, 725 $this->serviceName, 726 'liveBroadcasts', 727 array( 728 'methods' => array( 729 'bind' => array( 730 'path' => 'liveBroadcasts/bind', 731 'httpMethod' => 'POST', 732 'parameters' => array( 733 'id' => array( 734 'location' => 'query', 735 'type' => 'string', 736 'required' => true, 737 ), 738 'part' => array( 739 'location' => 'query', 740 'type' => 'string', 741 'required' => true, 742 ), 743 'onBehalfOfContentOwner' => array( 744 'location' => 'query', 745 'type' => 'string', 746 ), 747 'onBehalfOfContentOwnerChannel' => array( 748 'location' => 'query', 749 'type' => 'string', 750 ), 751 'streamId' => array( 752 'location' => 'query', 753 'type' => 'string', 754 ), 755 ), 756 ),'control' => array( 757 'path' => 'liveBroadcasts/control', 758 'httpMethod' => 'POST', 759 'parameters' => array( 760 'id' => array( 761 'location' => 'query', 762 'type' => 'string', 763 'required' => true, 764 ), 765 'part' => array( 766 'location' => 'query', 767 'type' => 'string', 768 'required' => true, 769 ), 770 'displaySlate' => array( 771 'location' => 'query', 772 'type' => 'boolean', 773 ), 774 'offsetTimeMs' => array( 775 'location' => 'query', 776 'type' => 'string', 777 ), 778 'onBehalfOfContentOwner' => array( 779 'location' => 'query', 780 'type' => 'string', 781 ), 782 'onBehalfOfContentOwnerChannel' => array( 783 'location' => 'query', 784 'type' => 'string', 785 ), 786 'walltime' => array( 787 'location' => 'query', 788 'type' => 'string', 789 ), 790 ), 791 ),'delete' => array( 792 'path' => 'liveBroadcasts', 793 'httpMethod' => 'DELETE', 794 'parameters' => array( 795 'id' => array( 796 'location' => 'query', 797 'type' => 'string', 798 'required' => true, 799 ), 800 'onBehalfOfContentOwner' => array( 801 'location' => 'query', 802 'type' => 'string', 803 ), 804 'onBehalfOfContentOwnerChannel' => array( 805 'location' => 'query', 806 'type' => 'string', 807 ), 808 ), 809 ),'insert' => array( 810 'path' => 'liveBroadcasts', 811 'httpMethod' => 'POST', 812 'parameters' => array( 813 'part' => array( 814 'location' => 'query', 815 'type' => 'string', 816 'required' => true, 817 ), 818 'onBehalfOfContentOwner' => array( 819 'location' => 'query', 820 'type' => 'string', 821 ), 822 'onBehalfOfContentOwnerChannel' => array( 823 'location' => 'query', 824 'type' => 'string', 825 ), 826 ), 827 ),'list' => array( 828 'path' => 'liveBroadcasts', 829 'httpMethod' => 'GET', 830 'parameters' => array( 831 'part' => array( 832 'location' => 'query', 833 'type' => 'string', 834 'required' => true, 835 ), 836 'broadcastStatus' => array( 837 'location' => 'query', 838 'type' => 'string', 839 ), 840 'broadcastType' => array( 841 'location' => 'query', 842 'type' => 'string', 843 ), 844 'id' => array( 845 'location' => 'query', 846 'type' => 'string', 847 ), 848 'maxResults' => array( 849 'location' => 'query', 850 'type' => 'integer', 851 ), 852 'mine' => array( 853 'location' => 'query', 854 'type' => 'boolean', 855 ), 856 'onBehalfOfContentOwner' => array( 857 'location' => 'query', 858 'type' => 'string', 859 ), 860 'onBehalfOfContentOwnerChannel' => array( 861 'location' => 'query', 862 'type' => 'string', 863 ), 864 'pageToken' => array( 865 'location' => 'query', 866 'type' => 'string', 867 ), 868 ), 869 ),'transition' => array( 870 'path' => 'liveBroadcasts/transition', 871 'httpMethod' => 'POST', 872 'parameters' => array( 873 'broadcastStatus' => array( 874 'location' => 'query', 875 'type' => 'string', 876 'required' => true, 877 ), 878 'id' => array( 879 'location' => 'query', 880 'type' => 'string', 881 'required' => true, 882 ), 883 'part' => array( 884 'location' => 'query', 885 'type' => 'string', 886 'required' => true, 887 ), 888 'onBehalfOfContentOwner' => array( 889 'location' => 'query', 890 'type' => 'string', 891 ), 892 'onBehalfOfContentOwnerChannel' => array( 893 'location' => 'query', 894 'type' => 'string', 895 ), 896 ), 897 ),'update' => array( 898 'path' => 'liveBroadcasts', 899 'httpMethod' => 'PUT', 900 'parameters' => array( 901 'part' => array( 902 'location' => 'query', 903 'type' => 'string', 904 'required' => true, 905 ), 906 'onBehalfOfContentOwner' => array( 907 'location' => 'query', 908 'type' => 'string', 909 ), 910 'onBehalfOfContentOwnerChannel' => array( 911 'location' => 'query', 912 'type' => 'string', 913 ), 914 ), 915 ), 916 ) 917 ) 918 ); 919 $this->liveChatBans = new Google_Service_YouTube_Resource_LiveChatBans( 920 $this, 921 $this->serviceName, 922 'liveChatBans', 923 array( 924 'methods' => array( 925 'delete' => array( 926 'path' => 'liveChat/bans', 927 'httpMethod' => 'DELETE', 928 'parameters' => array( 929 'id' => array( 930 'location' => 'query', 931 'type' => 'string', 932 'required' => true, 933 ), 934 ), 935 ),'insert' => array( 936 'path' => 'liveChat/bans', 937 'httpMethod' => 'POST', 938 'parameters' => array( 939 'part' => array( 940 'location' => 'query', 941 'type' => 'string', 942 'required' => true, 943 ), 944 ), 945 ), 946 ) 947 ) 948 ); 949 $this->liveChatMessages = new Google_Service_YouTube_Resource_LiveChatMessages( 950 $this, 951 $this->serviceName, 952 'liveChatMessages', 953 array( 954 'methods' => array( 955 'delete' => array( 956 'path' => 'liveChat/messages', 957 'httpMethod' => 'DELETE', 958 'parameters' => array( 959 'id' => array( 960 'location' => 'query', 961 'type' => 'string', 962 'required' => true, 963 ), 964 ), 965 ),'insert' => array( 966 'path' => 'liveChat/messages', 967 'httpMethod' => 'POST', 968 'parameters' => array( 969 'part' => array( 970 'location' => 'query', 971 'type' => 'string', 972 'required' => true, 973 ), 974 ), 975 ),'list' => array( 976 'path' => 'liveChat/messages', 977 'httpMethod' => 'GET', 978 'parameters' => array( 979 'liveChatId' => array( 980 'location' => 'query', 981 'type' => 'string', 982 'required' => true, 983 ), 984 'part' => array( 985 'location' => 'query', 986 'type' => 'string', 987 'required' => true, 988 ), 989 'hl' => array( 990 'location' => 'query', 991 'type' => 'string', 992 ), 993 'maxResults' => array( 994 'location' => 'query', 995 'type' => 'integer', 996 ), 997 'pageToken' => array( 998 'location' => 'query', 999 'type' => 'string', 1000 ), 1001 'profileImageSize' => array( 1002 'location' => 'query', 1003 'type' => 'integer', 1004 ), 1005 ), 1006 ), 1007 ) 1008 ) 1009 ); 1010 $this->liveChatModerators = new Google_Service_YouTube_Resource_LiveChatModerators( 1011 $this, 1012 $this->serviceName, 1013 'liveChatModerators', 1014 array( 1015 'methods' => array( 1016 'delete' => array( 1017 'path' => 'liveChat/moderators', 1018 'httpMethod' => 'DELETE', 1019 'parameters' => array( 1020 'id' => array( 1021 'location' => 'query', 1022 'type' => 'string', 1023 'required' => true, 1024 ), 1025 ), 1026 ),'insert' => array( 1027 'path' => 'liveChat/moderators', 1028 'httpMethod' => 'POST', 1029 'parameters' => array( 1030 'part' => array( 1031 'location' => 'query', 1032 'type' => 'string', 1033 'required' => true, 1034 ), 1035 ), 1036 ),'list' => array( 1037 'path' => 'liveChat/moderators', 1038 'httpMethod' => 'GET', 1039 'parameters' => array( 1040 'liveChatId' => array( 1041 'location' => 'query', 1042 'type' => 'string', 1043 'required' => true, 1044 ), 1045 'part' => array( 1046 'location' => 'query', 1047 'type' => 'string', 1048 'required' => true, 1049 ), 1050 'maxResults' => array( 1051 'location' => 'query', 1052 'type' => 'integer', 1053 ), 1054 'pageToken' => array( 1055 'location' => 'query', 1056 'type' => 'string', 1057 ), 1058 ), 1059 ), 1060 ) 1061 ) 1062 ); 1063 $this->liveStreams = new Google_Service_YouTube_Resource_LiveStreams( 1064 $this, 1065 $this->serviceName, 1066 'liveStreams', 1067 array( 1068 'methods' => array( 1069 'delete' => array( 1070 'path' => 'liveStreams', 1071 'httpMethod' => 'DELETE', 1072 'parameters' => array( 1073 'id' => array( 1074 'location' => 'query', 1075 'type' => 'string', 1076 'required' => true, 1077 ), 1078 'onBehalfOfContentOwner' => array( 1079 'location' => 'query', 1080 'type' => 'string', 1081 ), 1082 'onBehalfOfContentOwnerChannel' => array( 1083 'location' => 'query', 1084 'type' => 'string', 1085 ), 1086 ), 1087 ),'insert' => array( 1088 'path' => 'liveStreams', 1089 'httpMethod' => 'POST', 1090 'parameters' => array( 1091 'part' => array( 1092 'location' => 'query', 1093 'type' => 'string', 1094 'required' => true, 1095 ), 1096 'onBehalfOfContentOwner' => array( 1097 'location' => 'query', 1098 'type' => 'string', 1099 ), 1100 'onBehalfOfContentOwnerChannel' => array( 1101 'location' => 'query', 1102 'type' => 'string', 1103 ), 1104 ), 1105 ),'list' => array( 1106 'path' => 'liveStreams', 1107 'httpMethod' => 'GET', 1108 'parameters' => array( 1109 'part' => array( 1110 'location' => 'query', 1111 'type' => 'string', 1112 'required' => true, 1113 ), 1114 'id' => array( 1115 'location' => 'query', 1116 'type' => 'string', 1117 ), 1118 'maxResults' => array( 1119 'location' => 'query', 1120 'type' => 'integer', 1121 ), 1122 'mine' => array( 1123 'location' => 'query', 1124 'type' => 'boolean', 1125 ), 1126 'onBehalfOfContentOwner' => array( 1127 'location' => 'query', 1128 'type' => 'string', 1129 ), 1130 'onBehalfOfContentOwnerChannel' => array( 1131 'location' => 'query', 1132 'type' => 'string', 1133 ), 1134 'pageToken' => array( 1135 'location' => 'query', 1136 'type' => 'string', 1137 ), 1138 ), 1139 ),'update' => array( 1140 'path' => 'liveStreams', 1141 'httpMethod' => 'PUT', 1142 'parameters' => array( 1143 'part' => array( 1144 'location' => 'query', 1145 'type' => 'string', 1146 'required' => true, 1147 ), 1148 'onBehalfOfContentOwner' => array( 1149 'location' => 'query', 1150 'type' => 'string', 1151 ), 1152 'onBehalfOfContentOwnerChannel' => array( 1153 'location' => 'query', 1154 'type' => 'string', 1155 ), 1156 ), 1157 ), 1158 ) 1159 ) 1160 ); 1161 $this->playlistItems = new Google_Service_YouTube_Resource_PlaylistItems( 1162 $this, 1163 $this->serviceName, 1164 'playlistItems', 1165 array( 1166 'methods' => array( 1167 'delete' => array( 1168 'path' => 'playlistItems', 1169 'httpMethod' => 'DELETE', 1170 'parameters' => array( 1171 'id' => array( 1172 'location' => 'query', 1173 'type' => 'string', 1174 'required' => true, 1175 ), 1176 'onBehalfOfContentOwner' => array( 1177 'location' => 'query', 1178 'type' => 'string', 1179 ), 1180 ), 1181 ),'insert' => array( 1182 'path' => 'playlistItems', 1183 'httpMethod' => 'POST', 1184 'parameters' => array( 1185 'part' => array( 1186 'location' => 'query', 1187 'type' => 'string', 1188 'required' => true, 1189 ), 1190 'onBehalfOfContentOwner' => array( 1191 'location' => 'query', 1192 'type' => 'string', 1193 ), 1194 ), 1195 ),'list' => array( 1196 'path' => 'playlistItems', 1197 'httpMethod' => 'GET', 1198 'parameters' => array( 1199 'part' => array( 1200 'location' => 'query', 1201 'type' => 'string', 1202 'required' => true, 1203 ), 1204 'id' => array( 1205 'location' => 'query', 1206 'type' => 'string', 1207 ), 1208 'maxResults' => array( 1209 'location' => 'query', 1210 'type' => 'integer', 1211 ), 1212 'onBehalfOfContentOwner' => array( 1213 'location' => 'query', 1214 'type' => 'string', 1215 ), 1216 'pageToken' => array( 1217 'location' => 'query', 1218 'type' => 'string', 1219 ), 1220 'playlistId' => array( 1221 'location' => 'query', 1222 'type' => 'string', 1223 ), 1224 'videoId' => array( 1225 'location' => 'query', 1226 'type' => 'string', 1227 ), 1228 ), 1229 ),'update' => array( 1230 'path' => 'playlistItems', 1231 'httpMethod' => 'PUT', 1232 'parameters' => array( 1233 'part' => array( 1234 'location' => 'query', 1235 'type' => 'string', 1236 'required' => true, 1237 ), 1238 'onBehalfOfContentOwner' => array( 1239 'location' => 'query', 1240 'type' => 'string', 1241 ), 1242 ), 1243 ), 1244 ) 1245 ) 1246 ); 1247 $this->playlists = new Google_Service_YouTube_Resource_Playlists( 1248 $this, 1249 $this->serviceName, 1250 'playlists', 1251 array( 1252 'methods' => array( 1253 'delete' => array( 1254 'path' => 'playlists', 1255 'httpMethod' => 'DELETE', 1256 'parameters' => array( 1257 'id' => array( 1258 'location' => 'query', 1259 'type' => 'string', 1260 'required' => true, 1261 ), 1262 'onBehalfOfContentOwner' => array( 1263 'location' => 'query', 1264 'type' => 'string', 1265 ), 1266 ), 1267 ),'insert' => array( 1268 'path' => 'playlists', 1269 'httpMethod' => 'POST', 1270 'parameters' => array( 1271 'part' => array( 1272 'location' => 'query', 1273 'type' => 'string', 1274 'required' => true, 1275 ), 1276 'onBehalfOfContentOwner' => array( 1277 'location' => 'query', 1278 'type' => 'string', 1279 ), 1280 'onBehalfOfContentOwnerChannel' => array( 1281 'location' => 'query', 1282 'type' => 'string', 1283 ), 1284 ), 1285 ),'list' => array( 1286 'path' => 'playlists', 1287 'httpMethod' => 'GET', 1288 'parameters' => array( 1289 'part' => array( 1290 'location' => 'query', 1291 'type' => 'string', 1292 'required' => true, 1293 ), 1294 'channelId' => array( 1295 'location' => 'query', 1296 'type' => 'string', 1297 ), 1298 'hl' => array( 1299 'location' => 'query', 1300 'type' => 'string', 1301 ), 1302 'id' => array( 1303 'location' => 'query', 1304 'type' => 'string', 1305 ), 1306 'maxResults' => array( 1307 'location' => 'query', 1308 'type' => 'integer', 1309 ), 1310 'mine' => array( 1311 'location' => 'query', 1312 'type' => 'boolean', 1313 ), 1314 'onBehalfOfContentOwner' => array( 1315 'location' => 'query', 1316 'type' => 'string', 1317 ), 1318 'onBehalfOfContentOwnerChannel' => array( 1319 'location' => 'query', 1320 'type' => 'string', 1321 ), 1322 'pageToken' => array( 1323 'location' => 'query', 1324 'type' => 'string', 1325 ), 1326 ), 1327 ),'update' => array( 1328 'path' => 'playlists', 1329 'httpMethod' => 'PUT', 1330 'parameters' => array( 1331 'part' => array( 1332 'location' => 'query', 1333 'type' => 'string', 1334 'required' => true, 1335 ), 1336 'onBehalfOfContentOwner' => array( 1337 'location' => 'query', 1338 'type' => 'string', 1339 ), 1340 ), 1341 ), 1342 ) 1343 ) 1344 ); 1345 $this->search = new Google_Service_YouTube_Resource_Search( 1346 $this, 1347 $this->serviceName, 1348 'search', 1349 array( 1350 'methods' => array( 1351 'list' => array( 1352 'path' => 'search', 1353 'httpMethod' => 'GET', 1354 'parameters' => array( 1355 'part' => array( 1356 'location' => 'query', 1357 'type' => 'string', 1358 'required' => true, 1359 ), 1360 'channelId' => array( 1361 'location' => 'query', 1362 'type' => 'string', 1363 ), 1364 'channelType' => array( 1365 'location' => 'query', 1366 'type' => 'string', 1367 ), 1368 'eventType' => array( 1369 'location' => 'query', 1370 'type' => 'string', 1371 ), 1372 'forContentOwner' => array( 1373 'location' => 'query', 1374 'type' => 'boolean', 1375 ), 1376 'forDeveloper' => array( 1377 'location' => 'query', 1378 'type' => 'boolean', 1379 ), 1380 'forMine' => array( 1381 'location' => 'query', 1382 'type' => 'boolean', 1383 ), 1384 'location' => array( 1385 'location' => 'query', 1386 'type' => 'string', 1387 ), 1388 'locationRadius' => array( 1389 'location' => 'query', 1390 'type' => 'string', 1391 ), 1392 'maxResults' => array( 1393 'location' => 'query', 1394 'type' => 'integer', 1395 ), 1396 'onBehalfOfContentOwner' => array( 1397 'location' => 'query', 1398 'type' => 'string', 1399 ), 1400 'order' => array( 1401 'location' => 'query', 1402 'type' => 'string', 1403 ), 1404 'pageToken' => array( 1405 'location' => 'query', 1406 'type' => 'string', 1407 ), 1408 'publishedAfter' => array( 1409 'location' => 'query', 1410 'type' => 'string', 1411 ), 1412 'publishedBefore' => array( 1413 'location' => 'query', 1414 'type' => 'string', 1415 ), 1416 'q' => array( 1417 'location' => 'query', 1418 'type' => 'string', 1419 ), 1420 'regionCode' => array( 1421 'location' => 'query', 1422 'type' => 'string', 1423 ), 1424 'relatedToVideoId' => array( 1425 'location' => 'query', 1426 'type' => 'string', 1427 ), 1428 'relevanceLanguage' => array( 1429 'location' => 'query', 1430 'type' => 'string', 1431 ), 1432 'safeSearch' => array( 1433 'location' => 'query', 1434 'type' => 'string', 1435 ), 1436 'topicId' => array( 1437 'location' => 'query', 1438 'type' => 'string', 1439 ), 1440 'type' => array( 1441 'location' => 'query', 1442 'type' => 'string', 1443 ), 1444 'videoCaption' => array( 1445 'location' => 'query', 1446 'type' => 'string', 1447 ), 1448 'videoCategoryId' => array( 1449 'location' => 'query', 1450 'type' => 'string', 1451 ), 1452 'videoDefinition' => array( 1453 'location' => 'query', 1454 'type' => 'string', 1455 ), 1456 'videoDimension' => array( 1457 'location' => 'query', 1458 'type' => 'string', 1459 ), 1460 'videoDuration' => array( 1461 'location' => 'query', 1462 'type' => 'string', 1463 ), 1464 'videoEmbeddable' => array( 1465 'location' => 'query', 1466 'type' => 'string', 1467 ), 1468 'videoLicense' => array( 1469 'location' => 'query', 1470 'type' => 'string', 1471 ), 1472 'videoSyndicated' => array( 1473 'location' => 'query', 1474 'type' => 'string', 1475 ), 1476 'videoType' => array( 1477 'location' => 'query', 1478 'type' => 'string', 1479 ), 1480 ), 1481 ), 1482 ) 1483 ) 1484 ); 1485 $this->sponsors = new Google_Service_YouTube_Resource_Sponsors( 1486 $this, 1487 $this->serviceName, 1488 'sponsors', 1489 array( 1490 'methods' => array( 1491 'list' => array( 1492 'path' => 'sponsors', 1493 'httpMethod' => 'GET', 1494 'parameters' => array( 1495 'part' => array( 1496 'location' => 'query', 1497 'type' => 'string', 1498 'required' => true, 1499 ), 1500 'filter' => array( 1501 'location' => 'query', 1502 'type' => 'string', 1503 ), 1504 'maxResults' => array( 1505 'location' => 'query', 1506 'type' => 'integer', 1507 ), 1508 'pageToken' => array( 1509 'location' => 'query', 1510 'type' => 'string', 1511 ), 1512 ), 1513 ), 1514 ) 1515 ) 1516 ); 1517 $this->subscriptions = new Google_Service_YouTube_Resource_Subscriptions( 1518 $this, 1519 $this->serviceName, 1520 'subscriptions', 1521 array( 1522 'methods' => array( 1523 'delete' => array( 1524 'path' => 'subscriptions', 1525 'httpMethod' => 'DELETE', 1526 'parameters' => array( 1527 'id' => array( 1528 'location' => 'query', 1529 'type' => 'string', 1530 'required' => true, 1531 ), 1532 ), 1533 ),'insert' => array( 1534 'path' => 'subscriptions', 1535 'httpMethod' => 'POST', 1536 'parameters' => array( 1537 'part' => array( 1538 'location' => 'query', 1539 'type' => 'string', 1540 'required' => true, 1541 ), 1542 ), 1543 ),'list' => array( 1544 'path' => 'subscriptions', 1545 'httpMethod' => 'GET', 1546 'parameters' => array( 1547 'part' => array( 1548 'location' => 'query', 1549 'type' => 'string', 1550 'required' => true, 1551 ), 1552 'channelId' => array( 1553 'location' => 'query', 1554 'type' => 'string', 1555 ), 1556 'forChannelId' => array( 1557 'location' => 'query', 1558 'type' => 'string', 1559 ), 1560 'id' => array( 1561 'location' => 'query', 1562 'type' => 'string', 1563 ), 1564 'maxResults' => array( 1565 'location' => 'query', 1566 'type' => 'integer', 1567 ), 1568 'mine' => array( 1569 'location' => 'query', 1570 'type' => 'boolean', 1571 ), 1572 'myRecentSubscribers' => array( 1573 'location' => 'query', 1574 'type' => 'boolean', 1575 ), 1576 'mySubscribers' => array( 1577 'location' => 'query', 1578 'type' => 'boolean', 1579 ), 1580 'onBehalfOfContentOwner' => array( 1581 'location' => 'query', 1582 'type' => 'string', 1583 ), 1584 'onBehalfOfContentOwnerChannel' => array( 1585 'location' => 'query', 1586 'type' => 'string', 1587 ), 1588 'order' => array( 1589 'location' => 'query', 1590 'type' => 'string', 1591 ), 1592 'pageToken' => array( 1593 'location' => 'query', 1594 'type' => 'string', 1595 ), 1596 ), 1597 ), 1598 ) 1599 ) 1600 ); 1601 $this->superChatEvents = new Google_Service_YouTube_Resource_SuperChatEvents( 1602 $this, 1603 $this->serviceName, 1604 'superChatEvents', 1605 array( 1606 'methods' => array( 1607 'list' => array( 1608 'path' => 'superChatEvents', 1609 'httpMethod' => 'GET', 1610 'parameters' => array( 1611 'part' => array( 1612 'location' => 'query', 1613 'type' => 'string', 1614 'required' => true, 1615 ), 1616 'hl' => array( 1617 'location' => 'query', 1618 'type' => 'string', 1619 ), 1620 'maxResults' => array( 1621 'location' => 'query', 1622 'type' => 'integer', 1623 ), 1624 'pageToken' => array( 1625 'location' => 'query', 1626 'type' => 'string', 1627 ), 1628 ), 1629 ), 1630 ) 1631 ) 1632 ); 1633 $this->thumbnails = new Google_Service_YouTube_Resource_Thumbnails( 1634 $this, 1635 $this->serviceName, 1636 'thumbnails', 1637 array( 1638 'methods' => array( 1639 'set' => array( 1640 'path' => 'thumbnails/set', 1641 'httpMethod' => 'POST', 1642 'parameters' => array( 1643 'videoId' => array( 1644 'location' => 'query', 1645 'type' => 'string', 1646 'required' => true, 1647 ), 1648 'onBehalfOfContentOwner' => array( 1649 'location' => 'query', 1650 'type' => 'string', 1651 ), 1652 ), 1653 ), 1654 ) 1655 ) 1656 ); 1657 $this->videoAbuseReportReasons = new Google_Service_YouTube_Resource_VideoAbuseReportReasons( 1658 $this, 1659 $this->serviceName, 1660 'videoAbuseReportReasons', 1661 array( 1662 'methods' => array( 1663 'list' => array( 1664 'path' => 'videoAbuseReportReasons', 1665 'httpMethod' => 'GET', 1666 'parameters' => array( 1667 'part' => array( 1668 'location' => 'query', 1669 'type' => 'string', 1670 'required' => true, 1671 ), 1672 'hl' => array( 1673 'location' => 'query', 1674 'type' => 'string', 1675 ), 1676 ), 1677 ), 1678 ) 1679 ) 1680 ); 1681 $this->videoCategories = new Google_Service_YouTube_Resource_VideoCategories( 1682 $this, 1683 $this->serviceName, 1684 'videoCategories', 1685 array( 1686 'methods' => array( 1687 'list' => array( 1688 'path' => 'videoCategories', 1689 'httpMethod' => 'GET', 1690 'parameters' => array( 1691 'part' => array( 1692 'location' => 'query', 1693 'type' => 'string', 1694 'required' => true, 1695 ), 1696 'hl' => array( 1697 'location' => 'query', 1698 'type' => 'string', 1699 ), 1700 'id' => array( 1701 'location' => 'query', 1702 'type' => 'string', 1703 ), 1704 'regionCode' => array( 1705 'location' => 'query', 1706 'type' => 'string', 1707 ), 1708 ), 1709 ), 1710 ) 1711 ) 1712 ); 1713 $this->videos = new Google_Service_YouTube_Resource_Videos( 1714 $this, 1715 $this->serviceName, 1716 'videos', 1717 array( 1718 'methods' => array( 1719 'delete' => array( 1720 'path' => 'videos', 1721 'httpMethod' => 'DELETE', 1722 'parameters' => array( 1723 'id' => array( 1724 'location' => 'query', 1725 'type' => 'string', 1726 'required' => true, 1727 ), 1728 'onBehalfOfContentOwner' => array( 1729 'location' => 'query', 1730 'type' => 'string', 1731 ), 1732 ), 1733 ),'getRating' => array( 1734 'path' => 'videos/getRating', 1735 'httpMethod' => 'GET', 1736 'parameters' => array( 1737 'id' => array( 1738 'location' => 'query', 1739 'type' => 'string', 1740 'required' => true, 1741 ), 1742 'onBehalfOfContentOwner' => array( 1743 'location' => 'query', 1744 'type' => 'string', 1745 ), 1746 ), 1747 ),'insert' => array( 1748 'path' => 'videos', 1749 'httpMethod' => 'POST', 1750 'parameters' => array( 1751 'part' => array( 1752 'location' => 'query', 1753 'type' => 'string', 1754 'required' => true, 1755 ), 1756 'autoLevels' => array( 1757 'location' => 'query', 1758 'type' => 'boolean', 1759 ), 1760 'notifySubscribers' => array( 1761 'location' => 'query', 1762 'type' => 'boolean', 1763 ), 1764 'onBehalfOfContentOwner' => array( 1765 'location' => 'query', 1766 'type' => 'string', 1767 ), 1768 'onBehalfOfContentOwnerChannel' => array( 1769 'location' => 'query', 1770 'type' => 'string', 1771 ), 1772 'stabilize' => array( 1773 'location' => 'query', 1774 'type' => 'boolean', 1775 ), 1776 ), 1777 ),'list' => array( 1778 'path' => 'videos', 1779 'httpMethod' => 'GET', 1780 'parameters' => array( 1781 'part' => array( 1782 'location' => 'query', 1783 'type' => 'string', 1784 'required' => true, 1785 ), 1786 'chart' => array( 1787 'location' => 'query', 1788 'type' => 'string', 1789 ), 1790 'hl' => array( 1791 'location' => 'query', 1792 'type' => 'string', 1793 ), 1794 'id' => array( 1795 'location' => 'query', 1796 'type' => 'string', 1797 ), 1798 'locale' => array( 1799 'location' => 'query', 1800 'type' => 'string', 1801 ), 1802 'maxHeight' => array( 1803 'location' => 'query', 1804 'type' => 'integer', 1805 ), 1806 'maxResults' => array( 1807 'location' => 'query', 1808 'type' => 'integer', 1809 ), 1810 'maxWidth' => array( 1811 'location' => 'query', 1812 'type' => 'integer', 1813 ), 1814 'myRating' => array( 1815 'location' => 'query', 1816 'type' => 'string', 1817 ), 1818 'onBehalfOfContentOwner' => array( 1819 'location' => 'query', 1820 'type' => 'string', 1821 ), 1822 'pageToken' => array( 1823 'location' => 'query', 1824 'type' => 'string', 1825 ), 1826 'regionCode' => array( 1827 'location' => 'query', 1828 'type' => 'string', 1829 ), 1830 'videoCategoryId' => array( 1831 'location' => 'query', 1832 'type' => 'string', 1833 ), 1834 ), 1835 ),'rate' => array( 1836 'path' => 'videos/rate', 1837 'httpMethod' => 'POST', 1838 'parameters' => array( 1839 'id' => array( 1840 'location' => 'query', 1841 'type' => 'string', 1842 'required' => true, 1843 ), 1844 'rating' => array( 1845 'location' => 'query', 1846 'type' => 'string', 1847 'required' => true, 1848 ), 1849 ), 1850 ),'reportAbuse' => array( 1851 'path' => 'videos/reportAbuse', 1852 'httpMethod' => 'POST', 1853 'parameters' => array( 1854 'onBehalfOfContentOwner' => array( 1855 'location' => 'query', 1856 'type' => 'string', 1857 ), 1858 ), 1859 ),'update' => array( 1860 'path' => 'videos', 1861 'httpMethod' => 'PUT', 1862 'parameters' => array( 1863 'part' => array( 1864 'location' => 'query', 1865 'type' => 'string', 1866 'required' => true, 1867 ), 1868 'onBehalfOfContentOwner' => array( 1869 'location' => 'query', 1870 'type' => 'string', 1871 ), 1872 ), 1873 ), 1874 ) 1875 ) 1876 ); 1877 $this->watermarks = new Google_Service_YouTube_Resource_Watermarks( 1878 $this, 1879 $this->serviceName, 1880 'watermarks', 1881 array( 1882 'methods' => array( 1883 'set' => array( 1884 'path' => 'watermarks/set', 1885 'httpMethod' => 'POST', 1886 'parameters' => array( 1887 'channelId' => array( 1888 'location' => 'query', 1889 'type' => 'string', 1890 'required' => true, 1891 ), 1892 'onBehalfOfContentOwner' => array( 1893 'location' => 'query', 1894 'type' => 'string', 1895 ), 1896 ), 1897 ),'unset' => array( 1898 'path' => 'watermarks/unset', 1899 'httpMethod' => 'POST', 1900 'parameters' => array( 1901 'channelId' => array( 1902 'location' => 'query', 1903 'type' => 'string', 1904 'required' => true, 1905 ), 1906 'onBehalfOfContentOwner' => array( 1907 'location' => 'query', 1908 'type' => 'string', 1909 ), 1910 ), 1911 ), 1912 ) 1913 ) 1914 ); 1915 } 1916} 1917