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