PluginProbe
Authorizer / 2.6.10
Authorizer v2.6.10
3.15.3 3.15.2 3.15.1 3.15.0 3.14.3 3.14.4 3.14.2 3.14.1 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.10 2.9.11 2.9.12 2.9.13 2.9.2 2.9.3 2.9.6 All 126 releases
authorizer / vendor / google-api-php-client / src / Google / Service / Games.php

Games.php in Authorizer 2.6.10, at vendor/google-api-php-client/src/Google/Service/Games.php

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