Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

Differences Between: [Versions 310 and 403] [Versions 311 and 403] [Versions 39 and 403] [Versions 400 and 403] [Versions 401 and 403]

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