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 Games (v1).
  20   *
  21   * <p>
  22   * The API for Google Play Game Services.</p>
  23   *
  24   * <p>
  25   * For more information about this service, see the API
  26   * <a href="https://developers.google.com/games/services/" target="_blank">Documentation</a>
  27   * </p>
  28   *
  29   * @author Google, Inc.
  30   */
  31  #[AllowDynamicProperties]
  32  class Google_Service_Games extends Google_Service
  33  {
  34    /** View and manage its own configuration data in your Google Drive. */
  35    const DRIVE_APPDATA =
  36        "https://www.googleapis.com/auth/drive.appdata";
  37    /** Share your Google+ profile information and view and manage your game activity. */
  38    const GAMES =
  39        "https://www.googleapis.com/auth/games";
  40    /** Know your basic profile info and list of people in your circles.. */
  41    const PLUS_LOGIN =
  42        "https://www.googleapis.com/auth/plus.login";
  43  
  44    public $achievementDefinitions;
  45    public $achievements;
  46    public $applications;
  47    public $events;
  48    public $leaderboards;
  49    public $metagame;
  50    public $players;
  51    public $pushtokens;
  52    public $questMilestones;
  53    public $quests;
  54    public $revisions;
  55    public $rooms;
  56    public $scores;
  57    public $snapshots;
  58    public $turnBasedMatches;
  59    
  60  
  61    /**
  62     * Constructs the internal representation of the Games service.
  63     *
  64     * @param Google_Client $client
  65     */
  66    public function __construct(Google_Client $client)
  67    {
  68      parent::__construct($client);
  69      $this->rootUrl = 'https://www.googleapis.com/';
  70      $this->servicePath = 'games/v1/';
  71      $this->version = 'v1';
  72      $this->serviceName = 'games';
  73  
  74      $this->achievementDefinitions = new Google_Service_Games_AchievementDefinitions_Resource(
  75          $this,
  76          $this->serviceName,
  77          'achievementDefinitions',
  78          array(
  79            'methods' => array(
  80              'list' => array(
  81                'path' => 'achievements',
  82                'httpMethod' => 'GET',
  83                'parameters' => array(
  84                  'pageToken' => array(
  85                    'location' => 'query',
  86                    'type' => 'string',
  87                  ),
  88                  'maxResults' => array(
  89                    'location' => 'query',
  90                    'type' => 'integer',
  91                  ),
  92                  'language' => array(
  93                    'location' => 'query',
  94                    'type' => 'string',
  95                  ),
  96                ),
  97              ),
  98            )
  99          )
 100      );
 101      $this->achievements = new Google_Service_Games_Achievements_Resource(
 102          $this,
 103          $this->serviceName,
 104          'achievements',
 105          array(
 106            'methods' => array(
 107              'increment' => array(
 108                'path' => 'achievements/{achievementId}/increment',
 109                'httpMethod' => 'POST',
 110                'parameters' => array(
 111                  'achievementId' => array(
 112                    'location' => 'path',
 113                    'type' => 'string',
 114                    'required' => true,
 115                  ),
 116                  'stepsToIncrement' => array(
 117                    'location' => 'query',
 118                    'type' => 'integer',
 119                    'required' => true,
 120                  ),
 121                  'requestId' => array(
 122                    'location' => 'query',
 123                    'type' => 'string',
 124                  ),
 125                ),
 126              ),'list' => array(
 127                'path' => 'players/{playerId}/achievements',
 128                'httpMethod' => 'GET',
 129                'parameters' => array(
 130                  'playerId' => array(
 131                    'location' => 'path',
 132                    'type' => 'string',
 133                    'required' => true,
 134                  ),
 135                  'pageToken' => array(
 136                    'location' => 'query',
 137                    'type' => 'string',
 138                  ),
 139                  'state' => array(
 140                    'location' => 'query',
 141                    'type' => 'string',
 142                  ),
 143                  'maxResults' => array(
 144                    'location' => 'query',
 145                    'type' => 'integer',
 146                  ),
 147                  'language' => array(
 148                    'location' => 'query',
 149                    'type' => 'string',
 150                  ),
 151                ),
 152              ),'reveal' => array(
 153                'path' => 'achievements/{achievementId}/reveal',
 154                'httpMethod' => 'POST',
 155                'parameters' => array(
 156                  'achievementId' => array(
 157                    'location' => 'path',
 158                    'type' => 'string',
 159                    'required' => true,
 160                  ),
 161                ),
 162              ),'setStepsAtLeast' => array(
 163                'path' => 'achievements/{achievementId}/setStepsAtLeast',
 164                'httpMethod' => 'POST',
 165                'parameters' => array(
 166                  'achievementId' => array(
 167                    'location' => 'path',
 168                    'type' => 'string',
 169                    'required' => true,
 170                  ),
 171                  'steps' => array(
 172                    'location' => 'query',
 173                    'type' => 'integer',
 174                    'required' => true,
 175                  ),
 176                ),
 177              ),'unlock' => array(
 178                'path' => 'achievements/{achievementId}/unlock',
 179                'httpMethod' => 'POST',
 180                'parameters' => array(
 181                  'achievementId' => array(
 182                    'location' => 'path',
 183                    'type' => 'string',
 184                    'required' => true,
 185                  ),
 186                ),
 187              ),'updateMultiple' => array(
 188                'path' => 'achievements/updateMultiple',
 189                'httpMethod' => 'POST',
 190                'parameters' => array(),
 191              ),
 192            )
 193          )
 194      );
 195      $this->applications = new Google_Service_Games_Applications_Resource(
 196          $this,
 197          $this->serviceName,
 198          'applications',
 199          array(
 200            'methods' => array(
 201              'get' => array(
 202                'path' => 'applications/{applicationId}',
 203                'httpMethod' => 'GET',
 204                'parameters' => array(
 205                  'applicationId' => array(
 206                    'location' => 'path',
 207                    'type' => 'string',
 208                    'required' => true,
 209                  ),
 210                  'platformType' => array(
 211                    'location' => 'query',
 212                    'type' => 'string',
 213                  ),
 214                  'language' => array(
 215                    'location' => 'query',
 216                    'type' => 'string',
 217                  ),
 218                ),
 219              ),'played' => array(
 220                'path' => 'applications/played',
 221                'httpMethod' => 'POST',
 222                'parameters' => array(),
 223              ),
 224            )
 225          )
 226      );
 227      $this->events = new Google_Service_Games_Events_Resource(
 228          $this,
 229          $this->serviceName,
 230          'events',
 231          array(
 232            'methods' => array(
 233              'listByPlayer' => array(
 234                'path' => 'events',
 235                'httpMethod' => 'GET',
 236                'parameters' => array(
 237                  'pageToken' => array(
 238                    'location' => 'query',
 239                    'type' => 'string',
 240                  ),
 241                  'maxResults' => array(
 242                    'location' => 'query',
 243                    'type' => 'integer',
 244                  ),
 245                  'language' => array(
 246                    'location' => 'query',
 247                    'type' => 'string',
 248                  ),
 249                ),
 250              ),'listDefinitions' => array(
 251                'path' => 'eventDefinitions',
 252                'httpMethod' => 'GET',
 253                'parameters' => array(
 254                  'pageToken' => array(
 255                    'location' => 'query',
 256                    'type' => 'string',
 257                  ),
 258                  'maxResults' => array(
 259                    'location' => 'query',
 260                    'type' => 'integer',
 261                  ),
 262                  'language' => array(
 263                    'location' => 'query',
 264                    'type' => 'string',
 265                  ),
 266                ),
 267              ),'record' => array(
 268                'path' => 'events',
 269                'httpMethod' => 'POST',
 270                'parameters' => array(
 271                  'language' => array(
 272                    'location' => 'query',
 273                    'type' => 'string',
 274                  ),
 275                ),
 276              ),
 277            )
 278          )
 279      );
 280      $this->leaderboards = new Google_Service_Games_Leaderboards_Resource(
 281          $this,
 282          $this->serviceName,
 283          'leaderboards',
 284          array(
 285            'methods' => array(
 286              'get' => array(
 287                'path' => 'leaderboards/{leaderboardId}',
 288                'httpMethod' => 'GET',
 289                'parameters' => array(
 290                  'leaderboardId' => array(
 291                    'location' => 'path',
 292                    'type' => 'string',
 293                    'required' => true,
 294                  ),
 295                  'language' => array(
 296                    'location' => 'query',
 297                    'type' => 'string',
 298                  ),
 299                ),
 300              ),'list' => array(
 301                'path' => 'leaderboards',
 302                'httpMethod' => 'GET',
 303                'parameters' => array(
 304                  'pageToken' => array(
 305                    'location' => 'query',
 306                    'type' => 'string',
 307                  ),
 308                  'maxResults' => array(
 309                    'location' => 'query',
 310                    'type' => 'integer',
 311                  ),
 312                  'language' => array(
 313                    'location' => 'query',
 314                    'type' => 'string',
 315                  ),
 316                ),
 317              ),
 318            )
 319          )
 320      );
 321      $this->metagame = new Google_Service_Games_Metagame_Resource(
 322          $this,
 323          $this->serviceName,
 324          'metagame',
 325          array(
 326            'methods' => array(
 327              'getMetagameConfig' => array(
 328                'path' => 'metagameConfig',
 329                'httpMethod' => 'GET',
 330                'parameters' => array(),
 331              ),'listCategoriesByPlayer' => array(
 332                'path' => 'players/{playerId}/categories/{collection}',
 333                'httpMethod' => 'GET',
 334                'parameters' => array(
 335                  'playerId' => array(
 336                    'location' => 'path',
 337                    'type' => 'string',
 338                    'required' => true,
 339                  ),
 340                  'collection' => array(
 341                    'location' => 'path',
 342                    'type' => 'string',
 343                    'required' => true,
 344                  ),
 345                  'pageToken' => array(
 346                    'location' => 'query',
 347                    'type' => 'string',
 348                  ),
 349                  'maxResults' => array(
 350                    'location' => 'query',
 351                    'type' => 'integer',
 352                  ),
 353                  'language' => array(
 354                    'location' => 'query',
 355                    'type' => 'string',
 356                  ),
 357                ),
 358              ),
 359            )
 360          )
 361      );
 362      $this->players = new Google_Service_Games_Players_Resource(
 363          $this,
 364          $this->serviceName,
 365          'players',
 366          array(
 367            'methods' => array(
 368              'get' => array(
 369                'path' => 'players/{playerId}',
 370                'httpMethod' => 'GET',
 371                'parameters' => array(
 372                  'playerId' => array(
 373                    'location' => 'path',
 374                    'type' => 'string',
 375                    'required' => true,
 376                  ),
 377                  'language' => array(
 378                    'location' => 'query',
 379                    'type' => 'string',
 380                  ),
 381                ),
 382              ),'list' => array(
 383                'path' => 'players/me/players/{collection}',
 384                'httpMethod' => 'GET',
 385                'parameters' => array(
 386                  'collection' => array(
 387                    'location' => 'path',
 388                    'type' => 'string',
 389                    'required' => true,
 390                  ),
 391                  'pageToken' => array(
 392                    'location' => 'query',
 393                    'type' => 'string',
 394                  ),
 395                  'maxResults' => array(
 396                    'location' => 'query',
 397                    'type' => 'integer',
 398                  ),
 399                  'language' => array(
 400                    'location' => 'query',
 401                    'type' => 'string',
 402                  ),
 403                ),
 404              ),
 405            )
 406          )
 407      );
 408      $this->pushtokens = new Google_Service_Games_Pushtokens_Resource(
 409          $this,
 410          $this->serviceName,
 411          'pushtokens',
 412          array(
 413            'methods' => array(
 414              'remove' => array(
 415                'path' => 'pushtokens/remove',
 416                'httpMethod' => 'POST',
 417                'parameters' => array(),
 418              ),'update' => array(
 419                'path' => 'pushtokens',
 420                'httpMethod' => 'PUT',
 421                'parameters' => array(),
 422              ),
 423            )
 424          )
 425      );
 426      $this->questMilestones = new Google_Service_Games_QuestMilestones_Resource(
 427          $this,
 428          $this->serviceName,
 429          'questMilestones',
 430          array(
 431            'methods' => array(
 432              'claim' => array(
 433                'path' => 'quests/{questId}/milestones/{milestoneId}/claim',
 434                'httpMethod' => 'PUT',
 435                'parameters' => array(
 436                  'questId' => array(
 437                    'location' => 'path',
 438                    'type' => 'string',
 439                    'required' => true,
 440                  ),
 441                  'milestoneId' => array(
 442                    'location' => 'path',
 443                    'type' => 'string',
 444                    'required' => true,
 445                  ),
 446                  'requestId' => array(
 447                    'location' => 'query',
 448                    'type' => 'string',
 449                    'required' => true,
 450                  ),
 451                ),
 452              ),
 453            )
 454          )
 455      );
 456      $this->quests = new Google_Service_Games_Quests_Resource(
 457          $this,
 458          $this->serviceName,
 459          'quests',
 460          array(
 461            'methods' => array(
 462              'accept' => array(
 463                'path' => 'quests/{questId}/accept',
 464                'httpMethod' => 'POST',
 465                'parameters' => array(
 466                  'questId' => array(
 467                    'location' => 'path',
 468                    'type' => 'string',
 469                    'required' => true,
 470                  ),
 471                  'language' => array(
 472                    'location' => 'query',
 473                    'type' => 'string',
 474                  ),
 475                ),
 476              ),'list' => array(
 477                'path' => 'players/{playerId}/quests',
 478                'httpMethod' => 'GET',
 479                'parameters' => array(
 480                  'playerId' => array(
 481                    'location' => 'path',
 482                    'type' => 'string',
 483                    'required' => true,
 484                  ),
 485                  'pageToken' => array(
 486                    'location' => 'query',
 487                    'type' => 'string',
 488                  ),
 489                  'maxResults' => array(
 490                    'location' => 'query',
 491                    'type' => 'integer',
 492                  ),
 493                  'language' => array(
 494                    'location' => 'query',
 495                    'type' => 'string',
 496                  ),
 497                ),
 498              ),
 499            )
 500          )
 501      );
 502      $this->revisions = new Google_Service_Games_Revisions_Resource(
 503          $this,
 504          $this->serviceName,
 505          'revisions',
 506          array(
 507            'methods' => array(
 508              'check' => array(
 509                'path' => 'revisions/check',
 510                'httpMethod' => 'GET',
 511                'parameters' => array(
 512                  'clientRevision' => array(
 513                    'location' => 'query',
 514                    'type' => 'string',
 515                    'required' => true,
 516                  ),
 517                ),
 518              ),
 519            )
 520          )
 521      );
 522      $this->rooms = new Google_Service_Games_Rooms_Resource(
 523          $this,
 524          $this->serviceName,
 525          'rooms',
 526          array(
 527            'methods' => array(
 528              'create' => array(
 529                'path' => 'rooms/create',
 530                'httpMethod' => 'POST',
 531                'parameters' => array(
 532                  'language' => array(
 533                    'location' => 'query',
 534                    'type' => 'string',
 535                  ),
 536                ),
 537              ),'decline' => array(
 538                'path' => 'rooms/{roomId}/decline',
 539                'httpMethod' => 'POST',
 540                'parameters' => array(
 541                  'roomId' => array(
 542                    'location' => 'path',
 543                    'type' => 'string',
 544                    'required' => true,
 545                  ),
 546                  'language' => array(
 547                    'location' => 'query',
 548                    'type' => 'string',
 549                  ),
 550                ),
 551              ),'dismiss' => array(
 552                'path' => 'rooms/{roomId}/dismiss',
 553                'httpMethod' => 'POST',
 554                'parameters' => array(
 555                  'roomId' => array(
 556                    'location' => 'path',
 557                    'type' => 'string',
 558                    'required' => true,
 559                  ),
 560                ),
 561              ),'get' => array(
 562                'path' => 'rooms/{roomId}',
 563                'httpMethod' => 'GET',
 564                'parameters' => array(
 565                  'roomId' => array(
 566                    'location' => 'path',
 567                    'type' => 'string',
 568                    'required' => true,
 569                  ),
 570                  'language' => array(
 571                    'location' => 'query',
 572                    'type' => 'string',
 573                  ),
 574                ),
 575              ),'join' => array(
 576                'path' => 'rooms/{roomId}/join',
 577                'httpMethod' => 'POST',
 578                'parameters' => array(
 579                  'roomId' => array(
 580                    'location' => 'path',
 581                    'type' => 'string',
 582                    'required' => true,
 583                  ),
 584                  'language' => array(
 585                    'location' => 'query',
 586                    'type' => 'string',
 587                  ),
 588                ),
 589              ),'leave' => array(
 590                'path' => 'rooms/{roomId}/leave',
 591                'httpMethod' => 'POST',
 592                'parameters' => array(
 593                  'roomId' => array(
 594                    'location' => 'path',
 595                    'type' => 'string',
 596                    'required' => true,
 597                  ),
 598                  'language' => array(
 599                    'location' => 'query',
 600                    'type' => 'string',
 601                  ),
 602                ),
 603              ),'list' => array(
 604                'path' => 'rooms',
 605                'httpMethod' => 'GET',
 606                'parameters' => array(
 607                  'pageToken' => array(
 608                    'location' => 'query',
 609                    'type' => 'string',
 610                  ),
 611                  'maxResults' => array(
 612                    'location' => 'query',
 613                    'type' => 'integer',
 614                  ),
 615                  'language' => array(
 616                    'location' => 'query',
 617                    'type' => 'string',
 618                  ),
 619                ),
 620              ),'reportStatus' => array(
 621                'path' => 'rooms/{roomId}/reportstatus',
 622                'httpMethod' => 'POST',
 623                'parameters' => array(
 624                  'roomId' => array(
 625                    'location' => 'path',
 626                    'type' => 'string',
 627                    'required' => true,
 628                  ),
 629                  'language' => array(
 630                    'location' => 'query',
 631                    'type' => 'string',
 632                  ),
 633                ),
 634              ),
 635            )
 636          )
 637      );
 638      $this->scores = new Google_Service_Games_Scores_Resource(
 639          $this,
 640          $this->serviceName,
 641          'scores',
 642          array(
 643            'methods' => array(
 644              'get' => array(
 645                'path' => 'players/{playerId}/leaderboards/{leaderboardId}/scores/{timeSpan}',
 646                'httpMethod' => 'GET',
 647                'parameters' => array(
 648                  'playerId' => array(
 649                    'location' => 'path',
 650                    'type' => 'string',
 651                    'required' => true,
 652                  ),
 653                  'leaderboardId' => array(
 654                    'location' => 'path',
 655                    'type' => 'string',
 656                    'required' => true,
 657                  ),
 658                  'timeSpan' => array(
 659                    'location' => 'path',
 660                    'type' => 'string',
 661                    'required' => true,
 662                  ),
 663                  'includeRankType' => array(
 664                    'location' => 'query',
 665                    'type' => 'string',
 666                  ),
 667                  'language' => array(
 668                    'location' => 'query',
 669                    'type' => 'string',
 670                  ),
 671                  'maxResults' => array(
 672                    'location' => 'query',
 673                    'type' => 'integer',
 674                  ),
 675                  'pageToken' => array(
 676                    'location' => 'query',
 677                    'type' => 'string',
 678                  ),
 679                ),
 680              ),'list' => array(
 681                'path' => 'leaderboards/{leaderboardId}/scores/{collection}',
 682                'httpMethod' => 'GET',
 683                'parameters' => array(
 684                  'leaderboardId' => array(
 685                    'location' => 'path',
 686                    'type' => 'string',
 687                    'required' => true,
 688                  ),
 689                  'collection' => array(
 690                    'location' => 'path',
 691                    'type' => 'string',
 692                    'required' => true,
 693                  ),
 694                  'timeSpan' => array(
 695                    'location' => 'query',
 696                    'type' => 'string',
 697                    'required' => true,
 698                  ),
 699                  'language' => array(
 700                    'location' => 'query',
 701                    'type' => 'string',
 702                  ),
 703                  'maxResults' => array(
 704                    'location' => 'query',
 705                    'type' => 'integer',
 706                  ),
 707                  'pageToken' => array(
 708                    'location' => 'query',
 709                    'type' => 'string',
 710                  ),
 711                ),
 712              ),'listWindow' => array(
 713                'path' => 'leaderboards/{leaderboardId}/window/{collection}',
 714                'httpMethod' => 'GET',
 715                'parameters' => array(
 716                  'leaderboardId' => array(
 717                    'location' => 'path',
 718                    'type' => 'string',
 719                    'required' => true,
 720                  ),
 721                  'collection' => array(
 722                    'location' => 'path',
 723                    'type' => 'string',
 724                    'required' => true,
 725                  ),
 726                  'timeSpan' => array(
 727                    'location' => 'query',
 728                    'type' => 'string',
 729                    'required' => true,
 730                  ),
 731                  'language' => array(
 732                    'location' => 'query',
 733                    'type' => 'string',
 734                  ),
 735                  'returnTopIfAbsent' => array(
 736                    'location' => 'query',
 737                    'type' => 'boolean',
 738                  ),
 739                  'resultsAbove' => array(
 740                    'location' => 'query',
 741                    'type' => 'integer',
 742                  ),
 743                  'maxResults' => array(
 744                    'location' => 'query',
 745                    'type' => 'integer',
 746                  ),
 747                  'pageToken' => array(
 748                    'location' => 'query',
 749                    'type' => 'string',
 750                  ),
 751                ),
 752              ),'submit' => array(
 753                'path' => 'leaderboards/{leaderboardId}/scores',
 754                'httpMethod' => 'POST',
 755                'parameters' => array(
 756                  'leaderboardId' => array(
 757                    'location' => 'path',
 758                    'type' => 'string',
 759                    'required' => true,
 760                  ),
 761                  'score' => array(
 762                    'location' => 'query',
 763                    'type' => 'string',
 764                    'required' => true,
 765                  ),
 766                  'language' => array(
 767                    'location' => 'query',
 768                    'type' => 'string',
 769                  ),
 770                  'scoreTag' => array(
 771                    'location' => 'query',
 772                    'type' => 'string',
 773                  ),
 774                ),
 775              ),'submitMultiple' => array(
 776                'path' => 'leaderboards/scores',
 777                'httpMethod' => 'POST',
 778                'parameters' => array(
 779                  'language' => array(
 780                    'location' => 'query',
 781                    'type' => 'string',
 782                  ),
 783                ),
 784              ),
 785            )
 786          )
 787      );
 788      $this->snapshots = new Google_Service_Games_Snapshots_Resource(
 789          $this,
 790          $this->serviceName,
 791          'snapshots',
 792          array(
 793            'methods' => array(
 794              'get' => array(
 795                'path' => 'snapshots/{snapshotId}',
 796                'httpMethod' => 'GET',
 797                'parameters' => array(
 798                  'snapshotId' => array(
 799                    'location' => 'path',
 800                    'type' => 'string',
 801                    'required' => true,
 802                  ),
 803                  'language' => array(
 804                    'location' => 'query',
 805                    'type' => 'string',
 806                  ),
 807                ),
 808              ),'list' => array(
 809                'path' => 'players/{playerId}/snapshots',
 810                'httpMethod' => 'GET',
 811                'parameters' => array(
 812                  'playerId' => array(
 813                    'location' => 'path',
 814                    'type' => 'string',
 815                    'required' => true,
 816                  ),
 817                  'pageToken' => array(
 818                    'location' => 'query',
 819                    'type' => 'string',
 820                  ),
 821                  'maxResults' => array(
 822                    'location' => 'query',
 823                    'type' => 'integer',
 824                  ),
 825                  'language' => array(
 826                    'location' => 'query',
 827                    'type' => 'string',
 828                  ),
 829                ),
 830              ),
 831            )
 832          )
 833      );
 834      $this->turnBasedMatches = new Google_Service_Games_TurnBasedMatches_Resource(
 835          $this,
 836          $this->serviceName,
 837          'turnBasedMatches',
 838          array(
 839            'methods' => array(
 840              'cancel' => array(
 841                'path' => 'turnbasedmatches/{matchId}/cancel',
 842                'httpMethod' => 'PUT',
 843                'parameters' => array(
 844                  'matchId' => array(
 845                    'location' => 'path',
 846                    'type' => 'string',
 847                    'required' => true,
 848                  ),
 849                ),
 850              ),'create' => array(
 851                'path' => 'turnbasedmatches/create',
 852                'httpMethod' => 'POST',
 853                'parameters' => array(
 854                  'language' => array(
 855                    'location' => 'query',
 856                    'type' => 'string',
 857                  ),
 858                ),
 859              ),'decline' => array(
 860                'path' => 'turnbasedmatches/{matchId}/decline',
 861                'httpMethod' => 'PUT',
 862                'parameters' => array(
 863                  'matchId' => array(
 864                    'location' => 'path',
 865                    'type' => 'string',
 866                    'required' => true,
 867                  ),
 868                  'language' => array(
 869                    'location' => 'query',
 870                    'type' => 'string',
 871                  ),
 872                ),
 873              ),'dismiss' => array(
 874                'path' => 'turnbasedmatches/{matchId}/dismiss',
 875                'httpMethod' => 'PUT',
 876                'parameters' => array(
 877                  'matchId' => array(
 878                    'location' => 'path',
 879                    'type' => 'string',
 880                    'required' => true,
 881                  ),
 882                ),
 883              ),'finish' => array(
 884                'path' => 'turnbasedmatches/{matchId}/finish',
 885                'httpMethod' => 'PUT',
 886                'parameters' => array(
 887                  'matchId' => array(
 888                    'location' => 'path',
 889                    'type' => 'string',
 890                    'required' => true,
 891                  ),
 892                  'language' => array(
 893                    'location' => 'query',
 894                    'type' => 'string',
 895                  ),
 896                ),
 897              ),'get' => array(
 898                'path' => 'turnbasedmatches/{matchId}',
 899                'httpMethod' => 'GET',
 900                'parameters' => array(
 901                  'matchId' => array(
 902                    'location' => 'path',
 903                    'type' => 'string',
 904                    'required' => true,
 905                  ),
 906                  'language' => array(
 907                    'location' => 'query',
 908                    'type' => 'string',
 909                  ),
 910                  'includeMatchData' => array(
 911                    'location' => 'query',
 912                    'type' => 'boolean',
 913                  ),
 914                ),
 915              ),'join' => array(
 916                'path' => 'turnbasedmatches/{matchId}/join',
 917                'httpMethod' => 'PUT',
 918                'parameters' => array(
 919                  'matchId' => array(
 920                    'location' => 'path',
 921                    'type' => 'string',
 922                    'required' => true,
 923                  ),
 924                  'language' => array(
 925                    'location' => 'query',
 926                    'type' => 'string',
 927                  ),
 928                ),
 929              ),'leave' => array(
 930                'path' => 'turnbasedmatches/{matchId}/leave',
 931                'httpMethod' => 'PUT',
 932                'parameters' => array(
 933                  'matchId' => array(
 934                    'location' => 'path',
 935                    'type' => 'string',
 936                    'required' => true,
 937                  ),
 938                  'language' => array(
 939                    'location' => 'query',
 940                    'type' => 'string',
 941                  ),
 942                ),
 943              ),'leaveTurn' => array(
 944                'path' => 'turnbasedmatches/{matchId}/leaveTurn',
 945                'httpMethod' => 'PUT',
 946                'parameters' => array(
 947                  'matchId' => array(
 948                    'location' => 'path',
 949                    'type' => 'string',
 950                    'required' => true,
 951                  ),
 952                  'matchVersion' => array(
 953                    'location' => 'query',
 954                    'type' => 'integer',
 955                    'required' => true,
 956                  ),
 957                  'language' => array(
 958                    'location' => 'query',
 959                    'type' => 'string',
 960                  ),
 961                  'pendingParticipantId' => array(
 962                    'location' => 'query',
 963                    'type' => 'string',
 964                  ),
 965                ),
 966              ),'list' => array(
 967                'path' => 'turnbasedmatches',
 968                'httpMethod' => 'GET',
 969                'parameters' => array(
 970                  'pageToken' => array(
 971                    'location' => 'query',
 972                    'type' => 'string',
 973                  ),
 974                  'maxCompletedMatches' => array(
 975                    'location' => 'query',
 976                    'type' => 'integer',
 977                  ),
 978                  'maxResults' => array(
 979                    'location' => 'query',
 980                    'type' => 'integer',
 981                  ),
 982                  'language' => array(
 983                    'location' => 'query',
 984                    'type' => 'string',
 985                  ),
 986                  'includeMatchData' => array(
 987                    'location' => 'query',
 988                    'type' => 'boolean',
 989                  ),
 990                ),
 991              ),'rematch' => array(
 992                'path' => 'turnbasedmatches/{matchId}/rematch',
 993                'httpMethod' => 'POST',
 994                'parameters' => array(
 995                  'matchId' => array(
 996                    'location' => 'path',
 997                    'type' => 'string',
 998                    'required' => true,
 999                  ),
1000                  'requestId' => array(
1001                    'location' => 'query',
1002                    'type' => 'string',
1003                  ),
1004                  'language' => array(
1005                    'location' => 'query',
1006                    'type' => 'string',
1007                  ),
1008                ),
1009              ),'sync' => array(
1010                'path' => 'turnbasedmatches/sync',
1011                'httpMethod' => 'GET',
1012                'parameters' => array(
1013                  'pageToken' => array(
1014                    'location' => 'query',
1015                    'type' => 'string',
1016                  ),
1017                  'maxCompletedMatches' => array(
1018                    'location' => 'query',
1019                    'type' => 'integer',
1020                  ),
1021                  'maxResults' => array(
1022                    'location' => 'query',
1023                    'type' => 'integer',
1024                  ),
1025                  'language' => array(
1026                    'location' => 'query',
1027                    'type' => 'string',
1028                  ),
1029                  'includeMatchData' => array(
1030                    'location' => 'query',
1031                    'type' => 'boolean',
1032                  ),
1033                ),
1034              ),'takeTurn' => array(
1035                'path' => 'turnbasedmatches/{matchId}/turn',
1036                'httpMethod' => 'PUT',
1037                'parameters' => array(
1038                  'matchId' => array(
1039                    'location' => 'path',
1040                    'type' => 'string',
1041                    'required' => true,
1042                  ),
1043                  'language' => array(
1044                    'location' => 'query',
1045                    'type' => 'string',
1046                  ),
1047                ),
1048              ),
1049            )
1050          )
1051      );
1052    }
1053  }
1054  
1055  
1056  /**
1057   * The "achievementDefinitions" collection of methods.
1058   * Typical usage is:
1059   *  <code>
1060   *   $gamesService = new Google_Service_Games(...);
1061   *   $achievementDefinitions = $gamesService->achievementDefinitions;
1062   *  </code>
1063   */
1064  #[AllowDynamicProperties]
1065  class Google_Service_Games_AchievementDefinitions_Resource extends Google_Service_Resource
1066  {
1067  
1068    /**
1069     * Lists all the achievement definitions for your application.
1070     * (achievementDefinitions.listAchievementDefinitions)
1071     *
1072     * @param array $optParams Optional parameters.
1073     *
1074     * @opt_param string pageToken The token returned by the previous request.
1075     * @opt_param int maxResults The maximum number of achievement resources to
1076     * return in the response, used for paging. For any response, the actual number
1077     * of achievement resources returned may be less than the specified maxResults.
1078     * @opt_param string language The preferred language to use for strings returned
1079     * by this method.
1080     * @return Google_Service_Games_AchievementDefinitionsListResponse
1081     */
1082    public function listAchievementDefinitions($optParams = array())
1083    {
1084      $params = array();
1085      $params = array_merge($params, $optParams);
1086      return $this->call('list', array($params), "Google_Service_Games_AchievementDefinitionsListResponse");
1087    }
1088  }
1089  
1090  /**
1091   * The "achievements" collection of methods.
1092   * Typical usage is:
1093   *  <code>
1094   *   $gamesService = new Google_Service_Games(...);
1095   *   $achievements = $gamesService->achievements;
1096   *  </code>
1097   */
1098  #[AllowDynamicProperties]
1099  class Google_Service_Games_Achievements_Resource extends Google_Service_Resource
1100  {
1101  
1102    /**
1103     * Increments the steps of the achievement with the given ID for the currently
1104     * authenticated player. (achievements.increment)
1105     *
1106     * @param string $achievementId The ID of the achievement used by this method.
1107     * @param int $stepsToIncrement The number of steps to increment.
1108     * @param array $optParams Optional parameters.
1109     *
1110     * @opt_param string requestId A randomly generated numeric ID for each request
1111     * specified by the caller. This number is used at the server to ensure that the
1112     * request is handled correctly across retries.
1113     * @return Google_Service_Games_AchievementIncrementResponse
1114     */
1115    public function increment($achievementId, $stepsToIncrement, $optParams = array())
1116    {
1117      $params = array('achievementId' => $achievementId, 'stepsToIncrement' => $stepsToIncrement);
1118      $params = array_merge($params, $optParams);
1119      return $this->call('increment', array($params), "Google_Service_Games_AchievementIncrementResponse");
1120    }
1121  
1122    /**
1123     * Lists the progress for all your application's achievements for the currently
1124     * authenticated player. (achievements.listAchievements)
1125     *
1126     * @param string $playerId A player ID. A value of me may be used in place of
1127     * the authenticated player's ID.
1128     * @param array $optParams Optional parameters.
1129     *
1130     * @opt_param string pageToken The token returned by the previous request.
1131     * @opt_param string state Tells the server to return only achievements with the
1132     * specified state. If this parameter isn't specified, all achievements are
1133     * returned.
1134     * @opt_param int maxResults The maximum number of achievement resources to
1135     * return in the response, used for paging. For any response, the actual number
1136     * of achievement resources returned may be less than the specified maxResults.
1137     * @opt_param string language The preferred language to use for strings returned
1138     * by this method.
1139     * @return Google_Service_Games_PlayerAchievementListResponse
1140     */
1141    public function listAchievements($playerId, $optParams = array())
1142    {
1143      $params = array('playerId' => $playerId);
1144      $params = array_merge($params, $optParams);
1145      return $this->call('list', array($params), "Google_Service_Games_PlayerAchievementListResponse");
1146    }
1147  
1148    /**
1149     * Sets the state of the achievement with the given ID to REVEALED for the
1150     * currently authenticated player. (achievements.reveal)
1151     *
1152     * @param string $achievementId The ID of the achievement used by this method.
1153     * @param array $optParams Optional parameters.
1154     * @return Google_Service_Games_AchievementRevealResponse
1155     */
1156    public function reveal($achievementId, $optParams = array())
1157    {
1158      $params = array('achievementId' => $achievementId);
1159      $params = array_merge($params, $optParams);
1160      return $this->call('reveal', array($params), "Google_Service_Games_AchievementRevealResponse");
1161    }
1162  
1163    /**
1164     * Sets the steps for the currently authenticated player towards unlocking an
1165     * achievement. If the steps parameter is less than the current number of steps
1166     * that the player already gained for the achievement, the achievement is not
1167     * modified. (achievements.setStepsAtLeast)
1168     *
1169     * @param string $achievementId The ID of the achievement used by this method.
1170     * @param int $steps The minimum value to set the steps to.
1171     * @param array $optParams Optional parameters.
1172     * @return Google_Service_Games_AchievementSetStepsAtLeastResponse
1173     */
1174    public function setStepsAtLeast($achievementId, $steps, $optParams = array())
1175    {
1176      $params = array('achievementId' => $achievementId, 'steps' => $steps);
1177      $params = array_merge($params, $optParams);
1178      return $this->call('setStepsAtLeast', array($params), "Google_Service_Games_AchievementSetStepsAtLeastResponse");
1179    }
1180  
1181    /**
1182     * Unlocks this achievement for the currently authenticated player.
1183     * (achievements.unlock)
1184     *
1185     * @param string $achievementId The ID of the achievement used by this method.
1186     * @param array $optParams Optional parameters.
1187     * @return Google_Service_Games_AchievementUnlockResponse
1188     */
1189    public function unlock($achievementId, $optParams = array())
1190    {
1191      $params = array('achievementId' => $achievementId);
1192      $params = array_merge($params, $optParams);
1193      return $this->call('unlock', array($params), "Google_Service_Games_AchievementUnlockResponse");
1194    }
1195  
1196    /**
1197     * Updates multiple achievements for the currently authenticated player.
1198     * (achievements.updateMultiple)
1199     *
1200     * @param Google_AchievementUpdateMultipleRequest $postBody
1201     * @param array $optParams Optional parameters.
1202     * @return Google_Service_Games_AchievementUpdateMultipleResponse
1203     */
1204    public function updateMultiple(Google_Service_Games_AchievementUpdateMultipleRequest $postBody, $optParams = array())
1205    {
1206      $params = array('postBody' => $postBody);
1207      $params = array_merge($params, $optParams);
1208      return $this->call('updateMultiple', array($params), "Google_Service_Games_AchievementUpdateMultipleResponse");
1209    }
1210  }
1211  
1212  /**
1213   * The "applications" collection of methods.
1214   * Typical usage is:
1215   *  <code>
1216   *   $gamesService = new Google_Service_Games(...);
1217   *   $applications = $gamesService->applications;
1218   *  </code>
1219   */
1220  #[AllowDynamicProperties]
1221  class Google_Service_Games_Applications_Resource extends Google_Service_Resource
1222  {
1223  
1224    /**
1225     * Retrieves the metadata of the application with the given ID. If the requested
1226     * application is not available for the specified platformType, the returned
1227     * response will not include any instance data. (applications.get)
1228     *
1229     * @param string $applicationId The application ID from the Google Play
1230     * developer console.
1231     * @param array $optParams Optional parameters.
1232     *
1233     * @opt_param string platformType Restrict application details returned to the
1234     * specific platform.
1235     * @opt_param string language The preferred language to use for strings returned
1236     * by this method.
1237     * @return Google_Service_Games_Application
1238     */
1239    public function get($applicationId, $optParams = array())
1240    {
1241      $params = array('applicationId' => $applicationId);
1242      $params = array_merge($params, $optParams);
1243      return $this->call('get', array($params), "Google_Service_Games_Application");
1244    }
1245  
1246    /**
1247     * Indicate that the the currently authenticated user is playing your
1248     * application. (applications.played)
1249     *
1250     * @param array $optParams Optional parameters.
1251     */
1252    public function played($optParams = array())
1253    {
1254      $params = array();
1255      $params = array_merge($params, $optParams);
1256      return $this->call('played', array($params));
1257    }
1258  }
1259  
1260  /**
1261   * The "events" collection of methods.
1262   * Typical usage is:
1263   *  <code>
1264   *   $gamesService = new Google_Service_Games(...);
1265   *   $events = $gamesService->events;
1266   *  </code>
1267   */
1268  #[AllowDynamicProperties]
1269  class Google_Service_Games_Events_Resource extends Google_Service_Resource
1270  {
1271  
1272    /**
1273     * Returns a list showing the current progress on events in this application for
1274     * the currently authenticated user. (events.listByPlayer)
1275     *
1276     * @param array $optParams Optional parameters.
1277     *
1278     * @opt_param string pageToken The token returned by the previous request.
1279     * @opt_param int maxResults The maximum number of events to return in the
1280     * response, used for paging. For any response, the actual number of events to
1281     * return may be less than the specified maxResults.
1282     * @opt_param string language The preferred language to use for strings returned
1283     * by this method.
1284     * @return Google_Service_Games_PlayerEventListResponse
1285     */
1286    public function listByPlayer($optParams = array())
1287    {
1288      $params = array();
1289      $params = array_merge($params, $optParams);
1290      return $this->call('listByPlayer', array($params), "Google_Service_Games_PlayerEventListResponse");
1291    }
1292  
1293    /**
1294     * Returns a list of the event definitions in this application.
1295     * (events.listDefinitions)
1296     *
1297     * @param array $optParams Optional parameters.
1298     *
1299     * @opt_param string pageToken The token returned by the previous request.
1300     * @opt_param int maxResults The maximum number of event definitions to return
1301     * in the response, used for paging. For any response, the actual number of
1302     * event definitions to return may be less than the specified maxResults.
1303     * @opt_param string language The preferred language to use for strings returned
1304     * by this method.
1305     * @return Google_Service_Games_EventDefinitionListResponse
1306     */
1307    public function listDefinitions($optParams = array())
1308    {
1309      $params = array();
1310      $params = array_merge($params, $optParams);
1311      return $this->call('listDefinitions', array($params), "Google_Service_Games_EventDefinitionListResponse");
1312    }
1313  
1314    /**
1315     * Records a batch of changes to the number of times events have occurred for
1316     * the currently authenticated user of this application. (events.record)
1317     *
1318     * @param Google_EventRecordRequest $postBody
1319     * @param array $optParams Optional parameters.
1320     *
1321     * @opt_param string language The preferred language to use for strings returned
1322     * by this method.
1323     * @return Google_Service_Games_EventUpdateResponse
1324     */
1325    public function record(Google_Service_Games_EventRecordRequest $postBody, $optParams = array())
1326    {
1327      $params = array('postBody' => $postBody);
1328      $params = array_merge($params, $optParams);
1329      return $this->call('record', array($params), "Google_Service_Games_EventUpdateResponse");
1330    }
1331  }
1332  
1333  /**
1334   * The "leaderboards" collection of methods.
1335   * Typical usage is:
1336   *  <code>
1337   *   $gamesService = new Google_Service_Games(...);
1338   *   $leaderboards = $gamesService->leaderboards;
1339   *  </code>
1340   */
1341  #[AllowDynamicProperties]
1342  class Google_Service_Games_Leaderboards_Resource extends Google_Service_Resource
1343  {
1344  
1345    /**
1346     * Retrieves the metadata of the leaderboard with the given ID.
1347     * (leaderboards.get)
1348     *
1349     * @param string $leaderboardId The ID of the leaderboard.
1350     * @param array $optParams Optional parameters.
1351     *
1352     * @opt_param string language The preferred language to use for strings returned
1353     * by this method.
1354     * @return Google_Service_Games_Leaderboard
1355     */
1356    public function get($leaderboardId, $optParams = array())
1357    {
1358      $params = array('leaderboardId' => $leaderboardId);
1359      $params = array_merge($params, $optParams);
1360      return $this->call('get', array($params), "Google_Service_Games_Leaderboard");
1361    }
1362  
1363    /**
1364     * Lists all the leaderboard metadata for your application.
1365     * (leaderboards.listLeaderboards)
1366     *
1367     * @param array $optParams Optional parameters.
1368     *
1369     * @opt_param string pageToken The token returned by the previous request.
1370     * @opt_param int maxResults The maximum number of leaderboards to return in the
1371     * response. For any response, the actual number of leaderboards returned may be
1372     * less than the specified maxResults.
1373     * @opt_param string language The preferred language to use for strings returned
1374     * by this method.
1375     * @return Google_Service_Games_LeaderboardListResponse
1376     */
1377    public function listLeaderboards($optParams = array())
1378    {
1379      $params = array();
1380      $params = array_merge($params, $optParams);
1381      return $this->call('list', array($params), "Google_Service_Games_LeaderboardListResponse");
1382    }
1383  }
1384  
1385  /**
1386   * The "metagame" collection of methods.
1387   * Typical usage is:
1388   *  <code>
1389   *   $gamesService = new Google_Service_Games(...);
1390   *   $metagame = $gamesService->metagame;
1391   *  </code>
1392   */
1393  #[AllowDynamicProperties]
1394  class Google_Service_Games_Metagame_Resource extends Google_Service_Resource
1395  {
1396  
1397    /**
1398     * Return the metagame configuration data for the calling application.
1399     * (metagame.getMetagameConfig)
1400     *
1401     * @param array $optParams Optional parameters.
1402     * @return Google_Service_Games_MetagameConfig
1403     */
1404    public function getMetagameConfig($optParams = array())
1405    {
1406      $params = array();
1407      $params = array_merge($params, $optParams);
1408      return $this->call('getMetagameConfig', array($params), "Google_Service_Games_MetagameConfig");
1409    }
1410  
1411    /**
1412     * List play data aggregated per category for the player corresponding to
1413     * playerId. (metagame.listCategoriesByPlayer)
1414     *
1415     * @param string $playerId A player ID. A value of me may be used in place of
1416     * the authenticated player's ID.
1417     * @param string $collection The collection of categories for which data will be
1418     * returned.
1419     * @param array $optParams Optional parameters.
1420     *
1421     * @opt_param string pageToken The token returned by the previous request.
1422     * @opt_param int maxResults The maximum number of category resources to return
1423     * in the response, used for paging. For any response, the actual number of
1424     * category resources returned may be less than the specified maxResults.
1425     * @opt_param string language The preferred language to use for strings returned
1426     * by this method.
1427     * @return Google_Service_Games_CategoryListResponse
1428     */
1429    public function listCategoriesByPlayer($playerId, $collection, $optParams = array())
1430    {
1431      $params = array('playerId' => $playerId, 'collection' => $collection);
1432      $params = array_merge($params, $optParams);
1433      return $this->call('listCategoriesByPlayer', array($params), "Google_Service_Games_CategoryListResponse");
1434    }
1435  }
1436  
1437  /**
1438   * The "players" collection of methods.
1439   * Typical usage is:
1440   *  <code>
1441   *   $gamesService = new Google_Service_Games(...);
1442   *   $players = $gamesService->players;
1443   *  </code>
1444   */
1445  #[AllowDynamicProperties]
1446  class Google_Service_Games_Players_Resource extends Google_Service_Resource
1447  {
1448  
1449    /**
1450     * Retrieves the Player resource with the given ID. To retrieve the player for
1451     * the currently authenticated user, set playerId to me. (players.get)
1452     *
1453     * @param string $playerId A player ID. A value of me may be used in place of
1454     * the authenticated player's ID.
1455     * @param array $optParams Optional parameters.
1456     *
1457     * @opt_param string language The preferred language to use for strings returned
1458     * by this method.
1459     * @return Google_Service_Games_Player
1460     */
1461    public function get($playerId, $optParams = array())
1462    {
1463      $params = array('playerId' => $playerId);
1464      $params = array_merge($params, $optParams);
1465      return $this->call('get', array($params), "Google_Service_Games_Player");
1466    }
1467  
1468    /**
1469     * Get the collection of players for the currently authenticated user.
1470     * (players.listPlayers)
1471     *
1472     * @param string $collection Collection of players being retrieved
1473     * @param array $optParams Optional parameters.
1474     *
1475     * @opt_param string pageToken The token returned by the previous request.
1476     * @opt_param int maxResults The maximum number of player resources to return in
1477     * the response, used for paging. For any response, the actual number of player
1478     * resources returned may be less than the specified maxResults.
1479     * @opt_param string language The preferred language to use for strings returned
1480     * by this method.
1481     * @return Google_Service_Games_PlayerListResponse
1482     */
1483    public function listPlayers($collection, $optParams = array())
1484    {
1485      $params = array('collection' => $collection);
1486      $params = array_merge($params, $optParams);
1487      return $this->call('list', array($params), "Google_Service_Games_PlayerListResponse");
1488    }
1489  }
1490  
1491  /**
1492   * The "pushtokens" collection of methods.
1493   * Typical usage is:
1494   *  <code>
1495   *   $gamesService = new Google_Service_Games(...);
1496   *   $pushtokens = $gamesService->pushtokens;
1497   *  </code>
1498   */
1499  #[AllowDynamicProperties]
1500  class Google_Service_Games_Pushtokens_Resource extends Google_Service_Resource
1501  {
1502  
1503    /**
1504     * Removes a push token for the current user and application. Removing a non-
1505     * existent push token will report success. (pushtokens.remove)
1506     *
1507     * @param Google_PushTokenId $postBody
1508     * @param array $optParams Optional parameters.
1509     */
1510    public function remove(Google_Service_Games_PushTokenId $postBody, $optParams = array())
1511    {
1512      $params = array('postBody' => $postBody);
1513      $params = array_merge($params, $optParams);
1514      return $this->call('remove', array($params));
1515    }
1516  
1517    /**
1518     * Registers a push token for the current user and application.
1519     * (pushtokens.update)
1520     *
1521     * @param Google_PushToken $postBody
1522     * @param array $optParams Optional parameters.
1523     */
1524    public function update(Google_Service_Games_PushToken $postBody, $optParams = array())
1525    {
1526      $params = array('postBody' => $postBody);
1527      $params = array_merge($params, $optParams);
1528      return $this->call('update', array($params));
1529    }
1530  }
1531  
1532  /**
1533   * The "questMilestones" collection of methods.
1534   * Typical usage is:
1535   *  <code>
1536   *   $gamesService = new Google_Service_Games(...);
1537   *   $questMilestones = $gamesService->questMilestones;
1538   *  </code>
1539   */
1540  #[AllowDynamicProperties]
1541  class Google_Service_Games_QuestMilestones_Resource extends Google_Service_Resource
1542  {
1543  
1544    /**
1545     * Report that a reward for the milestone corresponding to milestoneId for the
1546     * quest corresponding to questId has been claimed by the currently authorized
1547     * user. (questMilestones.claim)
1548     *
1549     * @param string $questId The ID of the quest.
1550     * @param string $milestoneId The ID of the milestone.
1551     * @param string $requestId A numeric ID to ensure that the request is handled
1552     * correctly across retries. Your client application must generate this ID
1553     * randomly.
1554     * @param array $optParams Optional parameters.
1555     */
1556    public function claim($questId, $milestoneId, $requestId, $optParams = array())
1557    {
1558      $params = array('questId' => $questId, 'milestoneId' => $milestoneId, 'requestId' => $requestId);
1559      $params = array_merge($params, $optParams);
1560      return $this->call('claim', array($params));
1561    }
1562  }
1563  
1564  /**
1565   * The "quests" collection of methods.
1566   * Typical usage is:
1567   *  <code>
1568   *   $gamesService = new Google_Service_Games(...);
1569   *   $quests = $gamesService->quests;
1570   *  </code>
1571   */
1572  #[AllowDynamicProperties]
1573  class Google_Service_Games_Quests_Resource extends Google_Service_Resource
1574  {
1575  
1576    /**
1577     * Indicates that the currently authorized user will participate in the quest.
1578     * (quests.accept)
1579     *
1580     * @param string $questId The ID of the quest.
1581     * @param array $optParams Optional parameters.
1582     *
1583     * @opt_param string language The preferred language to use for strings returned
1584     * by this method.
1585     * @return Google_Service_Games_Quest
1586     */
1587    public function accept($questId, $optParams = array())
1588    {
1589      $params = array('questId' => $questId);
1590      $params = array_merge($params, $optParams);
1591      return $this->call('accept', array($params), "Google_Service_Games_Quest");
1592    }
1593  
1594    /**
1595     * Get a list of quests for your application and the currently authenticated
1596     * player. (quests.listQuests)
1597     *
1598     * @param string $playerId A player ID. A value of me may be used in place of
1599     * the authenticated player's ID.
1600     * @param array $optParams Optional parameters.
1601     *
1602     * @opt_param string pageToken The token returned by the previous request.
1603     * @opt_param int maxResults The maximum number of quest resources to return in
1604     * the response, used for paging. For any response, the actual number of quest
1605     * resources returned may be less than the specified maxResults. Acceptable
1606     * values are 1 to 50, inclusive. (Default: 50).
1607     * @opt_param string language The preferred language to use for strings returned
1608     * by this method.
1609     * @return Google_Service_Games_QuestListResponse
1610     */
1611    public function listQuests($playerId, $optParams = array())
1612    {
1613      $params = array('playerId' => $playerId);
1614      $params = array_merge($params, $optParams);
1615      return $this->call('list', array($params), "Google_Service_Games_QuestListResponse");
1616    }
1617  }
1618  
1619  /**
1620   * The "revisions" collection of methods.
1621   * Typical usage is:
1622   *  <code>
1623   *   $gamesService = new Google_Service_Games(...);
1624   *   $revisions = $gamesService->revisions;
1625   *  </code>
1626   */
1627  #[AllowDynamicProperties]
1628  class Google_Service_Games_Revisions_Resource extends Google_Service_Resource
1629  {
1630  
1631    /**
1632     * Checks whether the games client is out of date. (revisions.check)
1633     *
1634     * @param string $clientRevision The revision of the client SDK used by your
1635     * application. Format: [PLATFORM_TYPE]:[VERSION_NUMBER]. Possible values of
1636     * PLATFORM_TYPE are:   - "ANDROID" - Client is running the Android SDK.  -
1637     * "IOS" - Client is running the iOS SDK.  - "WEB_APP" - Client is running as a
1638     * Web App.
1639     * @param array $optParams Optional parameters.
1640     * @return Google_Service_Games_RevisionCheckResponse
1641     */
1642    public function check($clientRevision, $optParams = array())
1643    {
1644      $params = array('clientRevision' => $clientRevision);
1645      $params = array_merge($params, $optParams);
1646      return $this->call('check', array($params), "Google_Service_Games_RevisionCheckResponse");
1647    }
1648  }
1649  
1650  /**
1651   * The "rooms" collection of methods.
1652   * Typical usage is:
1653   *  <code>
1654   *   $gamesService = new Google_Service_Games(...);
1655   *   $rooms = $gamesService->rooms;
1656   *  </code>
1657   */
1658  #[AllowDynamicProperties]
1659  class Google_Service_Games_Rooms_Resource extends Google_Service_Resource
1660  {
1661  
1662    /**
1663     * Create a room. For internal use by the Games SDK only. Calling this method
1664     * directly is unsupported. (rooms.create)
1665     *
1666     * @param Google_RoomCreateRequest $postBody
1667     * @param array $optParams Optional parameters.
1668     *
1669     * @opt_param string language The preferred language to use for strings returned
1670     * by this method.
1671     * @return Google_Service_Games_Room
1672     */
1673    public function create(Google_Service_Games_RoomCreateRequest $postBody, $optParams = array())
1674    {
1675      $params = array('postBody' => $postBody);
1676      $params = array_merge($params, $optParams);
1677      return $this->call('create', array($params), "Google_Service_Games_Room");
1678    }
1679  
1680    /**
1681     * Decline an invitation to join a room. For internal use by the Games SDK only.
1682     * Calling this method directly is unsupported. (rooms.decline)
1683     *
1684     * @param string $roomId The ID of the room.
1685     * @param array $optParams Optional parameters.
1686     *
1687     * @opt_param string language The preferred language to use for strings returned
1688     * by this method.
1689     * @return Google_Service_Games_Room
1690     */
1691    public function decline($roomId, $optParams = array())
1692    {
1693      $params = array('roomId' => $roomId);
1694      $params = array_merge($params, $optParams);
1695      return $this->call('decline', array($params), "Google_Service_Games_Room");
1696    }
1697  
1698    /**
1699     * Dismiss an invitation to join a room. For internal use by the Games SDK only.
1700     * Calling this method directly is unsupported. (rooms.dismiss)
1701     *
1702     * @param string $roomId The ID of the room.
1703     * @param array $optParams Optional parameters.
1704     */
1705    public function dismiss($roomId, $optParams = array())
1706    {
1707      $params = array('roomId' => $roomId);
1708      $params = array_merge($params, $optParams);
1709      return $this->call('dismiss', array($params));
1710    }
1711  
1712    /**
1713     * Get the data for a room. (rooms.get)
1714     *
1715     * @param string $roomId The ID of the room.
1716     * @param array $optParams Optional parameters.
1717     *
1718     * @opt_param string language The preferred language to use for strings returned
1719     * by this method.
1720     * @return Google_Service_Games_Room
1721     */
1722    public function get($roomId, $optParams = array())
1723    {
1724      $params = array('roomId' => $roomId);
1725      $params = array_merge($params, $optParams);
1726      return $this->call('get', array($params), "Google_Service_Games_Room");
1727    }
1728  
1729    /**
1730     * Join a room. For internal use by the Games SDK only. Calling this method
1731     * directly is unsupported. (rooms.join)
1732     *
1733     * @param string $roomId The ID of the room.
1734     * @param Google_RoomJoinRequest $postBody
1735     * @param array $optParams Optional parameters.
1736     *
1737     * @opt_param string language The preferred language to use for strings returned
1738     * by this method.
1739     * @return Google_Service_Games_Room
1740     */
1741    public function join($roomId, Google_Service_Games_RoomJoinRequest $postBody, $optParams = array())
1742    {
1743      $params = array('roomId' => $roomId, 'postBody' => $postBody);
1744      $params = array_merge($params, $optParams);
1745      return $this->call('join', array($params), "Google_Service_Games_Room");
1746    }
1747  
1748    /**
1749     * Leave a room. For internal use by the Games SDK only. Calling this method
1750     * directly is unsupported. (rooms.leave)
1751     *
1752     * @param string $roomId The ID of the room.
1753     * @param Google_RoomLeaveRequest $postBody
1754     * @param array $optParams Optional parameters.
1755     *
1756     * @opt_param string language The preferred language to use for strings returned
1757     * by this method.
1758     * @return Google_Service_Games_Room
1759     */
1760    public function leave($roomId, Google_Service_Games_RoomLeaveRequest $postBody, $optParams = array())
1761    {
1762      $params = array('roomId' => $roomId, 'postBody' => $postBody);
1763      $params = array_merge($params, $optParams);
1764      return $this->call('leave', array($params), "Google_Service_Games_Room");
1765    }
1766  
1767    /**
1768     * Returns invitations to join rooms. (rooms.listRooms)
1769     *
1770     * @param array $optParams Optional parameters.
1771     *
1772     * @opt_param string pageToken The token returned by the previous request.
1773     * @opt_param int maxResults The maximum number of rooms to return in the
1774     * response, used for paging. For any response, the actual number of rooms to
1775     * return may be less than the specified maxResults.
1776     * @opt_param string language The preferred language to use for strings returned
1777     * by this method.
1778     * @return Google_Service_Games_RoomList
1779     */
1780    public function listRooms($optParams = array())
1781    {
1782      $params = array();
1783      $params = array_merge($params, $optParams);
1784      return $this->call('list', array($params), "Google_Service_Games_RoomList");
1785    }
1786  
1787    /**
1788     * Updates sent by a client reporting the status of peers in a room. For
1789     * internal use by the Games SDK only. Calling this method directly is
1790     * unsupported. (rooms.reportStatus)
1791     *
1792     * @param string $roomId The ID of the room.
1793     * @param Google_RoomP2PStatuses $postBody
1794     * @param array $optParams Optional parameters.
1795     *
1796     * @opt_param string language The preferred language to use for strings returned
1797     * by this method.
1798     * @return Google_Service_Games_RoomStatus
1799     */
1800    public function reportStatus($roomId, Google_Service_Games_RoomP2PStatuses $postBody, $optParams = array())
1801    {
1802      $params = array('roomId' => $roomId, 'postBody' => $postBody);
1803      $params = array_merge($params, $optParams);
1804      return $this->call('reportStatus', array($params), "Google_Service_Games_RoomStatus");
1805    }
1806  }
1807  
1808  /**
1809   * The "scores" collection of methods.
1810   * Typical usage is:
1811   *  <code>
1812   *   $gamesService = new Google_Service_Games(...);
1813   *   $scores = $gamesService->scores;
1814   *  </code>
1815   */
1816  #[AllowDynamicProperties]
1817  class Google_Service_Games_Scores_Resource extends Google_Service_Resource
1818  {
1819  
1820    /**
1821     * Get high scores, and optionally ranks, in leaderboards for the currently
1822     * authenticated player. For a specific time span, leaderboardId can be set to
1823     * ALL to retrieve data for all leaderboards in a given time span. NOTE: You
1824     * cannot ask for 'ALL' leaderboards and 'ALL' timeSpans in the same request;
1825     * only one parameter may be set to 'ALL'. (scores.get)
1826     *
1827     * @param string $playerId A player ID. A value of me may be used in place of
1828     * the authenticated player's ID.
1829     * @param string $leaderboardId The ID of the leaderboard. Can be set to 'ALL'
1830     * to retrieve data for all leaderboards for this application.
1831     * @param string $timeSpan The time span for the scores and ranks you're
1832     * requesting.
1833     * @param array $optParams Optional parameters.
1834     *
1835     * @opt_param string includeRankType The types of ranks to return. If the
1836     * parameter is omitted, no ranks will be returned.
1837     * @opt_param string language The preferred language to use for strings returned
1838     * by this method.
1839     * @opt_param int maxResults The maximum number of leaderboard scores to return
1840     * in the response. For any response, the actual number of leaderboard scores
1841     * returned may be less than the specified maxResults.
1842     * @opt_param string pageToken The token returned by the previous request.
1843     * @return Google_Service_Games_PlayerLeaderboardScoreListResponse
1844     */
1845    public function get($playerId, $leaderboardId, $timeSpan, $optParams = array())
1846    {
1847      $params = array('playerId' => $playerId, 'leaderboardId' => $leaderboardId, 'timeSpan' => $timeSpan);
1848      $params = array_merge($params, $optParams);
1849      return $this->call('get', array($params), "Google_Service_Games_PlayerLeaderboardScoreListResponse");
1850    }
1851  
1852    /**
1853     * Lists the scores in a leaderboard, starting from the top. (scores.listScores)
1854     *
1855     * @param string $leaderboardId The ID of the leaderboard.
1856     * @param string $collection The collection of scores you're requesting.
1857     * @param string $timeSpan The time span for the scores and ranks you're
1858     * requesting.
1859     * @param array $optParams Optional parameters.
1860     *
1861     * @opt_param string language The preferred language to use for strings returned
1862     * by this method.
1863     * @opt_param int maxResults The maximum number of leaderboard scores to return
1864     * in the response. For any response, the actual number of leaderboard scores
1865     * returned may be less than the specified maxResults.
1866     * @opt_param string pageToken The token returned by the previous request.
1867     * @return Google_Service_Games_LeaderboardScores
1868     */
1869    public function listScores($leaderboardId, $collection, $timeSpan, $optParams = array())
1870    {
1871      $params = array('leaderboardId' => $leaderboardId, 'collection' => $collection, 'timeSpan' => $timeSpan);
1872      $params = array_merge($params, $optParams);
1873      return $this->call('list', array($params), "Google_Service_Games_LeaderboardScores");
1874    }
1875  
1876    /**
1877     * Lists the scores in a leaderboard around (and including) a player's score.
1878     * (scores.listWindow)
1879     *
1880     * @param string $leaderboardId The ID of the leaderboard.
1881     * @param string $collection The collection of scores you're requesting.
1882     * @param string $timeSpan The time span for the scores and ranks you're
1883     * requesting.
1884     * @param array $optParams Optional parameters.
1885     *
1886     * @opt_param string language The preferred language to use for strings returned
1887     * by this method.
1888     * @opt_param bool returnTopIfAbsent True if the top scores should be returned
1889     * when the player is not in the leaderboard. Defaults to true.
1890     * @opt_param int resultsAbove The preferred number of scores to return above
1891     * the player's score. More scores may be returned if the player is at the
1892     * bottom of the leaderboard; fewer may be returned if the player is at the top.
1893     * Must be less than or equal to maxResults.
1894     * @opt_param int maxResults The maximum number of leaderboard scores to return
1895     * in the response. For any response, the actual number of leaderboard scores
1896     * returned may be less than the specified maxResults.
1897     * @opt_param string pageToken The token returned by the previous request.
1898     * @return Google_Service_Games_LeaderboardScores
1899     */
1900    public function listWindow($leaderboardId, $collection, $timeSpan, $optParams = array())
1901    {
1902      $params = array('leaderboardId' => $leaderboardId, 'collection' => $collection, 'timeSpan' => $timeSpan);
1903      $params = array_merge($params, $optParams);
1904      return $this->call('listWindow', array($params), "Google_Service_Games_LeaderboardScores");
1905    }
1906  
1907    /**
1908     * Submits a score to the specified leaderboard. (scores.submit)
1909     *
1910     * @param string $leaderboardId The ID of the leaderboard.
1911     * @param string $score The score you're submitting. The submitted score is
1912     * ignored if it is worse than a previously submitted score, where worse depends
1913     * on the leaderboard sort order. The meaning of the score value depends on the
1914     * leaderboard format type. For fixed-point, the score represents the raw value.
1915     * For time, the score represents elapsed time in milliseconds. For currency,
1916     * the score represents a value in micro units.
1917     * @param array $optParams Optional parameters.
1918     *
1919     * @opt_param string language The preferred language to use for strings returned
1920     * by this method.
1921     * @opt_param string scoreTag Additional information about the score you're
1922     * submitting. Values must contain no more than 64 URI-safe characters as
1923     * defined by section 2.3 of RFC 3986.
1924     * @return Google_Service_Games_PlayerScoreResponse
1925     */
1926    public function submit($leaderboardId, $score, $optParams = array())
1927    {
1928      $params = array('leaderboardId' => $leaderboardId, 'score' => $score);
1929      $params = array_merge($params, $optParams);
1930      return $this->call('submit', array($params), "Google_Service_Games_PlayerScoreResponse");
1931    }
1932  
1933    /**
1934     * Submits multiple scores to leaderboards. (scores.submitMultiple)
1935     *
1936     * @param Google_PlayerScoreSubmissionList $postBody
1937     * @param array $optParams Optional parameters.
1938     *
1939     * @opt_param string language The preferred language to use for strings returned
1940     * by this method.
1941     * @return Google_Service_Games_PlayerScoreListResponse
1942     */
1943    public function submitMultiple(Google_Service_Games_PlayerScoreSubmissionList $postBody, $optParams = array())
1944    {
1945      $params = array('postBody' => $postBody);
1946      $params = array_merge($params, $optParams);
1947      return $this->call('submitMultiple', array($params), "Google_Service_Games_PlayerScoreListResponse");
1948    }
1949  }
1950  
1951  /**
1952   * The "snapshots" collection of methods.
1953   * Typical usage is:
1954   *  <code>
1955   *   $gamesService = new Google_Service_Games(...);
1956   *   $snapshots = $gamesService->snapshots;
1957   *  </code>
1958   */
1959  #[AllowDynamicProperties]
1960  class Google_Service_Games_Snapshots_Resource extends Google_Service_Resource
1961  {
1962  
1963    /**
1964     * Retrieves the metadata for a given snapshot ID. (snapshots.get)
1965     *
1966     * @param string $snapshotId The ID of the snapshot.
1967     * @param array $optParams Optional parameters.
1968     *
1969     * @opt_param string language The preferred language to use for strings returned
1970     * by this method.
1971     * @return Google_Service_Games_Snapshot
1972     */
1973    public function get($snapshotId, $optParams = array())
1974    {
1975      $params = array('snapshotId' => $snapshotId);
1976      $params = array_merge($params, $optParams);
1977      return $this->call('get', array($params), "Google_Service_Games_Snapshot");
1978    }
1979  
1980    /**
1981     * Retrieves a list of snapshots created by your application for the player
1982     * corresponding to the player ID. (snapshots.listSnapshots)
1983     *
1984     * @param string $playerId A player ID. A value of me may be used in place of
1985     * the authenticated player's ID.
1986     * @param array $optParams Optional parameters.
1987     *
1988     * @opt_param string pageToken The token returned by the previous request.
1989     * @opt_param int maxResults The maximum number of snapshot resources to return
1990     * in the response, used for paging. For any response, the actual number of
1991     * snapshot resources returned may be less than the specified maxResults.
1992     * @opt_param string language The preferred language to use for strings returned
1993     * by this method.
1994     * @return Google_Service_Games_SnapshotListResponse
1995     */
1996    public function listSnapshots($playerId, $optParams = array())
1997    {
1998      $params = array('playerId' => $playerId);
1999      $params = array_merge($params, $optParams);
2000      return $this->call('list', array($params), "Google_Service_Games_SnapshotListResponse");
2001    }
2002  }
2003  
2004  /**
2005   * The "turnBasedMatches" collection of methods.
2006   * Typical usage is:
2007   *  <code>
2008   *   $gamesService = new Google_Service_Games(...);
2009   *   $turnBasedMatches = $gamesService->turnBasedMatches;
2010   *  </code>
2011   */
2012  #[AllowDynamicProperties]
2013  class Google_Service_Games_TurnBasedMatches_Resource extends Google_Service_Resource
2014  {
2015  
2016    /**
2017     * Cancel a turn-based match. (turnBasedMatches.cancel)
2018     *
2019     * @param string $matchId The ID of the match.
2020     * @param array $optParams Optional parameters.
2021     */
2022    public function cancel($matchId, $optParams = array())
2023    {
2024      $params = array('matchId' => $matchId);
2025      $params = array_merge($params, $optParams);
2026      return $this->call('cancel', array($params));
2027    }
2028  
2029    /**
2030     * Create a turn-based match. (turnBasedMatches.create)
2031     *
2032     * @param Google_TurnBasedMatchCreateRequest $postBody
2033     * @param array $optParams Optional parameters.
2034     *
2035     * @opt_param string language The preferred language to use for strings returned
2036     * by this method.
2037     * @return Google_Service_Games_TurnBasedMatch
2038     */
2039    public function create(Google_Service_Games_TurnBasedMatchCreateRequest $postBody, $optParams = array())
2040    {
2041      $params = array('postBody' => $postBody);
2042      $params = array_merge($params, $optParams);
2043      return $this->call('create', array($params), "Google_Service_Games_TurnBasedMatch");
2044    }
2045  
2046    /**
2047     * Decline an invitation to play a turn-based match. (turnBasedMatches.decline)
2048     *
2049     * @param string $matchId The ID of the match.
2050     * @param array $optParams Optional parameters.
2051     *
2052     * @opt_param string language The preferred language to use for strings returned
2053     * by this method.
2054     * @return Google_Service_Games_TurnBasedMatch
2055     */
2056    public function decline($matchId, $optParams = array())
2057    {
2058      $params = array('matchId' => $matchId);
2059      $params = array_merge($params, $optParams);
2060      return $this->call('decline', array($params), "Google_Service_Games_TurnBasedMatch");
2061    }
2062  
2063    /**
2064     * Dismiss a turn-based match from the match list. The match will no longer show
2065     * up in the list and will not generate notifications.
2066     * (turnBasedMatches.dismiss)
2067     *
2068     * @param string $matchId The ID of the match.
2069     * @param array $optParams Optional parameters.
2070     */
2071    public function dismiss($matchId, $optParams = array())
2072    {
2073      $params = array('matchId' => $matchId);
2074      $params = array_merge($params, $optParams);
2075      return $this->call('dismiss', array($params));
2076    }
2077  
2078    /**
2079     * Finish a turn-based match. Each player should make this call once, after all
2080     * results are in. Only the player whose turn it is may make the first call to
2081     * Finish, and can pass in the final match state. (turnBasedMatches.finish)
2082     *
2083     * @param string $matchId The ID of the match.
2084     * @param Google_TurnBasedMatchResults $postBody
2085     * @param array $optParams Optional parameters.
2086     *
2087     * @opt_param string language The preferred language to use for strings returned
2088     * by this method.
2089     * @return Google_Service_Games_TurnBasedMatch
2090     */
2091    public function finish($matchId, Google_Service_Games_TurnBasedMatchResults $postBody, $optParams = array())
2092    {
2093      $params = array('matchId' => $matchId, 'postBody' => $postBody);
2094      $params = array_merge($params, $optParams);
2095      return $this->call('finish', array($params), "Google_Service_Games_TurnBasedMatch");
2096    }
2097  
2098    /**
2099     * Get the data for a turn-based match. (turnBasedMatches.get)
2100     *
2101     * @param string $matchId The ID of the match.
2102     * @param array $optParams Optional parameters.
2103     *
2104     * @opt_param string language The preferred language to use for strings returned
2105     * by this method.
2106     * @opt_param bool includeMatchData Get match data along with metadata.
2107     * @return Google_Service_Games_TurnBasedMatch
2108     */
2109    public function get($matchId, $optParams = array())
2110    {
2111      $params = array('matchId' => $matchId);
2112      $params = array_merge($params, $optParams);
2113      return $this->call('get', array($params), "Google_Service_Games_TurnBasedMatch");
2114    }
2115  
2116    /**
2117     * Join a turn-based match. (turnBasedMatches.join)
2118     *
2119     * @param string $matchId The ID of the match.
2120     * @param array $optParams Optional parameters.
2121     *
2122     * @opt_param string language The preferred language to use for strings returned
2123     * by this method.
2124     * @return Google_Service_Games_TurnBasedMatch
2125     */
2126    public function join($matchId, $optParams = array())
2127    {
2128      $params = array('matchId' => $matchId);
2129      $params = array_merge($params, $optParams);
2130      return $this->call('join', array($params), "Google_Service_Games_TurnBasedMatch");
2131    }
2132  
2133    /**
2134     * Leave a turn-based match when it is not the current player's turn, without
2135     * canceling the match. (turnBasedMatches.leave)
2136     *
2137     * @param string $matchId The ID of the match.
2138     * @param array $optParams Optional parameters.
2139     *
2140     * @opt_param string language The preferred language to use for strings returned
2141     * by this method.
2142     * @return Google_Service_Games_TurnBasedMatch
2143     */
2144    public function leave($matchId, $optParams = array())
2145    {
2146      $params = array('matchId' => $matchId);
2147      $params = array_merge($params, $optParams);
2148      return $this->call('leave', array($params), "Google_Service_Games_TurnBasedMatch");
2149    }
2150  
2151    /**
2152     * Leave a turn-based match during the current player's turn, without canceling
2153     * the match. (turnBasedMatches.leaveTurn)
2154     *
2155     * @param string $matchId The ID of the match.
2156     * @param int $matchVersion The version of the match being updated.
2157     * @param array $optParams Optional parameters.
2158     *
2159     * @opt_param string language The preferred language to use for strings returned
2160     * by this method.
2161     * @opt_param string pendingParticipantId The ID of another participant who
2162     * should take their turn next. If not set, the match will wait for other
2163     * player(s) to join via automatching; this is only valid if automatch criteria
2164     * is set on the match with remaining slots for automatched players.
2165     * @return Google_Service_Games_TurnBasedMatch
2166     */
2167    public function leaveTurn($matchId, $matchVersion, $optParams = array())
2168    {
2169      $params = array('matchId' => $matchId, 'matchVersion' => $matchVersion);
2170      $params = array_merge($params, $optParams);
2171      return $this->call('leaveTurn', array($params), "Google_Service_Games_TurnBasedMatch");
2172    }
2173  
2174    /**
2175     * Returns turn-based matches the player is or was involved in.
2176     * (turnBasedMatches.listTurnBasedMatches)
2177     *
2178     * @param array $optParams Optional parameters.
2179     *
2180     * @opt_param string pageToken The token returned by the previous request.
2181     * @opt_param int maxCompletedMatches The maximum number of completed or
2182     * canceled matches to return in the response. If not set, all matches returned
2183     * could be completed or canceled.
2184     * @opt_param int maxResults The maximum number of matches to return in the
2185     * response, used for paging. For any response, the actual number of matches to
2186     * return may be less than the specified maxResults.
2187     * @opt_param string language The preferred language to use for strings returned
2188     * by this method.
2189     * @opt_param bool includeMatchData True if match data should be returned in the
2190     * response. Note that not all data will necessarily be returned if
2191     * include_match_data is true; the server may decide to only return data for
2192     * some of the matches to limit download size for the client. The remainder of
2193     * the data for these matches will be retrievable on request.
2194     * @return Google_Service_Games_TurnBasedMatchList
2195     */
2196    public function listTurnBasedMatches($optParams = array())
2197    {
2198      $params = array();
2199      $params = array_merge($params, $optParams);
2200      return $this->call('list', array($params), "Google_Service_Games_TurnBasedMatchList");
2201    }
2202  
2203    /**
2204     * Create a rematch of a match that was previously completed, with the same
2205     * participants. This can be called by only one player on a match still in their
2206     * list; the player must have called Finish first. Returns the newly created
2207     * match; it will be the caller's turn. (turnBasedMatches.rematch)
2208     *
2209     * @param string $matchId The ID of the match.
2210     * @param array $optParams Optional parameters.
2211     *
2212     * @opt_param string requestId A randomly generated numeric ID for each request
2213     * specified by the caller. This number is used at the server to ensure that the
2214     * request is handled correctly across retries.
2215     * @opt_param string language The preferred language to use for strings returned
2216     * by this method.
2217     * @return Google_Service_Games_TurnBasedMatchRematch
2218     */
2219    public function rematch($matchId, $optParams = array())
2220    {
2221      $params = array('matchId' => $matchId);
2222      $params = array_merge($params, $optParams);
2223      return $this->call('rematch', array($params), "Google_Service_Games_TurnBasedMatchRematch");
2224    }
2225  
2226    /**
2227     * Returns turn-based matches the player is or was involved in that changed
2228     * since the last sync call, with the least recent changes coming first. Matches
2229     * that should be removed from the local cache will have a status of
2230     * MATCH_DELETED. (turnBasedMatches.sync)
2231     *
2232     * @param array $optParams Optional parameters.
2233     *
2234     * @opt_param string pageToken The token returned by the previous request.
2235     * @opt_param int maxCompletedMatches The maximum number of completed or
2236     * canceled matches to return in the response. If not set, all matches returned
2237     * could be completed or canceled.
2238     * @opt_param int maxResults The maximum number of matches to return in the
2239     * response, used for paging. For any response, the actual number of matches to
2240     * return may be less than the specified maxResults.
2241     * @opt_param string language The preferred language to use for strings returned
2242     * by this method.
2243     * @opt_param bool includeMatchData True if match data should be returned in the
2244     * response. Note that not all data will necessarily be returned if
2245     * include_match_data is true; the server may decide to only return data for
2246     * some of the matches to limit download size for the client. The remainder of
2247     * the data for these matches will be retrievable on request.
2248     * @return Google_Service_Games_TurnBasedMatchSync
2249     */
2250    public function sync($optParams = array())
2251    {
2252      $params = array();
2253      $params = array_merge($params, $optParams);
2254      return $this->call('sync', array($params), "Google_Service_Games_TurnBasedMatchSync");
2255    }
2256  
2257    /**
2258     * Commit the results of a player turn. (turnBasedMatches.takeTurn)
2259     *
2260     * @param string $matchId The ID of the match.
2261     * @param Google_TurnBasedMatchTurn $postBody
2262     * @param array $optParams Optional parameters.
2263     *
2264     * @opt_param string language The preferred language to use for strings returned
2265     * by this method.
2266     * @return Google_Service_Games_TurnBasedMatch
2267     */
2268    public function takeTurn($matchId, Google_Service_Games_TurnBasedMatchTurn $postBody, $optParams = array())
2269    {
2270      $params = array('matchId' => $matchId, 'postBody' => $postBody);
2271      $params = array_merge($params, $optParams);
2272      return $this->call('takeTurn', array($params), "Google_Service_Games_TurnBasedMatch");
2273    }
2274  }
2275  
2276  
2277  
2278  
2279  #[AllowDynamicProperties]
2280  class Google_Service_Games_AchievementDefinition extends Google_Model
2281  {
2282    protected $internal_gapi_mappings = array(
2283    );
2284    public $achievementType;
2285    public $description;
2286    public $experiencePoints;
2287    public $formattedTotalSteps;
2288    public $id;
2289    public $initialState;
2290    public $isRevealedIconUrlDefault;
2291    public $isUnlockedIconUrlDefault;
2292    public $kind;
2293    public $name;
2294    public $revealedIconUrl;
2295    public $totalSteps;
2296    public $unlockedIconUrl;
2297  
2298  
2299    public function setAchievementType($achievementType)
2300    {
2301      $this->achievementType = $achievementType;
2302    }
2303    public function getAchievementType()
2304    {
2305      return $this->achievementType;
2306    }
2307    public function setDescription($description)
2308    {
2309      $this->description = $description;
2310    }
2311    public function getDescription()
2312    {
2313      return $this->description;
2314    }
2315    public function setExperiencePoints($experiencePoints)
2316    {
2317      $this->experiencePoints = $experiencePoints;
2318    }
2319    public function getExperiencePoints()
2320    {
2321      return $this->experiencePoints;
2322    }
2323    public function setFormattedTotalSteps($formattedTotalSteps)
2324    {
2325      $this->formattedTotalSteps = $formattedTotalSteps;
2326    }
2327    public function getFormattedTotalSteps()
2328    {
2329      return $this->formattedTotalSteps;
2330    }
2331    public function setId($id)
2332    {
2333      $this->id = $id;
2334    }
2335    public function getId()
2336    {
2337      return $this->id;
2338    }
2339    public function setInitialState($initialState)
2340    {
2341      $this->initialState = $initialState;
2342    }
2343    public function getInitialState()
2344    {
2345      return $this->initialState;
2346    }
2347    public function setIsRevealedIconUrlDefault($isRevealedIconUrlDefault)
2348    {
2349      $this->isRevealedIconUrlDefault = $isRevealedIconUrlDefault;
2350    }
2351    public function getIsRevealedIconUrlDefault()
2352    {
2353      return $this->isRevealedIconUrlDefault;
2354    }
2355    public function setIsUnlockedIconUrlDefault($isUnlockedIconUrlDefault)
2356    {
2357      $this->isUnlockedIconUrlDefault = $isUnlockedIconUrlDefault;
2358    }
2359    public function getIsUnlockedIconUrlDefault()
2360    {
2361      return $this->isUnlockedIconUrlDefault;
2362    }
2363    public function setKind($kind)
2364    {
2365      $this->kind = $kind;
2366    }
2367    public function getKind()
2368    {
2369      return $this->kind;
2370    }
2371    public function setName($name)
2372    {
2373      $this->name = $name;
2374    }
2375    public function getName()
2376    {
2377      return $this->name;
2378    }
2379    public function setRevealedIconUrl($revealedIconUrl)
2380    {
2381      $this->revealedIconUrl = $revealedIconUrl;
2382    }
2383    public function getRevealedIconUrl()
2384    {
2385      return $this->revealedIconUrl;
2386    }
2387    public function setTotalSteps($totalSteps)
2388    {
2389      $this->totalSteps = $totalSteps;
2390    }
2391    public function getTotalSteps()
2392    {
2393      return $this->totalSteps;
2394    }
2395    public function setUnlockedIconUrl($unlockedIconUrl)
2396    {
2397      $this->unlockedIconUrl = $unlockedIconUrl;
2398    }
2399    public function getUnlockedIconUrl()
2400    {
2401      return $this->unlockedIconUrl;
2402    }
2403  }
2404  
2405  #[AllowDynamicProperties]
2406  class Google_Service_Games_AchievementDefinitionsListResponse extends Google_Collection
2407  {
2408    protected $collection_key = 'items';
2409    protected $internal_gapi_mappings = array(
2410    );
2411    protected $itemsType = 'Google_Service_Games_AchievementDefinition';
2412    protected $itemsDataType = 'array';
2413    public $kind;
2414    public $nextPageToken;
2415  
2416  
2417    public function setItems($items)
2418    {
2419      $this->items = $items;
2420    }
2421    public function getItems()
2422    {
2423      return $this->items;
2424    }
2425    public function setKind($kind)
2426    {
2427      $this->kind = $kind;
2428    }
2429    public function getKind()
2430    {
2431      return $this->kind;
2432    }
2433    public function setNextPageToken($nextPageToken)
2434    {
2435      $this->nextPageToken = $nextPageToken;
2436    }
2437    public function getNextPageToken()
2438    {
2439      return $this->nextPageToken;
2440    }
2441  }
2442  
2443  #[AllowDynamicProperties]
2444  class Google_Service_Games_AchievementIncrementResponse extends Google_Model
2445  {
2446    protected $internal_gapi_mappings = array(
2447    );
2448    public $currentSteps;
2449    public $kind;
2450    public $newlyUnlocked;
2451  
2452  
2453    public function setCurrentSteps($currentSteps)
2454    {
2455      $this->currentSteps = $currentSteps;
2456    }
2457    public function getCurrentSteps()
2458    {
2459      return $this->currentSteps;
2460    }
2461    public function setKind($kind)
2462    {
2463      $this->kind = $kind;
2464    }
2465    public function getKind()
2466    {
2467      return $this->kind;
2468    }
2469    public function setNewlyUnlocked($newlyUnlocked)
2470    {
2471      $this->newlyUnlocked = $newlyUnlocked;
2472    }
2473    public function getNewlyUnlocked()
2474    {
2475      return $this->newlyUnlocked;
2476    }
2477  }
2478  
2479  #[AllowDynamicProperties]
2480  class Google_Service_Games_AchievementRevealResponse extends Google_Model
2481  {
2482    protected $internal_gapi_mappings = array(
2483    );
2484    public $currentState;
2485    public $kind;
2486  
2487  
2488    public function setCurrentState($currentState)
2489    {
2490      $this->currentState = $currentState;
2491    }
2492    public function getCurrentState()
2493    {
2494      return $this->currentState;
2495    }
2496    public function setKind($kind)
2497    {
2498      $this->kind = $kind;
2499    }
2500    public function getKind()
2501    {
2502      return $this->kind;
2503    }
2504  }
2505  
2506  #[AllowDynamicProperties]
2507  class Google_Service_Games_AchievementSetStepsAtLeastResponse extends Google_Model
2508  {
2509    protected $internal_gapi_mappings = array(
2510    );
2511    public $currentSteps;
2512    public $kind;
2513    public $newlyUnlocked;
2514  
2515  
2516    public function setCurrentSteps($currentSteps)
2517    {
2518      $this->currentSteps = $currentSteps;
2519    }
2520    public function getCurrentSteps()
2521    {
2522      return $this->currentSteps;
2523    }
2524    public function setKind($kind)
2525    {
2526      $this->kind = $kind;
2527    }
2528    public function getKind()
2529    {
2530      return $this->kind;
2531    }
2532    public function setNewlyUnlocked($newlyUnlocked)
2533    {
2534      $this->newlyUnlocked = $newlyUnlocked;
2535    }
2536    public function getNewlyUnlocked()
2537    {
2538      return $this->newlyUnlocked;
2539    }
2540  }
2541  
2542  #[AllowDynamicProperties]
2543  class Google_Service_Games_AchievementUnlockResponse extends Google_Model
2544  {
2545    protected $internal_gapi_mappings = array(
2546    );
2547    public $kind;
2548    public $newlyUnlocked;
2549  
2550  
2551    public function setKind($kind)
2552    {
2553      $this->kind = $kind;
2554    }
2555    public function getKind()
2556    {
2557      return $this->kind;
2558    }
2559    public function setNewlyUnlocked($newlyUnlocked)
2560    {
2561      $this->newlyUnlocked = $newlyUnlocked;
2562    }
2563    public function getNewlyUnlocked()
2564    {
2565      return $this->newlyUnlocked;
2566    }
2567  }
2568  
2569  #[AllowDynamicProperties]
2570  class Google_Service_Games_AchievementUpdateMultipleRequest extends Google_Collection
2571  {
2572    protected $collection_key = 'updates';
2573    protected $internal_gapi_mappings = array(
2574    );
2575    public $kind;
2576    protected $updatesType = 'Google_Service_Games_AchievementUpdateRequest';
2577    protected $updatesDataType = 'array';
2578  
2579  
2580    public function setKind($kind)
2581    {
2582      $this->kind = $kind;
2583    }
2584    public function getKind()
2585    {
2586      return $this->kind;
2587    }
2588    public function setUpdates($updates)
2589    {
2590      $this->updates = $updates;
2591    }
2592    public function getUpdates()
2593    {
2594      return $this->updates;
2595    }
2596  }
2597  
2598  #[AllowDynamicProperties]
2599  class Google_Service_Games_AchievementUpdateMultipleResponse extends Google_Collection
2600  {
2601    protected $collection_key = 'updatedAchievements';
2602    protected $internal_gapi_mappings = array(
2603    );
2604    public $kind;
2605    protected $updatedAchievementsType = 'Google_Service_Games_AchievementUpdateResponse';
2606    protected $updatedAchievementsDataType = 'array';
2607  
2608  
2609    public function setKind($kind)
2610    {
2611      $this->kind = $kind;
2612    }
2613    public function getKind()
2614    {
2615      return $this->kind;
2616    }
2617    public function setUpdatedAchievements($updatedAchievements)
2618    {
2619      $this->updatedAchievements = $updatedAchievements;
2620    }
2621    public function getUpdatedAchievements()
2622    {
2623      return $this->updatedAchievements;
2624    }
2625  }
2626  
2627  #[AllowDynamicProperties]
2628  class Google_Service_Games_AchievementUpdateRequest extends Google_Model
2629  {
2630    protected $internal_gapi_mappings = array(
2631    );
2632    public $achievementId;
2633    protected $incrementPayloadType = 'Google_Service_Games_GamesAchievementIncrement';
2634    protected $incrementPayloadDataType = '';
2635    public $kind;
2636    protected $setStepsAtLeastPayloadType = 'Google_Service_Games_GamesAchievementSetStepsAtLeast';
2637    protected $setStepsAtLeastPayloadDataType = '';
2638    public $updateType;
2639  
2640  
2641    public function setAchievementId($achievementId)
2642    {
2643      $this->achievementId = $achievementId;
2644    }
2645    public function getAchievementId()
2646    {
2647      return $this->achievementId;
2648    }
2649    public function setIncrementPayload(Google_Service_Games_GamesAchievementIncrement $incrementPayload)
2650    {
2651      $this->incrementPayload = $incrementPayload;
2652    }
2653    public function getIncrementPayload()
2654    {
2655      return $this->incrementPayload;
2656    }
2657    public function setKind($kind)
2658    {
2659      $this->kind = $kind;
2660    }
2661    public function getKind()
2662    {
2663      return $this->kind;
2664    }
2665    public function setSetStepsAtLeastPayload(Google_Service_Games_GamesAchievementSetStepsAtLeast $setStepsAtLeastPayload)
2666    {
2667      $this->setStepsAtLeastPayload = $setStepsAtLeastPayload;
2668    }
2669    public function getSetStepsAtLeastPayload()
2670    {
2671      return $this->setStepsAtLeastPayload;
2672    }
2673    public function setUpdateType($updateType)
2674    {
2675      $this->updateType = $updateType;
2676    }
2677    public function getUpdateType()
2678    {
2679      return $this->updateType;
2680    }
2681  }
2682  
2683  #[AllowDynamicProperties]
2684  class Google_Service_Games_AchievementUpdateResponse extends Google_Model
2685  {
2686    protected $internal_gapi_mappings = array(
2687    );
2688    public $achievementId;
2689    public $currentState;
2690    public $currentSteps;
2691    public $kind;
2692    public $newlyUnlocked;
2693    public $updateOccurred;
2694  
2695  
2696    public function setAchievementId($achievementId)
2697    {
2698      $this->achievementId = $achievementId;
2699    }
2700    public function getAchievementId()
2701    {
2702      return $this->achievementId;
2703    }
2704    public function setCurrentState($currentState)
2705    {
2706      $this->currentState = $currentState;
2707    }
2708    public function getCurrentState()
2709    {
2710      return $this->currentState;
2711    }
2712    public function setCurrentSteps($currentSteps)
2713    {
2714      $this->currentSteps = $currentSteps;
2715    }
2716    public function getCurrentSteps()
2717    {
2718      return $this->currentSteps;
2719    }
2720    public function setKind($kind)
2721    {
2722      $this->kind = $kind;
2723    }
2724    public function getKind()
2725    {
2726      return $this->kind;
2727    }
2728    public function setNewlyUnlocked($newlyUnlocked)
2729    {
2730      $this->newlyUnlocked = $newlyUnlocked;
2731    }
2732    public function getNewlyUnlocked()
2733    {
2734      return $this->newlyUnlocked;
2735    }
2736    public function setUpdateOccurred($updateOccurred)
2737    {
2738      $this->updateOccurred = $updateOccurred;
2739    }
2740    public function getUpdateOccurred()
2741    {
2742      return $this->updateOccurred;
2743    }
2744  }
2745  
2746  #[AllowDynamicProperties]
2747  class Google_Service_Games_AggregateStats extends Google_Model
2748  {
2749    protected $internal_gapi_mappings = array(
2750    );
2751    public $count;
2752    public $kind;
2753    public $max;
2754    public $min;
2755    public $sum;
2756  
2757  
2758    public function setCount($count)
2759    {
2760      $this->count = $count;
2761    }
2762    public function getCount()
2763    {
2764      return $this->count;
2765    }
2766    public function setKind($kind)
2767    {
2768      $this->kind = $kind;
2769    }
2770    public function getKind()
2771    {
2772      return $this->kind;
2773    }
2774    public function setMax($max)
2775    {
2776      $this->max = $max;
2777    }
2778    public function getMax()
2779    {
2780      return $this->max;
2781    }
2782    public function setMin($min)
2783    {
2784      $this->min = $min;
2785    }
2786    public function getMin()
2787    {
2788      return $this->min;
2789    }
2790    public function setSum($sum)
2791    {
2792      $this->sum = $sum;
2793    }
2794    public function getSum()
2795    {
2796      return $this->sum;
2797    }
2798  }
2799  
2800  #[AllowDynamicProperties]
2801  class Google_Service_Games_AnonymousPlayer extends Google_Model
2802  {
2803    protected $internal_gapi_mappings = array(
2804    );
2805    public $avatarImageUrl;
2806    public $displayName;
2807    public $kind;
2808  
2809  
2810    public function setAvatarImageUrl($avatarImageUrl)
2811    {
2812      $this->avatarImageUrl = $avatarImageUrl;
2813    }
2814    public function getAvatarImageUrl()
2815    {
2816      return $this->avatarImageUrl;
2817    }
2818    public function setDisplayName($displayName)
2819    {
2820      $this->displayName = $displayName;
2821    }
2822    public function getDisplayName()
2823    {
2824      return $this->displayName;
2825    }
2826    public function setKind($kind)
2827    {
2828      $this->kind = $kind;
2829    }
2830    public function getKind()
2831    {
2832      return $this->kind;
2833    }
2834  }
2835  
2836  #[AllowDynamicProperties]
2837  class Google_Service_Games_Application extends Google_Collection
2838  {
2839    protected $collection_key = 'instances';
2840    protected $internal_gapi_mappings = array(
2841          "achievementCount" => "achievement_count",
2842          "leaderboardCount" => "leaderboard_count",
2843    );
2844    public $achievementCount;
2845    protected $assetsType = 'Google_Service_Games_ImageAsset';
2846    protected $assetsDataType = 'array';
2847    public $author;
2848    protected $categoryType = 'Google_Service_Games_ApplicationCategory';
2849    protected $categoryDataType = '';
2850    public $description;
2851    public $enabledFeatures;
2852    public $id;
2853    protected $instancesType = 'Google_Service_Games_Instance';
2854    protected $instancesDataType = 'array';
2855    public $kind;
2856    public $lastUpdatedTimestamp;
2857    public $leaderboardCount;
2858    public $name;
2859    public $themeColor;
2860  
2861  
2862    public function setAchievementCount($achievementCount)
2863    {
2864      $this->achievementCount = $achievementCount;
2865    }
2866    public function getAchievementCount()
2867    {
2868      return $this->achievementCount;
2869    }
2870    public function setAssets($assets)
2871    {
2872      $this->assets = $assets;
2873    }
2874    public function getAssets()
2875    {
2876      return $this->assets;
2877    }
2878    public function setAuthor($author)
2879    {
2880      $this->author = $author;
2881    }
2882    public function getAuthor()
2883    {
2884      return $this->author;
2885    }
2886    public function setCategory(Google_Service_Games_ApplicationCategory $category)
2887    {
2888      $this->category = $category;
2889    }
2890    public function getCategory()
2891    {
2892      return $this->category;
2893    }
2894    public function setDescription($description)
2895    {
2896      $this->description = $description;
2897    }
2898    public function getDescription()
2899    {
2900      return $this->description;
2901    }
2902    public function setEnabledFeatures($enabledFeatures)
2903    {
2904      $this->enabledFeatures = $enabledFeatures;
2905    }
2906    public function getEnabledFeatures()
2907    {
2908      return $this->enabledFeatures;
2909    }
2910    public function setId($id)
2911    {
2912      $this->id = $id;
2913    }
2914    public function getId()
2915    {
2916      return $this->id;
2917    }
2918    public function setInstances($instances)
2919    {
2920      $this->instances = $instances;
2921    }
2922    public function getInstances()
2923    {
2924      return $this->instances;
2925    }
2926    public function setKind($kind)
2927    {
2928      $this->kind = $kind;
2929    }
2930    public function getKind()
2931    {
2932      return $this->kind;
2933    }
2934    public function setLastUpdatedTimestamp($lastUpdatedTimestamp)
2935    {
2936      $this->lastUpdatedTimestamp = $lastUpdatedTimestamp;
2937    }
2938    public function getLastUpdatedTimestamp()
2939    {
2940      return $this->lastUpdatedTimestamp;
2941    }
2942    public function setLeaderboardCount($leaderboardCount)
2943    {
2944      $this->leaderboardCount = $leaderboardCount;
2945    }
2946    public function getLeaderboardCount()
2947    {
2948      return $this->leaderboardCount;
2949    }
2950    public function setName($name)
2951    {
2952      $this->name = $name;
2953    }
2954    public function getName()
2955    {
2956      return $this->name;
2957    }
2958    public function setThemeColor($themeColor)
2959    {
2960      $this->themeColor = $themeColor;
2961    }
2962    public function getThemeColor()
2963    {
2964      return $this->themeColor;
2965    }
2966  }
2967  
2968  #[AllowDynamicProperties]
2969  class Google_Service_Games_ApplicationCategory extends Google_Model
2970  {
2971    protected $internal_gapi_mappings = array(
2972    );
2973    public $kind;
2974    public $primary;
2975    public $secondary;
2976  
2977  
2978    public function setKind($kind)
2979    {
2980      $this->kind = $kind;
2981    }
2982    public function getKind()
2983    {
2984      return $this->kind;
2985    }
2986    public function setPrimary($primary)
2987    {
2988      $this->primary = $primary;
2989    }
2990    public function getPrimary()
2991    {
2992      return $this->primary;
2993    }
2994    public function setSecondary($secondary)
2995    {
2996      $this->secondary = $secondary;
2997    }
2998    public function getSecondary()
2999    {
3000      return $this->secondary;
3001    }
3002  }
3003  
3004  #[AllowDynamicProperties]
3005  class Google_Service_Games_Category extends Google_Model
3006  {
3007    protected $internal_gapi_mappings = array(
3008    );
3009    public $category;
3010    public $experiencePoints;
3011    public $kind;
3012  
3013  
3014    public function setCategory($category)
3015    {
3016      $this->category = $category;
3017    }
3018    public function getCategory()
3019    {
3020      return $this->category;
3021    }
3022    public function setExperiencePoints($experiencePoints)
3023    {
3024      $this->experiencePoints = $experiencePoints;
3025    }
3026    public function getExperiencePoints()
3027    {
3028      return $this->experiencePoints;
3029    }
3030    public function setKind($kind)
3031    {
3032      $this->kind = $kind;
3033    }
3034    public function getKind()
3035    {
3036      return $this->kind;
3037    }
3038  }
3039  
3040  #[AllowDynamicProperties]
3041  class Google_Service_Games_CategoryListResponse extends Google_Collection
3042  {
3043    protected $collection_key = 'items';
3044    protected $internal_gapi_mappings = array(
3045    );
3046    protected $itemsType = 'Google_Service_Games_Category';
3047    protected $itemsDataType = 'array';
3048    public $kind;
3049    public $nextPageToken;
3050  
3051  
3052    public function setItems($items)
3053    {
3054      $this->items = $items;
3055    }
3056    public function getItems()
3057    {
3058      return $this->items;
3059    }
3060    public function setKind($kind)
3061    {
3062      $this->kind = $kind;
3063    }
3064    public function getKind()
3065    {
3066      return $this->kind;
3067    }
3068    public function setNextPageToken($nextPageToken)
3069    {
3070      $this->nextPageToken = $nextPageToken;
3071    }
3072    public function getNextPageToken()
3073    {
3074      return $this->nextPageToken;
3075    }
3076  }
3077  
3078  #[AllowDynamicProperties]
3079  class Google_Service_Games_EventBatchRecordFailure extends Google_Model
3080  {
3081    protected $internal_gapi_mappings = array(
3082    );
3083    public $failureCause;
3084    public $kind;
3085    protected $rangeType = 'Google_Service_Games_EventPeriodRange';
3086    protected $rangeDataType = '';
3087  
3088  
3089    public function setFailureCause($failureCause)
3090    {
3091      $this->failureCause = $failureCause;
3092    }
3093    public function getFailureCause()
3094    {
3095      return $this->failureCause;
3096    }
3097    public function setKind($kind)
3098    {
3099      $this->kind = $kind;
3100    }
3101    public function getKind()
3102    {
3103      return $this->kind;
3104    }
3105    public function setRange(Google_Service_Games_EventPeriodRange $range)
3106    {
3107      $this->range = $range;
3108    }
3109    public function getRange()
3110    {
3111      return $this->range;
3112    }
3113  }
3114  
3115  #[AllowDynamicProperties]
3116  class Google_Service_Games_EventChild extends Google_Model
3117  {
3118    protected $internal_gapi_mappings = array(
3119    );
3120    public $childId;
3121    public $kind;
3122  
3123  
3124    public function setChildId($childId)
3125    {
3126      $this->childId = $childId;
3127    }
3128    public function getChildId()
3129    {
3130      return $this->childId;
3131    }
3132    public function setKind($kind)
3133    {
3134      $this->kind = $kind;
3135    }
3136    public function getKind()
3137    {
3138      return $this->kind;
3139    }
3140  }
3141  
3142  #[AllowDynamicProperties]
3143  class Google_Service_Games_EventDefinition extends Google_Collection
3144  {
3145    protected $collection_key = 'childEvents';
3146    protected $internal_gapi_mappings = array(
3147    );
3148    protected $childEventsType = 'Google_Service_Games_EventChild';
3149    protected $childEventsDataType = 'array';
3150    public $description;
3151    public $displayName;
3152    public $id;
3153    public $imageUrl;
3154    public $isDefaultImageUrl;
3155    public $kind;
3156    public $visibility;
3157  
3158  
3159    public function setChildEvents($childEvents)
3160    {
3161      $this->childEvents = $childEvents;
3162    }
3163    public function getChildEvents()
3164    {
3165      return $this->childEvents;
3166    }
3167    public function setDescription($description)
3168    {
3169      $this->description = $description;
3170    }
3171    public function getDescription()
3172    {
3173      return $this->description;
3174    }
3175    public function setDisplayName($displayName)
3176    {
3177      $this->displayName = $displayName;
3178    }
3179    public function getDisplayName()
3180    {
3181      return $this->displayName;
3182    }
3183    public function setId($id)
3184    {
3185      $this->id = $id;
3186    }
3187    public function getId()
3188    {
3189      return $this->id;
3190    }
3191    public function setImageUrl($imageUrl)
3192    {
3193      $this->imageUrl = $imageUrl;
3194    }
3195    public function getImageUrl()
3196    {
3197      return $this->imageUrl;
3198    }
3199    public function setIsDefaultImageUrl($isDefaultImageUrl)
3200    {
3201      $this->isDefaultImageUrl = $isDefaultImageUrl;
3202    }
3203    public function getIsDefaultImageUrl()
3204    {
3205      return $this->isDefaultImageUrl;
3206    }
3207    public function setKind($kind)
3208    {
3209      $this->kind = $kind;
3210    }
3211    public function getKind()
3212    {
3213      return $this->kind;
3214    }
3215    public function setVisibility($visibility)
3216    {
3217      $this->visibility = $visibility;
3218    }
3219    public function getVisibility()
3220    {
3221      return $this->visibility;
3222    }
3223  }
3224  
3225  #[AllowDynamicProperties]
3226  class Google_Service_Games_EventDefinitionListResponse extends Google_Collection
3227  {
3228    protected $collection_key = 'items';
3229    protected $internal_gapi_mappings = array(
3230    );
3231    protected $itemsType = 'Google_Service_Games_EventDefinition';
3232    protected $itemsDataType = 'array';
3233    public $kind;
3234    public $nextPageToken;
3235  
3236  
3237    public function setItems($items)
3238    {
3239      $this->items = $items;
3240    }
3241    public function getItems()
3242    {
3243      return $this->items;
3244    }
3245    public function setKind($kind)
3246    {
3247      $this->kind = $kind;
3248    }
3249    public function getKind()
3250    {
3251      return $this->kind;
3252    }
3253    public function setNextPageToken($nextPageToken)
3254    {
3255      $this->nextPageToken = $nextPageToken;
3256    }
3257    public function getNextPageToken()
3258    {
3259      return $this->nextPageToken;
3260    }
3261  }
3262  
3263  #[AllowDynamicProperties]
3264  class Google_Service_Games_EventPeriodRange extends Google_Model
3265  {
3266    protected $internal_gapi_mappings = array(
3267    );
3268    public $kind;
3269    public $periodEndMillis;
3270    public $periodStartMillis;
3271  
3272  
3273    public function setKind($kind)
3274    {
3275      $this->kind = $kind;
3276    }
3277    public function getKind()
3278    {
3279      return $this->kind;
3280    }
3281    public function setPeriodEndMillis($periodEndMillis)
3282    {
3283      $this->periodEndMillis = $periodEndMillis;
3284    }
3285    public function getPeriodEndMillis()
3286    {
3287      return $this->periodEndMillis;
3288    }
3289    public function setPeriodStartMillis($periodStartMillis)
3290    {
3291      $this->periodStartMillis = $periodStartMillis;
3292    }
3293    public function getPeriodStartMillis()
3294    {
3295      return $this->periodStartMillis;
3296    }
3297  }
3298  
3299  #[AllowDynamicProperties]
3300  class Google_Service_Games_EventPeriodUpdate extends Google_Collection
3301  {
3302    protected $collection_key = 'updates';
3303    protected $internal_gapi_mappings = array(
3304    );
3305    public $kind;
3306    protected $timePeriodType = 'Google_Service_Games_EventPeriodRange';
3307    protected $timePeriodDataType = '';
3308    protected $updatesType = 'Google_Service_Games_EventUpdateRequest';
3309    protected $updatesDataType = 'array';
3310  
3311  
3312    public function setKind($kind)
3313    {
3314      $this->kind = $kind;
3315    }
3316    public function getKind()
3317    {
3318      return $this->kind;
3319    }
3320    public function setTimePeriod(Google_Service_Games_EventPeriodRange $timePeriod)
3321    {
3322      $this->timePeriod = $timePeriod;
3323    }
3324    public function getTimePeriod()
3325    {
3326      return $this->timePeriod;
3327    }
3328    public function setUpdates($updates)
3329    {
3330      $this->updates = $updates;
3331    }
3332    public function getUpdates()
3333    {
3334      return $this->updates;
3335    }
3336  }
3337  
3338  #[AllowDynamicProperties]
3339  class Google_Service_Games_EventRecordFailure extends Google_Model
3340  {
3341    protected $internal_gapi_mappings = array(
3342    );
3343    public $eventId;
3344    public $failureCause;
3345    public $kind;
3346  
3347  
3348    public function setEventId($eventId)
3349    {
3350      $this->eventId = $eventId;
3351    }
3352    public function getEventId()
3353    {
3354      return $this->eventId;
3355    }
3356    public function setFailureCause($failureCause)
3357    {
3358      $this->failureCause = $failureCause;
3359    }
3360    public function getFailureCause()
3361    {
3362      return $this->failureCause;
3363    }
3364    public function setKind($kind)
3365    {
3366      $this->kind = $kind;
3367    }
3368    public function getKind()
3369    {
3370      return $this->kind;
3371    }
3372  }
3373  
3374  #[AllowDynamicProperties]
3375  class Google_Service_Games_EventRecordRequest extends Google_Collection
3376  {
3377    protected $collection_key = 'timePeriods';
3378    protected $internal_gapi_mappings = array(
3379    );
3380    public $currentTimeMillis;
3381    public $kind;
3382    public $requestId;
3383    protected $timePeriodsType = 'Google_Service_Games_EventPeriodUpdate';
3384    protected $timePeriodsDataType = 'array';
3385  
3386  
3387    public function setCurrentTimeMillis($currentTimeMillis)
3388    {
3389      $this->currentTimeMillis = $currentTimeMillis;
3390    }
3391    public function getCurrentTimeMillis()
3392    {
3393      return $this->currentTimeMillis;
3394    }
3395    public function setKind($kind)
3396    {
3397      $this->kind = $kind;
3398    }
3399    public function getKind()
3400    {
3401      return $this->kind;
3402    }
3403    public function setRequestId($requestId)
3404    {
3405      $this->requestId = $requestId;
3406    }
3407    public function getRequestId()
3408    {
3409      return $this->requestId;
3410    }
3411    public function setTimePeriods($timePeriods)
3412    {
3413      $this->timePeriods = $timePeriods;
3414    }
3415    public function getTimePeriods()
3416    {
3417      return $this->timePeriods;
3418    }
3419  }
3420  
3421  #[AllowDynamicProperties]
3422  class Google_Service_Games_EventUpdateRequest extends Google_Model
3423  {
3424    protected $internal_gapi_mappings = array(
3425    );
3426    public $definitionId;
3427    public $kind;
3428    public $updateCount;
3429  
3430  
3431    public function setDefinitionId($definitionId)
3432    {
3433      $this->definitionId = $definitionId;
3434    }
3435    public function getDefinitionId()
3436    {
3437      return $this->definitionId;
3438    }
3439    public function setKind($kind)
3440    {
3441      $this->kind = $kind;
3442    }
3443    public function getKind()
3444    {
3445      return $this->kind;
3446    }
3447    public function setUpdateCount($updateCount)
3448    {
3449      $this->updateCount = $updateCount;
3450    }
3451    public function getUpdateCount()
3452    {
3453      return $this->updateCount;
3454    }
3455  }
3456  
3457  #[AllowDynamicProperties]
3458  class Google_Service_Games_EventUpdateResponse extends Google_Collection
3459  {
3460    protected $collection_key = 'playerEvents';
3461    protected $internal_gapi_mappings = array(
3462    );
3463    protected $batchFailuresType = 'Google_Service_Games_EventBatchRecordFailure';
3464    protected $batchFailuresDataType = 'array';
3465    protected $eventFailuresType = 'Google_Service_Games_EventRecordFailure';
3466    protected $eventFailuresDataType = 'array';
3467    public $kind;
3468    protected $playerEventsType = 'Google_Service_Games_PlayerEvent';
3469    protected $playerEventsDataType = 'array';
3470  
3471  
3472    public function setBatchFailures($batchFailures)
3473    {
3474      $this->batchFailures = $batchFailures;
3475    }
3476    public function getBatchFailures()
3477    {
3478      return $this->batchFailures;
3479    }
3480    public function setEventFailures($eventFailures)
3481    {
3482      $this->eventFailures = $eventFailures;
3483    }
3484    public function getEventFailures()
3485    {
3486      return $this->eventFailures;
3487    }
3488    public function setKind($kind)
3489    {
3490      $this->kind = $kind;
3491    }
3492    public function getKind()
3493    {
3494      return $this->kind;
3495    }
3496    public function setPlayerEvents($playerEvents)
3497    {
3498      $this->playerEvents = $playerEvents;
3499    }
3500    public function getPlayerEvents()
3501    {
3502      return $this->playerEvents;
3503    }
3504  }
3505  
3506  #[AllowDynamicProperties]
3507  class Google_Service_Games_GamesAchievementIncrement extends Google_Model
3508  {
3509    protected $internal_gapi_mappings = array(
3510    );
3511    public $kind;
3512    public $requestId;
3513    public $steps;
3514  
3515  
3516    public function setKind($kind)
3517    {
3518      $this->kind = $kind;
3519    }
3520    public function getKind()
3521    {
3522      return $this->kind;
3523    }
3524    public function setRequestId($requestId)
3525    {
3526      $this->requestId = $requestId;
3527    }
3528    public function getRequestId()
3529    {
3530      return $this->requestId;
3531    }
3532    public function setSteps($steps)
3533    {
3534      $this->steps = $steps;
3535    }
3536    public function getSteps()
3537    {
3538      return $this->steps;
3539    }
3540  }
3541  
3542  #[AllowDynamicProperties]
3543  class Google_Service_Games_GamesAchievementSetStepsAtLeast extends Google_Model
3544  {
3545    protected $internal_gapi_mappings = array(
3546    );
3547    public $kind;
3548    public $steps;
3549  
3550  
3551    public function setKind($kind)
3552    {
3553      $this->kind = $kind;
3554    }
3555    public function getKind()
3556    {
3557      return $this->kind;
3558    }
3559    public function setSteps($steps)
3560    {
3561      $this->steps = $steps;
3562    }
3563    public function getSteps()
3564    {
3565      return $this->steps;
3566    }
3567  }
3568  
3569  #[AllowDynamicProperties]
3570  class Google_Service_Games_ImageAsset extends Google_Model
3571  {
3572    protected $internal_gapi_mappings = array(
3573    );
3574    public $height;
3575    public $kind;
3576    public $name;
3577    public $url;
3578    public $width;
3579  
3580  
3581    public function setHeight($height)
3582    {
3583      $this->height = $height;
3584    }
3585    public function getHeight()
3586    {
3587      return $this->height;
3588    }
3589    public function setKind($kind)
3590    {
3591      $this->kind = $kind;
3592    }
3593    public function getKind()
3594    {
3595      return $this->kind;
3596    }
3597    public function setName($name)
3598    {
3599      $this->name = $name;
3600    }
3601    public function getName()
3602    {
3603      return $this->name;
3604    }
3605    public function setUrl($url)
3606    {
3607      $this->url = $url;
3608    }
3609    public function getUrl()
3610    {
3611      return $this->url;
3612    }
3613    public function setWidth($width)
3614    {
3615      $this->width = $width;
3616    }
3617    public function getWidth()
3618    {
3619      return $this->width;
3620    }
3621  }
3622  
3623  #[AllowDynamicProperties]
3624  class Google_Service_Games_Instance extends Google_Model
3625  {
3626    protected $internal_gapi_mappings = array(
3627    );
3628    public $acquisitionUri;
3629    protected $androidInstanceType = 'Google_Service_Games_InstanceAndroidDetails';
3630    protected $androidInstanceDataType = '';
3631    protected $iosInstanceType = 'Google_Service_Games_InstanceIosDetails';
3632    protected $iosInstanceDataType = '';
3633    public $kind;
3634    public $name;
3635    public $platformType;
3636    public $realtimePlay;
3637    public $turnBasedPlay;
3638    protected $webInstanceType = 'Google_Service_Games_InstanceWebDetails';
3639    protected $webInstanceDataType = '';
3640  
3641  
3642    public function setAcquisitionUri($acquisitionUri)
3643    {
3644      $this->acquisitionUri = $acquisitionUri;
3645    }
3646    public function getAcquisitionUri()
3647    {
3648      return $this->acquisitionUri;
3649    }
3650    public function setAndroidInstance(Google_Service_Games_InstanceAndroidDetails $androidInstance)
3651    {
3652      $this->androidInstance = $androidInstance;
3653    }
3654    public function getAndroidInstance()
3655    {
3656      return $this->androidInstance;
3657    }
3658    public function setIosInstance(Google_Service_Games_InstanceIosDetails $iosInstance)
3659    {
3660      $this->iosInstance = $iosInstance;
3661    }
3662    public function getIosInstance()
3663    {
3664      return $this->iosInstance;
3665    }
3666    public function setKind($kind)
3667    {
3668      $this->kind = $kind;
3669    }
3670    public function getKind()
3671    {
3672      return $this->kind;
3673    }
3674    public function setName($name)
3675    {
3676      $this->name = $name;
3677    }
3678    public function getName()
3679    {
3680      return $this->name;
3681    }
3682    public function setPlatformType($platformType)
3683    {
3684      $this->platformType = $platformType;
3685    }
3686    public function getPlatformType()
3687    {
3688      return $this->platformType;
3689    }
3690    public function setRealtimePlay($realtimePlay)
3691    {
3692      $this->realtimePlay = $realtimePlay;
3693    }
3694    public function getRealtimePlay()
3695    {
3696      return $this->realtimePlay;
3697    }
3698    public function setTurnBasedPlay($turnBasedPlay)
3699    {
3700      $this->turnBasedPlay = $turnBasedPlay;
3701    }
3702    public function getTurnBasedPlay()
3703    {
3704      return $this->turnBasedPlay;
3705    }
3706    public function setWebInstance(Google_Service_Games_InstanceWebDetails $webInstance)
3707    {
3708      $this->webInstance = $webInstance;
3709    }
3710    public function getWebInstance()
3711    {
3712      return $this->webInstance;
3713    }
3714  }
3715  
3716  #[AllowDynamicProperties]
3717  class Google_Service_Games_InstanceAndroidDetails extends Google_Model
3718  {
3719    protected $internal_gapi_mappings = array(
3720    );
3721    public $enablePiracyCheck;
3722    public $kind;
3723    public $packageName;
3724    public $preferred;
3725  
3726  
3727    public function setEnablePiracyCheck($enablePiracyCheck)
3728    {
3729      $this->enablePiracyCheck = $enablePiracyCheck;
3730    }
3731    public function getEnablePiracyCheck()
3732    {
3733      return $this->enablePiracyCheck;
3734    }
3735    public function setKind($kind)
3736    {
3737      $this->kind = $kind;
3738    }
3739    public function getKind()
3740    {
3741      return $this->kind;
3742    }
3743    public function setPackageName($packageName)
3744    {
3745      $this->packageName = $packageName;
3746    }
3747    public function getPackageName()
3748    {
3749      return $this->packageName;
3750    }
3751    public function setPreferred($preferred)
3752    {
3753      $this->preferred = $preferred;
3754    }
3755    public function getPreferred()
3756    {
3757      return $this->preferred;
3758    }
3759  }
3760  
3761  #[AllowDynamicProperties]
3762  class Google_Service_Games_InstanceIosDetails extends Google_Model
3763  {
3764    protected $internal_gapi_mappings = array(
3765    );
3766    public $bundleIdentifier;
3767    public $itunesAppId;
3768    public $kind;
3769    public $preferredForIpad;
3770    public $preferredForIphone;
3771    public $supportIpad;
3772    public $supportIphone;
3773  
3774  
3775    public function setBundleIdentifier($bundleIdentifier)
3776    {
3777      $this->bundleIdentifier = $bundleIdentifier;
3778    }
3779    public function getBundleIdentifier()
3780    {
3781      return $this->bundleIdentifier;
3782    }
3783    public function setItunesAppId($itunesAppId)
3784    {
3785      $this->itunesAppId = $itunesAppId;
3786    }
3787    public function getItunesAppId()
3788    {
3789      return $this->itunesAppId;
3790    }
3791    public function setKind($kind)
3792    {
3793      $this->kind = $kind;
3794    }
3795    public function getKind()
3796    {
3797      return $this->kind;
3798    }
3799    public function setPreferredForIpad($preferredForIpad)
3800    {
3801      $this->preferredForIpad = $preferredForIpad;
3802    }
3803    public function getPreferredForIpad()
3804    {
3805      return $this->preferredForIpad;
3806    }
3807    public function setPreferredForIphone($preferredForIphone)
3808    {
3809      $this->preferredForIphone = $preferredForIphone;
3810    }
3811    public function getPreferredForIphone()
3812    {
3813      return $this->preferredForIphone;
3814    }
3815    public function setSupportIpad($supportIpad)
3816    {
3817      $this->supportIpad = $supportIpad;
3818    }
3819    public function getSupportIpad()
3820    {
3821      return $this->supportIpad;
3822    }
3823    public function setSupportIphone($supportIphone)
3824    {
3825      $this->supportIphone = $supportIphone;
3826    }
3827    public function getSupportIphone()
3828    {
3829      return $this->supportIphone;
3830    }
3831  }
3832  
3833  #[AllowDynamicProperties]
3834  class Google_Service_Games_InstanceWebDetails extends Google_Model
3835  {
3836    protected $internal_gapi_mappings = array(
3837    );
3838    public $kind;
3839    public $launchUrl;
3840    public $preferred;
3841  
3842  
3843    public function setKind($kind)
3844    {
3845      $this->kind = $kind;
3846    }
3847    public function getKind()
3848    {
3849      return $this->kind;
3850    }
3851    public function setLaunchUrl($launchUrl)
3852    {
3853      $this->launchUrl = $launchUrl;
3854    }
3855    public function getLaunchUrl()
3856    {
3857      return $this->launchUrl;
3858    }
3859    public function setPreferred($preferred)
3860    {
3861      $this->preferred = $preferred;
3862    }
3863    public function getPreferred()
3864    {
3865      return $this->preferred;
3866    }
3867  }
3868  
3869  #[AllowDynamicProperties]
3870  class Google_Service_Games_Leaderboard extends Google_Model
3871  {
3872    protected $internal_gapi_mappings = array(
3873    );
3874    public $iconUrl;
3875    public $id;
3876    public $isIconUrlDefault;
3877    public $kind;
3878    public $name;
3879    public $order;
3880  
3881  
3882    public function setIconUrl($iconUrl)
3883    {
3884      $this->iconUrl = $iconUrl;
3885    }
3886    public function getIconUrl()
3887    {
3888      return $this->iconUrl;
3889    }
3890    public function setId($id)
3891    {
3892      $this->id = $id;
3893    }
3894    public function getId()
3895    {
3896      return $this->id;
3897    }
3898    public function setIsIconUrlDefault($isIconUrlDefault)
3899    {
3900      $this->isIconUrlDefault = $isIconUrlDefault;
3901    }
3902    public function getIsIconUrlDefault()
3903    {
3904      return $this->isIconUrlDefault;
3905    }
3906    public function setKind($kind)
3907    {
3908      $this->kind = $kind;
3909    }
3910    public function getKind()
3911    {
3912      return $this->kind;
3913    }
3914    public function setName($name)
3915    {
3916      $this->name = $name;
3917    }
3918    public function getName()
3919    {
3920      return $this->name;
3921    }
3922    public function setOrder($order)
3923    {
3924      $this->order = $order;
3925    }
3926    public function getOrder()
3927    {
3928      return $this->order;
3929    }
3930  }
3931  
3932  #[AllowDynamicProperties]
3933  class Google_Service_Games_LeaderboardEntry extends Google_Model
3934  {
3935    protected $internal_gapi_mappings = array(
3936    );
3937    public $formattedScore;
3938    public $formattedScoreRank;
3939    public $kind;
3940    protected $playerType = 'Google_Service_Games_Player';
3941    protected $playerDataType = '';
3942    public $scoreRank;
3943    public $scoreTag;
3944    public $scoreValue;
3945    public $timeSpan;
3946    public $writeTimestampMillis;
3947  
3948  
3949    public function setFormattedScore($formattedScore)
3950    {
3951      $this->formattedScore = $formattedScore;
3952    }
3953    public function getFormattedScore()
3954    {
3955      return $this->formattedScore;
3956    }
3957    public function setFormattedScoreRank($formattedScoreRank)
3958    {
3959      $this->formattedScoreRank = $formattedScoreRank;
3960    }
3961    public function getFormattedScoreRank()
3962    {
3963      return $this->formattedScoreRank;
3964    }
3965    public function setKind($kind)
3966    {
3967      $this->kind = $kind;
3968    }
3969    public function getKind()
3970    {
3971      return $this->kind;
3972    }
3973    public function setPlayer(Google_Service_Games_Player $player)
3974    {
3975      $this->player = $player;
3976    }
3977    public function getPlayer()
3978    {
3979      return $this->player;
3980    }
3981    public function setScoreRank($scoreRank)
3982    {
3983      $this->scoreRank = $scoreRank;
3984    }
3985    public function getScoreRank()
3986    {
3987      return $this->scoreRank;
3988    }
3989    public function setScoreTag($scoreTag)
3990    {
3991      $this->scoreTag = $scoreTag;
3992    }
3993    public function getScoreTag()
3994    {
3995      return $this->scoreTag;
3996    }
3997    public function setScoreValue($scoreValue)
3998    {
3999      $this->scoreValue = $scoreValue;
4000    }
4001    public function getScoreValue()
4002    {
4003      return $this->scoreValue;
4004    }
4005    public function setTimeSpan($timeSpan)
4006    {
4007      $this->timeSpan = $timeSpan;
4008    }
4009    public function getTimeSpan()
4010    {
4011      return $this->timeSpan;
4012    }
4013    public function setWriteTimestampMillis($writeTimestampMillis)
4014    {
4015      $this->writeTimestampMillis = $writeTimestampMillis;
4016    }
4017    public function getWriteTimestampMillis()
4018    {
4019      return $this->writeTimestampMillis;
4020    }
4021  }
4022  
4023  #[AllowDynamicProperties]
4024  class Google_Service_Games_LeaderboardListResponse extends Google_Collection
4025  {
4026    protected $collection_key = 'items';
4027    protected $internal_gapi_mappings = array(
4028    );
4029    protected $itemsType = 'Google_Service_Games_Leaderboard';
4030    protected $itemsDataType = 'array';
4031    public $kind;
4032    public $nextPageToken;
4033  
4034  
4035    public function setItems($items)
4036    {
4037      $this->items = $items;
4038    }
4039    public function getItems()
4040    {
4041      return $this->items;
4042    }
4043    public function setKind($kind)
4044    {
4045      $this->kind = $kind;
4046    }
4047    public function getKind()
4048    {
4049      return $this->kind;
4050    }
4051    public function setNextPageToken($nextPageToken)
4052    {
4053      $this->nextPageToken = $nextPageToken;
4054    }
4055    public function getNextPageToken()
4056    {
4057      return $this->nextPageToken;
4058    }
4059  }
4060  
4061  #[AllowDynamicProperties]
4062  class Google_Service_Games_LeaderboardScoreRank extends Google_Model
4063  {
4064    protected $internal_gapi_mappings = array(
4065    );
4066    public $formattedNumScores;
4067    public $formattedRank;
4068    public $kind;
4069    public $numScores;
4070    public $rank;
4071  
4072  
4073    public function setFormattedNumScores($formattedNumScores)
4074    {
4075      $this->formattedNumScores = $formattedNumScores;
4076    }
4077    public function getFormattedNumScores()
4078    {
4079      return $this->formattedNumScores;
4080    }
4081    public function setFormattedRank($formattedRank)
4082    {
4083      $this->formattedRank = $formattedRank;
4084    }
4085    public function getFormattedRank()
4086    {
4087      return $this->formattedRank;
4088    }
4089    public function setKind($kind)
4090    {
4091      $this->kind = $kind;
4092    }
4093    public function getKind()
4094    {
4095      return $this->kind;
4096    }
4097    public function setNumScores($numScores)
4098    {
4099      $this->numScores = $numScores;
4100    }
4101    public function getNumScores()
4102    {
4103      return $this->numScores;
4104    }
4105    public function setRank($rank)
4106    {
4107      $this->rank = $rank;
4108    }
4109    public function getRank()
4110    {
4111      return $this->rank;
4112    }
4113  }
4114  
4115  #[AllowDynamicProperties]
4116  class Google_Service_Games_LeaderboardScores extends Google_Collection
4117  {
4118    protected $collection_key = 'items';
4119    protected $internal_gapi_mappings = array(
4120    );
4121    protected $itemsType = 'Google_Service_Games_LeaderboardEntry';
4122    protected $itemsDataType = 'array';
4123    public $kind;
4124    public $nextPageToken;
4125    public $numScores;
4126    protected $playerScoreType = 'Google_Service_Games_LeaderboardEntry';
4127    protected $playerScoreDataType = '';
4128    public $prevPageToken;
4129  
4130  
4131    public function setItems($items)
4132    {
4133      $this->items = $items;
4134    }
4135    public function getItems()
4136    {
4137      return $this->items;
4138    }
4139    public function setKind($kind)
4140    {
4141      $this->kind = $kind;
4142    }
4143    public function getKind()
4144    {
4145      return $this->kind;
4146    }
4147    public function setNextPageToken($nextPageToken)
4148    {
4149      $this->nextPageToken = $nextPageToken;
4150    }
4151    public function getNextPageToken()
4152    {
4153      return $this->nextPageToken;
4154    }
4155    public function setNumScores($numScores)
4156    {
4157      $this->numScores = $numScores;
4158    }
4159    public function getNumScores()
4160    {
4161      return $this->numScores;
4162    }
4163    public function setPlayerScore(Google_Service_Games_LeaderboardEntry $playerScore)
4164    {
4165      $this->playerScore = $playerScore;
4166    }
4167    public function getPlayerScore()
4168    {
4169      return $this->playerScore;
4170    }
4171    public function setPrevPageToken($prevPageToken)
4172    {
4173      $this->prevPageToken = $prevPageToken;
4174    }
4175    public function getPrevPageToken()
4176    {
4177      return $this->prevPageToken;
4178    }
4179  }
4180  
4181  #[AllowDynamicProperties]
4182  class Google_Service_Games_MetagameConfig extends Google_Collection
4183  {
4184    protected $collection_key = 'playerLevels';
4185    protected $internal_gapi_mappings = array(
4186    );
4187    public $currentVersion;
4188    public $kind;
4189    protected $playerLevelsType = 'Google_Service_Games_PlayerLevel';
4190    protected $playerLevelsDataType = 'array';
4191  
4192  
4193    public function setCurrentVersion($currentVersion)
4194    {
4195      $this->currentVersion = $currentVersion;
4196    }
4197    public function getCurrentVersion()
4198    {
4199      return $this->currentVersion;
4200    }
4201    public function setKind($kind)
4202    {
4203      $this->kind = $kind;
4204    }
4205    public function getKind()
4206    {
4207      return $this->kind;
4208    }
4209    public function setPlayerLevels($playerLevels)
4210    {
4211      $this->playerLevels = $playerLevels;
4212    }
4213    public function getPlayerLevels()
4214    {
4215      return $this->playerLevels;
4216    }
4217  }
4218  
4219  #[AllowDynamicProperties]
4220  class Google_Service_Games_NetworkDiagnostics extends Google_Model
4221  {
4222    protected $internal_gapi_mappings = array(
4223    );
4224    public $androidNetworkSubtype;
4225    public $androidNetworkType;
4226    public $iosNetworkType;
4227    public $kind;
4228    public $networkOperatorCode;
4229    public $networkOperatorName;
4230    public $registrationLatencyMillis;
4231  
4232  
4233    public function setAndroidNetworkSubtype($androidNetworkSubtype)
4234    {
4235      $this->androidNetworkSubtype = $androidNetworkSubtype;
4236    }
4237    public function getAndroidNetworkSubtype()
4238    {
4239      return $this->androidNetworkSubtype;
4240    }
4241    public function setAndroidNetworkType($androidNetworkType)
4242    {
4243      $this->androidNetworkType = $androidNetworkType;
4244    }
4245    public function getAndroidNetworkType()
4246    {
4247      return $this->androidNetworkType;
4248    }
4249    public function setIosNetworkType($iosNetworkType)
4250    {
4251      $this->iosNetworkType = $iosNetworkType;
4252    }
4253    public function getIosNetworkType()
4254    {
4255      return $this->iosNetworkType;
4256    }
4257    public function setKind($kind)
4258    {
4259      $this->kind = $kind;
4260    }
4261    public function getKind()
4262    {
4263      return $this->kind;
4264    }
4265    public function setNetworkOperatorCode($networkOperatorCode)
4266    {
4267      $this->networkOperatorCode = $networkOperatorCode;
4268    }
4269    public function getNetworkOperatorCode()
4270    {
4271      return $this->networkOperatorCode;
4272    }
4273    public function setNetworkOperatorName($networkOperatorName)
4274    {
4275      $this->networkOperatorName = $networkOperatorName;
4276    }
4277    public function getNetworkOperatorName()
4278    {
4279      return $this->networkOperatorName;
4280    }
4281    public function setRegistrationLatencyMillis($registrationLatencyMillis)
4282    {
4283      $this->registrationLatencyMillis = $registrationLatencyMillis;
4284    }
4285    public function getRegistrationLatencyMillis()
4286    {
4287      return $this->registrationLatencyMillis;
4288    }
4289  }
4290  
4291  #[AllowDynamicProperties]
4292  class Google_Service_Games_ParticipantResult extends Google_Model
4293  {
4294    protected $internal_gapi_mappings = array(
4295    );
4296    public $kind;
4297    public $participantId;
4298    public $placing;
4299    public $result;
4300  
4301  
4302    public function setKind($kind)
4303    {
4304      $this->kind = $kind;
4305    }
4306    public function getKind()
4307    {
4308      return $this->kind;
4309    }
4310    public function setParticipantId($participantId)
4311    {
4312      $this->participantId = $participantId;
4313    }
4314    public function getParticipantId()
4315    {
4316      return $this->participantId;
4317    }
4318    public function setPlacing($placing)
4319    {
4320      $this->placing = $placing;
4321    }
4322    public function getPlacing()
4323    {
4324      return $this->placing;
4325    }
4326    public function setResult($result)
4327    {
4328      $this->result = $result;
4329    }
4330    public function getResult()
4331    {
4332      return $this->result;
4333    }
4334  }
4335  
4336  #[AllowDynamicProperties]
4337  class Google_Service_Games_PeerChannelDiagnostics extends Google_Model
4338  {
4339    protected $internal_gapi_mappings = array(
4340    );
4341    protected $bytesReceivedType = 'Google_Service_Games_AggregateStats';
4342    protected $bytesReceivedDataType = '';
4343    protected $bytesSentType = 'Google_Service_Games_AggregateStats';
4344    protected $bytesSentDataType = '';
4345    public $kind;
4346    public $numMessagesLost;
4347    public $numMessagesReceived;
4348    public $numMessagesSent;
4349    public $numSendFailures;
4350    protected $roundtripLatencyMillisType = 'Google_Service_Games_AggregateStats';
4351    protected $roundtripLatencyMillisDataType = '';
4352  
4353  
4354    public function setBytesReceived(Google_Service_Games_AggregateStats $bytesReceived)
4355    {
4356      $this->bytesReceived = $bytesReceived;
4357    }
4358    public function getBytesReceived()
4359    {
4360      return $this->bytesReceived;
4361    }
4362    public function setBytesSent(Google_Service_Games_AggregateStats $bytesSent)
4363    {
4364      $this->bytesSent = $bytesSent;
4365    }
4366    public function getBytesSent()
4367    {
4368      return $this->bytesSent;
4369    }
4370    public function setKind($kind)
4371    {
4372      $this->kind = $kind;
4373    }
4374    public function getKind()
4375    {
4376      return $this->kind;
4377    }
4378    public function setNumMessagesLost($numMessagesLost)
4379    {
4380      $this->numMessagesLost = $numMessagesLost;
4381    }
4382    public function getNumMessagesLost()
4383    {
4384      return $this->numMessagesLost;
4385    }
4386    public function setNumMessagesReceived($numMessagesReceived)
4387    {
4388      $this->numMessagesReceived = $numMessagesReceived;
4389    }
4390    public function getNumMessagesReceived()
4391    {
4392      return $this->numMessagesReceived;
4393    }
4394    public function setNumMessagesSent($numMessagesSent)
4395    {
4396      $this->numMessagesSent = $numMessagesSent;
4397    }
4398    public function getNumMessagesSent()
4399    {
4400      return $this->numMessagesSent;
4401    }
4402    public function setNumSendFailures($numSendFailures)
4403    {
4404      $this->numSendFailures = $numSendFailures;
4405    }
4406    public function getNumSendFailures()
4407    {
4408      return $this->numSendFailures;
4409    }
4410    public function setRoundtripLatencyMillis(Google_Service_Games_AggregateStats $roundtripLatencyMillis)
4411    {
4412      $this->roundtripLatencyMillis = $roundtripLatencyMillis;
4413    }
4414    public function getRoundtripLatencyMillis()
4415    {
4416      return $this->roundtripLatencyMillis;
4417    }
4418  }
4419  
4420  #[AllowDynamicProperties]
4421  class Google_Service_Games_PeerSessionDiagnostics extends Google_Model
4422  {
4423    protected $internal_gapi_mappings = array(
4424    );
4425    public $connectedTimestampMillis;
4426    public $kind;
4427    public $participantId;
4428    protected $reliableChannelType = 'Google_Service_Games_PeerChannelDiagnostics';
4429    protected $reliableChannelDataType = '';
4430    protected $unreliableChannelType = 'Google_Service_Games_PeerChannelDiagnostics';
4431    protected $unreliableChannelDataType = '';
4432  
4433  
4434    public function setConnectedTimestampMillis($connectedTimestampMillis)
4435    {
4436      $this->connectedTimestampMillis = $connectedTimestampMillis;
4437    }
4438    public function getConnectedTimestampMillis()
4439    {
4440      return $this->connectedTimestampMillis;
4441    }
4442    public function setKind($kind)
4443    {
4444      $this->kind = $kind;
4445    }
4446    public function getKind()
4447    {
4448      return $this->kind;
4449    }
4450    public function setParticipantId($participantId)
4451    {
4452      $this->participantId = $participantId;
4453    }
4454    public function getParticipantId()
4455    {
4456      return $this->participantId;
4457    }
4458    public function setReliableChannel(Google_Service_Games_PeerChannelDiagnostics $reliableChannel)
4459    {
4460      $this->reliableChannel = $reliableChannel;
4461    }
4462    public function getReliableChannel()
4463    {
4464      return $this->reliableChannel;
4465    }
4466    public function setUnreliableChannel(Google_Service_Games_PeerChannelDiagnostics $unreliableChannel)
4467    {
4468      $this->unreliableChannel = $unreliableChannel;
4469    }
4470    public function getUnreliableChannel()
4471    {
4472      return $this->unreliableChannel;
4473    }
4474  }
4475  
4476  #[AllowDynamicProperties]
4477  class Google_Service_Games_Played extends Google_Model
4478  {
4479    protected $internal_gapi_mappings = array(
4480    );
4481    public $autoMatched;
4482    public $kind;
4483    public $timeMillis;
4484  
4485  
4486    public function setAutoMatched($autoMatched)
4487    {
4488      $this->autoMatched = $autoMatched;
4489    }
4490    public function getAutoMatched()
4491    {
4492      return $this->autoMatched;
4493    }
4494    public function setKind($kind)
4495    {
4496      $this->kind = $kind;
4497    }
4498    public function getKind()
4499    {
4500      return $this->kind;
4501    }
4502    public function setTimeMillis($timeMillis)
4503    {
4504      $this->timeMillis = $timeMillis;
4505    }
4506    public function getTimeMillis()
4507    {
4508      return $this->timeMillis;
4509    }
4510  }
4511  
4512  #[AllowDynamicProperties]
4513  class Google_Service_Games_Player extends Google_Model
4514  {
4515    protected $internal_gapi_mappings = array(
4516    );
4517    public $avatarImageUrl;
4518    public $bannerUrlLandscape;
4519    public $bannerUrlPortrait;
4520    public $displayName;
4521    protected $experienceInfoType = 'Google_Service_Games_PlayerExperienceInfo';
4522    protected $experienceInfoDataType = '';
4523    public $kind;
4524    protected $lastPlayedWithType = 'Google_Service_Games_Played';
4525    protected $lastPlayedWithDataType = '';
4526    protected $nameType = 'Google_Service_Games_PlayerName';
4527    protected $nameDataType = '';
4528    public $playerId;
4529    public $title;
4530  
4531  
4532    public function setAvatarImageUrl($avatarImageUrl)
4533    {
4534      $this->avatarImageUrl = $avatarImageUrl;
4535    }
4536    public function getAvatarImageUrl()
4537    {
4538      return $this->avatarImageUrl;
4539    }
4540    public function setBannerUrlLandscape($bannerUrlLandscape)
4541    {
4542      $this->bannerUrlLandscape = $bannerUrlLandscape;
4543    }
4544    public function getBannerUrlLandscape()
4545    {
4546      return $this->bannerUrlLandscape;
4547    }
4548    public function setBannerUrlPortrait($bannerUrlPortrait)
4549    {
4550      $this->bannerUrlPortrait = $bannerUrlPortrait;
4551    }
4552    public function getBannerUrlPortrait()
4553    {
4554      return $this->bannerUrlPortrait;
4555    }
4556    public function setDisplayName($displayName)
4557    {
4558      $this->displayName = $displayName;
4559    }
4560    public function getDisplayName()
4561    {
4562      return $this->displayName;
4563    }
4564    public function setExperienceInfo(Google_Service_Games_PlayerExperienceInfo $experienceInfo)
4565    {
4566      $this->experienceInfo = $experienceInfo;
4567    }
4568    public function getExperienceInfo()
4569    {
4570      return $this->experienceInfo;
4571    }
4572    public function setKind($kind)
4573    {
4574      $this->kind = $kind;
4575    }
4576    public function getKind()
4577    {
4578      return $this->kind;
4579    }
4580    public function setLastPlayedWith(Google_Service_Games_Played $lastPlayedWith)
4581    {
4582      $this->lastPlayedWith = $lastPlayedWith;
4583    }
4584    public function getLastPlayedWith()
4585    {
4586      return $this->lastPlayedWith;
4587    }
4588    public function setName(Google_Service_Games_PlayerName $name)
4589    {
4590      $this->name = $name;
4591    }
4592    public function getName()
4593    {
4594      return $this->name;
4595    }
4596    public function setPlayerId($playerId)
4597    {
4598      $this->playerId = $playerId;
4599    }
4600    public function getPlayerId()
4601    {
4602      return $this->playerId;
4603    }
4604    public function setTitle($title)
4605    {
4606      $this->title = $title;
4607    }
4608    public function getTitle()
4609    {
4610      return $this->title;
4611    }
4612  }
4613  
4614  #[AllowDynamicProperties]
4615  class Google_Service_Games_PlayerAchievement extends Google_Model
4616  {
4617    protected $internal_gapi_mappings = array(
4618    );
4619    public $achievementState;
4620    public $currentSteps;
4621    public $experiencePoints;
4622    public $formattedCurrentStepsString;
4623    public $id;
4624    public $kind;
4625    public $lastUpdatedTimestamp;
4626  
4627  
4628    public function setAchievementState($achievementState)
4629    {
4630      $this->achievementState = $achievementState;
4631    }
4632    public function getAchievementState()
4633    {
4634      return $this->achievementState;
4635    }
4636    public function setCurrentSteps($currentSteps)
4637    {
4638      $this->currentSteps = $currentSteps;
4639    }
4640    public function getCurrentSteps()
4641    {
4642      return $this->currentSteps;
4643    }
4644    public function setExperiencePoints($experiencePoints)
4645    {
4646      $this->experiencePoints = $experiencePoints;
4647    }
4648    public function getExperiencePoints()
4649    {
4650      return $this->experiencePoints;
4651    }
4652    public function setFormattedCurrentStepsString($formattedCurrentStepsString)
4653    {
4654      $this->formattedCurrentStepsString = $formattedCurrentStepsString;
4655    }
4656    public function getFormattedCurrentStepsString()
4657    {
4658      return $this->formattedCurrentStepsString;
4659    }
4660    public function setId($id)
4661    {
4662      $this->id = $id;
4663    }
4664    public function getId()
4665    {
4666      return $this->id;
4667    }
4668    public function setKind($kind)
4669    {
4670      $this->kind = $kind;
4671    }
4672    public function getKind()
4673    {
4674      return $this->kind;
4675    }
4676    public function setLastUpdatedTimestamp($lastUpdatedTimestamp)
4677    {
4678      $this->lastUpdatedTimestamp = $lastUpdatedTimestamp;
4679    }
4680    public function getLastUpdatedTimestamp()
4681    {
4682      return $this->lastUpdatedTimestamp;
4683    }
4684  }
4685  
4686  #[AllowDynamicProperties]
4687  class Google_Service_Games_PlayerAchievementListResponse extends Google_Collection
4688  {
4689    protected $collection_key = 'items';
4690    protected $internal_gapi_mappings = array(
4691    );
4692    protected $itemsType = 'Google_Service_Games_PlayerAchievement';
4693    protected $itemsDataType = 'array';
4694    public $kind;
4695    public $nextPageToken;
4696  
4697  
4698    public function setItems($items)
4699    {
4700      $this->items = $items;
4701    }
4702    public function getItems()
4703    {
4704      return $this->items;
4705    }
4706    public function setKind($kind)
4707    {
4708      $this->kind = $kind;
4709    }
4710    public function getKind()
4711    {
4712      return $this->kind;
4713    }
4714    public function setNextPageToken($nextPageToken)
4715    {
4716      $this->nextPageToken = $nextPageToken;
4717    }
4718    public function getNextPageToken()
4719    {
4720      return $this->nextPageToken;
4721    }
4722  }
4723  
4724  #[AllowDynamicProperties]
4725  class Google_Service_Games_PlayerEvent extends Google_Model
4726  {
4727    protected $internal_gapi_mappings = array(
4728    );
4729    public $definitionId;
4730    public $formattedNumEvents;
4731    public $kind;
4732    public $numEvents;
4733    public $playerId;
4734  
4735  
4736    public function setDefinitionId($definitionId)
4737    {
4738      $this->definitionId = $definitionId;
4739    }
4740    public function getDefinitionId()
4741    {
4742      return $this->definitionId;
4743    }
4744    public function setFormattedNumEvents($formattedNumEvents)
4745    {
4746      $this->formattedNumEvents = $formattedNumEvents;
4747    }
4748    public function getFormattedNumEvents()
4749    {
4750      return $this->formattedNumEvents;
4751    }
4752    public function setKind($kind)
4753    {
4754      $this->kind = $kind;
4755    }
4756    public function getKind()
4757    {
4758      return $this->kind;
4759    }
4760    public function setNumEvents($numEvents)
4761    {
4762      $this->numEvents = $numEvents;
4763    }
4764    public function getNumEvents()
4765    {
4766      return $this->numEvents;
4767    }
4768    public function setPlayerId($playerId)
4769    {
4770      $this->playerId = $playerId;
4771    }
4772    public function getPlayerId()
4773    {
4774      return $this->playerId;
4775    }
4776  }
4777  
4778  #[AllowDynamicProperties]
4779  class Google_Service_Games_PlayerEventListResponse extends Google_Collection
4780  {
4781    protected $collection_key = 'items';
4782    protected $internal_gapi_mappings = array(
4783    );
4784    protected $itemsType = 'Google_Service_Games_PlayerEvent';
4785    protected $itemsDataType = 'array';
4786    public $kind;
4787    public $nextPageToken;
4788  
4789  
4790    public function setItems($items)
4791    {
4792      $this->items = $items;
4793    }
4794    public function getItems()
4795    {
4796      return $this->items;
4797    }
4798    public function setKind($kind)
4799    {
4800      $this->kind = $kind;
4801    }
4802    public function getKind()
4803    {
4804      return $this->kind;
4805    }
4806    public function setNextPageToken($nextPageToken)
4807    {
4808      $this->nextPageToken = $nextPageToken;
4809    }
4810    public function getNextPageToken()
4811    {
4812      return $this->nextPageToken;
4813    }
4814  }
4815  
4816  #[AllowDynamicProperties]
4817  class Google_Service_Games_PlayerExperienceInfo extends Google_Model
4818  {
4819    protected $internal_gapi_mappings = array(
4820    );
4821    public $currentExperiencePoints;
4822    protected $currentLevelType = 'Google_Service_Games_PlayerLevel';
4823    protected $currentLevelDataType = '';
4824    public $kind;
4825    public $lastLevelUpTimestampMillis;
4826    protected $nextLevelType = 'Google_Service_Games_PlayerLevel';
4827    protected $nextLevelDataType = '';
4828  
4829  
4830    public function setCurrentExperiencePoints($currentExperiencePoints)
4831    {
4832      $this->currentExperiencePoints = $currentExperiencePoints;
4833    }
4834    public function getCurrentExperiencePoints()
4835    {
4836      return $this->currentExperiencePoints;
4837    }
4838    public function setCurrentLevel(Google_Service_Games_PlayerLevel $currentLevel)
4839    {
4840      $this->currentLevel = $currentLevel;
4841    }
4842    public function getCurrentLevel()
4843    {
4844      return $this->currentLevel;
4845    }
4846    public function setKind($kind)
4847    {
4848      $this->kind = $kind;
4849    }
4850    public function getKind()
4851    {
4852      return $this->kind;
4853    }
4854    public function setLastLevelUpTimestampMillis($lastLevelUpTimestampMillis)
4855    {
4856      $this->lastLevelUpTimestampMillis = $lastLevelUpTimestampMillis;
4857    }
4858    public function getLastLevelUpTimestampMillis()
4859    {
4860      return $this->lastLevelUpTimestampMillis;
4861    }
4862    public function setNextLevel(Google_Service_Games_PlayerLevel $nextLevel)
4863    {
4864      $this->nextLevel = $nextLevel;
4865    }
4866    public function getNextLevel()
4867    {
4868      return $this->nextLevel;
4869    }
4870  }
4871  
4872  #[AllowDynamicProperties]
4873  class Google_Service_Games_PlayerLeaderboardScore extends Google_Model
4874  {
4875    protected $internal_gapi_mappings = array(
4876          "leaderboardId" => "leaderboard_id",
4877    );
4878    public $kind;
4879    public $leaderboardId;
4880    protected $publicRankType = 'Google_Service_Games_LeaderboardScoreRank';
4881    protected $publicRankDataType = '';
4882    public $scoreString;
4883    public $scoreTag;
4884    public $scoreValue;
4885    protected $socialRankType = 'Google_Service_Games_LeaderboardScoreRank';
4886    protected $socialRankDataType = '';
4887    public $timeSpan;
4888    public $writeTimestamp;
4889  
4890  
4891    public function setKind($kind)
4892    {
4893      $this->kind = $kind;
4894    }
4895    public function getKind()
4896    {
4897      return $this->kind;
4898    }
4899    public function setLeaderboardId($leaderboardId)
4900    {
4901      $this->leaderboardId = $leaderboardId;
4902    }
4903    public function getLeaderboardId()
4904    {
4905      return $this->leaderboardId;
4906    }
4907    public function setPublicRank(Google_Service_Games_LeaderboardScoreRank $publicRank)
4908    {
4909      $this->publicRank = $publicRank;
4910    }
4911    public function getPublicRank()
4912    {
4913      return $this->publicRank;
4914    }
4915    public function setScoreString($scoreString)
4916    {
4917      $this->scoreString = $scoreString;
4918    }
4919    public function getScoreString()
4920    {
4921      return $this->scoreString;
4922    }
4923    public function setScoreTag($scoreTag)
4924    {
4925      $this->scoreTag = $scoreTag;
4926    }
4927    public function getScoreTag()
4928    {
4929      return $this->scoreTag;
4930    }
4931    public function setScoreValue($scoreValue)
4932    {
4933      $this->scoreValue = $scoreValue;
4934    }
4935    public function getScoreValue()
4936    {
4937      return $this->scoreValue;
4938    }
4939    public function setSocialRank(Google_Service_Games_LeaderboardScoreRank $socialRank)
4940    {
4941      $this->socialRank = $socialRank;
4942    }
4943    public function getSocialRank()
4944    {
4945      return $this->socialRank;
4946    }
4947    public function setTimeSpan($timeSpan)
4948    {
4949      $this->timeSpan = $timeSpan;
4950    }
4951    public function getTimeSpan()
4952    {
4953      return $this->timeSpan;
4954    }
4955    public function setWriteTimestamp($writeTimestamp)
4956    {
4957      $this->writeTimestamp = $writeTimestamp;
4958    }
4959    public function getWriteTimestamp()
4960    {
4961      return $this->writeTimestamp;
4962    }
4963  }
4964  
4965  #[AllowDynamicProperties]
4966  class Google_Service_Games_PlayerLeaderboardScoreListResponse extends Google_Collection
4967  {
4968    protected $collection_key = 'items';
4969    protected $internal_gapi_mappings = array(
4970    );
4971    protected $itemsType = 'Google_Service_Games_PlayerLeaderboardScore';
4972    protected $itemsDataType = 'array';
4973    public $kind;
4974    public $nextPageToken;
4975    protected $playerType = 'Google_Service_Games_Player';
4976    protected $playerDataType = '';
4977  
4978  
4979    public function setItems($items)
4980    {
4981      $this->items = $items;
4982    }
4983    public function getItems()
4984    {
4985      return $this->items;
4986    }
4987    public function setKind($kind)
4988    {
4989      $this->kind = $kind;
4990    }
4991    public function getKind()
4992    {
4993      return $this->kind;
4994    }
4995    public function setNextPageToken($nextPageToken)
4996    {
4997      $this->nextPageToken = $nextPageToken;
4998    }
4999    public function getNextPageToken()
5000    {
5001      return $this->nextPageToken;
5002    }
5003    public function setPlayer(Google_Service_Games_Player $player)
5004    {
5005      $this->player = $player;
5006    }
5007    public function getPlayer()
5008    {
5009      return $this->player;
5010    }
5011  }
5012  
5013  #[AllowDynamicProperties]
5014  class Google_Service_Games_PlayerLevel extends Google_Model
5015  {
5016    protected $internal_gapi_mappings = array(
5017    );
5018    public $kind;
5019    public $level;
5020    public $maxExperiencePoints;
5021    public $minExperiencePoints;
5022  
5023  
5024    public function setKind($kind)
5025    {
5026      $this->kind = $kind;
5027    }
5028    public function getKind()
5029    {
5030      return $this->kind;
5031    }
5032    public function setLevel($level)
5033    {
5034      $this->level = $level;
5035    }
5036    public function getLevel()
5037    {
5038      return $this->level;
5039    }
5040    public function setMaxExperiencePoints($maxExperiencePoints)
5041    {
5042      $this->maxExperiencePoints = $maxExperiencePoints;
5043    }
5044    public function getMaxExperiencePoints()
5045    {
5046      return $this->maxExperiencePoints;
5047    }
5048    public function setMinExperiencePoints($minExperiencePoints)
5049    {
5050      $this->minExperiencePoints = $minExperiencePoints;
5051    }
5052    public function getMinExperiencePoints()
5053    {
5054      return $this->minExperiencePoints;
5055    }
5056  }
5057  
5058  #[AllowDynamicProperties]
5059  class Google_Service_Games_PlayerListResponse extends Google_Collection
5060  {
5061    protected $collection_key = 'items';
5062    protected $internal_gapi_mappings = array(
5063    );
5064    protected $itemsType = 'Google_Service_Games_Player';
5065    protected $itemsDataType = 'array';
5066    public $kind;
5067    public $nextPageToken;
5068  
5069  
5070    public function setItems($items)
5071    {
5072      $this->items = $items;
5073    }
5074    public function getItems()
5075    {
5076      return $this->items;
5077    }
5078    public function setKind($kind)
5079    {
5080      $this->kind = $kind;
5081    }
5082    public function getKind()
5083    {
5084      return $this->kind;
5085    }
5086    public function setNextPageToken($nextPageToken)
5087    {
5088      $this->nextPageToken = $nextPageToken;
5089    }
5090    public function getNextPageToken()
5091    {
5092      return $this->nextPageToken;
5093    }
5094  }
5095  
5096  #[AllowDynamicProperties]
5097  class Google_Service_Games_PlayerName extends Google_Model
5098  {
5099    protected $internal_gapi_mappings = array(
5100    );
5101    public $familyName;
5102    public $givenName;
5103  
5104  
5105    public function setFamilyName($familyName)
5106    {
5107      $this->familyName = $familyName;
5108    }
5109    public function getFamilyName()
5110    {
5111      return $this->familyName;
5112    }
5113    public function setGivenName($givenName)
5114    {
5115      $this->givenName = $givenName;
5116    }
5117    public function getGivenName()
5118    {
5119      return $this->givenName;
5120    }
5121  }
5122  
5123  #[AllowDynamicProperties]
5124  class Google_Service_Games_PlayerScore extends Google_Model
5125  {
5126    protected $internal_gapi_mappings = array(
5127    );
5128    public $formattedScore;
5129    public $kind;
5130    public $score;
5131    public $scoreTag;
5132    public $timeSpan;
5133  
5134  
5135    public function setFormattedScore($formattedScore)
5136    {
5137      $this->formattedScore = $formattedScore;
5138    }
5139    public function getFormattedScore()
5140    {
5141      return $this->formattedScore;
5142    }
5143    public function setKind($kind)
5144    {
5145      $this->kind = $kind;
5146    }
5147    public function getKind()
5148    {
5149      return $this->kind;
5150    }
5151    public function setScore($score)
5152    {
5153      $this->score = $score;
5154    }
5155    public function getScore()
5156    {
5157      return $this->score;
5158    }
5159    public function setScoreTag($scoreTag)
5160    {
5161      $this->scoreTag = $scoreTag;
5162    }
5163    public function getScoreTag()
5164    {
5165      return $this->scoreTag;
5166    }
5167    public function setTimeSpan($timeSpan)
5168    {
5169      $this->timeSpan = $timeSpan;
5170    }
5171    public function getTimeSpan()
5172    {
5173      return $this->timeSpan;
5174    }
5175  }
5176  
5177  #[AllowDynamicProperties]
5178  class Google_Service_Games_PlayerScoreListResponse extends Google_Collection
5179  {
5180    protected $collection_key = 'submittedScores';
5181    protected $internal_gapi_mappings = array(
5182    );
5183    public $kind;
5184    protected $submittedScoresType = 'Google_Service_Games_PlayerScoreResponse';
5185    protected $submittedScoresDataType = 'array';
5186  
5187  
5188    public function setKind($kind)
5189    {
5190      $this->kind = $kind;
5191    }
5192    public function getKind()
5193    {
5194      return $this->kind;
5195    }
5196    public function setSubmittedScores($submittedScores)
5197    {
5198      $this->submittedScores = $submittedScores;
5199    }
5200    public function getSubmittedScores()
5201    {
5202      return $this->submittedScores;
5203    }
5204  }
5205  
5206  #[AllowDynamicProperties]
5207  class Google_Service_Games_PlayerScoreResponse extends Google_Collection
5208  {
5209    protected $collection_key = 'unbeatenScores';
5210    protected $internal_gapi_mappings = array(
5211    );
5212    public $beatenScoreTimeSpans;
5213    public $formattedScore;
5214    public $kind;
5215    public $leaderboardId;
5216    public $scoreTag;
5217    protected $unbeatenScoresType = 'Google_Service_Games_PlayerScore';
5218    protected $unbeatenScoresDataType = 'array';
5219  
5220  
5221    public function setBeatenScoreTimeSpans($beatenScoreTimeSpans)
5222    {
5223      $this->beatenScoreTimeSpans = $beatenScoreTimeSpans;
5224    }
5225    public function getBeatenScoreTimeSpans()
5226    {
5227      return $this->beatenScoreTimeSpans;
5228    }
5229    public function setFormattedScore($formattedScore)
5230    {
5231      $this->formattedScore = $formattedScore;
5232    }
5233    public function getFormattedScore()
5234    {
5235      return $this->formattedScore;
5236    }
5237    public function setKind($kind)
5238    {
5239      $this->kind = $kind;
5240    }
5241    public function getKind()
5242    {
5243      return $this->kind;
5244    }
5245    public function setLeaderboardId($leaderboardId)
5246    {
5247      $this->leaderboardId = $leaderboardId;
5248    }
5249    public function getLeaderboardId()
5250    {
5251      return $this->leaderboardId;
5252    }
5253    public function setScoreTag($scoreTag)
5254    {
5255      $this->scoreTag = $scoreTag;
5256    }
5257    public function getScoreTag()
5258    {
5259      return $this->scoreTag;
5260    }
5261    public function setUnbeatenScores($unbeatenScores)
5262    {
5263      $this->unbeatenScores = $unbeatenScores;
5264    }
5265    public function getUnbeatenScores()
5266    {
5267      return $this->unbeatenScores;
5268    }
5269  }
5270  
5271  #[AllowDynamicProperties]
5272  class Google_Service_Games_PlayerScoreSubmissionList extends Google_Collection
5273  {
5274    protected $collection_key = 'scores';
5275    protected $internal_gapi_mappings = array(
5276    );
5277    public $kind;
5278    protected $scoresType = 'Google_Service_Games_ScoreSubmission';
5279    protected $scoresDataType = 'array';
5280  
5281  
5282    public function setKind($kind)
5283    {
5284      $this->kind = $kind;
5285    }
5286    public function getKind()
5287    {
5288      return $this->kind;
5289    }
5290    public function setScores($scores)
5291    {
5292      $this->scores = $scores;
5293    }
5294    public function getScores()
5295    {
5296      return $this->scores;
5297    }
5298  }
5299  
5300  #[AllowDynamicProperties]
5301  class Google_Service_Games_PushToken extends Google_Model
5302  {
5303    protected $internal_gapi_mappings = array(
5304    );
5305    public $clientRevision;
5306    protected $idType = 'Google_Service_Games_PushTokenId';
5307    protected $idDataType = '';
5308    public $kind;
5309    public $language;
5310  
5311  
5312    public function setClientRevision($clientRevision)
5313    {
5314      $this->clientRevision = $clientRevision;
5315    }
5316    public function getClientRevision()
5317    {
5318      return $this->clientRevision;
5319    }
5320    public function setId(Google_Service_Games_PushTokenId $id)
5321    {
5322      $this->id = $id;
5323    }
5324    public function getId()
5325    {
5326      return $this->id;
5327    }
5328    public function setKind($kind)
5329    {
5330      $this->kind = $kind;
5331    }
5332    public function getKind()
5333    {
5334      return $this->kind;
5335    }
5336    public function setLanguage($language)
5337    {
5338      $this->language = $language;
5339    }
5340    public function getLanguage()
5341    {
5342      return $this->language;
5343    }
5344  }
5345  
5346  #[AllowDynamicProperties]
5347  class Google_Service_Games_PushTokenId extends Google_Model
5348  {
5349    protected $internal_gapi_mappings = array(
5350    );
5351    protected $iosType = 'Google_Service_Games_PushTokenIdIos';
5352    protected $iosDataType = '';
5353    public $kind;
5354  
5355  
5356    public function setIos(Google_Service_Games_PushTokenIdIos $ios)
5357    {
5358      $this->ios = $ios;
5359    }
5360    public function getIos()
5361    {
5362      return $this->ios;
5363    }
5364    public function setKind($kind)
5365    {
5366      $this->kind = $kind;
5367    }
5368    public function getKind()
5369    {
5370      return $this->kind;
5371    }
5372  }
5373  
5374  #[AllowDynamicProperties]
5375  class Google_Service_Games_PushTokenIdIos extends Google_Model
5376  {
5377    protected $internal_gapi_mappings = array(
5378          "apnsDeviceToken" => "apns_device_token",
5379          "apnsEnvironment" => "apns_environment",
5380    );
5381    public $apnsDeviceToken;
5382    public $apnsEnvironment;
5383  
5384  
5385    public function setApnsDeviceToken($apnsDeviceToken)
5386    {
5387      $this->apnsDeviceToken = $apnsDeviceToken;
5388    }
5389    public function getApnsDeviceToken()
5390    {
5391      return $this->apnsDeviceToken;
5392    }
5393    public function setApnsEnvironment($apnsEnvironment)
5394    {
5395      $this->apnsEnvironment = $apnsEnvironment;
5396    }
5397    public function getApnsEnvironment()
5398    {
5399      return $this->apnsEnvironment;
5400    }
5401  }
5402  
5403  #[AllowDynamicProperties]
5404  class Google_Service_Games_Quest extends Google_Collection
5405  {
5406    protected $collection_key = 'milestones';
5407    protected $internal_gapi_mappings = array(
5408    );
5409    public $acceptedTimestampMillis;
5410    public $applicationId;
5411    public $bannerUrl;
5412    public $description;
5413    public $endTimestampMillis;
5414    public $iconUrl;
5415    public $id;
5416    public $isDefaultBannerUrl;
5417    public $isDefaultIconUrl;
5418    public $kind;
5419    public $lastUpdatedTimestampMillis;
5420    protected $milestonesType = 'Google_Service_Games_QuestMilestone';
5421    protected $milestonesDataType = 'array';
5422    public $name;
5423    public $notifyTimestampMillis;
5424    public $startTimestampMillis;
5425    public $state;
5426  
5427  
5428    public function setAcceptedTimestampMillis($acceptedTimestampMillis)
5429    {
5430      $this->acceptedTimestampMillis = $acceptedTimestampMillis;
5431    }
5432    public function getAcceptedTimestampMillis()
5433    {
5434      return $this->acceptedTimestampMillis;
5435    }
5436    public function setApplicationId($applicationId)
5437    {
5438      $this->applicationId = $applicationId;
5439    }
5440    public function getApplicationId()
5441    {
5442      return $this->applicationId;
5443    }
5444    public function setBannerUrl($bannerUrl)
5445    {
5446      $this->bannerUrl = $bannerUrl;
5447    }
5448    public function getBannerUrl()
5449    {
5450      return $this->bannerUrl;
5451    }
5452    public function setDescription($description)
5453    {
5454      $this->description = $description;
5455    }
5456    public function getDescription()
5457    {
5458      return $this->description;
5459    }
5460    public function setEndTimestampMillis($endTimestampMillis)
5461    {
5462      $this->endTimestampMillis = $endTimestampMillis;
5463    }
5464    public function getEndTimestampMillis()
5465    {
5466      return $this->endTimestampMillis;
5467    }
5468    public function setIconUrl($iconUrl)
5469    {
5470      $this->iconUrl = $iconUrl;
5471    }
5472    public function getIconUrl()
5473    {
5474      return $this->iconUrl;
5475    }
5476    public function setId($id)
5477    {
5478      $this->id = $id;
5479    }
5480    public function getId()
5481    {
5482      return $this->id;
5483    }
5484    public function setIsDefaultBannerUrl($isDefaultBannerUrl)
5485    {
5486      $this->isDefaultBannerUrl = $isDefaultBannerUrl;
5487    }
5488    public function getIsDefaultBannerUrl()
5489    {
5490      return $this->isDefaultBannerUrl;
5491    }
5492    public function setIsDefaultIconUrl($isDefaultIconUrl)
5493    {
5494      $this->isDefaultIconUrl = $isDefaultIconUrl;
5495    }
5496    public function getIsDefaultIconUrl()
5497    {
5498      return $this->isDefaultIconUrl;
5499    }
5500    public function setKind($kind)
5501    {
5502      $this->kind = $kind;
5503    }
5504    public function getKind()
5505    {
5506      return $this->kind;
5507    }
5508    public function setLastUpdatedTimestampMillis($lastUpdatedTimestampMillis)
5509    {
5510      $this->lastUpdatedTimestampMillis = $lastUpdatedTimestampMillis;
5511    }
5512    public function getLastUpdatedTimestampMillis()
5513    {
5514      return $this->lastUpdatedTimestampMillis;
5515    }
5516    public function setMilestones($milestones)
5517    {
5518      $this->milestones = $milestones;
5519    }
5520    public function getMilestones()
5521    {
5522      return $this->milestones;
5523    }
5524    public function setName($name)
5525    {
5526      $this->name = $name;
5527    }
5528    public function getName()
5529    {
5530      return $this->name;
5531    }
5532    public function setNotifyTimestampMillis($notifyTimestampMillis)
5533    {
5534      $this->notifyTimestampMillis = $notifyTimestampMillis;
5535    }
5536    public function getNotifyTimestampMillis()
5537    {
5538      return $this->notifyTimestampMillis;
5539    }
5540    public function setStartTimestampMillis($startTimestampMillis)
5541    {
5542      $this->startTimestampMillis = $startTimestampMillis;
5543    }
5544    public function getStartTimestampMillis()
5545    {
5546      return $this->startTimestampMillis;
5547    }
5548    public function setState($state)
5549    {
5550      $this->state = $state;
5551    }
5552    public function getState()
5553    {
5554      return $this->state;
5555    }
5556  }
5557  
5558  #[AllowDynamicProperties]
5559  class Google_Service_Games_QuestContribution extends Google_Model
5560  {
5561    protected $internal_gapi_mappings = array(
5562    );
5563    public $formattedValue;
5564    public $kind;
5565    public $value;
5566  
5567  
5568    public function setFormattedValue($formattedValue)
5569    {
5570      $this->formattedValue = $formattedValue;
5571    }
5572    public function getFormattedValue()
5573    {
5574      return $this->formattedValue;
5575    }
5576    public function setKind($kind)
5577    {
5578      $this->kind = $kind;
5579    }
5580    public function getKind()
5581    {
5582      return $this->kind;
5583    }
5584    public function setValue($value)
5585    {
5586      $this->value = $value;
5587    }
5588    public function getValue()
5589    {
5590      return $this->value;
5591    }
5592  }
5593  
5594  #[AllowDynamicProperties]
5595  class Google_Service_Games_QuestCriterion extends Google_Model
5596  {
5597    protected $internal_gapi_mappings = array(
5598    );
5599    protected $completionContributionType = 'Google_Service_Games_QuestContribution';
5600    protected $completionContributionDataType = '';
5601    protected $currentContributionType = 'Google_Service_Games_QuestContribution';
5602    protected $currentContributionDataType = '';
5603    public $eventId;
5604    protected $initialPlayerProgressType = 'Google_Service_Games_QuestContribution';
5605    protected $initialPlayerProgressDataType = '';
5606    public $kind;
5607  
5608  
5609    public function setCompletionContribution(Google_Service_Games_QuestContribution $completionContribution)
5610    {
5611      $this->completionContribution = $completionContribution;
5612    }
5613    public function getCompletionContribution()
5614    {
5615      return $this->completionContribution;
5616    }
5617    public function setCurrentContribution(Google_Service_Games_QuestContribution $currentContribution)
5618    {
5619      $this->currentContribution = $currentContribution;
5620    }
5621    public function getCurrentContribution()
5622    {
5623      return $this->currentContribution;
5624    }
5625    public function setEventId($eventId)
5626    {
5627      $this->eventId = $eventId;
5628    }
5629    public function getEventId()
5630    {
5631      return $this->eventId;
5632    }
5633    public function setInitialPlayerProgress(Google_Service_Games_QuestContribution $initialPlayerProgress)
5634    {
5635      $this->initialPlayerProgress = $initialPlayerProgress;
5636    }
5637    public function getInitialPlayerProgress()
5638    {
5639      return $this->initialPlayerProgress;
5640    }
5641    public function setKind($kind)
5642    {
5643      $this->kind = $kind;
5644    }
5645    public function getKind()
5646    {
5647      return $this->kind;
5648    }
5649  }
5650  
5651  #[AllowDynamicProperties]
5652  class Google_Service_Games_QuestListResponse extends Google_Collection
5653  {
5654    protected $collection_key = 'items';
5655    protected $internal_gapi_mappings = array(
5656    );
5657    protected $itemsType = 'Google_Service_Games_Quest';
5658    protected $itemsDataType = 'array';
5659    public $kind;
5660    public $nextPageToken;
5661  
5662  
5663    public function setItems($items)
5664    {
5665      $this->items = $items;
5666    }
5667    public function getItems()
5668    {
5669      return $this->items;
5670    }
5671    public function setKind($kind)
5672    {
5673      $this->kind = $kind;
5674    }
5675    public function getKind()
5676    {
5677      return $this->kind;
5678    }
5679    public function setNextPageToken($nextPageToken)
5680    {
5681      $this->nextPageToken = $nextPageToken;
5682    }
5683    public function getNextPageToken()
5684    {
5685      return $this->nextPageToken;
5686    }
5687  }
5688  
5689  #[AllowDynamicProperties]
5690  class Google_Service_Games_QuestMilestone extends Google_Collection
5691  {
5692    protected $collection_key = 'criteria';
5693    protected $internal_gapi_mappings = array(
5694    );
5695    public $completionRewardData;
5696    protected $criteriaType = 'Google_Service_Games_QuestCriterion';
5697    protected $criteriaDataType = 'array';
5698    public $id;
5699    public $kind;
5700    public $state;
5701  
5702  
5703    public function setCompletionRewardData($completionRewardData)
5704    {
5705      $this->completionRewardData = $completionRewardData;
5706    }
5707    public function getCompletionRewardData()
5708    {
5709      return $this->completionRewardData;
5710    }
5711    public function setCriteria($criteria)
5712    {
5713      $this->criteria = $criteria;
5714    }
5715    public function getCriteria()
5716    {
5717      return $this->criteria;
5718    }
5719    public function setId($id)
5720    {
5721      $this->id = $id;
5722    }
5723    public function getId()
5724    {
5725      return $this->id;
5726    }
5727    public function setKind($kind)
5728    {
5729      $this->kind = $kind;
5730    }
5731    public function getKind()
5732    {
5733      return $this->kind;
5734    }
5735    public function setState($state)
5736    {
5737      $this->state = $state;
5738    }
5739    public function getState()
5740    {
5741      return $this->state;
5742    }
5743  }
5744  
5745  #[AllowDynamicProperties]
5746  class Google_Service_Games_RevisionCheckResponse extends Google_Model
5747  {
5748    protected $internal_gapi_mappings = array(
5749    );
5750    public $apiVersion;
5751    public $kind;
5752    public $revisionStatus;
5753  
5754  
5755    public function setApiVersion($apiVersion)
5756    {
5757      $this->apiVersion = $apiVersion;
5758    }
5759    public function getApiVersion()
5760    {
5761      return $this->apiVersion;
5762    }
5763    public function setKind($kind)
5764    {
5765      $this->kind = $kind;
5766    }
5767    public function getKind()
5768    {
5769      return $this->kind;
5770    }
5771    public function setRevisionStatus($revisionStatus)
5772    {
5773      $this->revisionStatus = $revisionStatus;
5774    }
5775    public function getRevisionStatus()
5776    {
5777      return $this->revisionStatus;
5778    }
5779  }
5780  
5781  #[AllowDynamicProperties]
5782  class Google_Service_Games_Room extends Google_Collection
5783  {
5784    protected $collection_key = 'participants';
5785    protected $internal_gapi_mappings = array(
5786    );
5787    public $applicationId;
5788    protected $autoMatchingCriteriaType = 'Google_Service_Games_RoomAutoMatchingCriteria';
5789    protected $autoMatchingCriteriaDataType = '';
5790    protected $autoMatchingStatusType = 'Google_Service_Games_RoomAutoMatchStatus';
5791    protected $autoMatchingStatusDataType = '';
5792    protected $creationDetailsType = 'Google_Service_Games_RoomModification';
5793    protected $creationDetailsDataType = '';
5794    public $description;
5795    public $inviterId;
5796    public $kind;
5797    protected $lastUpdateDetailsType = 'Google_Service_Games_RoomModification';
5798    protected $lastUpdateDetailsDataType = '';
5799    protected $participantsType = 'Google_Service_Games_RoomParticipant';
5800    protected $participantsDataType = 'array';
5801    public $roomId;
5802    public $roomStatusVersion;
5803    public $status;
5804    public $variant;
5805  
5806  
5807    public function setApplicationId($applicationId)
5808    {
5809      $this->applicationId = $applicationId;
5810    }
5811    public function getApplicationId()
5812    {
5813      return $this->applicationId;
5814    }
5815    public function setAutoMatchingCriteria(Google_Service_Games_RoomAutoMatchingCriteria $autoMatchingCriteria)
5816    {
5817      $this->autoMatchingCriteria = $autoMatchingCriteria;
5818    }
5819    public function getAutoMatchingCriteria()
5820    {
5821      return $this->autoMatchingCriteria;
5822    }
5823    public function setAutoMatchingStatus(Google_Service_Games_RoomAutoMatchStatus $autoMatchingStatus)
5824    {
5825      $this->autoMatchingStatus = $autoMatchingStatus;
5826    }
5827    public function getAutoMatchingStatus()
5828    {
5829      return $this->autoMatchingStatus;
5830    }
5831    public function setCreationDetails(Google_Service_Games_RoomModification $creationDetails)
5832    {
5833      $this->creationDetails = $creationDetails;
5834    }
5835    public function getCreationDetails()
5836    {
5837      return $this->creationDetails;
5838    }
5839    public function setDescription($description)
5840    {
5841      $this->description = $description;
5842    }
5843    public function getDescription()
5844    {
5845      return $this->description;
5846    }
5847    public function setInviterId($inviterId)
5848    {
5849      $this->inviterId = $inviterId;
5850    }
5851    public function getInviterId()
5852    {
5853      return $this->inviterId;
5854    }
5855    public function setKind($kind)
5856    {
5857      $this->kind = $kind;
5858    }
5859    public function getKind()
5860    {
5861      return $this->kind;
5862    }
5863    public function setLastUpdateDetails(Google_Service_Games_RoomModification $lastUpdateDetails)
5864    {
5865      $this->lastUpdateDetails = $lastUpdateDetails;
5866    }
5867    public function getLastUpdateDetails()
5868    {
5869      return $this->lastUpdateDetails;
5870    }
5871    public function setParticipants($participants)
5872    {
5873      $this->participants = $participants;
5874    }
5875    public function getParticipants()
5876    {
5877      return $this->participants;
5878    }
5879    public function setRoomId($roomId)
5880    {
5881      $this->roomId = $roomId;
5882    }
5883    public function getRoomId()
5884    {
5885      return $this->roomId;
5886    }
5887    public function setRoomStatusVersion($roomStatusVersion)
5888    {
5889      $this->roomStatusVersion = $roomStatusVersion;
5890    }
5891    public function getRoomStatusVersion()
5892    {
5893      return $this->roomStatusVersion;
5894    }
5895    public function setStatus($status)
5896    {
5897      $this->status = $status;
5898    }
5899    public function getStatus()
5900    {
5901      return $this->status;
5902    }
5903    public function setVariant($variant)
5904    {
5905      $this->variant = $variant;
5906    }
5907    public function getVariant()
5908    {
5909      return $this->variant;
5910    }
5911  }
5912  
5913  #[AllowDynamicProperties]
5914  class Google_Service_Games_RoomAutoMatchStatus extends Google_Model
5915  {
5916    protected $internal_gapi_mappings = array(
5917    );
5918    public $kind;
5919    public $waitEstimateSeconds;
5920  
5921  
5922    public function setKind($kind)
5923    {
5924      $this->kind = $kind;
5925    }
5926    public function getKind()
5927    {
5928      return $this->kind;
5929    }
5930    public function setWaitEstimateSeconds($waitEstimateSeconds)
5931    {
5932      $this->waitEstimateSeconds = $waitEstimateSeconds;
5933    }
5934    public function getWaitEstimateSeconds()
5935    {
5936      return $this->waitEstimateSeconds;
5937    }
5938  }
5939  
5940  #[AllowDynamicProperties]
5941  class Google_Service_Games_RoomAutoMatchingCriteria extends Google_Model
5942  {
5943    protected $internal_gapi_mappings = array(
5944    );
5945    public $exclusiveBitmask;
5946    public $kind;
5947    public $maxAutoMatchingPlayers;
5948    public $minAutoMatchingPlayers;
5949  
5950  
5951    public function setExclusiveBitmask($exclusiveBitmask)
5952    {
5953      $this->exclusiveBitmask = $exclusiveBitmask;
5954    }
5955    public function getExclusiveBitmask()
5956    {
5957      return $this->exclusiveBitmask;
5958    }
5959    public function setKind($kind)
5960    {
5961      $this->kind = $kind;
5962    }
5963    public function getKind()
5964    {
5965      return $this->kind;
5966    }
5967    public function setMaxAutoMatchingPlayers($maxAutoMatchingPlayers)
5968    {
5969      $this->maxAutoMatchingPlayers = $maxAutoMatchingPlayers;
5970    }
5971    public function getMaxAutoMatchingPlayers()
5972    {
5973      return $this->maxAutoMatchingPlayers;
5974    }
5975    public function setMinAutoMatchingPlayers($minAutoMatchingPlayers)
5976    {
5977      $this->minAutoMatchingPlayers = $minAutoMatchingPlayers;
5978    }
5979    public function getMinAutoMatchingPlayers()
5980    {
5981      return $this->minAutoMatchingPlayers;
5982    }
5983  }
5984  
5985  #[AllowDynamicProperties]
5986  class Google_Service_Games_RoomClientAddress extends Google_Model
5987  {
5988    protected $internal_gapi_mappings = array(
5989    );
5990    public $kind;
5991    public $xmppAddress;
5992  
5993  
5994    public function setKind($kind)
5995    {
5996      $this->kind = $kind;
5997    }
5998    public function getKind()
5999    {
6000      return $this->kind;
6001    }
6002    public function setXmppAddress($xmppAddress)
6003    {
6004      $this->xmppAddress = $xmppAddress;
6005    }
6006    public function getXmppAddress()
6007    {
6008      return $this->xmppAddress;
6009    }
6010  }
6011  
6012  #[AllowDynamicProperties]
6013  class Google_Service_Games_RoomCreateRequest extends Google_Collection
6014  {
6015    protected $collection_key = 'invitedPlayerIds';
6016    protected $internal_gapi_mappings = array(
6017    );
6018    protected $autoMatchingCriteriaType = 'Google_Service_Games_RoomAutoMatchingCriteria';
6019    protected $autoMatchingCriteriaDataType = '';
6020    public $capabilities;
6021    protected $clientAddressType = 'Google_Service_Games_RoomClientAddress';
6022    protected $clientAddressDataType = '';
6023    public $invitedPlayerIds;
6024    public $kind;
6025    protected $networkDiagnosticsType = 'Google_Service_Games_NetworkDiagnostics';
6026    protected $networkDiagnosticsDataType = '';
6027    public $requestId;
6028    public $variant;
6029  
6030  
6031    public function setAutoMatchingCriteria(Google_Service_Games_RoomAutoMatchingCriteria $autoMatchingCriteria)
6032    {
6033      $this->autoMatchingCriteria = $autoMatchingCriteria;
6034    }
6035    public function getAutoMatchingCriteria()
6036    {
6037      return $this->autoMatchingCriteria;
6038    }
6039    public function setCapabilities($capabilities)
6040    {
6041      $this->capabilities = $capabilities;
6042    }
6043    public function getCapabilities()
6044    {
6045      return $this->capabilities;
6046    }
6047    public function setClientAddress(Google_Service_Games_RoomClientAddress $clientAddress)
6048    {
6049      $this->clientAddress = $clientAddress;
6050    }
6051    public function getClientAddress()
6052    {
6053      return $this->clientAddress;
6054    }
6055    public function setInvitedPlayerIds($invitedPlayerIds)
6056    {
6057      $this->invitedPlayerIds = $invitedPlayerIds;
6058    }
6059    public function getInvitedPlayerIds()
6060    {
6061      return $this->invitedPlayerIds;
6062    }
6063    public function setKind($kind)
6064    {
6065      $this->kind = $kind;
6066    }
6067    public function getKind()
6068    {
6069      return $this->kind;
6070    }
6071    public function setNetworkDiagnostics(Google_Service_Games_NetworkDiagnostics $networkDiagnostics)
6072    {
6073      $this->networkDiagnostics = $networkDiagnostics;
6074    }
6075    public function getNetworkDiagnostics()
6076    {
6077      return $this->networkDiagnostics;
6078    }
6079    public function setRequestId($requestId)
6080    {
6081      $this->requestId = $requestId;
6082    }
6083    public function getRequestId()
6084    {
6085      return $this->requestId;
6086    }
6087    public function setVariant($variant)
6088    {
6089      $this->variant = $variant;
6090    }
6091    public function getVariant()
6092    {
6093      return $this->variant;
6094    }
6095  }
6096  
6097  #[AllowDynamicProperties]
6098  class Google_Service_Games_RoomJoinRequest extends Google_Collection
6099  {
6100    protected $collection_key = 'capabilities';
6101    protected $internal_gapi_mappings = array(
6102    );
6103    public $capabilities;
6104    protected $clientAddressType = 'Google_Service_Games_RoomClientAddress';
6105    protected $clientAddressDataType = '';
6106    public $kind;
6107    protected $networkDiagnosticsType = 'Google_Service_Games_NetworkDiagnostics';
6108    protected $networkDiagnosticsDataType = '';
6109  
6110  
6111    public function setCapabilities($capabilities)
6112    {
6113      $this->capabilities = $capabilities;
6114    }
6115    public function getCapabilities()
6116    {
6117      return $this->capabilities;
6118    }
6119    public function setClientAddress(Google_Service_Games_RoomClientAddress $clientAddress)
6120    {
6121      $this->clientAddress = $clientAddress;
6122    }
6123    public function getClientAddress()
6124    {
6125      return $this->clientAddress;
6126    }
6127    public function setKind($kind)
6128    {
6129      $this->kind = $kind;
6130    }
6131    public function getKind()
6132    {
6133      return $this->kind;
6134    }
6135    public function setNetworkDiagnostics(Google_Service_Games_NetworkDiagnostics $networkDiagnostics)
6136    {
6137      $this->networkDiagnostics = $networkDiagnostics;
6138    }
6139    public function getNetworkDiagnostics()
6140    {
6141      return $this->networkDiagnostics;
6142    }
6143  }
6144  
6145  #[AllowDynamicProperties]
6146  class Google_Service_Games_RoomLeaveDiagnostics extends Google_Collection
6147  {
6148    protected $collection_key = 'peerSession';
6149    protected $internal_gapi_mappings = array(
6150    );
6151    public $androidNetworkSubtype;
6152    public $androidNetworkType;
6153    public $iosNetworkType;
6154    public $kind;
6155    public $networkOperatorCode;
6156    public $networkOperatorName;
6157    protected $peerSessionType = 'Google_Service_Games_PeerSessionDiagnostics';
6158    protected $peerSessionDataType = 'array';
6159    public $socketsUsed;
6160  
6161  
6162    public function setAndroidNetworkSubtype($androidNetworkSubtype)
6163    {
6164      $this->androidNetworkSubtype = $androidNetworkSubtype;
6165    }
6166    public function getAndroidNetworkSubtype()
6167    {
6168      return $this->androidNetworkSubtype;
6169    }
6170    public function setAndroidNetworkType($androidNetworkType)
6171    {
6172      $this->androidNetworkType = $androidNetworkType;
6173    }
6174    public function getAndroidNetworkType()
6175    {
6176      return $this->androidNetworkType;
6177    }
6178    public function setIosNetworkType($iosNetworkType)
6179    {
6180      $this->iosNetworkType = $iosNetworkType;
6181    }
6182    public function getIosNetworkType()
6183    {
6184      return $this->iosNetworkType;
6185    }
6186    public function setKind($kind)
6187    {
6188      $this->kind = $kind;
6189    }
6190    public function getKind()
6191    {
6192      return $this->kind;
6193    }
6194    public function setNetworkOperatorCode($networkOperatorCode)
6195    {
6196      $this->networkOperatorCode = $networkOperatorCode;
6197    }
6198    public function getNetworkOperatorCode()
6199    {
6200      return $this->networkOperatorCode;
6201    }
6202    public function setNetworkOperatorName($networkOperatorName)
6203    {
6204      $this->networkOperatorName = $networkOperatorName;
6205    }
6206    public function getNetworkOperatorName()
6207    {
6208      return $this->networkOperatorName;
6209    }
6210    public function setPeerSession($peerSession)
6211    {
6212      $this->peerSession = $peerSession;
6213    }
6214    public function getPeerSession()
6215    {
6216      return $this->peerSession;
6217    }
6218    public function setSocketsUsed($socketsUsed)
6219    {
6220      $this->socketsUsed = $socketsUsed;
6221    }
6222    public function getSocketsUsed()
6223    {
6224      return $this->socketsUsed;
6225    }
6226  }
6227  
6228  #[AllowDynamicProperties]
6229  class Google_Service_Games_RoomLeaveRequest extends Google_Model
6230  {
6231    protected $internal_gapi_mappings = array(
6232    );
6233    public $kind;
6234    protected $leaveDiagnosticsType = 'Google_Service_Games_RoomLeaveDiagnostics';
6235    protected $leaveDiagnosticsDataType = '';
6236    public $reason;
6237  
6238  
6239    public function setKind($kind)
6240    {
6241      $this->kind = $kind;
6242    }
6243    public function getKind()
6244    {
6245      return $this->kind;
6246    }
6247    public function setLeaveDiagnostics(Google_Service_Games_RoomLeaveDiagnostics $leaveDiagnostics)
6248    {
6249      $this->leaveDiagnostics = $leaveDiagnostics;
6250    }
6251    public function getLeaveDiagnostics()
6252    {
6253      return $this->leaveDiagnostics;
6254    }
6255    public function setReason($reason)
6256    {
6257      $this->reason = $reason;
6258    }
6259    public function getReason()
6260    {
6261      return $this->reason;
6262    }
6263  }
6264  
6265  #[AllowDynamicProperties]
6266  class Google_Service_Games_RoomList extends Google_Collection
6267  {
6268    protected $collection_key = 'items';
6269    protected $internal_gapi_mappings = array(
6270    );
6271    protected $itemsType = 'Google_Service_Games_Room';
6272    protected $itemsDataType = 'array';
6273    public $kind;
6274    public $nextPageToken;
6275  
6276  
6277    public function setItems($items)
6278    {
6279      $this->items = $items;
6280    }
6281    public function getItems()
6282    {
6283      return $this->items;
6284    }
6285    public function setKind($kind)
6286    {
6287      $this->kind = $kind;
6288    }
6289    public function getKind()
6290    {
6291      return $this->kind;
6292    }
6293    public function setNextPageToken($nextPageToken)
6294    {
6295      $this->nextPageToken = $nextPageToken;
6296    }
6297    public function getNextPageToken()
6298    {
6299      return $this->nextPageToken;
6300    }
6301  }
6302  
6303  #[AllowDynamicProperties]
6304  class Google_Service_Games_RoomModification extends Google_Model
6305  {
6306    protected $internal_gapi_mappings = array(
6307    );
6308    public $kind;
6309    public $modifiedTimestampMillis;
6310    public $participantId;
6311  
6312  
6313    public function setKind($kind)
6314    {
6315      $this->kind = $kind;
6316    }
6317    public function getKind()
6318    {
6319      return $this->kind;
6320    }
6321    public function setModifiedTimestampMillis($modifiedTimestampMillis)
6322    {
6323      $this->modifiedTimestampMillis = $modifiedTimestampMillis;
6324    }
6325    public function getModifiedTimestampMillis()
6326    {
6327      return $this->modifiedTimestampMillis;
6328    }
6329    public function setParticipantId($participantId)
6330    {
6331      $this->participantId = $participantId;
6332    }
6333    public function getParticipantId()
6334    {
6335      return $this->participantId;
6336    }
6337  }
6338  
6339  #[AllowDynamicProperties]
6340  class Google_Service_Games_RoomP2PStatus extends Google_Model
6341  {
6342    protected $internal_gapi_mappings = array(
6343          "errorReason" => "error_reason",
6344    );
6345    public $connectionSetupLatencyMillis;
6346    public $error;
6347    public $errorReason;
6348    public $kind;
6349    public $participantId;
6350    public $status;
6351    public $unreliableRoundtripLatencyMillis;
6352  
6353  
6354    public function setConnectionSetupLatencyMillis($connectionSetupLatencyMillis)
6355    {
6356      $this->connectionSetupLatencyMillis = $connectionSetupLatencyMillis;
6357    }
6358    public function getConnectionSetupLatencyMillis()
6359    {
6360      return $this->connectionSetupLatencyMillis;
6361    }
6362    public function setError($error)
6363    {
6364      $this->error = $error;
6365    }
6366    public function getError()
6367    {
6368      return $this->error;
6369    }
6370    public function setErrorReason($errorReason)
6371    {
6372      $this->errorReason = $errorReason;
6373    }
6374    public function getErrorReason()
6375    {
6376      return $this->errorReason;
6377    }
6378    public function setKind($kind)
6379    {
6380      $this->kind = $kind;
6381    }
6382    public function getKind()
6383    {
6384      return $this->kind;
6385    }
6386    public function setParticipantId($participantId)
6387    {
6388      $this->participantId = $participantId;
6389    }
6390    public function getParticipantId()
6391    {
6392      return $this->participantId;
6393    }
6394    public function setStatus($status)
6395    {
6396      $this->status = $status;
6397    }
6398    public function getStatus()
6399    {
6400      return $this->status;
6401    }
6402    public function setUnreliableRoundtripLatencyMillis($unreliableRoundtripLatencyMillis)
6403    {
6404      $this->unreliableRoundtripLatencyMillis = $unreliableRoundtripLatencyMillis;
6405    }
6406    public function getUnreliableRoundtripLatencyMillis()
6407    {
6408      return $this->unreliableRoundtripLatencyMillis;
6409    }
6410  }
6411  
6412  #[AllowDynamicProperties]
6413  class Google_Service_Games_RoomP2PStatuses extends Google_Collection
6414  {
6415    protected $collection_key = 'updates';
6416    protected $internal_gapi_mappings = array(
6417    );
6418    public $kind;
6419    protected $updatesType = 'Google_Service_Games_RoomP2PStatus';
6420    protected $updatesDataType = 'array';
6421  
6422  
6423    public function setKind($kind)
6424    {
6425      $this->kind = $kind;
6426    }
6427    public function getKind()
6428    {
6429      return $this->kind;
6430    }
6431    public function setUpdates($updates)
6432    {
6433      $this->updates = $updates;
6434    }
6435    public function getUpdates()
6436    {
6437      return $this->updates;
6438    }
6439  }
6440  
6441  #[AllowDynamicProperties]
6442  class Google_Service_Games_RoomParticipant extends Google_Collection
6443  {
6444    protected $collection_key = 'capabilities';
6445    protected $internal_gapi_mappings = array(
6446    );
6447    public $autoMatched;
6448    protected $autoMatchedPlayerType = 'Google_Service_Games_AnonymousPlayer';
6449    protected $autoMatchedPlayerDataType = '';
6450    public $capabilities;
6451    protected $clientAddressType = 'Google_Service_Games_RoomClientAddress';
6452    protected $clientAddressDataType = '';
6453    public $connected;
6454    public $id;
6455    public $kind;
6456    public $leaveReason;
6457    protected $playerType = 'Google_Service_Games_Player';
6458    protected $playerDataType = '';
6459    public $status;
6460  
6461  
6462    public function setAutoMatched($autoMatched)
6463    {
6464      $this->autoMatched = $autoMatched;
6465    }
6466    public function getAutoMatched()
6467    {
6468      return $this->autoMatched;
6469    }
6470    public function setAutoMatchedPlayer(Google_Service_Games_AnonymousPlayer $autoMatchedPlayer)
6471    {
6472      $this->autoMatchedPlayer = $autoMatchedPlayer;
6473    }
6474    public function getAutoMatchedPlayer()
6475    {
6476      return $this->autoMatchedPlayer;
6477    }
6478    public function setCapabilities($capabilities)
6479    {
6480      $this->capabilities = $capabilities;
6481    }
6482    public function getCapabilities()
6483    {
6484      return $this->capabilities;
6485    }
6486    public function setClientAddress(Google_Service_Games_RoomClientAddress $clientAddress)
6487    {
6488      $this->clientAddress = $clientAddress;
6489    }
6490    public function getClientAddress()
6491    {
6492      return $this->clientAddress;
6493    }
6494    public function setConnected($connected)
6495    {
6496      $this->connected = $connected;
6497    }
6498    public function getConnected()
6499    {
6500      return $this->connected;
6501    }
6502    public function setId($id)
6503    {
6504      $this->id = $id;
6505    }
6506    public function getId()
6507    {
6508      return $this->id;
6509    }
6510    public function setKind($kind)
6511    {
6512      $this->kind = $kind;
6513    }
6514    public function getKind()
6515    {
6516      return $this->kind;
6517    }
6518    public function setLeaveReason($leaveReason)
6519    {
6520      $this->leaveReason = $leaveReason;
6521    }
6522    public function getLeaveReason()
6523    {
6524      return $this->leaveReason;
6525    }
6526    public function setPlayer(Google_Service_Games_Player $player)
6527    {
6528      $this->player = $player;
6529    }
6530    public function getPlayer()
6531    {
6532      return $this->player;
6533    }
6534    public function setStatus($status)
6535    {
6536      $this->status = $status;
6537    }
6538    public function getStatus()
6539    {
6540      return $this->status;
6541    }
6542  }
6543  
6544  #[AllowDynamicProperties]
6545  class Google_Service_Games_RoomStatus extends Google_Collection
6546  {
6547    protected $collection_key = 'participants';
6548    protected $internal_gapi_mappings = array(
6549    );
6550    protected $autoMatchingStatusType = 'Google_Service_Games_RoomAutoMatchStatus';
6551    protected $autoMatchingStatusDataType = '';
6552    public $kind;
6553    protected $participantsType = 'Google_Service_Games_RoomParticipant';
6554    protected $participantsDataType = 'array';
6555    public $roomId;
6556    public $status;
6557    public $statusVersion;
6558  
6559  
6560    public function setAutoMatchingStatus(Google_Service_Games_RoomAutoMatchStatus $autoMatchingStatus)
6561    {
6562      $this->autoMatchingStatus = $autoMatchingStatus;
6563    }
6564    public function getAutoMatchingStatus()
6565    {
6566      return $this->autoMatchingStatus;
6567    }
6568    public function setKind($kind)
6569    {
6570      $this->kind = $kind;
6571    }
6572    public function getKind()
6573    {
6574      return $this->kind;
6575    }
6576    public function setParticipants($participants)
6577    {
6578      $this->participants = $participants;
6579    }
6580    public function getParticipants()
6581    {
6582      return $this->participants;
6583    }
6584    public function setRoomId($roomId)
6585    {
6586      $this->roomId = $roomId;
6587    }
6588    public function getRoomId()
6589    {
6590      return $this->roomId;
6591    }
6592    public function setStatus($status)
6593    {
6594      $this->status = $status;
6595    }
6596    public function getStatus()
6597    {
6598      return $this->status;
6599    }
6600    public function setStatusVersion($statusVersion)
6601    {
6602      $this->statusVersion = $statusVersion;
6603    }
6604    public function getStatusVersion()
6605    {
6606      return $this->statusVersion;
6607    }
6608  }
6609  
6610  #[AllowDynamicProperties]
6611  class Google_Service_Games_ScoreSubmission extends Google_Model
6612  {
6613    protected $internal_gapi_mappings = array(
6614    );
6615    public $kind;
6616    public $leaderboardId;
6617    public $score;
6618    public $scoreTag;
6619    public $signature;
6620  
6621  
6622    public function setKind($kind)
6623    {
6624      $this->kind = $kind;
6625    }
6626    public function getKind()
6627    {
6628      return $this->kind;
6629    }
6630    public function setLeaderboardId($leaderboardId)
6631    {
6632      $this->leaderboardId = $leaderboardId;
6633    }
6634    public function getLeaderboardId()
6635    {
6636      return $this->leaderboardId;
6637    }
6638    public function setScore($score)
6639    {
6640      $this->score = $score;
6641    }
6642    public function getScore()
6643    {
6644      return $this->score;
6645    }
6646    public function setScoreTag($scoreTag)
6647    {
6648      $this->scoreTag = $scoreTag;
6649    }
6650    public function getScoreTag()
6651    {
6652      return $this->scoreTag;
6653    }
6654    public function setSignature($signature)
6655    {
6656      $this->signature = $signature;
6657    }
6658    public function getSignature()
6659    {
6660      return $this->signature;
6661    }
6662  }
6663  
6664  #[AllowDynamicProperties]
6665  class Google_Service_Games_Snapshot extends Google_Model
6666  {
6667    protected $internal_gapi_mappings = array(
6668    );
6669    protected $coverImageType = 'Google_Service_Games_SnapshotImage';
6670    protected $coverImageDataType = '';
6671    public $description;
6672    public $driveId;
6673    public $durationMillis;
6674    public $id;
6675    public $kind;
6676    public $lastModifiedMillis;
6677    public $progressValue;
6678    public $title;
6679    public $type;
6680    public $uniqueName;
6681  
6682  
6683    public function setCoverImage(Google_Service_Games_SnapshotImage $coverImage)
6684    {
6685      $this->coverImage = $coverImage;
6686    }
6687    public function getCoverImage()
6688    {
6689      return $this->coverImage;
6690    }
6691    public function setDescription($description)
6692    {
6693      $this->description = $description;
6694    }
6695    public function getDescription()
6696    {
6697      return $this->description;
6698    }
6699    public function setDriveId($driveId)
6700    {
6701      $this->driveId = $driveId;
6702    }
6703    public function getDriveId()
6704    {
6705      return $this->driveId;
6706    }
6707    public function setDurationMillis($durationMillis)
6708    {
6709      $this->durationMillis = $durationMillis;
6710    }
6711    public function getDurationMillis()
6712    {
6713      return $this->durationMillis;
6714    }
6715    public function setId($id)
6716    {
6717      $this->id = $id;
6718    }
6719    public function getId()
6720    {
6721      return $this->id;
6722    }
6723    public function setKind($kind)
6724    {
6725      $this->kind = $kind;
6726    }
6727    public function getKind()
6728    {
6729      return $this->kind;
6730    }
6731    public function setLastModifiedMillis($lastModifiedMillis)
6732    {
6733      $this->lastModifiedMillis = $lastModifiedMillis;
6734    }
6735    public function getLastModifiedMillis()
6736    {
6737      return $this->lastModifiedMillis;
6738    }
6739    public function setProgressValue($progressValue)
6740    {
6741      $this->progressValue = $progressValue;
6742    }
6743    public function getProgressValue()
6744    {
6745      return $this->progressValue;
6746    }
6747    public function setTitle($title)
6748    {
6749      $this->title = $title;
6750    }
6751    public function getTitle()
6752    {
6753      return $this->title;
6754    }
6755    public function setType($type)
6756    {
6757      $this->type = $type;
6758    }
6759    public function getType()
6760    {
6761      return $this->type;
6762    }
6763    public function setUniqueName($uniqueName)
6764    {
6765      $this->uniqueName = $uniqueName;
6766    }
6767    public function getUniqueName()
6768    {
6769      return $this->uniqueName;
6770    }
6771  }
6772  
6773  #[AllowDynamicProperties]
6774  class Google_Service_Games_SnapshotImage extends Google_Model
6775  {
6776    protected $internal_gapi_mappings = array(
6777          "mimeType" => "mime_type",
6778    );
6779    public $height;
6780    public $kind;
6781    public $mimeType;
6782    public $url;
6783    public $width;
6784  
6785  
6786    public function setHeight($height)
6787    {
6788      $this->height = $height;
6789    }
6790    public function getHeight()
6791    {
6792      return $this->height;
6793    }
6794    public function setKind($kind)
6795    {
6796      $this->kind = $kind;
6797    }
6798    public function getKind()
6799    {
6800      return $this->kind;
6801    }
6802    public function setMimeType($mimeType)
6803    {
6804      $this->mimeType = $mimeType;
6805    }
6806    public function getMimeType()
6807    {
6808      return $this->mimeType;
6809    }
6810    public function setUrl($url)
6811    {
6812      $this->url = $url;
6813    }
6814    public function getUrl()
6815    {
6816      return $this->url;
6817    }
6818    public function setWidth($width)
6819    {
6820      $this->width = $width;
6821    }
6822    public function getWidth()
6823    {
6824      return $this->width;
6825    }
6826  }
6827  
6828  #[AllowDynamicProperties]
6829  class Google_Service_Games_SnapshotListResponse extends Google_Collection
6830  {
6831    protected $collection_key = 'items';
6832    protected $internal_gapi_mappings = array(
6833    );
6834    protected $itemsType = 'Google_Service_Games_Snapshot';
6835    protected $itemsDataType = 'array';
6836    public $kind;
6837    public $nextPageToken;
6838  
6839  
6840    public function setItems($items)
6841    {
6842      $this->items = $items;
6843    }
6844    public function getItems()
6845    {
6846      return $this->items;
6847    }
6848    public function setKind($kind)
6849    {
6850      $this->kind = $kind;
6851    }
6852    public function getKind()
6853    {
6854      return $this->kind;
6855    }
6856    public function setNextPageToken($nextPageToken)
6857    {
6858      $this->nextPageToken = $nextPageToken;
6859    }
6860    public function getNextPageToken()
6861    {
6862      return $this->nextPageToken;
6863    }
6864  }
6865  
6866  #[AllowDynamicProperties]
6867  class Google_Service_Games_TurnBasedAutoMatchingCriteria extends Google_Model
6868  {
6869    protected $internal_gapi_mappings = array(
6870    );
6871    public $exclusiveBitmask;
6872    public $kind;
6873    public $maxAutoMatchingPlayers;
6874    public $minAutoMatchingPlayers;
6875  
6876  
6877    public function setExclusiveBitmask($exclusiveBitmask)
6878    {
6879      $this->exclusiveBitmask = $exclusiveBitmask;
6880    }
6881    public function getExclusiveBitmask()
6882    {
6883      return $this->exclusiveBitmask;
6884    }
6885    public function setKind($kind)
6886    {
6887      $this->kind = $kind;
6888    }
6889    public function getKind()
6890    {
6891      return $this->kind;
6892    }
6893    public function setMaxAutoMatchingPlayers($maxAutoMatchingPlayers)
6894    {
6895      $this->maxAutoMatchingPlayers = $maxAutoMatchingPlayers;
6896    }
6897    public function getMaxAutoMatchingPlayers()
6898    {
6899      return $this->maxAutoMatchingPlayers;
6900    }
6901    public function setMinAutoMatchingPlayers($minAutoMatchingPlayers)
6902    {
6903      $this->minAutoMatchingPlayers = $minAutoMatchingPlayers;
6904    }
6905    public function getMinAutoMatchingPlayers()
6906    {
6907      return $this->minAutoMatchingPlayers;
6908    }
6909  }
6910  
6911  #[AllowDynamicProperties]
6912  class Google_Service_Games_TurnBasedMatch extends Google_Collection
6913  {
6914    protected $collection_key = 'results';
6915    protected $internal_gapi_mappings = array(
6916    );
6917    public $applicationId;
6918    protected $autoMatchingCriteriaType = 'Google_Service_Games_TurnBasedAutoMatchingCriteria';
6919    protected $autoMatchingCriteriaDataType = '';
6920    protected $creationDetailsType = 'Google_Service_Games_TurnBasedMatchModification';
6921    protected $creationDetailsDataType = '';
6922    protected $dataType = 'Google_Service_Games_TurnBasedMatchData';
6923    protected $dataDataType = '';
6924    public $description;
6925    public $inviterId;
6926    public $kind;
6927    protected $lastUpdateDetailsType = 'Google_Service_Games_TurnBasedMatchModification';
6928    protected $lastUpdateDetailsDataType = '';
6929    public $matchId;
6930    public $matchNumber;
6931    public $matchVersion;
6932    protected $participantsType = 'Google_Service_Games_TurnBasedMatchParticipant';
6933    protected $participantsDataType = 'array';
6934    public $pendingParticipantId;
6935    protected $previousMatchDataType = 'Google_Service_Games_TurnBasedMatchData';
6936    protected $previousMatchDataDataType = '';
6937    public $rematchId;
6938    protected $resultsType = 'Google_Service_Games_ParticipantResult';
6939    protected $resultsDataType = 'array';
6940    public $status;
6941    public $userMatchStatus;
6942    public $variant;
6943    public $withParticipantId;
6944  
6945  
6946    public function setApplicationId($applicationId)
6947    {
6948      $this->applicationId = $applicationId;
6949    }
6950    public function getApplicationId()
6951    {
6952      return $this->applicationId;
6953    }
6954    public function setAutoMatchingCriteria(Google_Service_Games_TurnBasedAutoMatchingCriteria $autoMatchingCriteria)
6955    {
6956      $this->autoMatchingCriteria = $autoMatchingCriteria;
6957    }
6958    public function getAutoMatchingCriteria()
6959    {
6960      return $this->autoMatchingCriteria;
6961    }
6962    public function setCreationDetails(Google_Service_Games_TurnBasedMatchModification $creationDetails)
6963    {
6964      $this->creationDetails = $creationDetails;
6965    }
6966    public function getCreationDetails()
6967    {
6968      return $this->creationDetails;
6969    }
6970    public function setData(Google_Service_Games_TurnBasedMatchData $data)
6971    {
6972      $this->data = $data;
6973    }
6974    public function getData()
6975    {
6976      return $this->data;
6977    }
6978    public function setDescription($description)
6979    {
6980      $this->description = $description;
6981    }
6982    public function getDescription()
6983    {
6984      return $this->description;
6985    }
6986    public function setInviterId($inviterId)
6987    {
6988      $this->inviterId = $inviterId;
6989    }
6990    public function getInviterId()
6991    {
6992      return $this->inviterId;
6993    }
6994    public function setKind($kind)
6995    {
6996      $this->kind = $kind;
6997    }
6998    public function getKind()
6999    {
7000      return $this->kind;
7001    }
7002    public function setLastUpdateDetails(Google_Service_Games_TurnBasedMatchModification $lastUpdateDetails)
7003    {
7004      $this->lastUpdateDetails = $lastUpdateDetails;
7005    }
7006    public function getLastUpdateDetails()
7007    {
7008      return $this->lastUpdateDetails;
7009    }
7010    public function setMatchId($matchId)
7011    {
7012      $this->matchId = $matchId;
7013    }
7014    public function getMatchId()
7015    {
7016      return $this->matchId;
7017    }
7018    public function setMatchNumber($matchNumber)
7019    {
7020      $this->matchNumber = $matchNumber;
7021    }
7022    public function getMatchNumber()
7023    {
7024      return $this->matchNumber;
7025    }
7026    public function setMatchVersion($matchVersion)
7027    {
7028      $this->matchVersion = $matchVersion;
7029    }
7030    public function getMatchVersion()
7031    {
7032      return $this->matchVersion;
7033    }
7034    public function setParticipants($participants)
7035    {
7036      $this->participants = $participants;
7037    }
7038    public function getParticipants()
7039    {
7040      return $this->participants;
7041    }
7042    public function setPendingParticipantId($pendingParticipantId)
7043    {
7044      $this->pendingParticipantId = $pendingParticipantId;
7045    }
7046    public function getPendingParticipantId()
7047    {
7048      return $this->pendingParticipantId;
7049    }
7050    public function setPreviousMatchData(Google_Service_Games_TurnBasedMatchData $previousMatchData)
7051    {
7052      $this->previousMatchData = $previousMatchData;
7053    }
7054    public function getPreviousMatchData()
7055    {
7056      return $this->previousMatchData;
7057    }
7058    public function setRematchId($rematchId)
7059    {
7060      $this->rematchId = $rematchId;
7061    }
7062    public function getRematchId()
7063    {
7064      return $this->rematchId;
7065    }
7066    public function setResults($results)
7067    {
7068      $this->results = $results;
7069    }
7070    public function getResults()
7071    {
7072      return $this->results;
7073    }
7074    public function setStatus($status)
7075    {
7076      $this->status = $status;
7077    }
7078    public function getStatus()
7079    {
7080      return $this->status;
7081    }
7082    public function setUserMatchStatus($userMatchStatus)
7083    {
7084      $this->userMatchStatus = $userMatchStatus;
7085    }
7086    public function getUserMatchStatus()
7087    {
7088      return $this->userMatchStatus;
7089    }
7090    public function setVariant($variant)
7091    {
7092      $this->variant = $variant;
7093    }
7094    public function getVariant()
7095    {
7096      return $this->variant;
7097    }
7098    public function setWithParticipantId($withParticipantId)
7099    {
7100      $this->withParticipantId = $withParticipantId;
7101    }
7102    public function getWithParticipantId()
7103    {
7104      return $this->withParticipantId;
7105    }
7106  }
7107  
7108  #[AllowDynamicProperties]
7109  class Google_Service_Games_TurnBasedMatchCreateRequest extends Google_Collection
7110  {
7111    protected $collection_key = 'invitedPlayerIds';
7112    protected $internal_gapi_mappings = array(
7113    );
7114    protected $autoMatchingCriteriaType = 'Google_Service_Games_TurnBasedAutoMatchingCriteria';
7115    protected $autoMatchingCriteriaDataType = '';
7116    public $invitedPlayerIds;
7117    public $kind;
7118    public $requestId;
7119    public $variant;
7120  
7121  
7122    public function setAutoMatchingCriteria(Google_Service_Games_TurnBasedAutoMatchingCriteria $autoMatchingCriteria)
7123    {
7124      $this->autoMatchingCriteria = $autoMatchingCriteria;
7125    }
7126    public function getAutoMatchingCriteria()
7127    {
7128      return $this->autoMatchingCriteria;
7129    }
7130    public function setInvitedPlayerIds($invitedPlayerIds)
7131    {
7132      $this->invitedPlayerIds = $invitedPlayerIds;
7133    }
7134    public function getInvitedPlayerIds()
7135    {
7136      return $this->invitedPlayerIds;
7137    }
7138    public function setKind($kind)
7139    {
7140      $this->kind = $kind;
7141    }
7142    public function getKind()
7143    {
7144      return $this->kind;
7145    }
7146    public function setRequestId($requestId)
7147    {
7148      $this->requestId = $requestId;
7149    }
7150    public function getRequestId()
7151    {
7152      return $this->requestId;
7153    }
7154    public function setVariant($variant)
7155    {
7156      $this->variant = $variant;
7157    }
7158    public function getVariant()
7159    {
7160      return $this->variant;
7161    }
7162  }
7163  
7164  #[AllowDynamicProperties]
7165  class Google_Service_Games_TurnBasedMatchData extends Google_Model
7166  {
7167    protected $internal_gapi_mappings = array(
7168    );
7169    public $data;
7170    public $dataAvailable;
7171    public $kind;
7172  
7173  
7174    public function setData($data)
7175    {
7176      $this->data = $data;
7177    }
7178    public function getData()
7179    {
7180      return $this->data;
7181    }
7182    public function setDataAvailable($dataAvailable)
7183    {
7184      $this->dataAvailable = $dataAvailable;
7185    }
7186    public function getDataAvailable()
7187    {
7188      return $this->dataAvailable;
7189    }
7190    public function setKind($kind)
7191    {
7192      $this->kind = $kind;
7193    }
7194    public function getKind()
7195    {
7196      return $this->kind;
7197    }
7198  }
7199  
7200  #[AllowDynamicProperties]
7201  class Google_Service_Games_TurnBasedMatchDataRequest extends Google_Model
7202  {
7203    protected $internal_gapi_mappings = array(
7204    );
7205    public $data;
7206    public $kind;
7207  
7208  
7209    public function setData($data)
7210    {
7211      $this->data = $data;
7212    }
7213    public function getData()
7214    {
7215      return $this->data;
7216    }
7217    public function setKind($kind)
7218    {
7219      $this->kind = $kind;
7220    }
7221    public function getKind()
7222    {
7223      return $this->kind;
7224    }
7225  }
7226  
7227  #[AllowDynamicProperties]
7228  class Google_Service_Games_TurnBasedMatchList extends Google_Collection
7229  {
7230    protected $collection_key = 'items';
7231    protected $internal_gapi_mappings = array(
7232    );
7233    protected $itemsType = 'Google_Service_Games_TurnBasedMatch';
7234    protected $itemsDataType = 'array';
7235    public $kind;
7236    public $nextPageToken;
7237  
7238  
7239    public function setItems($items)
7240    {
7241      $this->items = $items;
7242    }
7243    public function getItems()
7244    {
7245      return $this->items;
7246    }
7247    public function setKind($kind)
7248    {
7249      $this->kind = $kind;
7250    }
7251    public function getKind()
7252    {
7253      return $this->kind;
7254    }
7255    public function setNextPageToken($nextPageToken)
7256    {
7257      $this->nextPageToken = $nextPageToken;
7258    }
7259    public function getNextPageToken()
7260    {
7261      return $this->nextPageToken;
7262    }
7263  }
7264  
7265  #[AllowDynamicProperties]
7266  class Google_Service_Games_TurnBasedMatchModification extends Google_Model
7267  {
7268    protected $internal_gapi_mappings = array(
7269    );
7270    public $kind;
7271    public $modifiedTimestampMillis;
7272    public $participantId;
7273  
7274  
7275    public function setKind($kind)
7276    {
7277      $this->kind = $kind;
7278    }
7279    public function getKind()
7280    {
7281      return $this->kind;
7282    }
7283    public function setModifiedTimestampMillis($modifiedTimestampMillis)
7284    {
7285      $this->modifiedTimestampMillis = $modifiedTimestampMillis;
7286    }
7287    public function getModifiedTimestampMillis()
7288    {
7289      return $this->modifiedTimestampMillis;
7290    }
7291    public function setParticipantId($participantId)
7292    {
7293      $this->participantId = $participantId;
7294    }
7295    public function getParticipantId()
7296    {
7297      return $this->participantId;
7298    }
7299  }
7300  
7301  #[AllowDynamicProperties]
7302  class Google_Service_Games_TurnBasedMatchParticipant extends Google_Model
7303  {
7304    protected $internal_gapi_mappings = array(
7305    );
7306    public $autoMatched;
7307    protected $autoMatchedPlayerType = 'Google_Service_Games_AnonymousPlayer';
7308    protected $autoMatchedPlayerDataType = '';
7309    public $id;
7310    public $kind;
7311    protected $playerType = 'Google_Service_Games_Player';
7312    protected $playerDataType = '';
7313    public $status;
7314  
7315  
7316    public function setAutoMatched($autoMatched)
7317    {
7318      $this->autoMatched = $autoMatched;
7319    }
7320    public function getAutoMatched()
7321    {
7322      return $this->autoMatched;
7323    }
7324    public function setAutoMatchedPlayer(Google_Service_Games_AnonymousPlayer $autoMatchedPlayer)
7325    {
7326      $this->autoMatchedPlayer = $autoMatchedPlayer;
7327    }
7328    public function getAutoMatchedPlayer()
7329    {
7330      return $this->autoMatchedPlayer;
7331    }
7332    public function setId($id)
7333    {
7334      $this->id = $id;
7335    }
7336    public function getId()
7337    {
7338      return $this->id;
7339    }
7340    public function setKind($kind)
7341    {
7342      $this->kind = $kind;
7343    }
7344    public function getKind()
7345    {
7346      return $this->kind;
7347    }
7348    public function setPlayer(Google_Service_Games_Player $player)
7349    {
7350      $this->player = $player;
7351    }
7352    public function getPlayer()
7353    {
7354      return $this->player;
7355    }
7356    public function setStatus($status)
7357    {
7358      $this->status = $status;
7359    }
7360    public function getStatus()
7361    {
7362      return $this->status;
7363    }
7364  }
7365  
7366  #[AllowDynamicProperties]
7367  class Google_Service_Games_TurnBasedMatchRematch extends Google_Model
7368  {
7369    protected $internal_gapi_mappings = array(
7370    );
7371    public $kind;
7372    protected $previousMatchType = 'Google_Service_Games_TurnBasedMatch';
7373    protected $previousMatchDataType = '';
7374    protected $rematchType = 'Google_Service_Games_TurnBasedMatch';
7375    protected $rematchDataType = '';
7376  
7377  
7378    public function setKind($kind)
7379    {
7380      $this->kind = $kind;
7381    }
7382    public function getKind()
7383    {
7384      return $this->kind;
7385    }
7386    public function setPreviousMatch(Google_Service_Games_TurnBasedMatch $previousMatch)
7387    {
7388      $this->previousMatch = $previousMatch;
7389    }
7390    public function getPreviousMatch()
7391    {
7392      return $this->previousMatch;
7393    }
7394    public function setRematch(Google_Service_Games_TurnBasedMatch $rematch)
7395    {
7396      $this->rematch = $rematch;
7397    }
7398    public function getRematch()
7399    {
7400      return $this->rematch;
7401    }
7402  }
7403  
7404  #[AllowDynamicProperties]
7405  class Google_Service_Games_TurnBasedMatchResults extends Google_Collection
7406  {
7407    protected $collection_key = 'results';
7408    protected $internal_gapi_mappings = array(
7409    );
7410    protected $dataType = 'Google_Service_Games_TurnBasedMatchDataRequest';
7411    protected $dataDataType = '';
7412    public $kind;
7413    public $matchVersion;
7414    protected $resultsType = 'Google_Service_Games_ParticipantResult';
7415    protected $resultsDataType = 'array';
7416  
7417  
7418    public function setData(Google_Service_Games_TurnBasedMatchDataRequest $data)
7419    {
7420      $this->data = $data;
7421    }
7422    public function getData()
7423    {
7424      return $this->data;
7425    }
7426    public function setKind($kind)
7427    {
7428      $this->kind = $kind;
7429    }
7430    public function getKind()
7431    {
7432      return $this->kind;
7433    }
7434    public function setMatchVersion($matchVersion)
7435    {
7436      $this->matchVersion = $matchVersion;
7437    }
7438    public function getMatchVersion()
7439    {
7440      return $this->matchVersion;
7441    }
7442    public function setResults($results)
7443    {
7444      $this->results = $results;
7445    }
7446    public function getResults()
7447    {
7448      return $this->results;
7449    }
7450  }
7451  
7452  #[AllowDynamicProperties]
7453  class Google_Service_Games_TurnBasedMatchSync extends Google_Collection
7454  {
7455    protected $collection_key = 'items';
7456    protected $internal_gapi_mappings = array(
7457    );
7458    protected $itemsType = 'Google_Service_Games_TurnBasedMatch';
7459    protected $itemsDataType = 'array';
7460    public $kind;
7461    public $moreAvailable;
7462    public $nextPageToken;
7463  
7464  
7465    public function setItems($items)
7466    {
7467      $this->items = $items;
7468    }
7469    public function getItems()
7470    {
7471      return $this->items;
7472    }
7473    public function setKind($kind)
7474    {
7475      $this->kind = $kind;
7476    }
7477    public function getKind()
7478    {
7479      return $this->kind;
7480    }
7481    public function setMoreAvailable($moreAvailable)
7482    {
7483      $this->moreAvailable = $moreAvailable;
7484    }
7485    public function getMoreAvailable()
7486    {
7487      return $this->moreAvailable;
7488    }
7489    public function setNextPageToken($nextPageToken)
7490    {
7491      $this->nextPageToken = $nextPageToken;
7492    }
7493    public function getNextPageToken()
7494    {
7495      return $this->nextPageToken;
7496    }
7497  }
7498  
7499  #[AllowDynamicProperties]
7500  class Google_Service_Games_TurnBasedMatchTurn extends Google_Collection
7501  {
7502    protected $collection_key = 'results';
7503    protected $internal_gapi_mappings = array(
7504    );
7505    protected $dataType = 'Google_Service_Games_TurnBasedMatchDataRequest';
7506    protected $dataDataType = '';
7507    public $kind;
7508    public $matchVersion;
7509    public $pendingParticipantId;
7510    protected $resultsType = 'Google_Service_Games_ParticipantResult';
7511    protected $resultsDataType = 'array';
7512  
7513  
7514    public function setData(Google_Service_Games_TurnBasedMatchDataRequest $data)
7515    {
7516      $this->data = $data;
7517    }
7518    public function getData()
7519    {
7520      return $this->data;
7521    }
7522    public function setKind($kind)
7523    {
7524      $this->kind = $kind;
7525    }
7526    public function getKind()
7527    {
7528      return $this->kind;
7529    }
7530    public function setMatchVersion($matchVersion)
7531    {
7532      $this->matchVersion = $matchVersion;
7533    }
7534    public function getMatchVersion()
7535    {
7536      return $this->matchVersion;
7537    }
7538    public function setPendingParticipantId($pendingParticipantId)
7539    {
7540      $this->pendingParticipantId = $pendingParticipantId;
7541    }
7542    public function getPendingParticipantId()
7543    {
7544      return $this->pendingParticipantId;
7545    }
7546    public function setResults($results)
7547    {
7548      $this->results = $results;
7549    }
7550    public function getResults()
7551    {
7552      return $this->results;
7553    }
7554  }