PluginProbe
Authorizer / 2.2
Authorizer v2.2
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 / inc / google-api-php-client / src / Google / Service / Games.php

Games.php in Authorizer 2.2, at inc/google-api-php-client/src/Google/Service/Games.php

6,016 lines 141.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Copyright 2010 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18 /**
19 * Service definition for Games (v1).
20 *
21 * <p>
22 * The API for Google Play Game Services.
23 * </p>
24 *
25 * <p>
26 * For more information about this service, see the API
27 * <a href="https://developers.google.com/games/services/" target="_blank">Documentation</a>
28 * </p>
29 *
30 * @author Google, Inc.
31 */
32 class Google_Service_Games extends Google_Service
33 {
34 /** Share your Google+ profile information and view and manage your game activity. */
35 const GAMES = "https://www.googleapis.com/auth/games";
36 /** Know your basic profile info and list of people in your circles.. */
37 const PLUS_LOGIN = "https://www.googleapis.com/auth/plus.login";
38
39 public $achievementDefinitions;
40 public $achievements;
41 public $applications;
42 public $leaderboards;
43 public $players;
44 public $pushtokens;
45 public $revisions;
46 public $rooms;
47 public $scores;
48 public $turnBasedMatches;
49
50
51 /**
52 * Constructs the internal representation of the Games service.
53 *
54 * @param Google_Client $client
55 */
56 public function __construct(Google_Client $client)
57 {
58 parent::__construct($client);
59 $this->servicePath = 'games/v1/';
60 $this->version = 'v1';
61 $this->serviceName = 'games';
62
63 $this->achievementDefinitions = new Google_Service_Games_AchievementDefinitions_Resource(
64 $this,
65 $this->serviceName,
66 'achievementDefinitions',
67 array(
68 'methods' => array(
69 'list' => array(
70 'path' => 'achievements',
71 'httpMethod' => 'GET',
72 'parameters' => array(
73 'pageToken' => array(
74 'location' => 'query',
75 'type' => 'string',
76 ),
77 'maxResults' => array(
78 'location' => 'query',
79 'type' => 'integer',
80 ),
81 'language' => array(
82 'location' => 'query',
83 'type' => 'string',
84 ),
85 ),
86 ),
87 )
88 )
89 );
90 $this->achievements = new Google_Service_Games_Achievements_Resource(
91 $this,
92 $this->serviceName,
93 'achievements',
94 array(
95 'methods' => array(
96 'increment' => array(
97 'path' => 'achievements/{achievementId}/increment',
98 'httpMethod' => 'POST',
99 'parameters' => array(
100 'achievementId' => array(
101 'location' => 'path',
102 'type' => 'string',
103 'required' => true,
104 ),
105 'stepsToIncrement' => array(
106 'location' => 'query',
107 'type' => 'integer',
108 'required' => true,
109 ),
110 'requestId' => array(
111 'location' => 'query',
112 'type' => 'string',
113 ),
114 ),
115 ),'list' => array(
116 'path' => 'players/{playerId}/achievements',
117 'httpMethod' => 'GET',
118 'parameters' => array(
119 'playerId' => array(
120 'location' => 'path',
121 'type' => 'string',
122 'required' => true,
123 ),
124 'pageToken' => array(
125 'location' => 'query',
126 'type' => 'string',
127 ),
128 'state' => array(
129 'location' => 'query',
130 'type' => 'string',
131 ),
132 'maxResults' => array(
133 'location' => 'query',
134 'type' => 'integer',
135 ),
136 'language' => array(
137 'location' => 'query',
138 'type' => 'string',
139 ),
140 ),
141 ),'reveal' => array(
142 'path' => 'achievements/{achievementId}/reveal',
143 'httpMethod' => 'POST',
144 'parameters' => array(
145 'achievementId' => array(
146 'location' => 'path',
147 'type' => 'string',
148 'required' => true,
149 ),
150 ),
151 ),'setStepsAtLeast' => array(
152 'path' => 'achievements/{achievementId}/setStepsAtLeast',
153 'httpMethod' => 'POST',
154 'parameters' => array(
155 'achievementId' => array(
156 'location' => 'path',
157 'type' => 'string',
158 'required' => true,
159 ),
160 'steps' => array(
161 'location' => 'query',
162 'type' => 'integer',
163 'required' => true,
164 ),
165 ),
166 ),'unlock' => array(
167 'path' => 'achievements/{achievementId}/unlock',
168 'httpMethod' => 'POST',
169 'parameters' => array(
170 'achievementId' => array(
171 'location' => 'path',
172 'type' => 'string',
173 'required' => true,
174 ),
175 ),
176 ),'updateMultiple' => array(
177 'path' => 'achievements/updateMultiple',
178 'httpMethod' => 'POST',
179 'parameters' => array(),
180 ),
181 )
182 )
183 );
184 $this->applications = new Google_Service_Games_Applications_Resource(
185 $this,
186 $this->serviceName,
187 'applications',
188 array(
189 'methods' => array(
190 'get' => array(
191 'path' => 'applications/{applicationId}',
192 'httpMethod' => 'GET',
193 'parameters' => array(
194 'applicationId' => array(
195 'location' => 'path',
196 'type' => 'string',
197 'required' => true,
198 ),
199 'platformType' => array(
200 'location' => 'query',
201 'type' => 'string',
202 ),
203 'language' => array(
204 'location' => 'query',
205 'type' => 'string',
206 ),
207 ),
208 ),'played' => array(
209 'path' => 'applications/played',
210 'httpMethod' => 'POST',
211 'parameters' => array(),
212 ),
213 )
214 )
215 );
216 $this->leaderboards = new Google_Service_Games_Leaderboards_Resource(
217 $this,
218 $this->serviceName,
219 'leaderboards',
220 array(
221 'methods' => array(
222 'get' => array(
223 'path' => 'leaderboards/{leaderboardId}',
224 'httpMethod' => 'GET',
225 'parameters' => array(
226 'leaderboardId' => array(
227 'location' => 'path',
228 'type' => 'string',
229 'required' => true,
230 ),
231 'language' => array(
232 'location' => 'query',
233 'type' => 'string',
234 ),
235 ),
236 ),'list' => array(
237 'path' => 'leaderboards',
238 'httpMethod' => 'GET',
239 'parameters' => array(
240 'pageToken' => array(
241 'location' => 'query',
242 'type' => 'string',
243 ),
244 'maxResults' => array(
245 'location' => 'query',
246 'type' => 'integer',
247 ),
248 'language' => array(
249 'location' => 'query',
250 'type' => 'string',
251 ),
252 ),
253 ),
254 )
255 )
256 );
257 $this->players = new Google_Service_Games_Players_Resource(
258 $this,
259 $this->serviceName,
260 'players',
261 array(
262 'methods' => array(
263 'get' => array(
264 'path' => 'players/{playerId}',
265 'httpMethod' => 'GET',
266 'parameters' => array(
267 'playerId' => array(
268 'location' => 'path',
269 'type' => 'string',
270 'required' => true,
271 ),
272 'language' => array(
273 'location' => 'query',
274 'type' => 'string',
275 ),
276 ),
277 ),'list' => array(
278 'path' => 'players/me/players/{collection}',
279 'httpMethod' => 'GET',
280 'parameters' => array(
281 'collection' => array(
282 'location' => 'path',
283 'type' => 'string',
284 'required' => true,
285 ),
286 'pageToken' => array(
287 'location' => 'query',
288 'type' => 'string',
289 ),
290 'maxResults' => array(
291 'location' => 'query',
292 'type' => 'integer',
293 ),
294 'language' => array(
295 'location' => 'query',
296 'type' => 'string',
297 ),
298 ),
299 ),
300 )
301 )
302 );
303 $this->pushtokens = new Google_Service_Games_Pushtokens_Resource(
304 $this,
305 $this->serviceName,
306 'pushtokens',
307 array(
308 'methods' => array(
309 'remove' => array(
310 'path' => 'pushtokens/remove',
311 'httpMethod' => 'POST',
312 'parameters' => array(),
313 ),'update' => array(
314 'path' => 'pushtokens',
315 'httpMethod' => 'PUT',
316 'parameters' => array(),
317 ),
318 )
319 )
320 );
321 $this->revisions = new Google_Service_Games_Revisions_Resource(
322 $this,
323 $this->serviceName,
324 'revisions',
325 array(
326 'methods' => array(
327 'check' => array(
328 'path' => 'revisions/check',
329 'httpMethod' => 'GET',
330 'parameters' => array(
331 'clientRevision' => array(
332 'location' => 'query',
333 'type' => 'string',
334 'required' => true,
335 ),
336 ),
337 ),
338 )
339 )
340 );
341 $this->rooms = new Google_Service_Games_Rooms_Resource(
342 $this,
343 $this->serviceName,
344 'rooms',
345 array(
346 'methods' => array(
347 'create' => array(
348 'path' => 'rooms/create',
349 'httpMethod' => 'POST',
350 'parameters' => array(
351 'language' => array(
352 'location' => 'query',
353 'type' => 'string',
354 ),
355 ),
356 ),'decline' => array(
357 'path' => 'rooms/{roomId}/decline',
358 'httpMethod' => 'POST',
359 'parameters' => array(
360 'roomId' => array(
361 'location' => 'path',
362 'type' => 'string',
363 'required' => true,
364 ),
365 'language' => array(
366 'location' => 'query',
367 'type' => 'string',
368 ),
369 ),
370 ),'dismiss' => array(
371 'path' => 'rooms/{roomId}/dismiss',
372 'httpMethod' => 'POST',
373 'parameters' => array(
374 'roomId' => array(
375 'location' => 'path',
376 'type' => 'string',
377 'required' => true,
378 ),
379 ),
380 ),'get' => array(
381 'path' => 'rooms/{roomId}',
382 'httpMethod' => 'GET',
383 'parameters' => array(
384 'roomId' => array(
385 'location' => 'path',
386 'type' => 'string',
387 'required' => true,
388 ),
389 'language' => array(
390 'location' => 'query',
391 'type' => 'string',
392 ),
393 ),
394 ),'join' => array(
395 'path' => 'rooms/{roomId}/join',
396 'httpMethod' => 'POST',
397 'parameters' => array(
398 'roomId' => array(
399 'location' => 'path',
400 'type' => 'string',
401 'required' => true,
402 ),
403 'language' => array(
404 'location' => 'query',
405 'type' => 'string',
406 ),
407 ),
408 ),'leave' => array(
409 'path' => 'rooms/{roomId}/leave',
410 'httpMethod' => 'POST',
411 'parameters' => array(
412 'roomId' => array(
413 'location' => 'path',
414 'type' => 'string',
415 'required' => true,
416 ),
417 'language' => array(
418 'location' => 'query',
419 'type' => 'string',
420 ),
421 ),
422 ),'list' => array(
423 'path' => 'rooms',
424 'httpMethod' => 'GET',
425 'parameters' => array(
426 'pageToken' => array(
427 'location' => 'query',
428 'type' => 'string',
429 ),
430 'maxResults' => array(
431 'location' => 'query',
432 'type' => 'integer',
433 ),
434 'language' => array(
435 'location' => 'query',
436 'type' => 'string',
437 ),
438 ),
439 ),'reportStatus' => array(
440 'path' => 'rooms/{roomId}/reportstatus',
441 'httpMethod' => 'POST',
442 'parameters' => array(
443 'roomId' => array(
444 'location' => 'path',
445 'type' => 'string',
446 'required' => true,
447 ),
448 'language' => array(
449 'location' => 'query',
450 'type' => 'string',
451 ),
452 ),
453 ),
454 )
455 )
456 );
457 $this->scores = new Google_Service_Games_Scores_Resource(
458 $this,
459 $this->serviceName,
460 'scores',
461 array(
462 'methods' => array(
463 'get' => array(
464 'path' => 'players/{playerId}/leaderboards/{leaderboardId}/scores/{timeSpan}',
465 'httpMethod' => 'GET',
466 'parameters' => array(
467 'playerId' => array(
468 'location' => 'path',
469 'type' => 'string',
470 'required' => true,
471 ),
472 'leaderboardId' => array(
473 'location' => 'path',
474 'type' => 'string',
475 'required' => true,
476 ),
477 'timeSpan' => array(
478 'location' => 'path',
479 'type' => 'string',
480 'required' => true,
481 ),
482 'includeRankType' => array(
483 'location' => 'query',
484 'type' => 'string',
485 ),
486 'language' => array(
487 'location' => 'query',
488 'type' => 'string',
489 ),
490 'maxResults' => array(
491 'location' => 'query',
492 'type' => 'integer',
493 ),
494 'pageToken' => array(
495 'location' => 'query',
496 'type' => 'string',
497 ),
498 ),
499 ),'list' => array(
500 'path' => 'leaderboards/{leaderboardId}/scores/{collection}',
501 'httpMethod' => 'GET',
502 'parameters' => array(
503 'leaderboardId' => array(
504 'location' => 'path',
505 'type' => 'string',
506 'required' => true,
507 ),
508 'collection' => array(
509 'location' => 'path',
510 'type' => 'string',
511 'required' => true,
512 ),
513 'timeSpan' => array(
514 'location' => 'query',
515 'type' => 'string',
516 'required' => true,
517 ),
518 'language' => array(
519 'location' => 'query',
520 'type' => 'string',
521 ),
522 'maxResults' => array(
523 'location' => 'query',
524 'type' => 'integer',
525 ),
526 'pageToken' => array(
527 'location' => 'query',
528 'type' => 'string',
529 ),
530 ),
531 ),'listWindow' => array(
532 'path' => 'leaderboards/{leaderboardId}/window/{collection}',
533 'httpMethod' => 'GET',
534 'parameters' => array(
535 'leaderboardId' => array(
536 'location' => 'path',
537 'type' => 'string',
538 'required' => true,
539 ),
540 'collection' => array(
541 'location' => 'path',
542 'type' => 'string',
543 'required' => true,
544 ),
545 'timeSpan' => array(
546 'location' => 'query',
547 'type' => 'string',
548 'required' => true,
549 ),
550 'language' => array(
551 'location' => 'query',
552 'type' => 'string',
553 ),
554 'returnTopIfAbsent' => array(
555 'location' => 'query',
556 'type' => 'boolean',
557 ),
558 'resultsAbove' => array(
559 'location' => 'query',
560 'type' => 'integer',
561 ),
562 'maxResults' => array(
563 'location' => 'query',
564 'type' => 'integer',
565 ),
566 'pageToken' => array(
567 'location' => 'query',
568 'type' => 'string',
569 ),
570 ),
571 ),'submit' => array(
572 'path' => 'leaderboards/{leaderboardId}/scores',
573 'httpMethod' => 'POST',
574 'parameters' => array(
575 'leaderboardId' => array(
576 'location' => 'path',
577 'type' => 'string',
578 'required' => true,
579 ),
580 'score' => array(
581 'location' => 'query',
582 'type' => 'string',
583 'required' => true,
584 ),
585 'language' => array(
586 'location' => 'query',
587 'type' => 'string',
588 ),
589 'scoreTag' => array(
590 'location' => 'query',
591 'type' => 'string',
592 ),
593 ),
594 ),'submitMultiple' => array(
595 'path' => 'leaderboards/scores',
596 'httpMethod' => 'POST',
597 'parameters' => array(
598 'language' => array(
599 'location' => 'query',
600 'type' => 'string',
601 ),
602 ),
603 ),
604 )
605 )
606 );
607 $this->turnBasedMatches = new Google_Service_Games_TurnBasedMatches_Resource(
608 $this,
609 $this->serviceName,
610 'turnBasedMatches',
611 array(
612 'methods' => array(
613 'cancel' => array(
614 'path' => 'turnbasedmatches/{matchId}/cancel',
615 'httpMethod' => 'PUT',
616 'parameters' => array(
617 'matchId' => array(
618 'location' => 'path',
619 'type' => 'string',
620 'required' => true,
621 ),
622 ),
623 ),'create' => array(
624 'path' => 'turnbasedmatches/create',
625 'httpMethod' => 'POST',
626 'parameters' => array(
627 'language' => array(
628 'location' => 'query',
629 'type' => 'string',
630 ),
631 ),
632 ),'decline' => array(
633 'path' => 'turnbasedmatches/{matchId}/decline',
634 'httpMethod' => 'PUT',
635 'parameters' => array(
636 'matchId' => array(
637 'location' => 'path',
638 'type' => 'string',
639 'required' => true,
640 ),
641 'language' => array(
642 'location' => 'query',
643 'type' => 'string',
644 ),
645 ),
646 ),'dismiss' => array(
647 'path' => 'turnbasedmatches/{matchId}/dismiss',
648 'httpMethod' => 'PUT',
649 'parameters' => array(
650 'matchId' => array(
651 'location' => 'path',
652 'type' => 'string',
653 'required' => true,
654 ),
655 ),
656 ),'finish' => array(
657 'path' => 'turnbasedmatches/{matchId}/finish',
658 'httpMethod' => 'PUT',
659 'parameters' => array(
660 'matchId' => array(
661 'location' => 'path',
662 'type' => 'string',
663 'required' => true,
664 ),
665 'language' => array(
666 'location' => 'query',
667 'type' => 'string',
668 ),
669 ),
670 ),'get' => array(
671 'path' => 'turnbasedmatches/{matchId}',
672 'httpMethod' => 'GET',
673 'parameters' => array(
674 'matchId' => array(
675 'location' => 'path',
676 'type' => 'string',
677 'required' => true,
678 ),
679 'language' => array(
680 'location' => 'query',
681 'type' => 'string',
682 ),
683 'includeMatchData' => array(
684 'location' => 'query',
685 'type' => 'boolean',
686 ),
687 ),
688 ),'join' => array(
689 'path' => 'turnbasedmatches/{matchId}/join',
690 'httpMethod' => 'PUT',
691 'parameters' => array(
692 'matchId' => array(
693 'location' => 'path',
694 'type' => 'string',
695 'required' => true,
696 ),
697 'language' => array(
698 'location' => 'query',
699 'type' => 'string',
700 ),
701 ),
702 ),'leave' => array(
703 'path' => 'turnbasedmatches/{matchId}/leave',
704 'httpMethod' => 'PUT',
705 'parameters' => array(
706 'matchId' => array(
707 'location' => 'path',
708 'type' => 'string',
709 'required' => true,
710 ),
711 'language' => array(
712 'location' => 'query',
713 'type' => 'string',
714 ),
715 ),
716 ),'leaveTurn' => array(
717 'path' => 'turnbasedmatches/{matchId}/leaveTurn',
718 'httpMethod' => 'PUT',
719 'parameters' => array(
720 'matchId' => array(
721 'location' => 'path',
722 'type' => 'string',
723 'required' => true,
724 ),
725 'matchVersion' => array(
726 'location' => 'query',
727 'type' => 'integer',
728 'required' => true,
729 ),
730 'language' => array(
731 'location' => 'query',
732 'type' => 'string',
733 ),
734 'pendingParticipantId' => array(
735 'location' => 'query',
736 'type' => 'string',
737 ),
738 ),
739 ),'list' => array(
740 'path' => 'turnbasedmatches',
741 'httpMethod' => 'GET',
742 'parameters' => array(
743 'pageToken' => array(
744 'location' => 'query',
745 'type' => 'string',
746 ),
747 'maxCompletedMatches' => array(
748 'location' => 'query',
749 'type' => 'integer',
750 ),
751 'maxResults' => array(
752 'location' => 'query',
753 'type' => 'integer',
754 ),
755 'language' => array(
756 'location' => 'query',
757 'type' => 'string',
758 ),
759 'includeMatchData' => array(
760 'location' => 'query',
761 'type' => 'boolean',
762 ),
763 ),
764 ),'rematch' => array(
765 'path' => 'turnbasedmatches/{matchId}/rematch',
766 'httpMethod' => 'POST',
767 'parameters' => array(
768 'matchId' => array(
769 'location' => 'path',
770 'type' => 'string',
771 'required' => true,
772 ),
773 'requestId' => array(
774 'location' => 'query',
775 'type' => 'string',
776 ),
777 'language' => array(
778 'location' => 'query',
779 'type' => 'string',
780 ),
781 ),
782 ),'sync' => array(
783 'path' => 'turnbasedmatches/sync',
784 'httpMethod' => 'GET',
785 'parameters' => array(
786 'pageToken' => array(
787 'location' => 'query',
788 'type' => 'string',
789 ),
790 'maxCompletedMatches' => array(
791 'location' => 'query',
792 'type' => 'integer',
793 ),
794 'maxResults' => array(
795 'location' => 'query',
796 'type' => 'integer',
797 ),
798 'language' => array(
799 'location' => 'query',
800 'type' => 'string',
801 ),
802 'includeMatchData' => array(
803 'location' => 'query',
804 'type' => 'boolean',
805 ),
806 ),
807 ),'takeTurn' => array(
808 'path' => 'turnbasedmatches/{matchId}/turn',
809 'httpMethod' => 'PUT',
810 'parameters' => array(
811 'matchId' => array(
812 'location' => 'path',
813 'type' => 'string',
814 'required' => true,
815 ),
816 'language' => array(
817 'location' => 'query',
818 'type' => 'string',
819 ),
820 ),
821 ),
822 )
823 )
824 );
825 }
826 }
827
828
829 /**
830 * The "achievementDefinitions" collection of methods.
831 * Typical usage is:
832 * <code>
833 * $gamesService = new Google_Service_Games(...);
834 * $achievementDefinitions = $gamesService->achievementDefinitions;
835 * </code>
836 */
837 class Google_Service_Games_AchievementDefinitions_Resource extends Google_Service_Resource
838 {
839
840 /**
841 * Lists all the achievement definitions for your application.
842 * (achievementDefinitions.listAchievementDefinitions)
843 *
844 * @param array $optParams Optional parameters.
845 *
846 * @opt_param string pageToken
847 * The token returned by the previous request.
848 * @opt_param int maxResults
849 * The maximum number of achievement resources to return in the response, used for paging. For any
850 * response, the actual number of achievement resources returned may be less than the specified
851 * maxResults.
852 * @opt_param string language
853 * The preferred language to use for strings returned by this method.
854 * @return Google_Service_Games_AchievementDefinitionsListResponse
855 */
856 public function listAchievementDefinitions($optParams = array())
857 {
858 $params = array();
859 $params = array_merge($params, $optParams);
860 return $this->call('list', array($params), "Google_Service_Games_AchievementDefinitionsListResponse");
861 }
862 }
863
864 /**
865 * The "achievements" collection of methods.
866 * Typical usage is:
867 * <code>
868 * $gamesService = new Google_Service_Games(...);
869 * $achievements = $gamesService->achievements;
870 * </code>
871 */
872 class Google_Service_Games_Achievements_Resource extends Google_Service_Resource
873 {
874
875 /**
876 * Increments the steps of the achievement with the given ID for the currently
877 * authenticated player. (achievements.increment)
878 *
879 * @param string $achievementId
880 * The ID of the achievement used by this method.
881 * @param int $stepsToIncrement
882 * The number of steps to increment.
883 * @param array $optParams Optional parameters.
884 *
885 * @opt_param string requestId
886 * A randomly generated numeric ID for each request specified by the caller. This number is used at
887 * the server to ensure that the request is handled correctly across retries.
888 * @return Google_Service_Games_AchievementIncrementResponse
889 */
890 public function increment($achievementId, $stepsToIncrement, $optParams = array())
891 {
892 $params = array('achievementId' => $achievementId, 'stepsToIncrement' => $stepsToIncrement);
893 $params = array_merge($params, $optParams);
894 return $this->call('increment', array($params), "Google_Service_Games_AchievementIncrementResponse");
895 }
896 /**
897 * Lists the progress for all your application's achievements for the currently
898 * authenticated player. (achievements.listAchievements)
899 *
900 * @param string $playerId
901 * A player ID. A value of me may be used in place of the authenticated player's ID.
902 * @param array $optParams Optional parameters.
903 *
904 * @opt_param string pageToken
905 * The token returned by the previous request.
906 * @opt_param string state
907 * Tells the server to return only achievements with the specified state. If this parameter isn't
908 * specified, all achievements are returned.
909 * @opt_param int maxResults
910 * The maximum number of achievement resources to return in the response, used for paging. For any
911 * response, the actual number of achievement resources returned may be less than the specified
912 * maxResults.
913 * @opt_param string language
914 * The preferred language to use for strings returned by this method.
915 * @return Google_Service_Games_PlayerAchievementListResponse
916 */
917 public function listAchievements($playerId, $optParams = array())
918 {
919 $params = array('playerId' => $playerId);
920 $params = array_merge($params, $optParams);
921 return $this->call('list', array($params), "Google_Service_Games_PlayerAchievementListResponse");
922 }
923 /**
924 * Sets the state of the achievement with the given ID to REVEALED for the
925 * currently authenticated player. (achievements.reveal)
926 *
927 * @param string $achievementId
928 * The ID of the achievement used by this method.
929 * @param array $optParams Optional parameters.
930 * @return Google_Service_Games_AchievementRevealResponse
931 */
932 public function reveal($achievementId, $optParams = array())
933 {
934 $params = array('achievementId' => $achievementId);
935 $params = array_merge($params, $optParams);
936 return $this->call('reveal', array($params), "Google_Service_Games_AchievementRevealResponse");
937 }
938 /**
939 * Sets the steps for the currently authenticated player towards unlocking an
940 * achievement. If the steps parameter is less than the current number of steps
941 * that the player already gained for the achievement, the achievement is not
942 * modified. (achievements.setStepsAtLeast)
943 *
944 * @param string $achievementId
945 * The ID of the achievement used by this method.
946 * @param int $steps
947 * The minimum value to set the steps to.
948 * @param array $optParams Optional parameters.
949 * @return Google_Service_Games_AchievementSetStepsAtLeastResponse
950 */
951 public function setStepsAtLeast($achievementId, $steps, $optParams = array())
952 {
953 $params = array('achievementId' => $achievementId, 'steps' => $steps);
954 $params = array_merge($params, $optParams);
955 return $this->call('setStepsAtLeast', array($params), "Google_Service_Games_AchievementSetStepsAtLeastResponse");
956 }
957 /**
958 * Unlocks this achievement for the currently authenticated player.
959 * (achievements.unlock)
960 *
961 * @param string $achievementId
962 * The ID of the achievement used by this method.
963 * @param array $optParams Optional parameters.
964 * @return Google_Service_Games_AchievementUnlockResponse
965 */
966 public function unlock($achievementId, $optParams = array())
967 {
968 $params = array('achievementId' => $achievementId);
969 $params = array_merge($params, $optParams);
970 return $this->call('unlock', array($params), "Google_Service_Games_AchievementUnlockResponse");
971 }
972 /**
973 * Updates multiple achievements for the currently authenticated player.
974 * (achievements.updateMultiple)
975 *
976 * @param Google_AchievementUpdateMultipleRequest $postBody
977 * @param array $optParams Optional parameters.
978 * @return Google_Service_Games_AchievementUpdateMultipleResponse
979 */
980 public function updateMultiple(Google_Service_Games_AchievementUpdateMultipleRequest $postBody, $optParams = array())
981 {
982 $params = array('postBody' => $postBody);
983 $params = array_merge($params, $optParams);
984 return $this->call('updateMultiple', array($params), "Google_Service_Games_AchievementUpdateMultipleResponse");
985 }
986 }
987
988 /**
989 * The "applications" collection of methods.
990 * Typical usage is:
991 * <code>
992 * $gamesService = new Google_Service_Games(...);
993 * $applications = $gamesService->applications;
994 * </code>
995 */
996 class Google_Service_Games_Applications_Resource extends Google_Service_Resource
997 {
998
999 /**
1000 * Retrieves the metadata of the application with the given ID. If the requested
1001 * application is not available for the specified platformType, the returned
1002 * response will not include any instance data. (applications.get)
1003 *
1004 * @param string $applicationId
1005 * The application being requested.
1006 * @param array $optParams Optional parameters.
1007 *
1008 * @opt_param string platformType
1009 * Restrict application details returned to the specific platform.
1010 * @opt_param string language
1011 * The preferred language to use for strings returned by this method.
1012 * @return Google_Service_Games_Application
1013 */
1014 public function get($applicationId, $optParams = array())
1015 {
1016 $params = array('applicationId' => $applicationId);
1017 $params = array_merge($params, $optParams);
1018 return $this->call('get', array($params), "Google_Service_Games_Application");
1019 }
1020 /**
1021 * Indicate that the the currently authenticated user is playing your
1022 * application. (applications.played)
1023 *
1024 * @param array $optParams Optional parameters.
1025 */
1026 public function played($optParams = array())
1027 {
1028 $params = array();
1029 $params = array_merge($params, $optParams);
1030 return $this->call('played', array($params));
1031 }
1032 }
1033
1034 /**
1035 * The "leaderboards" collection of methods.
1036 * Typical usage is:
1037 * <code>
1038 * $gamesService = new Google_Service_Games(...);
1039 * $leaderboards = $gamesService->leaderboards;
1040 * </code>
1041 */
1042 class Google_Service_Games_Leaderboards_Resource extends Google_Service_Resource
1043 {
1044
1045 /**
1046 * Retrieves the metadata of the leaderboard with the given ID.
1047 * (leaderboards.get)
1048 *
1049 * @param string $leaderboardId
1050 * The ID of the leaderboard.
1051 * @param array $optParams Optional parameters.
1052 *
1053 * @opt_param string language
1054 * The preferred language to use for strings returned by this method.
1055 * @return Google_Service_Games_Leaderboard
1056 */
1057 public function get($leaderboardId, $optParams = array())
1058 {
1059 $params = array('leaderboardId' => $leaderboardId);
1060 $params = array_merge($params, $optParams);
1061 return $this->call('get', array($params), "Google_Service_Games_Leaderboard");
1062 }
1063 /**
1064 * Lists all the leaderboard metadata for your application.
1065 * (leaderboards.listLeaderboards)
1066 *
1067 * @param array $optParams Optional parameters.
1068 *
1069 * @opt_param string pageToken
1070 * The token returned by the previous request.
1071 * @opt_param int maxResults
1072 * The maximum number of leaderboards to return in the response. For any response, the actual
1073 * number of leaderboards returned may be less than the specified maxResults.
1074 * @opt_param string language
1075 * The preferred language to use for strings returned by this method.
1076 * @return Google_Service_Games_LeaderboardListResponse
1077 */
1078 public function listLeaderboards($optParams = array())
1079 {
1080 $params = array();
1081 $params = array_merge($params, $optParams);
1082 return $this->call('list', array($params), "Google_Service_Games_LeaderboardListResponse");
1083 }
1084 }
1085
1086 /**
1087 * The "players" collection of methods.
1088 * Typical usage is:
1089 * <code>
1090 * $gamesService = new Google_Service_Games(...);
1091 * $players = $gamesService->players;
1092 * </code>
1093 */
1094 class Google_Service_Games_Players_Resource extends Google_Service_Resource
1095 {
1096
1097 /**
1098 * Retrieves the Player resource with the given ID. To retrieve the player for
1099 * the currently authenticated user, set playerId to me. (players.get)
1100 *
1101 * @param string $playerId
1102 * A player ID. A value of me may be used in place of the authenticated player's ID.
1103 * @param array $optParams Optional parameters.
1104 *
1105 * @opt_param string language
1106 * The preferred language to use for strings returned by this method.
1107 * @return Google_Service_Games_Player
1108 */
1109 public function get($playerId, $optParams = array())
1110 {
1111 $params = array('playerId' => $playerId);
1112 $params = array_merge($params, $optParams);
1113 return $this->call('get', array($params), "Google_Service_Games_Player");
1114 }
1115 /**
1116 * Get the collection of players for the currently authenticated user.
1117 * (players.listPlayers)
1118 *
1119 * @param string $collection
1120 * Collection of players being retrieved
1121 * @param array $optParams Optional parameters.
1122 *
1123 * @opt_param string pageToken
1124 * The token returned by the previous request.
1125 * @opt_param int maxResults
1126 * The maximum number of player resources to return in the response, used for paging. For any
1127 * response, the actual number of player resources returned may be less than the specified
1128 * maxResults.
1129 * @opt_param string language
1130 * The preferred language to use for strings returned by this method.
1131 * @return Google_Service_Games_PlayerListResponse
1132 */
1133 public function listPlayers($collection, $optParams = array())
1134 {
1135 $params = array('collection' => $collection);
1136 $params = array_merge($params, $optParams);
1137 return $this->call('list', array($params), "Google_Service_Games_PlayerListResponse");
1138 }
1139 }
1140
1141 /**
1142 * The "pushtokens" collection of methods.
1143 * Typical usage is:
1144 * <code>
1145 * $gamesService = new Google_Service_Games(...);
1146 * $pushtokens = $gamesService->pushtokens;
1147 * </code>
1148 */
1149 class Google_Service_Games_Pushtokens_Resource extends Google_Service_Resource
1150 {
1151
1152 /**
1153 * Removes a push token for the current user and application. Removing a non-
1154 * existent push token will report success. (pushtokens.remove)
1155 *
1156 * @param Google_PushTokenId $postBody
1157 * @param array $optParams Optional parameters.
1158 */
1159 public function remove(Google_Service_Games_PushTokenId $postBody, $optParams = array())
1160 {
1161 $params = array('postBody' => $postBody);
1162 $params = array_merge($params, $optParams);
1163 return $this->call('remove', array($params));
1164 }
1165 /**
1166 * Registers a push token for the current user and application.
1167 * (pushtokens.update)
1168 *
1169 * @param Google_PushToken $postBody
1170 * @param array $optParams Optional parameters.
1171 */
1172 public function update(Google_Service_Games_PushToken $postBody, $optParams = array())
1173 {
1174 $params = array('postBody' => $postBody);
1175 $params = array_merge($params, $optParams);
1176 return $this->call('update', array($params));
1177 }
1178 }
1179
1180 /**
1181 * The "revisions" collection of methods.
1182 * Typical usage is:
1183 * <code>
1184 * $gamesService = new Google_Service_Games(...);
1185 * $revisions = $gamesService->revisions;
1186 * </code>
1187 */
1188 class Google_Service_Games_Revisions_Resource extends Google_Service_Resource
1189 {
1190
1191 /**
1192 * Checks whether the games client is out of date. (revisions.check)
1193 *
1194 * @param string $clientRevision
1195 * The revision of the client SDK used by your application. Format:
1196 * [PLATFORM_TYPE]:[VERSION_NUMBER]. Possible values of PLATFORM_TYPE are:
1197 - "ANDROID" - Client
1198 * is running the Android SDK.
1199 - "IOS" - Client is running the iOS SDK.
1200 - "WEB_APP" - Client is
1201 * running as a Web App.
1202 * @param array $optParams Optional parameters.
1203 * @return Google_Service_Games_RevisionCheckResponse
1204 */
1205 public function check($clientRevision, $optParams = array())
1206 {
1207 $params = array('clientRevision' => $clientRevision);
1208 $params = array_merge($params, $optParams);
1209 return $this->call('check', array($params), "Google_Service_Games_RevisionCheckResponse");
1210 }
1211 }
1212
1213 /**
1214 * The "rooms" collection of methods.
1215 * Typical usage is:
1216 * <code>
1217 * $gamesService = new Google_Service_Games(...);
1218 * $rooms = $gamesService->rooms;
1219 * </code>
1220 */
1221 class Google_Service_Games_Rooms_Resource extends Google_Service_Resource
1222 {
1223
1224 /**
1225 * Create a room. For internal use by the Games SDK only. Calling this method
1226 * directly is unsupported. (rooms.create)
1227 *
1228 * @param Google_RoomCreateRequest $postBody
1229 * @param array $optParams Optional parameters.
1230 *
1231 * @opt_param string language
1232 * The preferred language to use for strings returned by this method.
1233 * @return Google_Service_Games_Room
1234 */
1235 public function create(Google_Service_Games_RoomCreateRequest $postBody, $optParams = array())
1236 {
1237 $params = array('postBody' => $postBody);
1238 $params = array_merge($params, $optParams);
1239 return $this->call('create', array($params), "Google_Service_Games_Room");
1240 }
1241 /**
1242 * Decline an invitation to join a room. For internal use by the Games SDK only.
1243 * Calling this method directly is unsupported. (rooms.decline)
1244 *
1245 * @param string $roomId
1246 * The ID of the room.
1247 * @param array $optParams Optional parameters.
1248 *
1249 * @opt_param string language
1250 * The preferred language to use for strings returned by this method.
1251 * @return Google_Service_Games_Room
1252 */
1253 public function decline($roomId, $optParams = array())
1254 {
1255 $params = array('roomId' => $roomId);
1256 $params = array_merge($params, $optParams);
1257 return $this->call('decline', array($params), "Google_Service_Games_Room");
1258 }
1259 /**
1260 * Dismiss an invitation to join a room. For internal use by the Games SDK only.
1261 * Calling this method directly is unsupported. (rooms.dismiss)
1262 *
1263 * @param string $roomId
1264 * The ID of the room.
1265 * @param array $optParams Optional parameters.
1266 */
1267 public function dismiss($roomId, $optParams = array())
1268 {
1269 $params = array('roomId' => $roomId);
1270 $params = array_merge($params, $optParams);
1271 return $this->call('dismiss', array($params));
1272 }
1273 /**
1274 * Get the data for a room. (rooms.get)
1275 *
1276 * @param string $roomId
1277 * The ID of the room.
1278 * @param array $optParams Optional parameters.
1279 *
1280 * @opt_param string language
1281 * The preferred language to use for strings returned by this method.
1282 * @return Google_Service_Games_Room
1283 */
1284 public function get($roomId, $optParams = array())
1285 {
1286 $params = array('roomId' => $roomId);
1287 $params = array_merge($params, $optParams);
1288 return $this->call('get', array($params), "Google_Service_Games_Room");
1289 }
1290 /**
1291 * Join a room. For internal use by the Games SDK only. Calling this method
1292 * directly is unsupported. (rooms.join)
1293 *
1294 * @param string $roomId
1295 * The ID of the room.
1296 * @param Google_RoomJoinRequest $postBody
1297 * @param array $optParams Optional parameters.
1298 *
1299 * @opt_param string language
1300 * The preferred language to use for strings returned by this method.
1301 * @return Google_Service_Games_Room
1302 */
1303 public function join($roomId, Google_Service_Games_RoomJoinRequest $postBody, $optParams = array())
1304 {
1305 $params = array('roomId' => $roomId, 'postBody' => $postBody);
1306 $params = array_merge($params, $optParams);
1307 return $this->call('join', array($params), "Google_Service_Games_Room");
1308 }
1309 /**
1310 * Leave a room. For internal use by the Games SDK only. Calling this method
1311 * directly is unsupported. (rooms.leave)
1312 *
1313 * @param string $roomId
1314 * The ID of the room.
1315 * @param Google_RoomLeaveRequest $postBody
1316 * @param array $optParams Optional parameters.
1317 *
1318 * @opt_param string language
1319 * The preferred language to use for strings returned by this method.
1320 * @return Google_Service_Games_Room
1321 */
1322 public function leave($roomId, Google_Service_Games_RoomLeaveRequest $postBody, $optParams = array())
1323 {
1324 $params = array('roomId' => $roomId, 'postBody' => $postBody);
1325 $params = array_merge($params, $optParams);
1326 return $this->call('leave', array($params), "Google_Service_Games_Room");
1327 }
1328 /**
1329 * Returns invitations to join rooms. (rooms.listRooms)
1330 *
1331 * @param array $optParams Optional parameters.
1332 *
1333 * @opt_param string pageToken
1334 * The token returned by the previous request.
1335 * @opt_param int maxResults
1336 * The maximum number of rooms to return in the response, used for paging. For any response, the
1337 * actual number of rooms to return may be less than the specified maxResults.
1338 * @opt_param string language
1339 * The preferred language to use for strings returned by this method.
1340 * @return Google_Service_Games_RoomList
1341 */
1342 public function listRooms($optParams = array())
1343 {
1344 $params = array();
1345 $params = array_merge($params, $optParams);
1346 return $this->call('list', array($params), "Google_Service_Games_RoomList");
1347 }
1348 /**
1349 * Updates sent by a client reporting the status of peers in a room. For
1350 * internal use by the Games SDK only. Calling this method directly is
1351 * unsupported. (rooms.reportStatus)
1352 *
1353 * @param string $roomId
1354 * The ID of the room.
1355 * @param Google_RoomP2PStatuses $postBody
1356 * @param array $optParams Optional parameters.
1357 *
1358 * @opt_param string language
1359 * The preferred language to use for strings returned by this method.
1360 * @return Google_Service_Games_RoomStatus
1361 */
1362 public function reportStatus($roomId, Google_Service_Games_RoomP2PStatuses $postBody, $optParams = array())
1363 {
1364 $params = array('roomId' => $roomId, 'postBody' => $postBody);
1365 $params = array_merge($params, $optParams);
1366 return $this->call('reportStatus', array($params), "Google_Service_Games_RoomStatus");
1367 }
1368 }
1369
1370 /**
1371 * The "scores" collection of methods.
1372 * Typical usage is:
1373 * <code>
1374 * $gamesService = new Google_Service_Games(...);
1375 * $scores = $gamesService->scores;
1376 * </code>
1377 */
1378 class Google_Service_Games_Scores_Resource extends Google_Service_Resource
1379 {
1380
1381 /**
1382 * Get high scores, and optionally ranks, in leaderboards for the currently
1383 * authenticated player. For a specific time span, leaderboardId can be set to
1384 * ALL to retrieve data for all leaderboards in a given time span. NOTE: You
1385 * cannot ask for 'ALL' leaderboards and 'ALL' timeSpans in the same request;
1386 * only one parameter may be set to 'ALL'. (scores.get)
1387 *
1388 * @param string $playerId
1389 * A player ID. A value of me may be used in place of the authenticated player's ID.
1390 * @param string $leaderboardId
1391 * The ID of the leaderboard. Can be set to 'ALL' to retrieve data for all leaderboards for this
1392 * application.
1393 * @param string $timeSpan
1394 * The time span for the scores and ranks you're requesting.
1395 * @param array $optParams Optional parameters.
1396 *
1397 * @opt_param string includeRankType
1398 * The types of ranks to return. If the parameter is omitted, no ranks will be returned.
1399 * @opt_param string language
1400 * The preferred language to use for strings returned by this method.
1401 * @opt_param int maxResults
1402 * The maximum number of leaderboard scores to return in the response. For any response, the actual
1403 * number of leaderboard scores returned may be less than the specified maxResults.
1404 * @opt_param string pageToken
1405 * The token returned by the previous request.
1406 * @return Google_Service_Games_PlayerLeaderboardScoreListResponse
1407 */
1408 public function get($playerId, $leaderboardId, $timeSpan, $optParams = array())
1409 {
1410 $params = array('playerId' => $playerId, 'leaderboardId' => $leaderboardId, 'timeSpan' => $timeSpan);
1411 $params = array_merge($params, $optParams);
1412 return $this->call('get', array($params), "Google_Service_Games_PlayerLeaderboardScoreListResponse");
1413 }
1414 /**
1415 * Lists the scores in a leaderboard, starting from the top. (scores.listScores)
1416 *
1417 * @param string $leaderboardId
1418 * The ID of the leaderboard.
1419 * @param string $collection
1420 * The collection of scores you're requesting.
1421 * @param string $timeSpan
1422 * The time span for the scores and ranks you're requesting.
1423 * @param array $optParams Optional parameters.
1424 *
1425 * @opt_param string language
1426 * The preferred language to use for strings returned by this method.
1427 * @opt_param int maxResults
1428 * The maximum number of leaderboard scores to return in the response. For any response, the actual
1429 * number of leaderboard scores returned may be less than the specified maxResults.
1430 * @opt_param string pageToken
1431 * The token returned by the previous request.
1432 * @return Google_Service_Games_LeaderboardScores
1433 */
1434 public function listScores($leaderboardId, $collection, $timeSpan, $optParams = array())
1435 {
1436 $params = array('leaderboardId' => $leaderboardId, 'collection' => $collection, 'timeSpan' => $timeSpan);
1437 $params = array_merge($params, $optParams);
1438 return $this->call('list', array($params), "Google_Service_Games_LeaderboardScores");
1439 }
1440 /**
1441 * Lists the scores in a leaderboard around (and including) a player's score.
1442 * (scores.listWindow)
1443 *
1444 * @param string $leaderboardId
1445 * The ID of the leaderboard.
1446 * @param string $collection
1447 * The collection of scores you're requesting.
1448 * @param string $timeSpan
1449 * The time span for the scores and ranks you're requesting.
1450 * @param array $optParams Optional parameters.
1451 *
1452 * @opt_param string language
1453 * The preferred language to use for strings returned by this method.
1454 * @opt_param bool returnTopIfAbsent
1455 * True if the top scores should be returned when the player is not in the leaderboard. Defaults to
1456 * true.
1457 * @opt_param int resultsAbove
1458 * The preferred number of scores to return above the player's score. More scores may be returned
1459 * if the player is at the bottom of the leaderboard; fewer may be returned if the player is at the
1460 * top. Must be less than or equal to maxResults.
1461 * @opt_param int maxResults
1462 * The maximum number of leaderboard scores to return in the response. For any response, the actual
1463 * number of leaderboard scores returned may be less than the specified maxResults.
1464 * @opt_param string pageToken
1465 * The token returned by the previous request.
1466 * @return Google_Service_Games_LeaderboardScores
1467 */
1468 public function listWindow($leaderboardId, $collection, $timeSpan, $optParams = array())
1469 {
1470 $params = array('leaderboardId' => $leaderboardId, 'collection' => $collection, 'timeSpan' => $timeSpan);
1471 $params = array_merge($params, $optParams);
1472 return $this->call('listWindow', array($params), "Google_Service_Games_LeaderboardScores");
1473 }
1474 /**
1475 * Submits a score to the specified leaderboard. (scores.submit)
1476 *
1477 * @param string $leaderboardId
1478 * The ID of the leaderboard.
1479 * @param string $score
1480 * The score you're submitting. The submitted score is ignored if it is worse than a previously
1481 * submitted score, where worse depends on the leaderboard sort order. The meaning of the score
1482 * value depends on the leaderboard format type. For fixed-point, the score represents the raw
1483 * value. For time, the score represents elapsed time in milliseconds. For currency, the score
1484 * represents a value in micro units.
1485 * @param array $optParams Optional parameters.
1486 *
1487 * @opt_param string language
1488 * The preferred language to use for strings returned by this method.
1489 * @opt_param string scoreTag
1490 * Additional information about the score you're submitting. Values must contain no more than 64
1491 * URI-safe characters as defined by section 2.3 of RFC 3986.
1492 * @return Google_Service_Games_PlayerScoreResponse
1493 */
1494 public function submit($leaderboardId, $score, $optParams = array())
1495 {
1496 $params = array('leaderboardId' => $leaderboardId, 'score' => $score);
1497 $params = array_merge($params, $optParams);
1498 return $this->call('submit', array($params), "Google_Service_Games_PlayerScoreResponse");
1499 }
1500 /**
1501 * Submits multiple scores to leaderboards. (scores.submitMultiple)
1502 *
1503 * @param Google_PlayerScoreSubmissionList $postBody
1504 * @param array $optParams Optional parameters.
1505 *
1506 * @opt_param string language
1507 * The preferred language to use for strings returned by this method.
1508 * @return Google_Service_Games_PlayerScoreListResponse
1509 */
1510 public function submitMultiple(Google_Service_Games_PlayerScoreSubmissionList $postBody, $optParams = array())
1511 {
1512 $params = array('postBody' => $postBody);
1513 $params = array_merge($params, $optParams);
1514 return $this->call('submitMultiple', array($params), "Google_Service_Games_PlayerScoreListResponse");
1515 }
1516 }
1517
1518 /**
1519 * The "turnBasedMatches" collection of methods.
1520 * Typical usage is:
1521 * <code>
1522 * $gamesService = new Google_Service_Games(...);
1523 * $turnBasedMatches = $gamesService->turnBasedMatches;
1524 * </code>
1525 */
1526 class Google_Service_Games_TurnBasedMatches_Resource extends Google_Service_Resource
1527 {
1528
1529 /**
1530 * Cancel a turn-based match. (turnBasedMatches.cancel)
1531 *
1532 * @param string $matchId
1533 * The ID of the match.
1534 * @param array $optParams Optional parameters.
1535 */
1536 public function cancel($matchId, $optParams = array())
1537 {
1538 $params = array('matchId' => $matchId);
1539 $params = array_merge($params, $optParams);
1540 return $this->call('cancel', array($params));
1541 }
1542 /**
1543 * Create a turn-based match. (turnBasedMatches.create)
1544 *
1545 * @param Google_TurnBasedMatchCreateRequest $postBody
1546 * @param array $optParams Optional parameters.
1547 *
1548 * @opt_param string language
1549 * The preferred language to use for strings returned by this method.
1550 * @return Google_Service_Games_TurnBasedMatch
1551 */
1552 public function create(Google_Service_Games_TurnBasedMatchCreateRequest $postBody, $optParams = array())
1553 {
1554 $params = array('postBody' => $postBody);
1555 $params = array_merge($params, $optParams);
1556 return $this->call('create', array($params), "Google_Service_Games_TurnBasedMatch");
1557 }
1558 /**
1559 * Decline an invitation to play a turn-based match. (turnBasedMatches.decline)
1560 *
1561 * @param string $matchId
1562 * The ID of the match.
1563 * @param array $optParams Optional parameters.
1564 *
1565 * @opt_param string language
1566 * The preferred language to use for strings returned by this method.
1567 * @return Google_Service_Games_TurnBasedMatch
1568 */
1569 public function decline($matchId, $optParams = array())
1570 {
1571 $params = array('matchId' => $matchId);
1572 $params = array_merge($params, $optParams);
1573 return $this->call('decline', array($params), "Google_Service_Games_TurnBasedMatch");
1574 }
1575 /**
1576 * Dismiss a turn-based match from the match list. The match will no longer show
1577 * up in the list and will not generate notifications.
1578 * (turnBasedMatches.dismiss)
1579 *
1580 * @param string $matchId
1581 * The ID of the match.
1582 * @param array $optParams Optional parameters.
1583 */
1584 public function dismiss($matchId, $optParams = array())
1585 {
1586 $params = array('matchId' => $matchId);
1587 $params = array_merge($params, $optParams);
1588 return $this->call('dismiss', array($params));
1589 }
1590 /**
1591 * Finish a turn-based match. Each player should make this call once, after all
1592 * results are in. Only the player whose turn it is may make the first call to
1593 * Finish, and can pass in the final match state. (turnBasedMatches.finish)
1594 *
1595 * @param string $matchId
1596 * The ID of the match.
1597 * @param Google_TurnBasedMatchResults $postBody
1598 * @param array $optParams Optional parameters.
1599 *
1600 * @opt_param string language
1601 * The preferred language to use for strings returned by this method.
1602 * @return Google_Service_Games_TurnBasedMatch
1603 */
1604 public function finish($matchId, Google_Service_Games_TurnBasedMatchResults $postBody, $optParams = array())
1605 {
1606 $params = array('matchId' => $matchId, 'postBody' => $postBody);
1607 $params = array_merge($params, $optParams);
1608 return $this->call('finish', array($params), "Google_Service_Games_TurnBasedMatch");
1609 }
1610 /**
1611 * Get the data for a turn-based match. (turnBasedMatches.get)
1612 *
1613 * @param string $matchId
1614 * The ID of the match.
1615 * @param array $optParams Optional parameters.
1616 *
1617 * @opt_param string language
1618 * The preferred language to use for strings returned by this method.
1619 * @opt_param bool includeMatchData
1620 * Get match data along with metadata.
1621 * @return Google_Service_Games_TurnBasedMatch
1622 */
1623 public function get($matchId, $optParams = array())
1624 {
1625 $params = array('matchId' => $matchId);
1626 $params = array_merge($params, $optParams);
1627 return $this->call('get', array($params), "Google_Service_Games_TurnBasedMatch");
1628 }
1629 /**
1630 * Join a turn-based match. (turnBasedMatches.join)
1631 *
1632 * @param string $matchId
1633 * The ID of the match.
1634 * @param array $optParams Optional parameters.
1635 *
1636 * @opt_param string language
1637 * The preferred language to use for strings returned by this method.
1638 * @return Google_Service_Games_TurnBasedMatch
1639 */
1640 public function join($matchId, $optParams = array())
1641 {
1642 $params = array('matchId' => $matchId);
1643 $params = array_merge($params, $optParams);
1644 return $this->call('join', array($params), "Google_Service_Games_TurnBasedMatch");
1645 }
1646 /**
1647 * Leave a turn-based match when it is not the current player's turn, without
1648 * canceling the match. (turnBasedMatches.leave)
1649 *
1650 * @param string $matchId
1651 * The ID of the match.
1652 * @param array $optParams Optional parameters.
1653 *
1654 * @opt_param string language
1655 * The preferred language to use for strings returned by this method.
1656 * @return Google_Service_Games_TurnBasedMatch
1657 */
1658 public function leave($matchId, $optParams = array())
1659 {
1660 $params = array('matchId' => $matchId);
1661 $params = array_merge($params, $optParams);
1662 return $this->call('leave', array($params), "Google_Service_Games_TurnBasedMatch");
1663 }
1664 /**
1665 * Leave a turn-based match during the current player's turn, without canceling
1666 * the match. (turnBasedMatches.leaveTurn)
1667 *
1668 * @param string $matchId
1669 * The ID of the match.
1670 * @param int $matchVersion
1671 * The version of the match being updated.
1672 * @param array $optParams Optional parameters.
1673 *
1674 * @opt_param string language
1675 * The preferred language to use for strings returned by this method.
1676 * @opt_param string pendingParticipantId
1677 * The ID of another participant who should take their turn next. If not set, the match will wait
1678 * for other player(s) to join via automatching; this is only valid if automatch criteria is set on
1679 * the match with remaining slots for automatched players.
1680 * @return Google_Service_Games_TurnBasedMatch
1681 */
1682 public function leaveTurn($matchId, $matchVersion, $optParams = array())
1683 {
1684 $params = array('matchId' => $matchId, 'matchVersion' => $matchVersion);
1685 $params = array_merge($params, $optParams);
1686 return $this->call('leaveTurn', array($params), "Google_Service_Games_TurnBasedMatch");
1687 }
1688 /**
1689 * Returns turn-based matches the player is or was involved in.
1690 * (turnBasedMatches.listTurnBasedMatches)
1691 *
1692 * @param array $optParams Optional parameters.
1693 *
1694 * @opt_param string pageToken
1695 * The token returned by the previous request.
1696 * @opt_param int maxCompletedMatches
1697 * The maximum number of completed or canceled matches to return in the response. If not set, all
1698 * matches returned could be completed or canceled.
1699 * @opt_param int maxResults
1700 * The maximum number of matches to return in the response, used for paging. For any response, the
1701 * actual number of matches to return may be less than the specified maxResults.
1702 * @opt_param string language
1703 * The preferred language to use for strings returned by this method.
1704 * @opt_param bool includeMatchData
1705 * True if match data should be returned in the response. Note that not all data will necessarily
1706 * be returned if include_match_data is true; the server may decide to only return data for some of
1707 * the matches to limit download size for the client. The remainder of the data for these matches
1708 * will be retrievable on request.
1709 * @return Google_Service_Games_TurnBasedMatchList
1710 */
1711 public function listTurnBasedMatches($optParams = array())
1712 {
1713 $params = array();
1714 $params = array_merge($params, $optParams);
1715 return $this->call('list', array($params), "Google_Service_Games_TurnBasedMatchList");
1716 }
1717 /**
1718 * Create a rematch of a match that was previously completed, with the same
1719 * participants. This can be called by only one player on a match still in their
1720 * list; the player must have called Finish first. Returns the newly created
1721 * match; it will be the caller's turn. (turnBasedMatches.rematch)
1722 *
1723 * @param string $matchId
1724 * The ID of the match.
1725 * @param array $optParams Optional parameters.
1726 *
1727 * @opt_param string requestId
1728 * A randomly generated numeric ID for each request specified by the caller. This number is used at
1729 * the server to ensure that the request is handled correctly across retries.
1730 * @opt_param string language
1731 * The preferred language to use for strings returned by this method.
1732 * @return Google_Service_Games_TurnBasedMatchRematch
1733 */
1734 public function rematch($matchId, $optParams = array())
1735 {
1736 $params = array('matchId' => $matchId);
1737 $params = array_merge($params, $optParams);
1738 return $this->call('rematch', array($params), "Google_Service_Games_TurnBasedMatchRematch");
1739 }
1740 /**
1741 * Returns turn-based matches the player is or was involved in that changed
1742 * since the last sync call, with the least recent changes coming first. Matches
1743 * that should be removed from the local cache will have a status of
1744 * MATCH_DELETED. (turnBasedMatches.sync)
1745 *
1746 * @param array $optParams Optional parameters.
1747 *
1748 * @opt_param string pageToken
1749 * The token returned by the previous request.
1750 * @opt_param int maxCompletedMatches
1751 * The maximum number of completed or canceled matches to return in the response. If not set, all
1752 * matches returned could be completed or canceled.
1753 * @opt_param int maxResults
1754 * The maximum number of matches to return in the response, used for paging. For any response, the
1755 * actual number of matches to return may be less than the specified maxResults.
1756 * @opt_param string language
1757 * The preferred language to use for strings returned by this method.
1758 * @opt_param bool includeMatchData
1759 * True if match data should be returned in the response. Note that not all data will necessarily
1760 * be returned if include_match_data is true; the server may decide to only return data for some of
1761 * the matches to limit download size for the client. The remainder of the data for these matches
1762 * will be retrievable on request.
1763 * @return Google_Service_Games_TurnBasedMatchSync
1764 */
1765 public function sync($optParams = array())
1766 {
1767 $params = array();
1768 $params = array_merge($params, $optParams);
1769 return $this->call('sync', array($params), "Google_Service_Games_TurnBasedMatchSync");
1770 }
1771 /**
1772 * Commit the results of a player turn. (turnBasedMatches.takeTurn)
1773 *
1774 * @param string $matchId
1775 * The ID of the match.
1776 * @param Google_TurnBasedMatchTurn $postBody
1777 * @param array $optParams Optional parameters.
1778 *
1779 * @opt_param string language
1780 * The preferred language to use for strings returned by this method.
1781 * @return Google_Service_Games_TurnBasedMatch
1782 */
1783 public function takeTurn($matchId, Google_Service_Games_TurnBasedMatchTurn $postBody, $optParams = array())
1784 {
1785 $params = array('matchId' => $matchId, 'postBody' => $postBody);
1786 $params = array_merge($params, $optParams);
1787 return $this->call('takeTurn', array($params), "Google_Service_Games_TurnBasedMatch");
1788 }
1789 }
1790
1791
1792
1793
1794 class Google_Service_Games_AchievementDefinition extends Google_Model
1795 {
1796 public $achievementType;
1797 public $description;
1798 public $formattedTotalSteps;
1799 public $id;
1800 public $initialState;
1801 public $isRevealedIconUrlDefault;
1802 public $isUnlockedIconUrlDefault;
1803 public $kind;
1804 public $name;
1805 public $revealedIconUrl;
1806 public $totalSteps;
1807 public $unlockedIconUrl;
1808
1809 public function setAchievementType($achievementType)
1810 {
1811 $this->achievementType = $achievementType;
1812 }
1813
1814 public function getAchievementType()
1815 {
1816 return $this->achievementType;
1817 }
1818
1819 public function setDescription($description)
1820 {
1821 $this->description = $description;
1822 }
1823
1824 public function getDescription()
1825 {
1826 return $this->description;
1827 }
1828
1829 public function setFormattedTotalSteps($formattedTotalSteps)
1830 {
1831 $this->formattedTotalSteps = $formattedTotalSteps;
1832 }
1833
1834 public function getFormattedTotalSteps()
1835 {
1836 return $this->formattedTotalSteps;
1837 }
1838
1839 public function setId($id)
1840 {
1841 $this->id = $id;
1842 }
1843
1844 public function getId()
1845 {
1846 return $this->id;
1847 }
1848
1849 public function setInitialState($initialState)
1850 {
1851 $this->initialState = $initialState;
1852 }
1853
1854 public function getInitialState()
1855 {
1856 return $this->initialState;
1857 }
1858
1859 public function setIsRevealedIconUrlDefault($isRevealedIconUrlDefault)
1860 {
1861 $this->isRevealedIconUrlDefault = $isRevealedIconUrlDefault;
1862 }
1863
1864 public function getIsRevealedIconUrlDefault()
1865 {
1866 return $this->isRevealedIconUrlDefault;
1867 }
1868
1869 public function setIsUnlockedIconUrlDefault($isUnlockedIconUrlDefault)
1870 {
1871 $this->isUnlockedIconUrlDefault = $isUnlockedIconUrlDefault;
1872 }
1873
1874 public function getIsUnlockedIconUrlDefault()
1875 {
1876 return $this->isUnlockedIconUrlDefault;
1877 }
1878
1879 public function setKind($kind)
1880 {
1881 $this->kind = $kind;
1882 }
1883
1884 public function getKind()
1885 {
1886 return $this->kind;
1887 }
1888
1889 public function setName($name)
1890 {
1891 $this->name = $name;
1892 }
1893
1894 public function getName()
1895 {
1896 return $this->name;
1897 }
1898
1899 public function setRevealedIconUrl($revealedIconUrl)
1900 {
1901 $this->revealedIconUrl = $revealedIconUrl;
1902 }
1903
1904 public function getRevealedIconUrl()
1905 {
1906 return $this->revealedIconUrl;
1907 }
1908
1909 public function setTotalSteps($totalSteps)
1910 {
1911 $this->totalSteps = $totalSteps;
1912 }
1913
1914 public function getTotalSteps()
1915 {
1916 return $this->totalSteps;
1917 }
1918
1919 public function setUnlockedIconUrl($unlockedIconUrl)
1920 {
1921 $this->unlockedIconUrl = $unlockedIconUrl;
1922 }
1923
1924 public function getUnlockedIconUrl()
1925 {
1926 return $this->unlockedIconUrl;
1927 }
1928 }
1929
1930 class Google_Service_Games_AchievementDefinitionsListResponse extends Google_Collection
1931 {
1932 protected $itemsType = 'Google_Service_Games_AchievementDefinition';
1933 protected $itemsDataType = 'array';
1934 public $kind;
1935 public $nextPageToken;
1936
1937 public function setItems($items)
1938 {
1939 $this->items = $items;
1940 }
1941
1942 public function getItems()
1943 {
1944 return $this->items;
1945 }
1946
1947 public function setKind($kind)
1948 {
1949 $this->kind = $kind;
1950 }
1951
1952 public function getKind()
1953 {
1954 return $this->kind;
1955 }
1956
1957 public function setNextPageToken($nextPageToken)
1958 {
1959 $this->nextPageToken = $nextPageToken;
1960 }
1961
1962 public function getNextPageToken()
1963 {
1964 return $this->nextPageToken;
1965 }
1966 }
1967
1968 class Google_Service_Games_AchievementIncrementResponse extends Google_Model
1969 {
1970 public $currentSteps;
1971 public $kind;
1972 public $newlyUnlocked;
1973
1974 public function setCurrentSteps($currentSteps)
1975 {
1976 $this->currentSteps = $currentSteps;
1977 }
1978
1979 public function getCurrentSteps()
1980 {
1981 return $this->currentSteps;
1982 }
1983
1984 public function setKind($kind)
1985 {
1986 $this->kind = $kind;
1987 }
1988
1989 public function getKind()
1990 {
1991 return $this->kind;
1992 }
1993
1994 public function setNewlyUnlocked($newlyUnlocked)
1995 {
1996 $this->newlyUnlocked = $newlyUnlocked;
1997 }
1998
1999 public function getNewlyUnlocked()
2000 {
2001 return $this->newlyUnlocked;
2002 }
2003 }
2004
2005 class Google_Service_Games_AchievementRevealResponse extends Google_Model
2006 {
2007 public $currentState;
2008 public $kind;
2009
2010 public function setCurrentState($currentState)
2011 {
2012 $this->currentState = $currentState;
2013 }
2014
2015 public function getCurrentState()
2016 {
2017 return $this->currentState;
2018 }
2019
2020 public function setKind($kind)
2021 {
2022 $this->kind = $kind;
2023 }
2024
2025 public function getKind()
2026 {
2027 return $this->kind;
2028 }
2029 }
2030
2031 class Google_Service_Games_AchievementSetStepsAtLeastResponse extends Google_Model
2032 {
2033 public $currentSteps;
2034 public $kind;
2035 public $newlyUnlocked;
2036
2037 public function setCurrentSteps($currentSteps)
2038 {
2039 $this->currentSteps = $currentSteps;
2040 }
2041
2042 public function getCurrentSteps()
2043 {
2044 return $this->currentSteps;
2045 }
2046
2047 public function setKind($kind)
2048 {
2049 $this->kind = $kind;
2050 }
2051
2052 public function getKind()
2053 {
2054 return $this->kind;
2055 }
2056
2057 public function setNewlyUnlocked($newlyUnlocked)
2058 {
2059 $this->newlyUnlocked = $newlyUnlocked;
2060 }
2061
2062 public function getNewlyUnlocked()
2063 {
2064 return $this->newlyUnlocked;
2065 }
2066 }
2067
2068 class Google_Service_Games_AchievementUnlockResponse extends Google_Model
2069 {
2070 public $kind;
2071 public $newlyUnlocked;
2072
2073 public function setKind($kind)
2074 {
2075 $this->kind = $kind;
2076 }
2077
2078 public function getKind()
2079 {
2080 return $this->kind;
2081 }
2082
2083 public function setNewlyUnlocked($newlyUnlocked)
2084 {
2085 $this->newlyUnlocked = $newlyUnlocked;
2086 }
2087
2088 public function getNewlyUnlocked()
2089 {
2090 return $this->newlyUnlocked;
2091 }
2092 }
2093
2094 class Google_Service_Games_AchievementUpdateMultipleRequest extends Google_Collection
2095 {
2096 public $kind;
2097 protected $updatesType = 'Google_Service_Games_AchievementUpdateRequest';
2098 protected $updatesDataType = 'array';
2099
2100 public function setKind($kind)
2101 {
2102 $this->kind = $kind;
2103 }
2104
2105 public function getKind()
2106 {
2107 return $this->kind;
2108 }
2109
2110 public function setUpdates($updates)
2111 {
2112 $this->updates = $updates;
2113 }
2114
2115 public function getUpdates()
2116 {
2117 return $this->updates;
2118 }
2119 }
2120
2121 class Google_Service_Games_AchievementUpdateMultipleResponse extends Google_Collection
2122 {
2123 public $kind;
2124 protected $updatedAchievementsType = 'Google_Service_Games_AchievementUpdateResponse';
2125 protected $updatedAchievementsDataType = 'array';
2126
2127 public function setKind($kind)
2128 {
2129 $this->kind = $kind;
2130 }
2131
2132 public function getKind()
2133 {
2134 return $this->kind;
2135 }
2136
2137 public function setUpdatedAchievements($updatedAchievements)
2138 {
2139 $this->updatedAchievements = $updatedAchievements;
2140 }
2141
2142 public function getUpdatedAchievements()
2143 {
2144 return $this->updatedAchievements;
2145 }
2146 }
2147
2148 class Google_Service_Games_AchievementUpdateRequest extends Google_Model
2149 {
2150 public $achievementId;
2151 protected $incrementPayloadType = 'Google_Service_Games_GamesAchievementIncrement';
2152 protected $incrementPayloadDataType = '';
2153 public $kind;
2154 protected $setStepsAtLeastPayloadType = 'Google_Service_Games_GamesAchievementSetStepsAtLeast';
2155 protected $setStepsAtLeastPayloadDataType = '';
2156 public $updateType;
2157
2158 public function setAchievementId($achievementId)
2159 {
2160 $this->achievementId = $achievementId;
2161 }
2162
2163 public function getAchievementId()
2164 {
2165 return $this->achievementId;
2166 }
2167
2168 public function setIncrementPayload(Google_Service_Games_GamesAchievementIncrement $incrementPayload)
2169 {
2170 $this->incrementPayload = $incrementPayload;
2171 }
2172
2173 public function getIncrementPayload()
2174 {
2175 return $this->incrementPayload;
2176 }
2177
2178 public function setKind($kind)
2179 {
2180 $this->kind = $kind;
2181 }
2182
2183 public function getKind()
2184 {
2185 return $this->kind;
2186 }
2187
2188 public function setSetStepsAtLeastPayload(Google_Service_Games_GamesAchievementSetStepsAtLeast $setStepsAtLeastPayload)
2189 {
2190 $this->setStepsAtLeastPayload = $setStepsAtLeastPayload;
2191 }
2192
2193 public function getSetStepsAtLeastPayload()
2194 {
2195 return $this->setStepsAtLeastPayload;
2196 }
2197
2198 public function setUpdateType($updateType)
2199 {
2200 $this->updateType = $updateType;
2201 }
2202
2203 public function getUpdateType()
2204 {
2205 return $this->updateType;
2206 }
2207 }
2208
2209 class Google_Service_Games_AchievementUpdateResponse extends Google_Model
2210 {
2211 public $achievementId;
2212 public $currentState;
2213 public $currentSteps;
2214 public $kind;
2215 public $newlyUnlocked;
2216 public $updateOccurred;
2217
2218 public function setAchievementId($achievementId)
2219 {
2220 $this->achievementId = $achievementId;
2221 }
2222
2223 public function getAchievementId()
2224 {
2225 return $this->achievementId;
2226 }
2227
2228 public function setCurrentState($currentState)
2229 {
2230 $this->currentState = $currentState;
2231 }
2232
2233 public function getCurrentState()
2234 {
2235 return $this->currentState;
2236 }
2237
2238 public function setCurrentSteps($currentSteps)
2239 {
2240 $this->currentSteps = $currentSteps;
2241 }
2242
2243 public function getCurrentSteps()
2244 {
2245 return $this->currentSteps;
2246 }
2247
2248 public function setKind($kind)
2249 {
2250 $this->kind = $kind;
2251 }
2252
2253 public function getKind()
2254 {
2255 return $this->kind;
2256 }
2257
2258 public function setNewlyUnlocked($newlyUnlocked)
2259 {
2260 $this->newlyUnlocked = $newlyUnlocked;
2261 }
2262
2263 public function getNewlyUnlocked()
2264 {
2265 return $this->newlyUnlocked;
2266 }
2267
2268 public function setUpdateOccurred($updateOccurred)
2269 {
2270 $this->updateOccurred = $updateOccurred;
2271 }
2272
2273 public function getUpdateOccurred()
2274 {
2275 return $this->updateOccurred;
2276 }
2277 }
2278
2279 class Google_Service_Games_AggregateStats extends Google_Model
2280 {
2281 public $count;
2282 public $kind;
2283 public $max;
2284 public $min;
2285 public $sum;
2286
2287 public function setCount($count)
2288 {
2289 $this->count = $count;
2290 }
2291
2292 public function getCount()
2293 {
2294 return $this->count;
2295 }
2296
2297 public function setKind($kind)
2298 {
2299 $this->kind = $kind;
2300 }
2301
2302 public function getKind()
2303 {
2304 return $this->kind;
2305 }
2306
2307 public function setMax($max)
2308 {
2309 $this->max = $max;
2310 }
2311
2312 public function getMax()
2313 {
2314 return $this->max;
2315 }
2316
2317 public function setMin($min)
2318 {
2319 $this->min = $min;
2320 }
2321
2322 public function getMin()
2323 {
2324 return $this->min;
2325 }
2326
2327 public function setSum($sum)
2328 {
2329 $this->sum = $sum;
2330 }
2331
2332 public function getSum()
2333 {
2334 return $this->sum;
2335 }
2336 }
2337
2338 class Google_Service_Games_AnonymousPlayer extends Google_Model
2339 {
2340 public $avatarImageUrl;
2341 public $displayName;
2342 public $kind;
2343
2344 public function setAvatarImageUrl($avatarImageUrl)
2345 {
2346 $this->avatarImageUrl = $avatarImageUrl;
2347 }
2348
2349 public function getAvatarImageUrl()
2350 {
2351 return $this->avatarImageUrl;
2352 }
2353
2354 public function setDisplayName($displayName)
2355 {
2356 $this->displayName = $displayName;
2357 }
2358
2359 public function getDisplayName()
2360 {
2361 return $this->displayName;
2362 }
2363
2364 public function setKind($kind)
2365 {
2366 $this->kind = $kind;
2367 }
2368
2369 public function getKind()
2370 {
2371 return $this->kind;
2372 }
2373 }
2374
2375 class Google_Service_Games_Application extends Google_Collection
2376 {
2377 public $achievementCount;
2378 protected $assetsType = 'Google_Service_Games_ImageAsset';
2379 protected $assetsDataType = 'array';
2380 public $author;
2381 protected $categoryType = 'Google_Service_Games_ApplicationCategory';
2382 protected $categoryDataType = '';
2383 public $description;
2384 public $id;
2385 protected $instancesType = 'Google_Service_Games_Instance';
2386 protected $instancesDataType = 'array';
2387 public $kind;
2388 public $lastUpdatedTimestamp;
2389 public $leaderboardCount;
2390 public $name;
2391
2392 public function setAchievementCount($achievementCount)
2393 {
2394 $this->achievementCount = $achievementCount;
2395 }
2396
2397 public function getAchievementCount()
2398 {
2399 return $this->achievementCount;
2400 }
2401
2402 public function setAssets($assets)
2403 {
2404 $this->assets = $assets;
2405 }
2406
2407 public function getAssets()
2408 {
2409 return $this->assets;
2410 }
2411
2412 public function setAuthor($author)
2413 {
2414 $this->author = $author;
2415 }
2416
2417 public function getAuthor()
2418 {
2419 return $this->author;
2420 }
2421
2422 public function setCategory(Google_Service_Games_ApplicationCategory $category)
2423 {
2424 $this->category = $category;
2425 }
2426
2427 public function getCategory()
2428 {
2429 return $this->category;
2430 }
2431
2432 public function setDescription($description)
2433 {
2434 $this->description = $description;
2435 }
2436
2437 public function getDescription()
2438 {
2439 return $this->description;
2440 }
2441
2442 public function setId($id)
2443 {
2444 $this->id = $id;
2445 }
2446
2447 public function getId()
2448 {
2449 return $this->id;
2450 }
2451
2452 public function setInstances($instances)
2453 {
2454 $this->instances = $instances;
2455 }
2456
2457 public function getInstances()
2458 {
2459 return $this->instances;
2460 }
2461
2462 public function setKind($kind)
2463 {
2464 $this->kind = $kind;
2465 }
2466
2467 public function getKind()
2468 {
2469 return $this->kind;
2470 }
2471
2472 public function setLastUpdatedTimestamp($lastUpdatedTimestamp)
2473 {
2474 $this->lastUpdatedTimestamp = $lastUpdatedTimestamp;
2475 }
2476
2477 public function getLastUpdatedTimestamp()
2478 {
2479 return $this->lastUpdatedTimestamp;
2480 }
2481
2482 public function setLeaderboardCount($leaderboardCount)
2483 {
2484 $this->leaderboardCount = $leaderboardCount;
2485 }
2486
2487 public function getLeaderboardCount()
2488 {
2489 return $this->leaderboardCount;
2490 }
2491
2492 public function setName($name)
2493 {
2494 $this->name = $name;
2495 }
2496
2497 public function getName()
2498 {
2499 return $this->name;
2500 }
2501 }
2502
2503 class Google_Service_Games_ApplicationCategory extends Google_Model
2504 {
2505 public $kind;
2506 public $primary;
2507 public $secondary;
2508
2509 public function setKind($kind)
2510 {
2511 $this->kind = $kind;
2512 }
2513
2514 public function getKind()
2515 {
2516 return $this->kind;
2517 }
2518
2519 public function setPrimary($primary)
2520 {
2521 $this->primary = $primary;
2522 }
2523
2524 public function getPrimary()
2525 {
2526 return $this->primary;
2527 }
2528
2529 public function setSecondary($secondary)
2530 {
2531 $this->secondary = $secondary;
2532 }
2533
2534 public function getSecondary()
2535 {
2536 return $this->secondary;
2537 }
2538 }
2539
2540 class Google_Service_Games_GamesAchievementIncrement extends Google_Model
2541 {
2542 public $kind;
2543 public $requestId;
2544 public $steps;
2545
2546 public function setKind($kind)
2547 {
2548 $this->kind = $kind;
2549 }
2550
2551 public function getKind()
2552 {
2553 return $this->kind;
2554 }
2555
2556 public function setRequestId($requestId)
2557 {
2558 $this->requestId = $requestId;
2559 }
2560
2561 public function getRequestId()
2562 {
2563 return $this->requestId;
2564 }
2565
2566 public function setSteps($steps)
2567 {
2568 $this->steps = $steps;
2569 }
2570
2571 public function getSteps()
2572 {
2573 return $this->steps;
2574 }
2575 }
2576
2577 class Google_Service_Games_GamesAchievementSetStepsAtLeast extends Google_Model
2578 {
2579 public $kind;
2580 public $steps;
2581
2582 public function setKind($kind)
2583 {
2584 $this->kind = $kind;
2585 }
2586
2587 public function getKind()
2588 {
2589 return $this->kind;
2590 }
2591
2592 public function setSteps($steps)
2593 {
2594 $this->steps = $steps;
2595 }
2596
2597 public function getSteps()
2598 {
2599 return $this->steps;
2600 }
2601 }
2602
2603 class Google_Service_Games_ImageAsset extends Google_Model
2604 {
2605 public $height;
2606 public $kind;
2607 public $name;
2608 public $url;
2609 public $width;
2610
2611 public function setHeight($height)
2612 {
2613 $this->height = $height;
2614 }
2615
2616 public function getHeight()
2617 {
2618 return $this->height;
2619 }
2620
2621 public function setKind($kind)
2622 {
2623 $this->kind = $kind;
2624 }
2625
2626 public function getKind()
2627 {
2628 return $this->kind;
2629 }
2630
2631 public function setName($name)
2632 {
2633 $this->name = $name;
2634 }
2635
2636 public function getName()
2637 {
2638 return $this->name;
2639 }
2640
2641 public function setUrl($url)
2642 {
2643 $this->url = $url;
2644 }
2645
2646 public function getUrl()
2647 {
2648 return $this->url;
2649 }
2650
2651 public function setWidth($width)
2652 {
2653 $this->width = $width;
2654 }
2655
2656 public function getWidth()
2657 {
2658 return $this->width;
2659 }
2660 }
2661
2662 class Google_Service_Games_Instance extends Google_Model
2663 {
2664 public $acquisitionUri;
2665 protected $androidInstanceType = 'Google_Service_Games_InstanceAndroidDetails';
2666 protected $androidInstanceDataType = '';
2667 protected $iosInstanceType = 'Google_Service_Games_InstanceIosDetails';
2668 protected $iosInstanceDataType = '';
2669 public $kind;
2670 public $name;
2671 public $platformType;
2672 public $realtimePlay;
2673 public $turnBasedPlay;
2674 protected $webInstanceType = 'Google_Service_Games_InstanceWebDetails';
2675 protected $webInstanceDataType = '';
2676
2677 public function setAcquisitionUri($acquisitionUri)
2678 {
2679 $this->acquisitionUri = $acquisitionUri;
2680 }
2681
2682 public function getAcquisitionUri()
2683 {
2684 return $this->acquisitionUri;
2685 }
2686
2687 public function setAndroidInstance(Google_Service_Games_InstanceAndroidDetails $androidInstance)
2688 {
2689 $this->androidInstance = $androidInstance;
2690 }
2691
2692 public function getAndroidInstance()
2693 {
2694 return $this->androidInstance;
2695 }
2696
2697 public function setIosInstance(Google_Service_Games_InstanceIosDetails $iosInstance)
2698 {
2699 $this->iosInstance = $iosInstance;
2700 }
2701
2702 public function getIosInstance()
2703 {
2704 return $this->iosInstance;
2705 }
2706
2707 public function setKind($kind)
2708 {
2709 $this->kind = $kind;
2710 }
2711
2712 public function getKind()
2713 {
2714 return $this->kind;
2715 }
2716
2717 public function setName($name)
2718 {
2719 $this->name = $name;
2720 }
2721
2722 public function getName()
2723 {
2724 return $this->name;
2725 }
2726
2727 public function setPlatformType($platformType)
2728 {
2729 $this->platformType = $platformType;
2730 }
2731
2732 public function getPlatformType()
2733 {
2734 return $this->platformType;
2735 }
2736
2737 public function setRealtimePlay($realtimePlay)
2738 {
2739 $this->realtimePlay = $realtimePlay;
2740 }
2741
2742 public function getRealtimePlay()
2743 {
2744 return $this->realtimePlay;
2745 }
2746
2747 public function setTurnBasedPlay($turnBasedPlay)
2748 {
2749 $this->turnBasedPlay = $turnBasedPlay;
2750 }
2751
2752 public function getTurnBasedPlay()
2753 {
2754 return $this->turnBasedPlay;
2755 }
2756
2757 public function setWebInstance(Google_Service_Games_InstanceWebDetails $webInstance)
2758 {
2759 $this->webInstance = $webInstance;
2760 }
2761
2762 public function getWebInstance()
2763 {
2764 return $this->webInstance;
2765 }
2766 }
2767
2768 class Google_Service_Games_InstanceAndroidDetails extends Google_Model
2769 {
2770 public $enablePiracyCheck;
2771 public $kind;
2772 public $packageName;
2773 public $preferred;
2774
2775 public function setEnablePiracyCheck($enablePiracyCheck)
2776 {
2777 $this->enablePiracyCheck = $enablePiracyCheck;
2778 }
2779
2780 public function getEnablePiracyCheck()
2781 {
2782 return $this->enablePiracyCheck;
2783 }
2784
2785 public function setKind($kind)
2786 {
2787 $this->kind = $kind;
2788 }
2789
2790 public function getKind()
2791 {
2792 return $this->kind;
2793 }
2794
2795 public function setPackageName($packageName)
2796 {
2797 $this->packageName = $packageName;
2798 }
2799
2800 public function getPackageName()
2801 {
2802 return $this->packageName;
2803 }
2804
2805 public function setPreferred($preferred)
2806 {
2807 $this->preferred = $preferred;
2808 }
2809
2810 public function getPreferred()
2811 {
2812 return $this->preferred;
2813 }
2814 }
2815
2816 class Google_Service_Games_InstanceIosDetails extends Google_Model
2817 {
2818 public $bundleIdentifier;
2819 public $itunesAppId;
2820 public $kind;
2821 public $preferredForIpad;
2822 public $preferredForIphone;
2823 public $supportIpad;
2824 public $supportIphone;
2825
2826 public function setBundleIdentifier($bundleIdentifier)
2827 {
2828 $this->bundleIdentifier = $bundleIdentifier;
2829 }
2830
2831 public function getBundleIdentifier()
2832 {
2833 return $this->bundleIdentifier;
2834 }
2835
2836 public function setItunesAppId($itunesAppId)
2837 {
2838 $this->itunesAppId = $itunesAppId;
2839 }
2840
2841 public function getItunesAppId()
2842 {
2843 return $this->itunesAppId;
2844 }
2845
2846 public function setKind($kind)
2847 {
2848 $this->kind = $kind;
2849 }
2850
2851 public function getKind()
2852 {
2853 return $this->kind;
2854 }
2855
2856 public function setPreferredForIpad($preferredForIpad)
2857 {
2858 $this->preferredForIpad = $preferredForIpad;
2859 }
2860
2861 public function getPreferredForIpad()
2862 {
2863 return $this->preferredForIpad;
2864 }
2865
2866 public function setPreferredForIphone($preferredForIphone)
2867 {
2868 $this->preferredForIphone = $preferredForIphone;
2869 }
2870
2871 public function getPreferredForIphone()
2872 {
2873 return $this->preferredForIphone;
2874 }
2875
2876 public function setSupportIpad($supportIpad)
2877 {
2878 $this->supportIpad = $supportIpad;
2879 }
2880
2881 public function getSupportIpad()
2882 {
2883 return $this->supportIpad;
2884 }
2885
2886 public function setSupportIphone($supportIphone)
2887 {
2888 $this->supportIphone = $supportIphone;
2889 }
2890
2891 public function getSupportIphone()
2892 {
2893 return $this->supportIphone;
2894 }
2895 }
2896
2897 class Google_Service_Games_InstanceWebDetails extends Google_Model
2898 {
2899 public $kind;
2900 public $launchUrl;
2901 public $preferred;
2902
2903 public function setKind($kind)
2904 {
2905 $this->kind = $kind;
2906 }
2907
2908 public function getKind()
2909 {
2910 return $this->kind;
2911 }
2912
2913 public function setLaunchUrl($launchUrl)
2914 {
2915 $this->launchUrl = $launchUrl;
2916 }
2917
2918 public function getLaunchUrl()
2919 {
2920 return $this->launchUrl;
2921 }
2922
2923 public function setPreferred($preferred)
2924 {
2925 $this->preferred = $preferred;
2926 }
2927
2928 public function getPreferred()
2929 {
2930 return $this->preferred;
2931 }
2932 }
2933
2934 class Google_Service_Games_Leaderboard extends Google_Model
2935 {
2936 public $iconUrl;
2937 public $id;
2938 public $isIconUrlDefault;
2939 public $kind;
2940 public $name;
2941 public $order;
2942
2943 public function setIconUrl($iconUrl)
2944 {
2945 $this->iconUrl = $iconUrl;
2946 }
2947
2948 public function getIconUrl()
2949 {
2950 return $this->iconUrl;
2951 }
2952
2953 public function setId($id)
2954 {
2955 $this->id = $id;
2956 }
2957
2958 public function getId()
2959 {
2960 return $this->id;
2961 }
2962
2963 public function setIsIconUrlDefault($isIconUrlDefault)
2964 {
2965 $this->isIconUrlDefault = $isIconUrlDefault;
2966 }
2967
2968 public function getIsIconUrlDefault()
2969 {
2970 return $this->isIconUrlDefault;
2971 }
2972
2973 public function setKind($kind)
2974 {
2975 $this->kind = $kind;
2976 }
2977
2978 public function getKind()
2979 {
2980 return $this->kind;
2981 }
2982
2983 public function setName($name)
2984 {
2985 $this->name = $name;
2986 }
2987
2988 public function getName()
2989 {
2990 return $this->name;
2991 }
2992
2993 public function setOrder($order)
2994 {
2995 $this->order = $order;
2996 }
2997
2998 public function getOrder()
2999 {
3000 return $this->order;
3001 }
3002 }
3003
3004 class Google_Service_Games_LeaderboardEntry extends Google_Model
3005 {
3006 public $formattedScore;
3007 public $formattedScoreRank;
3008 public $kind;
3009 protected $playerType = 'Google_Service_Games_Player';
3010 protected $playerDataType = '';
3011 public $scoreRank;
3012 public $scoreTag;
3013 public $scoreValue;
3014 public $timeSpan;
3015 public $writeTimestampMillis;
3016
3017 public function setFormattedScore($formattedScore)
3018 {
3019 $this->formattedScore = $formattedScore;
3020 }
3021
3022 public function getFormattedScore()
3023 {
3024 return $this->formattedScore;
3025 }
3026
3027 public function setFormattedScoreRank($formattedScoreRank)
3028 {
3029 $this->formattedScoreRank = $formattedScoreRank;
3030 }
3031
3032 public function getFormattedScoreRank()
3033 {
3034 return $this->formattedScoreRank;
3035 }
3036
3037 public function setKind($kind)
3038 {
3039 $this->kind = $kind;
3040 }
3041
3042 public function getKind()
3043 {
3044 return $this->kind;
3045 }
3046
3047 public function setPlayer(Google_Service_Games_Player $player)
3048 {
3049 $this->player = $player;
3050 }
3051
3052 public function getPlayer()
3053 {
3054 return $this->player;
3055 }
3056
3057 public function setScoreRank($scoreRank)
3058 {
3059 $this->scoreRank = $scoreRank;
3060 }
3061
3062 public function getScoreRank()
3063 {
3064 return $this->scoreRank;
3065 }
3066
3067 public function setScoreTag($scoreTag)
3068 {
3069 $this->scoreTag = $scoreTag;
3070 }
3071
3072 public function getScoreTag()
3073 {
3074 return $this->scoreTag;
3075 }
3076
3077 public function setScoreValue($scoreValue)
3078 {
3079 $this->scoreValue = $scoreValue;
3080 }
3081
3082 public function getScoreValue()
3083 {
3084 return $this->scoreValue;
3085 }
3086
3087 public function setTimeSpan($timeSpan)
3088 {
3089 $this->timeSpan = $timeSpan;
3090 }
3091
3092 public function getTimeSpan()
3093 {
3094 return $this->timeSpan;
3095 }
3096
3097 public function setWriteTimestampMillis($writeTimestampMillis)
3098 {
3099 $this->writeTimestampMillis = $writeTimestampMillis;
3100 }
3101
3102 public function getWriteTimestampMillis()
3103 {
3104 return $this->writeTimestampMillis;
3105 }
3106 }
3107
3108 class Google_Service_Games_LeaderboardListResponse extends Google_Collection
3109 {
3110 protected $itemsType = 'Google_Service_Games_Leaderboard';
3111 protected $itemsDataType = 'array';
3112 public $kind;
3113 public $nextPageToken;
3114
3115 public function setItems($items)
3116 {
3117 $this->items = $items;
3118 }
3119
3120 public function getItems()
3121 {
3122 return $this->items;
3123 }
3124
3125 public function setKind($kind)
3126 {
3127 $this->kind = $kind;
3128 }
3129
3130 public function getKind()
3131 {
3132 return $this->kind;
3133 }
3134
3135 public function setNextPageToken($nextPageToken)
3136 {
3137 $this->nextPageToken = $nextPageToken;
3138 }
3139
3140 public function getNextPageToken()
3141 {
3142 return $this->nextPageToken;
3143 }
3144 }
3145
3146 class Google_Service_Games_LeaderboardScoreRank extends Google_Model
3147 {
3148 public $formattedNumScores;
3149 public $formattedRank;
3150 public $kind;
3151 public $numScores;
3152 public $rank;
3153
3154 public function setFormattedNumScores($formattedNumScores)
3155 {
3156 $this->formattedNumScores = $formattedNumScores;
3157 }
3158
3159 public function getFormattedNumScores()
3160 {
3161 return $this->formattedNumScores;
3162 }
3163
3164 public function setFormattedRank($formattedRank)
3165 {
3166 $this->formattedRank = $formattedRank;
3167 }
3168
3169 public function getFormattedRank()
3170 {
3171 return $this->formattedRank;
3172 }
3173
3174 public function setKind($kind)
3175 {
3176 $this->kind = $kind;
3177 }
3178
3179 public function getKind()
3180 {
3181 return $this->kind;
3182 }
3183
3184 public function setNumScores($numScores)
3185 {
3186 $this->numScores = $numScores;
3187 }
3188
3189 public function getNumScores()
3190 {
3191 return $this->numScores;
3192 }
3193
3194 public function setRank($rank)
3195 {
3196 $this->rank = $rank;
3197 }
3198
3199 public function getRank()
3200 {
3201 return $this->rank;
3202 }
3203 }
3204
3205 class Google_Service_Games_LeaderboardScores extends Google_Collection
3206 {
3207 protected $itemsType = 'Google_Service_Games_LeaderboardEntry';
3208 protected $itemsDataType = 'array';
3209 public $kind;
3210 public $nextPageToken;
3211 public $numScores;
3212 protected $playerScoreType = 'Google_Service_Games_LeaderboardEntry';
3213 protected $playerScoreDataType = '';
3214 public $prevPageToken;
3215
3216 public function setItems($items)
3217 {
3218 $this->items = $items;
3219 }
3220
3221 public function getItems()
3222 {
3223 return $this->items;
3224 }
3225
3226 public function setKind($kind)
3227 {
3228 $this->kind = $kind;
3229 }
3230
3231 public function getKind()
3232 {
3233 return $this->kind;
3234 }
3235
3236 public function setNextPageToken($nextPageToken)
3237 {
3238 $this->nextPageToken = $nextPageToken;
3239 }
3240
3241 public function getNextPageToken()
3242 {
3243 return $this->nextPageToken;
3244 }
3245
3246 public function setNumScores($numScores)
3247 {
3248 $this->numScores = $numScores;
3249 }
3250
3251 public function getNumScores()
3252 {
3253 return $this->numScores;
3254 }
3255
3256 public function setPlayerScore(Google_Service_Games_LeaderboardEntry $playerScore)
3257 {
3258 $this->playerScore = $playerScore;
3259 }
3260
3261 public function getPlayerScore()
3262 {
3263 return $this->playerScore;
3264 }
3265
3266 public function setPrevPageToken($prevPageToken)
3267 {
3268 $this->prevPageToken = $prevPageToken;
3269 }
3270
3271 public function getPrevPageToken()
3272 {
3273 return $this->prevPageToken;
3274 }
3275 }
3276
3277 class Google_Service_Games_NetworkDiagnostics extends Google_Model
3278 {
3279 public $androidNetworkSubtype;
3280 public $androidNetworkType;
3281 public $iosNetworkType;
3282 public $kind;
3283 public $networkOperatorCode;
3284 public $networkOperatorName;
3285 public $registrationLatencyMillis;
3286
3287 public function setAndroidNetworkSubtype($androidNetworkSubtype)
3288 {
3289 $this->androidNetworkSubtype = $androidNetworkSubtype;
3290 }
3291
3292 public function getAndroidNetworkSubtype()
3293 {
3294 return $this->androidNetworkSubtype;
3295 }
3296
3297 public function setAndroidNetworkType($androidNetworkType)
3298 {
3299 $this->androidNetworkType = $androidNetworkType;
3300 }
3301
3302 public function getAndroidNetworkType()
3303 {
3304 return $this->androidNetworkType;
3305 }
3306
3307 public function setIosNetworkType($iosNetworkType)
3308 {
3309 $this->iosNetworkType = $iosNetworkType;
3310 }
3311
3312 public function getIosNetworkType()
3313 {
3314 return $this->iosNetworkType;
3315 }
3316
3317 public function setKind($kind)
3318 {
3319 $this->kind = $kind;
3320 }
3321
3322 public function getKind()
3323 {
3324 return $this->kind;
3325 }
3326
3327 public function setNetworkOperatorCode($networkOperatorCode)
3328 {
3329 $this->networkOperatorCode = $networkOperatorCode;
3330 }
3331
3332 public function getNetworkOperatorCode()
3333 {
3334 return $this->networkOperatorCode;
3335 }
3336
3337 public function setNetworkOperatorName($networkOperatorName)
3338 {
3339 $this->networkOperatorName = $networkOperatorName;
3340 }
3341
3342 public function getNetworkOperatorName()
3343 {
3344 return $this->networkOperatorName;
3345 }
3346
3347 public function setRegistrationLatencyMillis($registrationLatencyMillis)
3348 {
3349 $this->registrationLatencyMillis = $registrationLatencyMillis;
3350 }
3351
3352 public function getRegistrationLatencyMillis()
3353 {
3354 return $this->registrationLatencyMillis;
3355 }
3356 }
3357
3358 class Google_Service_Games_ParticipantResult extends Google_Model
3359 {
3360 public $kind;
3361 public $participantId;
3362 public $placing;
3363 public $result;
3364
3365 public function setKind($kind)
3366 {
3367 $this->kind = $kind;
3368 }
3369
3370 public function getKind()
3371 {
3372 return $this->kind;
3373 }
3374
3375 public function setParticipantId($participantId)
3376 {
3377 $this->participantId = $participantId;
3378 }
3379
3380 public function getParticipantId()
3381 {
3382 return $this->participantId;
3383 }
3384
3385 public function setPlacing($placing)
3386 {
3387 $this->placing = $placing;
3388 }
3389
3390 public function getPlacing()
3391 {
3392 return $this->placing;
3393 }
3394
3395 public function setResult($result)
3396 {
3397 $this->result = $result;
3398 }
3399
3400 public function getResult()
3401 {
3402 return $this->result;
3403 }
3404 }
3405
3406 class Google_Service_Games_PeerChannelDiagnostics extends Google_Model
3407 {
3408 protected $bytesReceivedType = 'Google_Service_Games_AggregateStats';
3409 protected $bytesReceivedDataType = '';
3410 protected $bytesSentType = 'Google_Service_Games_AggregateStats';
3411 protected $bytesSentDataType = '';
3412 public $kind;
3413 public $numMessagesLost;
3414 public $numMessagesReceived;
3415 public $numMessagesSent;
3416 public $numSendFailures;
3417 protected $roundtripLatencyMillisType = 'Google_Service_Games_AggregateStats';
3418 protected $roundtripLatencyMillisDataType = '';
3419
3420 public function setBytesReceived(Google_Service_Games_AggregateStats $bytesReceived)
3421 {
3422 $this->bytesReceived = $bytesReceived;
3423 }
3424
3425 public function getBytesReceived()
3426 {
3427 return $this->bytesReceived;
3428 }
3429
3430 public function setBytesSent(Google_Service_Games_AggregateStats $bytesSent)
3431 {
3432 $this->bytesSent = $bytesSent;
3433 }
3434
3435 public function getBytesSent()
3436 {
3437 return $this->bytesSent;
3438 }
3439
3440 public function setKind($kind)
3441 {
3442 $this->kind = $kind;
3443 }
3444
3445 public function getKind()
3446 {
3447 return $this->kind;
3448 }
3449
3450 public function setNumMessagesLost($numMessagesLost)
3451 {
3452 $this->numMessagesLost = $numMessagesLost;
3453 }
3454
3455 public function getNumMessagesLost()
3456 {
3457 return $this->numMessagesLost;
3458 }
3459
3460 public function setNumMessagesReceived($numMessagesReceived)
3461 {
3462 $this->numMessagesReceived = $numMessagesReceived;
3463 }
3464
3465 public function getNumMessagesReceived()
3466 {
3467 return $this->numMessagesReceived;
3468 }
3469
3470 public function setNumMessagesSent($numMessagesSent)
3471 {
3472 $this->numMessagesSent = $numMessagesSent;
3473 }
3474
3475 public function getNumMessagesSent()
3476 {
3477 return $this->numMessagesSent;
3478 }
3479
3480 public function setNumSendFailures($numSendFailures)
3481 {
3482 $this->numSendFailures = $numSendFailures;
3483 }
3484
3485 public function getNumSendFailures()
3486 {
3487 return $this->numSendFailures;
3488 }
3489
3490 public function setRoundtripLatencyMillis(Google_Service_Games_AggregateStats $roundtripLatencyMillis)
3491 {
3492 $this->roundtripLatencyMillis = $roundtripLatencyMillis;
3493 }
3494
3495 public function getRoundtripLatencyMillis()
3496 {
3497 return $this->roundtripLatencyMillis;
3498 }
3499 }
3500
3501 class Google_Service_Games_PeerSessionDiagnostics extends Google_Model
3502 {
3503 public $connectedTimestampMillis;
3504 public $kind;
3505 public $participantId;
3506 protected $reliableChannelType = 'Google_Service_Games_PeerChannelDiagnostics';
3507 protected $reliableChannelDataType = '';
3508 protected $unreliableChannelType = 'Google_Service_Games_PeerChannelDiagnostics';
3509 protected $unreliableChannelDataType = '';
3510
3511 public function setConnectedTimestampMillis($connectedTimestampMillis)
3512 {
3513 $this->connectedTimestampMillis = $connectedTimestampMillis;
3514 }
3515
3516 public function getConnectedTimestampMillis()
3517 {
3518 return $this->connectedTimestampMillis;
3519 }
3520
3521 public function setKind($kind)
3522 {
3523 $this->kind = $kind;
3524 }
3525
3526 public function getKind()
3527 {
3528 return $this->kind;
3529 }
3530
3531 public function setParticipantId($participantId)
3532 {
3533 $this->participantId = $participantId;
3534 }
3535
3536 public function getParticipantId()
3537 {
3538 return $this->participantId;
3539 }
3540
3541 public function setReliableChannel(Google_Service_Games_PeerChannelDiagnostics $reliableChannel)
3542 {
3543 $this->reliableChannel = $reliableChannel;
3544 }
3545
3546 public function getReliableChannel()
3547 {
3548 return $this->reliableChannel;
3549 }
3550
3551 public function setUnreliableChannel(Google_Service_Games_PeerChannelDiagnostics $unreliableChannel)
3552 {
3553 $this->unreliableChannel = $unreliableChannel;
3554 }
3555
3556 public function getUnreliableChannel()
3557 {
3558 return $this->unreliableChannel;
3559 }
3560 }
3561
3562 class Google_Service_Games_Played extends Google_Model
3563 {
3564 public $autoMatched;
3565 public $kind;
3566 public $timeMillis;
3567
3568 public function setAutoMatched($autoMatched)
3569 {
3570 $this->autoMatched = $autoMatched;
3571 }
3572
3573 public function getAutoMatched()
3574 {
3575 return $this->autoMatched;
3576 }
3577
3578 public function setKind($kind)
3579 {
3580 $this->kind = $kind;
3581 }
3582
3583 public function getKind()
3584 {
3585 return $this->kind;
3586 }
3587
3588 public function setTimeMillis($timeMillis)
3589 {
3590 $this->timeMillis = $timeMillis;
3591 }
3592
3593 public function getTimeMillis()
3594 {
3595 return $this->timeMillis;
3596 }
3597 }
3598
3599 class Google_Service_Games_Player extends Google_Model
3600 {
3601 public $avatarImageUrl;
3602 public $displayName;
3603 public $kind;
3604 protected $lastPlayedWithType = 'Google_Service_Games_Played';
3605 protected $lastPlayedWithDataType = '';
3606 protected $nameType = 'Google_Service_Games_PlayerName';
3607 protected $nameDataType = '';
3608 public $playerId;
3609
3610 public function setAvatarImageUrl($avatarImageUrl)
3611 {
3612 $this->avatarImageUrl = $avatarImageUrl;
3613 }
3614
3615 public function getAvatarImageUrl()
3616 {
3617 return $this->avatarImageUrl;
3618 }
3619
3620 public function setDisplayName($displayName)
3621 {
3622 $this->displayName = $displayName;
3623 }
3624
3625 public function getDisplayName()
3626 {
3627 return $this->displayName;
3628 }
3629
3630 public function setKind($kind)
3631 {
3632 $this->kind = $kind;
3633 }
3634
3635 public function getKind()
3636 {
3637 return $this->kind;
3638 }
3639
3640 public function setLastPlayedWith(Google_Service_Games_Played $lastPlayedWith)
3641 {
3642 $this->lastPlayedWith = $lastPlayedWith;
3643 }
3644
3645 public function getLastPlayedWith()
3646 {
3647 return $this->lastPlayedWith;
3648 }
3649
3650 public function setName(Google_Service_Games_PlayerName $name)
3651 {
3652 $this->name = $name;
3653 }
3654
3655 public function getName()
3656 {
3657 return $this->name;
3658 }
3659
3660 public function setPlayerId($playerId)
3661 {
3662 $this->playerId = $playerId;
3663 }
3664
3665 public function getPlayerId()
3666 {
3667 return $this->playerId;
3668 }
3669 }
3670
3671 class Google_Service_Games_PlayerAchievement extends Google_Model
3672 {
3673 public $achievementState;
3674 public $currentSteps;
3675 public $formattedCurrentStepsString;
3676 public $id;
3677 public $kind;
3678 public $lastUpdatedTimestamp;
3679
3680 public function setAchievementState($achievementState)
3681 {
3682 $this->achievementState = $achievementState;
3683 }
3684
3685 public function getAchievementState()
3686 {
3687 return $this->achievementState;
3688 }
3689
3690 public function setCurrentSteps($currentSteps)
3691 {
3692 $this->currentSteps = $currentSteps;
3693 }
3694
3695 public function getCurrentSteps()
3696 {
3697 return $this->currentSteps;
3698 }
3699
3700 public function setFormattedCurrentStepsString($formattedCurrentStepsString)
3701 {
3702 $this->formattedCurrentStepsString = $formattedCurrentStepsString;
3703 }
3704
3705 public function getFormattedCurrentStepsString()
3706 {
3707 return $this->formattedCurrentStepsString;
3708 }
3709
3710 public function setId($id)
3711 {
3712 $this->id = $id;
3713 }
3714
3715 public function getId()
3716 {
3717 return $this->id;
3718 }
3719
3720 public function setKind($kind)
3721 {
3722 $this->kind = $kind;
3723 }
3724
3725 public function getKind()
3726 {
3727 return $this->kind;
3728 }
3729
3730 public function setLastUpdatedTimestamp($lastUpdatedTimestamp)
3731 {
3732 $this->lastUpdatedTimestamp = $lastUpdatedTimestamp;
3733 }
3734
3735 public function getLastUpdatedTimestamp()
3736 {
3737 return $this->lastUpdatedTimestamp;
3738 }
3739 }
3740
3741 class Google_Service_Games_PlayerAchievementListResponse extends Google_Collection
3742 {
3743 protected $itemsType = 'Google_Service_Games_PlayerAchievement';
3744 protected $itemsDataType = 'array';
3745 public $kind;
3746 public $nextPageToken;
3747
3748 public function setItems($items)
3749 {
3750 $this->items = $items;
3751 }
3752
3753 public function getItems()
3754 {
3755 return $this->items;
3756 }
3757
3758 public function setKind($kind)
3759 {
3760 $this->kind = $kind;
3761 }
3762
3763 public function getKind()
3764 {
3765 return $this->kind;
3766 }
3767
3768 public function setNextPageToken($nextPageToken)
3769 {
3770 $this->nextPageToken = $nextPageToken;
3771 }
3772
3773 public function getNextPageToken()
3774 {
3775 return $this->nextPageToken;
3776 }
3777 }
3778
3779 class Google_Service_Games_PlayerLeaderboardScore extends Google_Model
3780 {
3781 public $kind;
3782 public $leaderboardId;
3783 protected $publicRankType = 'Google_Service_Games_LeaderboardScoreRank';
3784 protected $publicRankDataType = '';
3785 public $scoreString;
3786 public $scoreTag;
3787 public $scoreValue;
3788 protected $socialRankType = 'Google_Service_Games_LeaderboardScoreRank';
3789 protected $socialRankDataType = '';
3790 public $timeSpan;
3791 public $writeTimestamp;
3792
3793 public function setKind($kind)
3794 {
3795 $this->kind = $kind;
3796 }
3797
3798 public function getKind()
3799 {
3800 return $this->kind;
3801 }
3802
3803 public function setLeaderboardId($leaderboardId)
3804 {
3805 $this->leaderboardId = $leaderboardId;
3806 }
3807
3808 public function getLeaderboardId()
3809 {
3810 return $this->leaderboardId;
3811 }
3812
3813 public function setPublicRank(Google_Service_Games_LeaderboardScoreRank $publicRank)
3814 {
3815 $this->publicRank = $publicRank;
3816 }
3817
3818 public function getPublicRank()
3819 {
3820 return $this->publicRank;
3821 }
3822
3823 public function setScoreString($scoreString)
3824 {
3825 $this->scoreString = $scoreString;
3826 }
3827
3828 public function getScoreString()
3829 {
3830 return $this->scoreString;
3831 }
3832
3833 public function setScoreTag($scoreTag)
3834 {
3835 $this->scoreTag = $scoreTag;
3836 }
3837
3838 public function getScoreTag()
3839 {
3840 return $this->scoreTag;
3841 }
3842
3843 public function setScoreValue($scoreValue)
3844 {
3845 $this->scoreValue = $scoreValue;
3846 }
3847
3848 public function getScoreValue()
3849 {
3850 return $this->scoreValue;
3851 }
3852
3853 public function setSocialRank(Google_Service_Games_LeaderboardScoreRank $socialRank)
3854 {
3855 $this->socialRank = $socialRank;
3856 }
3857
3858 public function getSocialRank()
3859 {
3860 return $this->socialRank;
3861 }
3862
3863 public function setTimeSpan($timeSpan)
3864 {
3865 $this->timeSpan = $timeSpan;
3866 }
3867
3868 public function getTimeSpan()
3869 {
3870 return $this->timeSpan;
3871 }
3872
3873 public function setWriteTimestamp($writeTimestamp)
3874 {
3875 $this->writeTimestamp = $writeTimestamp;
3876 }
3877
3878 public function getWriteTimestamp()
3879 {
3880 return $this->writeTimestamp;
3881 }
3882 }
3883
3884 class Google_Service_Games_PlayerLeaderboardScoreListResponse extends Google_Collection
3885 {
3886 protected $itemsType = 'Google_Service_Games_PlayerLeaderboardScore';
3887 protected $itemsDataType = 'array';
3888 public $kind;
3889 public $nextPageToken;
3890 protected $playerType = 'Google_Service_Games_Player';
3891 protected $playerDataType = '';
3892
3893 public function setItems($items)
3894 {
3895 $this->items = $items;
3896 }
3897
3898 public function getItems()
3899 {
3900 return $this->items;
3901 }
3902
3903 public function setKind($kind)
3904 {
3905 $this->kind = $kind;
3906 }
3907
3908 public function getKind()
3909 {
3910 return $this->kind;
3911 }
3912
3913 public function setNextPageToken($nextPageToken)
3914 {
3915 $this->nextPageToken = $nextPageToken;
3916 }
3917
3918 public function getNextPageToken()
3919 {
3920 return $this->nextPageToken;
3921 }
3922
3923 public function setPlayer(Google_Service_Games_Player $player)
3924 {
3925 $this->player = $player;
3926 }
3927
3928 public function getPlayer()
3929 {
3930 return $this->player;
3931 }
3932 }
3933
3934 class Google_Service_Games_PlayerListResponse extends Google_Collection
3935 {
3936 protected $itemsType = 'Google_Service_Games_Player';
3937 protected $itemsDataType = 'array';
3938 public $kind;
3939 public $nextPageToken;
3940
3941 public function setItems($items)
3942 {
3943 $this->items = $items;
3944 }
3945
3946 public function getItems()
3947 {
3948 return $this->items;
3949 }
3950
3951 public function setKind($kind)
3952 {
3953 $this->kind = $kind;
3954 }
3955
3956 public function getKind()
3957 {
3958 return $this->kind;
3959 }
3960
3961 public function setNextPageToken($nextPageToken)
3962 {
3963 $this->nextPageToken = $nextPageToken;
3964 }
3965
3966 public function getNextPageToken()
3967 {
3968 return $this->nextPageToken;
3969 }
3970 }
3971
3972 class Google_Service_Games_PlayerName extends Google_Model
3973 {
3974 public $familyName;
3975 public $givenName;
3976
3977 public function setFamilyName($familyName)
3978 {
3979 $this->familyName = $familyName;
3980 }
3981
3982 public function getFamilyName()
3983 {
3984 return $this->familyName;
3985 }
3986
3987 public function setGivenName($givenName)
3988 {
3989 $this->givenName = $givenName;
3990 }
3991
3992 public function getGivenName()
3993 {
3994 return $this->givenName;
3995 }
3996 }
3997
3998 class Google_Service_Games_PlayerScore extends Google_Model
3999 {
4000 public $formattedScore;
4001 public $kind;
4002 public $score;
4003 public $scoreTag;
4004 public $timeSpan;
4005
4006 public function setFormattedScore($formattedScore)
4007 {
4008 $this->formattedScore = $formattedScore;
4009 }
4010
4011 public function getFormattedScore()
4012 {
4013 return $this->formattedScore;
4014 }
4015
4016 public function setKind($kind)
4017 {
4018 $this->kind = $kind;
4019 }
4020
4021 public function getKind()
4022 {
4023 return $this->kind;
4024 }
4025
4026 public function setScore($score)
4027 {
4028 $this->score = $score;
4029 }
4030
4031 public function getScore()
4032 {
4033 return $this->score;
4034 }
4035
4036 public function setScoreTag($scoreTag)
4037 {
4038 $this->scoreTag = $scoreTag;
4039 }
4040
4041 public function getScoreTag()
4042 {
4043 return $this->scoreTag;
4044 }
4045
4046 public function setTimeSpan($timeSpan)
4047 {
4048 $this->timeSpan = $timeSpan;
4049 }
4050
4051 public function getTimeSpan()
4052 {
4053 return $this->timeSpan;
4054 }
4055 }
4056
4057 class Google_Service_Games_PlayerScoreListResponse extends Google_Collection
4058 {
4059 public $kind;
4060 protected $submittedScoresType = 'Google_Service_Games_PlayerScoreResponse';
4061 protected $submittedScoresDataType = 'array';
4062
4063 public function setKind($kind)
4064 {
4065 $this->kind = $kind;
4066 }
4067
4068 public function getKind()
4069 {
4070 return $this->kind;
4071 }
4072
4073 public function setSubmittedScores($submittedScores)
4074 {
4075 $this->submittedScores = $submittedScores;
4076 }
4077
4078 public function getSubmittedScores()
4079 {
4080 return $this->submittedScores;
4081 }
4082 }
4083
4084 class Google_Service_Games_PlayerScoreResponse extends Google_Collection
4085 {
4086 public $beatenScoreTimeSpans;
4087 public $formattedScore;
4088 public $kind;
4089 public $leaderboardId;
4090 public $scoreTag;
4091 protected $unbeatenScoresType = 'Google_Service_Games_PlayerScore';
4092 protected $unbeatenScoresDataType = 'array';
4093
4094 public function setBeatenScoreTimeSpans($beatenScoreTimeSpans)
4095 {
4096 $this->beatenScoreTimeSpans = $beatenScoreTimeSpans;
4097 }
4098
4099 public function getBeatenScoreTimeSpans()
4100 {
4101 return $this->beatenScoreTimeSpans;
4102 }
4103
4104 public function setFormattedScore($formattedScore)
4105 {
4106 $this->formattedScore = $formattedScore;
4107 }
4108
4109 public function getFormattedScore()
4110 {
4111 return $this->formattedScore;
4112 }
4113
4114 public function setKind($kind)
4115 {
4116 $this->kind = $kind;
4117 }
4118
4119 public function getKind()
4120 {
4121 return $this->kind;
4122 }
4123
4124 public function setLeaderboardId($leaderboardId)
4125 {
4126 $this->leaderboardId = $leaderboardId;
4127 }
4128
4129 public function getLeaderboardId()
4130 {
4131 return $this->leaderboardId;
4132 }
4133
4134 public function setScoreTag($scoreTag)
4135 {
4136 $this->scoreTag = $scoreTag;
4137 }
4138
4139 public function getScoreTag()
4140 {
4141 return $this->scoreTag;
4142 }
4143
4144 public function setUnbeatenScores($unbeatenScores)
4145 {
4146 $this->unbeatenScores = $unbeatenScores;
4147 }
4148
4149 public function getUnbeatenScores()
4150 {
4151 return $this->unbeatenScores;
4152 }
4153 }
4154
4155 class Google_Service_Games_PlayerScoreSubmissionList extends Google_Collection
4156 {
4157 public $kind;
4158 protected $scoresType = 'Google_Service_Games_ScoreSubmission';
4159 protected $scoresDataType = 'array';
4160
4161 public function setKind($kind)
4162 {
4163 $this->kind = $kind;
4164 }
4165
4166 public function getKind()
4167 {
4168 return $this->kind;
4169 }
4170
4171 public function setScores($scores)
4172 {
4173 $this->scores = $scores;
4174 }
4175
4176 public function getScores()
4177 {
4178 return $this->scores;
4179 }
4180 }
4181
4182 class Google_Service_Games_PushToken extends Google_Model
4183 {
4184 public $clientRevision;
4185 protected $idType = 'Google_Service_Games_PushTokenId';
4186 protected $idDataType = '';
4187 public $kind;
4188 public $language;
4189
4190 public function setClientRevision($clientRevision)
4191 {
4192 $this->clientRevision = $clientRevision;
4193 }
4194
4195 public function getClientRevision()
4196 {
4197 return $this->clientRevision;
4198 }
4199
4200 public function setId(Google_Service_Games_PushTokenId $id)
4201 {
4202 $this->id = $id;
4203 }
4204
4205 public function getId()
4206 {
4207 return $this->id;
4208 }
4209
4210 public function setKind($kind)
4211 {
4212 $this->kind = $kind;
4213 }
4214
4215 public function getKind()
4216 {
4217 return $this->kind;
4218 }
4219
4220 public function setLanguage($language)
4221 {
4222 $this->language = $language;
4223 }
4224
4225 public function getLanguage()
4226 {
4227 return $this->language;
4228 }
4229 }
4230
4231 class Google_Service_Games_PushTokenId extends Google_Model
4232 {
4233 protected $iosType = 'Google_Service_Games_PushTokenIdIos';
4234 protected $iosDataType = '';
4235 public $kind;
4236
4237 public function setIos(Google_Service_Games_PushTokenIdIos $ios)
4238 {
4239 $this->ios = $ios;
4240 }
4241
4242 public function getIos()
4243 {
4244 return $this->ios;
4245 }
4246
4247 public function setKind($kind)
4248 {
4249 $this->kind = $kind;
4250 }
4251
4252 public function getKind()
4253 {
4254 return $this->kind;
4255 }
4256 }
4257
4258 class Google_Service_Games_PushTokenIdIos extends Google_Model
4259 {
4260 public $apnsDeviceToken;
4261 public $apnsEnvironment;
4262
4263 public function setApnsDeviceToken($apnsDeviceToken)
4264 {
4265 $this->apnsDeviceToken = $apnsDeviceToken;
4266 }
4267
4268 public function getApnsDeviceToken()
4269 {
4270 return $this->apnsDeviceToken;
4271 }
4272
4273 public function setApnsEnvironment($apnsEnvironment)
4274 {
4275 $this->apnsEnvironment = $apnsEnvironment;
4276 }
4277
4278 public function getApnsEnvironment()
4279 {
4280 return $this->apnsEnvironment;
4281 }
4282 }
4283
4284 class Google_Service_Games_RevisionCheckResponse extends Google_Model
4285 {
4286 public $apiVersion;
4287 public $kind;
4288 public $revisionStatus;
4289
4290 public function setApiVersion($apiVersion)
4291 {
4292 $this->apiVersion = $apiVersion;
4293 }
4294
4295 public function getApiVersion()
4296 {
4297 return $this->apiVersion;
4298 }
4299
4300 public function setKind($kind)
4301 {
4302 $this->kind = $kind;
4303 }
4304
4305 public function getKind()
4306 {
4307 return $this->kind;
4308 }
4309
4310 public function setRevisionStatus($revisionStatus)
4311 {
4312 $this->revisionStatus = $revisionStatus;
4313 }
4314
4315 public function getRevisionStatus()
4316 {
4317 return $this->revisionStatus;
4318 }
4319 }
4320
4321 class Google_Service_Games_Room extends Google_Collection
4322 {
4323 public $applicationId;
4324 protected $autoMatchingCriteriaType = 'Google_Service_Games_RoomAutoMatchingCriteria';
4325 protected $autoMatchingCriteriaDataType = '';
4326 protected $autoMatchingStatusType = 'Google_Service_Games_RoomAutoMatchStatus';
4327 protected $autoMatchingStatusDataType = '';
4328 protected $creationDetailsType = 'Google_Service_Games_RoomModification';
4329 protected $creationDetailsDataType = '';
4330 public $description;
4331 public $inviterId;
4332 public $kind;
4333 protected $lastUpdateDetailsType = 'Google_Service_Games_RoomModification';
4334 protected $lastUpdateDetailsDataType = '';
4335 protected $participantsType = 'Google_Service_Games_RoomParticipant';
4336 protected $participantsDataType = 'array';
4337 public $roomId;
4338 public $roomStatusVersion;
4339 public $status;
4340 public $variant;
4341
4342 public function setApplicationId($applicationId)
4343 {
4344 $this->applicationId = $applicationId;
4345 }
4346
4347 public function getApplicationId()
4348 {
4349 return $this->applicationId;
4350 }
4351
4352 public function setAutoMatchingCriteria(Google_Service_Games_RoomAutoMatchingCriteria $autoMatchingCriteria)
4353 {
4354 $this->autoMatchingCriteria = $autoMatchingCriteria;
4355 }
4356
4357 public function getAutoMatchingCriteria()
4358 {
4359 return $this->autoMatchingCriteria;
4360 }
4361
4362 public function setAutoMatchingStatus(Google_Service_Games_RoomAutoMatchStatus $autoMatchingStatus)
4363 {
4364 $this->autoMatchingStatus = $autoMatchingStatus;
4365 }
4366
4367 public function getAutoMatchingStatus()
4368 {
4369 return $this->autoMatchingStatus;
4370 }
4371
4372 public function setCreationDetails(Google_Service_Games_RoomModification $creationDetails)
4373 {
4374 $this->creationDetails = $creationDetails;
4375 }
4376
4377 public function getCreationDetails()
4378 {
4379 return $this->creationDetails;
4380 }
4381
4382 public function setDescription($description)
4383 {
4384 $this->description = $description;
4385 }
4386
4387 public function getDescription()
4388 {
4389 return $this->description;
4390 }
4391
4392 public function setInviterId($inviterId)
4393 {
4394 $this->inviterId = $inviterId;
4395 }
4396
4397 public function getInviterId()
4398 {
4399 return $this->inviterId;
4400 }
4401
4402 public function setKind($kind)
4403 {
4404 $this->kind = $kind;
4405 }
4406
4407 public function getKind()
4408 {
4409 return $this->kind;
4410 }
4411
4412 public function setLastUpdateDetails(Google_Service_Games_RoomModification $lastUpdateDetails)
4413 {
4414 $this->lastUpdateDetails = $lastUpdateDetails;
4415 }
4416
4417 public function getLastUpdateDetails()
4418 {
4419 return $this->lastUpdateDetails;
4420 }
4421
4422 public function setParticipants($participants)
4423 {
4424 $this->participants = $participants;
4425 }
4426
4427 public function getParticipants()
4428 {
4429 return $this->participants;
4430 }
4431
4432 public function setRoomId($roomId)
4433 {
4434 $this->roomId = $roomId;
4435 }
4436
4437 public function getRoomId()
4438 {
4439 return $this->roomId;
4440 }
4441
4442 public function setRoomStatusVersion($roomStatusVersion)
4443 {
4444 $this->roomStatusVersion = $roomStatusVersion;
4445 }
4446
4447 public function getRoomStatusVersion()
4448 {
4449 return $this->roomStatusVersion;
4450 }
4451
4452 public function setStatus($status)
4453 {
4454 $this->status = $status;
4455 }
4456
4457 public function getStatus()
4458 {
4459 return $this->status;
4460 }
4461
4462 public function setVariant($variant)
4463 {
4464 $this->variant = $variant;
4465 }
4466
4467 public function getVariant()
4468 {
4469 return $this->variant;
4470 }
4471 }
4472
4473 class Google_Service_Games_RoomAutoMatchStatus extends Google_Model
4474 {
4475 public $kind;
4476 public $waitEstimateSeconds;
4477
4478 public function setKind($kind)
4479 {
4480 $this->kind = $kind;
4481 }
4482
4483 public function getKind()
4484 {
4485 return $this->kind;
4486 }
4487
4488 public function setWaitEstimateSeconds($waitEstimateSeconds)
4489 {
4490 $this->waitEstimateSeconds = $waitEstimateSeconds;
4491 }
4492
4493 public function getWaitEstimateSeconds()
4494 {
4495 return $this->waitEstimateSeconds;
4496 }
4497 }
4498
4499 class Google_Service_Games_RoomAutoMatchingCriteria extends Google_Model
4500 {
4501 public $exclusiveBitmask;
4502 public $kind;
4503 public $maxAutoMatchingPlayers;
4504 public $minAutoMatchingPlayers;
4505
4506 public function setExclusiveBitmask($exclusiveBitmask)
4507 {
4508 $this->exclusiveBitmask = $exclusiveBitmask;
4509 }
4510
4511 public function getExclusiveBitmask()
4512 {
4513 return $this->exclusiveBitmask;
4514 }
4515
4516 public function setKind($kind)
4517 {
4518 $this->kind = $kind;
4519 }
4520
4521 public function getKind()
4522 {
4523 return $this->kind;
4524 }
4525
4526 public function setMaxAutoMatchingPlayers($maxAutoMatchingPlayers)
4527 {
4528 $this->maxAutoMatchingPlayers = $maxAutoMatchingPlayers;
4529 }
4530
4531 public function getMaxAutoMatchingPlayers()
4532 {
4533 return $this->maxAutoMatchingPlayers;
4534 }
4535
4536 public function setMinAutoMatchingPlayers($minAutoMatchingPlayers)
4537 {
4538 $this->minAutoMatchingPlayers = $minAutoMatchingPlayers;
4539 }
4540
4541 public function getMinAutoMatchingPlayers()
4542 {
4543 return $this->minAutoMatchingPlayers;
4544 }
4545 }
4546
4547 class Google_Service_Games_RoomClientAddress extends Google_Model
4548 {
4549 public $kind;
4550 public $xmppAddress;
4551
4552 public function setKind($kind)
4553 {
4554 $this->kind = $kind;
4555 }
4556
4557 public function getKind()
4558 {
4559 return $this->kind;
4560 }
4561
4562 public function setXmppAddress($xmppAddress)
4563 {
4564 $this->xmppAddress = $xmppAddress;
4565 }
4566
4567 public function getXmppAddress()
4568 {
4569 return $this->xmppAddress;
4570 }
4571 }
4572
4573 class Google_Service_Games_RoomCreateRequest extends Google_Collection
4574 {
4575 protected $autoMatchingCriteriaType = 'Google_Service_Games_RoomAutoMatchingCriteria';
4576 protected $autoMatchingCriteriaDataType = '';
4577 public $capabilities;
4578 protected $clientAddressType = 'Google_Service_Games_RoomClientAddress';
4579 protected $clientAddressDataType = '';
4580 public $invitedPlayerIds;
4581 public $kind;
4582 protected $networkDiagnosticsType = 'Google_Service_Games_NetworkDiagnostics';
4583 protected $networkDiagnosticsDataType = '';
4584 public $requestId;
4585 public $variant;
4586
4587 public function setAutoMatchingCriteria(Google_Service_Games_RoomAutoMatchingCriteria $autoMatchingCriteria)
4588 {
4589 $this->autoMatchingCriteria = $autoMatchingCriteria;
4590 }
4591
4592 public function getAutoMatchingCriteria()
4593 {
4594 return $this->autoMatchingCriteria;
4595 }
4596
4597 public function setCapabilities($capabilities)
4598 {
4599 $this->capabilities = $capabilities;
4600 }
4601
4602 public function getCapabilities()
4603 {
4604 return $this->capabilities;
4605 }
4606
4607 public function setClientAddress(Google_Service_Games_RoomClientAddress $clientAddress)
4608 {
4609 $this->clientAddress = $clientAddress;
4610 }
4611
4612 public function getClientAddress()
4613 {
4614 return $this->clientAddress;
4615 }
4616
4617 public function setInvitedPlayerIds($invitedPlayerIds)
4618 {
4619 $this->invitedPlayerIds = $invitedPlayerIds;
4620 }
4621
4622 public function getInvitedPlayerIds()
4623 {
4624 return $this->invitedPlayerIds;
4625 }
4626
4627 public function setKind($kind)
4628 {
4629 $this->kind = $kind;
4630 }
4631
4632 public function getKind()
4633 {
4634 return $this->kind;
4635 }
4636
4637 public function setNetworkDiagnostics(Google_Service_Games_NetworkDiagnostics $networkDiagnostics)
4638 {
4639 $this->networkDiagnostics = $networkDiagnostics;
4640 }
4641
4642 public function getNetworkDiagnostics()
4643 {
4644 return $this->networkDiagnostics;
4645 }
4646
4647 public function setRequestId($requestId)
4648 {
4649 $this->requestId = $requestId;
4650 }
4651
4652 public function getRequestId()
4653 {
4654 return $this->requestId;
4655 }
4656
4657 public function setVariant($variant)
4658 {
4659 $this->variant = $variant;
4660 }
4661
4662 public function getVariant()
4663 {
4664 return $this->variant;
4665 }
4666 }
4667
4668 class Google_Service_Games_RoomJoinRequest extends Google_Collection
4669 {
4670 public $capabilities;
4671 protected $clientAddressType = 'Google_Service_Games_RoomClientAddress';
4672 protected $clientAddressDataType = '';
4673 public $kind;
4674 protected $networkDiagnosticsType = 'Google_Service_Games_NetworkDiagnostics';
4675 protected $networkDiagnosticsDataType = '';
4676
4677 public function setCapabilities($capabilities)
4678 {
4679 $this->capabilities = $capabilities;
4680 }
4681
4682 public function getCapabilities()
4683 {
4684 return $this->capabilities;
4685 }
4686
4687 public function setClientAddress(Google_Service_Games_RoomClientAddress $clientAddress)
4688 {
4689 $this->clientAddress = $clientAddress;
4690 }
4691
4692 public function getClientAddress()
4693 {
4694 return $this->clientAddress;
4695 }
4696
4697 public function setKind($kind)
4698 {
4699 $this->kind = $kind;
4700 }
4701
4702 public function getKind()
4703 {
4704 return $this->kind;
4705 }
4706
4707 public function setNetworkDiagnostics(Google_Service_Games_NetworkDiagnostics $networkDiagnostics)
4708 {
4709 $this->networkDiagnostics = $networkDiagnostics;
4710 }
4711
4712 public function getNetworkDiagnostics()
4713 {
4714 return $this->networkDiagnostics;
4715 }
4716 }
4717
4718 class Google_Service_Games_RoomLeaveDiagnostics extends Google_Collection
4719 {
4720 public $androidNetworkSubtype;
4721 public $androidNetworkType;
4722 public $iosNetworkType;
4723 public $kind;
4724 public $networkOperatorCode;
4725 public $networkOperatorName;
4726 protected $peerSessionType = 'Google_Service_Games_PeerSessionDiagnostics';
4727 protected $peerSessionDataType = 'array';
4728 public $socketsUsed;
4729
4730 public function setAndroidNetworkSubtype($androidNetworkSubtype)
4731 {
4732 $this->androidNetworkSubtype = $androidNetworkSubtype;
4733 }
4734
4735 public function getAndroidNetworkSubtype()
4736 {
4737 return $this->androidNetworkSubtype;
4738 }
4739
4740 public function setAndroidNetworkType($androidNetworkType)
4741 {
4742 $this->androidNetworkType = $androidNetworkType;
4743 }
4744
4745 public function getAndroidNetworkType()
4746 {
4747 return $this->androidNetworkType;
4748 }
4749
4750 public function setIosNetworkType($iosNetworkType)
4751 {
4752 $this->iosNetworkType = $iosNetworkType;
4753 }
4754
4755 public function getIosNetworkType()
4756 {
4757 return $this->iosNetworkType;
4758 }
4759
4760 public function setKind($kind)
4761 {
4762 $this->kind = $kind;
4763 }
4764
4765 public function getKind()
4766 {
4767 return $this->kind;
4768 }
4769
4770 public function setNetworkOperatorCode($networkOperatorCode)
4771 {
4772 $this->networkOperatorCode = $networkOperatorCode;
4773 }
4774
4775 public function getNetworkOperatorCode()
4776 {
4777 return $this->networkOperatorCode;
4778 }
4779
4780 public function setNetworkOperatorName($networkOperatorName)
4781 {
4782 $this->networkOperatorName = $networkOperatorName;
4783 }
4784
4785 public function getNetworkOperatorName()
4786 {
4787 return $this->networkOperatorName;
4788 }
4789
4790 public function setPeerSession($peerSession)
4791 {
4792 $this->peerSession = $peerSession;
4793 }
4794
4795 public function getPeerSession()
4796 {
4797 return $this->peerSession;
4798 }
4799
4800 public function setSocketsUsed($socketsUsed)
4801 {
4802 $this->socketsUsed = $socketsUsed;
4803 }
4804
4805 public function getSocketsUsed()
4806 {
4807 return $this->socketsUsed;
4808 }
4809 }
4810
4811 class Google_Service_Games_RoomLeaveRequest extends Google_Model
4812 {
4813 public $kind;
4814 protected $leaveDiagnosticsType = 'Google_Service_Games_RoomLeaveDiagnostics';
4815 protected $leaveDiagnosticsDataType = '';
4816 public $reason;
4817
4818 public function setKind($kind)
4819 {
4820 $this->kind = $kind;
4821 }
4822
4823 public function getKind()
4824 {
4825 return $this->kind;
4826 }
4827
4828 public function setLeaveDiagnostics(Google_Service_Games_RoomLeaveDiagnostics $leaveDiagnostics)
4829 {
4830 $this->leaveDiagnostics = $leaveDiagnostics;
4831 }
4832
4833 public function getLeaveDiagnostics()
4834 {
4835 return $this->leaveDiagnostics;
4836 }
4837
4838 public function setReason($reason)
4839 {
4840 $this->reason = $reason;
4841 }
4842
4843 public function getReason()
4844 {
4845 return $this->reason;
4846 }
4847 }
4848
4849 class Google_Service_Games_RoomList extends Google_Collection
4850 {
4851 protected $itemsType = 'Google_Service_Games_Room';
4852 protected $itemsDataType = 'array';
4853 public $kind;
4854 public $nextPageToken;
4855
4856 public function setItems($items)
4857 {
4858 $this->items = $items;
4859 }
4860
4861 public function getItems()
4862 {
4863 return $this->items;
4864 }
4865
4866 public function setKind($kind)
4867 {
4868 $this->kind = $kind;
4869 }
4870
4871 public function getKind()
4872 {
4873 return $this->kind;
4874 }
4875
4876 public function setNextPageToken($nextPageToken)
4877 {
4878 $this->nextPageToken = $nextPageToken;
4879 }
4880
4881 public function getNextPageToken()
4882 {
4883 return $this->nextPageToken;
4884 }
4885 }
4886
4887 class Google_Service_Games_RoomModification extends Google_Model
4888 {
4889 public $kind;
4890 public $modifiedTimestampMillis;
4891 public $participantId;
4892
4893 public function setKind($kind)
4894 {
4895 $this->kind = $kind;
4896 }
4897
4898 public function getKind()
4899 {
4900 return $this->kind;
4901 }
4902
4903 public function setModifiedTimestampMillis($modifiedTimestampMillis)
4904 {
4905 $this->modifiedTimestampMillis = $modifiedTimestampMillis;
4906 }
4907
4908 public function getModifiedTimestampMillis()
4909 {
4910 return $this->modifiedTimestampMillis;
4911 }
4912
4913 public function setParticipantId($participantId)
4914 {
4915 $this->participantId = $participantId;
4916 }
4917
4918 public function getParticipantId()
4919 {
4920 return $this->participantId;
4921 }
4922 }
4923
4924 class Google_Service_Games_RoomP2PStatus extends Google_Model
4925 {
4926 public $connectionSetupLatencyMillis;
4927 public $error;
4928 public $errorReason;
4929 public $kind;
4930 public $participantId;
4931 public $status;
4932 public $unreliableRoundtripLatencyMillis;
4933
4934 public function setConnectionSetupLatencyMillis($connectionSetupLatencyMillis)
4935 {
4936 $this->connectionSetupLatencyMillis = $connectionSetupLatencyMillis;
4937 }
4938
4939 public function getConnectionSetupLatencyMillis()
4940 {
4941 return $this->connectionSetupLatencyMillis;
4942 }
4943
4944 public function setError($error)
4945 {
4946 $this->error = $error;
4947 }
4948
4949 public function getError()
4950 {
4951 return $this->error;
4952 }
4953
4954 public function setErrorReason($errorReason)
4955 {
4956 $this->errorReason = $errorReason;
4957 }
4958
4959 public function getErrorReason()
4960 {
4961 return $this->errorReason;
4962 }
4963
4964 public function setKind($kind)
4965 {
4966 $this->kind = $kind;
4967 }
4968
4969 public function getKind()
4970 {
4971 return $this->kind;
4972 }
4973
4974 public function setParticipantId($participantId)
4975 {
4976 $this->participantId = $participantId;
4977 }
4978
4979 public function getParticipantId()
4980 {
4981 return $this->participantId;
4982 }
4983
4984 public function setStatus($status)
4985 {
4986 $this->status = $status;
4987 }
4988
4989 public function getStatus()
4990 {
4991 return $this->status;
4992 }
4993
4994 public function setUnreliableRoundtripLatencyMillis($unreliableRoundtripLatencyMillis)
4995 {
4996 $this->unreliableRoundtripLatencyMillis = $unreliableRoundtripLatencyMillis;
4997 }
4998
4999 public function getUnreliableRoundtripLatencyMillis()
5000 {
5001 return $this->unreliableRoundtripLatencyMillis;
5002 }
5003 }
5004
5005 class Google_Service_Games_RoomP2PStatuses extends Google_Collection
5006 {
5007 public $kind;
5008 protected $updatesType = 'Google_Service_Games_RoomP2PStatus';
5009 protected $updatesDataType = 'array';
5010
5011 public function setKind($kind)
5012 {
5013 $this->kind = $kind;
5014 }
5015
5016 public function getKind()
5017 {
5018 return $this->kind;
5019 }
5020
5021 public function setUpdates($updates)
5022 {
5023 $this->updates = $updates;
5024 }
5025
5026 public function getUpdates()
5027 {
5028 return $this->updates;
5029 }
5030 }
5031
5032 class Google_Service_Games_RoomParticipant extends Google_Collection
5033 {
5034 public $autoMatched;
5035 protected $autoMatchedPlayerType = 'Google_Service_Games_AnonymousPlayer';
5036 protected $autoMatchedPlayerDataType = '';
5037 public $capabilities;
5038 protected $clientAddressType = 'Google_Service_Games_RoomClientAddress';
5039 protected $clientAddressDataType = '';
5040 public $connected;
5041 public $id;
5042 public $kind;
5043 public $leaveReason;
5044 protected $playerType = 'Google_Service_Games_Player';
5045 protected $playerDataType = '';
5046 public $status;
5047
5048 public function setAutoMatched($autoMatched)
5049 {
5050 $this->autoMatched = $autoMatched;
5051 }
5052
5053 public function getAutoMatched()
5054 {
5055 return $this->autoMatched;
5056 }
5057
5058 public function setAutoMatchedPlayer(Google_Service_Games_AnonymousPlayer $autoMatchedPlayer)
5059 {
5060 $this->autoMatchedPlayer = $autoMatchedPlayer;
5061 }
5062
5063 public function getAutoMatchedPlayer()
5064 {
5065 return $this->autoMatchedPlayer;
5066 }
5067
5068 public function setCapabilities($capabilities)
5069 {
5070 $this->capabilities = $capabilities;
5071 }
5072
5073 public function getCapabilities()
5074 {
5075 return $this->capabilities;
5076 }
5077
5078 public function setClientAddress(Google_Service_Games_RoomClientAddress $clientAddress)
5079 {
5080 $this->clientAddress = $clientAddress;
5081 }
5082
5083 public function getClientAddress()
5084 {
5085 return $this->clientAddress;
5086 }
5087
5088 public function setConnected($connected)
5089 {
5090 $this->connected = $connected;
5091 }
5092
5093 public function getConnected()
5094 {
5095 return $this->connected;
5096 }
5097
5098 public function setId($id)
5099 {
5100 $this->id = $id;
5101 }
5102
5103 public function getId()
5104 {
5105 return $this->id;
5106 }
5107
5108 public function setKind($kind)
5109 {
5110 $this->kind = $kind;
5111 }
5112
5113 public function getKind()
5114 {
5115 return $this->kind;
5116 }
5117
5118 public function setLeaveReason($leaveReason)
5119 {
5120 $this->leaveReason = $leaveReason;
5121 }
5122
5123 public function getLeaveReason()
5124 {
5125 return $this->leaveReason;
5126 }
5127
5128 public function setPlayer(Google_Service_Games_Player $player)
5129 {
5130 $this->player = $player;
5131 }
5132
5133 public function getPlayer()
5134 {
5135 return $this->player;
5136 }
5137
5138 public function setStatus($status)
5139 {
5140 $this->status = $status;
5141 }
5142
5143 public function getStatus()
5144 {
5145 return $this->status;
5146 }
5147 }
5148
5149 class Google_Service_Games_RoomStatus extends Google_Collection
5150 {
5151 protected $autoMatchingStatusType = 'Google_Service_Games_RoomAutoMatchStatus';
5152 protected $autoMatchingStatusDataType = '';
5153 public $kind;
5154 protected $participantsType = 'Google_Service_Games_RoomParticipant';
5155 protected $participantsDataType = 'array';
5156 public $roomId;
5157 public $status;
5158 public $statusVersion;
5159
5160 public function setAutoMatchingStatus(Google_Service_Games_RoomAutoMatchStatus $autoMatchingStatus)
5161 {
5162 $this->autoMatchingStatus = $autoMatchingStatus;
5163 }
5164
5165 public function getAutoMatchingStatus()
5166 {
5167 return $this->autoMatchingStatus;
5168 }
5169
5170 public function setKind($kind)
5171 {
5172 $this->kind = $kind;
5173 }
5174
5175 public function getKind()
5176 {
5177 return $this->kind;
5178 }
5179
5180 public function setParticipants($participants)
5181 {
5182 $this->participants = $participants;
5183 }
5184
5185 public function getParticipants()
5186 {
5187 return $this->participants;
5188 }
5189
5190 public function setRoomId($roomId)
5191 {
5192 $this->roomId = $roomId;
5193 }
5194
5195 public function getRoomId()
5196 {
5197 return $this->roomId;
5198 }
5199
5200 public function setStatus($status)
5201 {
5202 $this->status = $status;
5203 }
5204
5205 public function getStatus()
5206 {
5207 return $this->status;
5208 }
5209
5210 public function setStatusVersion($statusVersion)
5211 {
5212 $this->statusVersion = $statusVersion;
5213 }
5214
5215 public function getStatusVersion()
5216 {
5217 return $this->statusVersion;
5218 }
5219 }
5220
5221 class Google_Service_Games_ScoreSubmission extends Google_Model
5222 {
5223 public $kind;
5224 public $leaderboardId;
5225 public $score;
5226 public $scoreTag;
5227
5228 public function setKind($kind)
5229 {
5230 $this->kind = $kind;
5231 }
5232
5233 public function getKind()
5234 {
5235 return $this->kind;
5236 }
5237
5238 public function setLeaderboardId($leaderboardId)
5239 {
5240 $this->leaderboardId = $leaderboardId;
5241 }
5242
5243 public function getLeaderboardId()
5244 {
5245 return $this->leaderboardId;
5246 }
5247
5248 public function setScore($score)
5249 {
5250 $this->score = $score;
5251 }
5252
5253 public function getScore()
5254 {
5255 return $this->score;
5256 }
5257
5258 public function setScoreTag($scoreTag)
5259 {
5260 $this->scoreTag = $scoreTag;
5261 }
5262
5263 public function getScoreTag()
5264 {
5265 return $this->scoreTag;
5266 }
5267 }
5268
5269 class Google_Service_Games_TurnBasedAutoMatchingCriteria extends Google_Model
5270 {
5271 public $exclusiveBitmask;
5272 public $kind;
5273 public $maxAutoMatchingPlayers;
5274 public $minAutoMatchingPlayers;
5275
5276 public function setExclusiveBitmask($exclusiveBitmask)
5277 {
5278 $this->exclusiveBitmask = $exclusiveBitmask;
5279 }
5280
5281 public function getExclusiveBitmask()
5282 {
5283 return $this->exclusiveBitmask;
5284 }
5285
5286 public function setKind($kind)
5287 {
5288 $this->kind = $kind;
5289 }
5290
5291 public function getKind()
5292 {
5293 return $this->kind;
5294 }
5295
5296 public function setMaxAutoMatchingPlayers($maxAutoMatchingPlayers)
5297 {
5298 $this->maxAutoMatchingPlayers = $maxAutoMatchingPlayers;
5299 }
5300
5301 public function getMaxAutoMatchingPlayers()
5302 {
5303 return $this->maxAutoMatchingPlayers;
5304 }
5305
5306 public function setMinAutoMatchingPlayers($minAutoMatchingPlayers)
5307 {
5308 $this->minAutoMatchingPlayers = $minAutoMatchingPlayers;
5309 }
5310
5311 public function getMinAutoMatchingPlayers()
5312 {
5313 return $this->minAutoMatchingPlayers;
5314 }
5315 }
5316
5317 class Google_Service_Games_TurnBasedMatch extends Google_Collection
5318 {
5319 public $applicationId;
5320 protected $autoMatchingCriteriaType = 'Google_Service_Games_TurnBasedAutoMatchingCriteria';
5321 protected $autoMatchingCriteriaDataType = '';
5322 protected $creationDetailsType = 'Google_Service_Games_TurnBasedMatchModification';
5323 protected $creationDetailsDataType = '';
5324 protected $dataType = 'Google_Service_Games_TurnBasedMatchData';
5325 protected $dataDataType = '';
5326 public $description;
5327 public $inviterId;
5328 public $kind;
5329 protected $lastUpdateDetailsType = 'Google_Service_Games_TurnBasedMatchModification';
5330 protected $lastUpdateDetailsDataType = '';
5331 public $matchId;
5332 public $matchNumber;
5333 public $matchVersion;
5334 protected $participantsType = 'Google_Service_Games_TurnBasedMatchParticipant';
5335 protected $participantsDataType = 'array';
5336 public $pendingParticipantId;
5337 protected $previousMatchDataType = 'Google_Service_Games_TurnBasedMatchData';
5338 protected $previousMatchDataDataType = '';
5339 public $rematchId;
5340 protected $resultsType = 'Google_Service_Games_ParticipantResult';
5341 protected $resultsDataType = 'array';
5342 public $status;
5343 public $userMatchStatus;
5344 public $variant;
5345 public $withParticipantId;
5346
5347 public function setApplicationId($applicationId)
5348 {
5349 $this->applicationId = $applicationId;
5350 }
5351
5352 public function getApplicationId()
5353 {
5354 return $this->applicationId;
5355 }
5356
5357 public function setAutoMatchingCriteria(Google_Service_Games_TurnBasedAutoMatchingCriteria $autoMatchingCriteria)
5358 {
5359 $this->autoMatchingCriteria = $autoMatchingCriteria;
5360 }
5361
5362 public function getAutoMatchingCriteria()
5363 {
5364 return $this->autoMatchingCriteria;
5365 }
5366
5367 public function setCreationDetails(Google_Service_Games_TurnBasedMatchModification $creationDetails)
5368 {
5369 $this->creationDetails = $creationDetails;
5370 }
5371
5372 public function getCreationDetails()
5373 {
5374 return $this->creationDetails;
5375 }
5376
5377 public function setData(Google_Service_Games_TurnBasedMatchData $data)
5378 {
5379 $this->data = $data;
5380 }
5381
5382 public function getData()
5383 {
5384 return $this->data;
5385 }
5386
5387 public function setDescription($description)
5388 {
5389 $this->description = $description;
5390 }
5391
5392 public function getDescription()
5393 {
5394 return $this->description;
5395 }
5396
5397 public function setInviterId($inviterId)
5398 {
5399 $this->inviterId = $inviterId;
5400 }
5401
5402 public function getInviterId()
5403 {
5404 return $this->inviterId;
5405 }
5406
5407 public function setKind($kind)
5408 {
5409 $this->kind = $kind;
5410 }
5411
5412 public function getKind()
5413 {
5414 return $this->kind;
5415 }
5416
5417 public function setLastUpdateDetails(Google_Service_Games_TurnBasedMatchModification $lastUpdateDetails)
5418 {
5419 $this->lastUpdateDetails = $lastUpdateDetails;
5420 }
5421
5422 public function getLastUpdateDetails()
5423 {
5424 return $this->lastUpdateDetails;
5425 }
5426
5427 public function setMatchId($matchId)
5428 {
5429 $this->matchId = $matchId;
5430 }
5431
5432 public function getMatchId()
5433 {
5434 return $this->matchId;
5435 }
5436
5437 public function setMatchNumber($matchNumber)
5438 {
5439 $this->matchNumber = $matchNumber;
5440 }
5441
5442 public function getMatchNumber()
5443 {
5444 return $this->matchNumber;
5445 }
5446
5447 public function setMatchVersion($matchVersion)
5448 {
5449 $this->matchVersion = $matchVersion;
5450 }
5451
5452 public function getMatchVersion()
5453 {
5454 return $this->matchVersion;
5455 }
5456
5457 public function setParticipants($participants)
5458 {
5459 $this->participants = $participants;
5460 }
5461
5462 public function getParticipants()
5463 {
5464 return $this->participants;
5465 }
5466
5467 public function setPendingParticipantId($pendingParticipantId)
5468 {
5469 $this->pendingParticipantId = $pendingParticipantId;
5470 }
5471
5472 public function getPendingParticipantId()
5473 {
5474 return $this->pendingParticipantId;
5475 }
5476
5477 public function setPreviousMatchData(Google_Service_Games_TurnBasedMatchData $previousMatchData)
5478 {
5479 $this->previousMatchData = $previousMatchData;
5480 }
5481
5482 public function getPreviousMatchData()
5483 {
5484 return $this->previousMatchData;
5485 }
5486
5487 public function setRematchId($rematchId)
5488 {
5489 $this->rematchId = $rematchId;
5490 }
5491
5492 public function getRematchId()
5493 {
5494 return $this->rematchId;
5495 }
5496
5497 public function setResults($results)
5498 {
5499 $this->results = $results;
5500 }
5501
5502 public function getResults()
5503 {
5504 return $this->results;
5505 }
5506
5507 public function setStatus($status)
5508 {
5509 $this->status = $status;
5510 }
5511
5512 public function getStatus()
5513 {
5514 return $this->status;
5515 }
5516
5517 public function setUserMatchStatus($userMatchStatus)
5518 {
5519 $this->userMatchStatus = $userMatchStatus;
5520 }
5521
5522 public function getUserMatchStatus()
5523 {
5524 return $this->userMatchStatus;
5525 }
5526
5527 public function setVariant($variant)
5528 {
5529 $this->variant = $variant;
5530 }
5531
5532 public function getVariant()
5533 {
5534 return $this->variant;
5535 }
5536
5537 public function setWithParticipantId($withParticipantId)
5538 {
5539 $this->withParticipantId = $withParticipantId;
5540 }
5541
5542 public function getWithParticipantId()
5543 {
5544 return $this->withParticipantId;
5545 }
5546 }
5547
5548 class Google_Service_Games_TurnBasedMatchCreateRequest extends Google_Collection
5549 {
5550 protected $autoMatchingCriteriaType = 'Google_Service_Games_TurnBasedAutoMatchingCriteria';
5551 protected $autoMatchingCriteriaDataType = '';
5552 public $invitedPlayerIds;
5553 public $kind;
5554 public $requestId;
5555 public $variant;
5556
5557 public function setAutoMatchingCriteria(Google_Service_Games_TurnBasedAutoMatchingCriteria $autoMatchingCriteria)
5558 {
5559 $this->autoMatchingCriteria = $autoMatchingCriteria;
5560 }
5561
5562 public function getAutoMatchingCriteria()
5563 {
5564 return $this->autoMatchingCriteria;
5565 }
5566
5567 public function setInvitedPlayerIds($invitedPlayerIds)
5568 {
5569 $this->invitedPlayerIds = $invitedPlayerIds;
5570 }
5571
5572 public function getInvitedPlayerIds()
5573 {
5574 return $this->invitedPlayerIds;
5575 }
5576
5577 public function setKind($kind)
5578 {
5579 $this->kind = $kind;
5580 }
5581
5582 public function getKind()
5583 {
5584 return $this->kind;
5585 }
5586
5587 public function setRequestId($requestId)
5588 {
5589 $this->requestId = $requestId;
5590 }
5591
5592 public function getRequestId()
5593 {
5594 return $this->requestId;
5595 }
5596
5597 public function setVariant($variant)
5598 {
5599 $this->variant = $variant;
5600 }
5601
5602 public function getVariant()
5603 {
5604 return $this->variant;
5605 }
5606 }
5607
5608 class Google_Service_Games_TurnBasedMatchData extends Google_Model
5609 {
5610 public $data;
5611 public $dataAvailable;
5612 public $kind;
5613
5614 public function setData($data)
5615 {
5616 $this->data = $data;
5617 }
5618
5619 public function getData()
5620 {
5621 return $this->data;
5622 }
5623
5624 public function setDataAvailable($dataAvailable)
5625 {
5626 $this->dataAvailable = $dataAvailable;
5627 }
5628
5629 public function getDataAvailable()
5630 {
5631 return $this->dataAvailable;
5632 }
5633
5634 public function setKind($kind)
5635 {
5636 $this->kind = $kind;
5637 }
5638
5639 public function getKind()
5640 {
5641 return $this->kind;
5642 }
5643 }
5644
5645 class Google_Service_Games_TurnBasedMatchDataRequest extends Google_Model
5646 {
5647 public $data;
5648 public $kind;
5649
5650 public function setData($data)
5651 {
5652 $this->data = $data;
5653 }
5654
5655 public function getData()
5656 {
5657 return $this->data;
5658 }
5659
5660 public function setKind($kind)
5661 {
5662 $this->kind = $kind;
5663 }
5664
5665 public function getKind()
5666 {
5667 return $this->kind;
5668 }
5669 }
5670
5671 class Google_Service_Games_TurnBasedMatchList extends Google_Collection
5672 {
5673 protected $itemsType = 'Google_Service_Games_TurnBasedMatch';
5674 protected $itemsDataType = 'array';
5675 public $kind;
5676 public $nextPageToken;
5677
5678 public function setItems($items)
5679 {
5680 $this->items = $items;
5681 }
5682
5683 public function getItems()
5684 {
5685 return $this->items;
5686 }
5687
5688 public function setKind($kind)
5689 {
5690 $this->kind = $kind;
5691 }
5692
5693 public function getKind()
5694 {
5695 return $this->kind;
5696 }
5697
5698 public function setNextPageToken($nextPageToken)
5699 {
5700 $this->nextPageToken = $nextPageToken;
5701 }
5702
5703 public function getNextPageToken()
5704 {
5705 return $this->nextPageToken;
5706 }
5707 }
5708
5709 class Google_Service_Games_TurnBasedMatchModification extends Google_Model
5710 {
5711 public $kind;
5712 public $modifiedTimestampMillis;
5713 public $participantId;
5714
5715 public function setKind($kind)
5716 {
5717 $this->kind = $kind;
5718 }
5719
5720 public function getKind()
5721 {
5722 return $this->kind;
5723 }
5724
5725 public function setModifiedTimestampMillis($modifiedTimestampMillis)
5726 {
5727 $this->modifiedTimestampMillis = $modifiedTimestampMillis;
5728 }
5729
5730 public function getModifiedTimestampMillis()
5731 {
5732 return $this->modifiedTimestampMillis;
5733 }
5734
5735 public function setParticipantId($participantId)
5736 {
5737 $this->participantId = $participantId;
5738 }
5739
5740 public function getParticipantId()
5741 {
5742 return $this->participantId;
5743 }
5744 }
5745
5746 class Google_Service_Games_TurnBasedMatchParticipant extends Google_Model
5747 {
5748 public $autoMatched;
5749 protected $autoMatchedPlayerType = 'Google_Service_Games_AnonymousPlayer';
5750 protected $autoMatchedPlayerDataType = '';
5751 public $id;
5752 public $kind;
5753 protected $playerType = 'Google_Service_Games_Player';
5754 protected $playerDataType = '';
5755 public $status;
5756
5757 public function setAutoMatched($autoMatched)
5758 {
5759 $this->autoMatched = $autoMatched;
5760 }
5761
5762 public function getAutoMatched()
5763 {
5764 return $this->autoMatched;
5765 }
5766
5767 public function setAutoMatchedPlayer(Google_Service_Games_AnonymousPlayer $autoMatchedPlayer)
5768 {
5769 $this->autoMatchedPlayer = $autoMatchedPlayer;
5770 }
5771
5772 public function getAutoMatchedPlayer()
5773 {
5774 return $this->autoMatchedPlayer;
5775 }
5776
5777 public function setId($id)
5778 {
5779 $this->id = $id;
5780 }
5781
5782 public function getId()
5783 {
5784 return $this->id;
5785 }
5786
5787 public function setKind($kind)
5788 {
5789 $this->kind = $kind;
5790 }
5791
5792 public function getKind()
5793 {
5794 return $this->kind;
5795 }
5796
5797 public function setPlayer(Google_Service_Games_Player $player)
5798 {
5799 $this->player = $player;
5800 }
5801
5802 public function getPlayer()
5803 {
5804 return $this->player;
5805 }
5806
5807 public function setStatus($status)
5808 {
5809 $this->status = $status;
5810 }
5811
5812 public function getStatus()
5813 {
5814 return $this->status;
5815 }
5816 }
5817
5818 class Google_Service_Games_TurnBasedMatchRematch extends Google_Model
5819 {
5820 public $kind;
5821 protected $previousMatchType = 'Google_Service_Games_TurnBasedMatch';
5822 protected $previousMatchDataType = '';
5823 protected $rematchType = 'Google_Service_Games_TurnBasedMatch';
5824 protected $rematchDataType = '';
5825
5826 public function setKind($kind)
5827 {
5828 $this->kind = $kind;
5829 }
5830
5831 public function getKind()
5832 {
5833 return $this->kind;
5834 }
5835
5836 public function setPreviousMatch(Google_Service_Games_TurnBasedMatch $previousMatch)
5837 {
5838 $this->previousMatch = $previousMatch;
5839 }
5840
5841 public function getPreviousMatch()
5842 {
5843 return $this->previousMatch;
5844 }
5845
5846 public function setRematch(Google_Service_Games_TurnBasedMatch $rematch)
5847 {
5848 $this->rematch = $rematch;
5849 }
5850
5851 public function getRematch()
5852 {
5853 return $this->rematch;
5854 }
5855 }
5856
5857 class Google_Service_Games_TurnBasedMatchResults extends Google_Collection
5858 {
5859 protected $dataType = 'Google_Service_Games_TurnBasedMatchDataRequest';
5860 protected $dataDataType = '';
5861 public $kind;
5862 public $matchVersion;
5863 protected $resultsType = 'Google_Service_Games_ParticipantResult';
5864 protected $resultsDataType = 'array';
5865
5866 public function setData(Google_Service_Games_TurnBasedMatchDataRequest $data)
5867 {
5868 $this->data = $data;
5869 }
5870
5871 public function getData()
5872 {
5873 return $this->data;
5874 }
5875
5876 public function setKind($kind)
5877 {
5878 $this->kind = $kind;
5879 }
5880
5881 public function getKind()
5882 {
5883 return $this->kind;
5884 }
5885
5886 public function setMatchVersion($matchVersion)
5887 {
5888 $this->matchVersion = $matchVersion;
5889 }
5890
5891 public function getMatchVersion()
5892 {
5893 return $this->matchVersion;
5894 }
5895
5896 public function setResults($results)
5897 {
5898 $this->results = $results;
5899 }
5900
5901 public function getResults()
5902 {
5903 return $this->results;
5904 }
5905 }
5906
5907 class Google_Service_Games_TurnBasedMatchSync extends Google_Collection
5908 {
5909 protected $itemsType = 'Google_Service_Games_TurnBasedMatch';
5910 protected $itemsDataType = 'array';
5911 public $kind;
5912 public $moreAvailable;
5913 public $nextPageToken;
5914
5915 public function setItems($items)
5916 {
5917 $this->items = $items;
5918 }
5919
5920 public function getItems()
5921 {
5922 return $this->items;
5923 }
5924
5925 public function setKind($kind)
5926 {
5927 $this->kind = $kind;
5928 }
5929
5930 public function getKind()
5931 {
5932 return $this->kind;
5933 }
5934
5935 public function setMoreAvailable($moreAvailable)
5936 {
5937 $this->moreAvailable = $moreAvailable;
5938 }
5939
5940 public function getMoreAvailable()
5941 {
5942 return $this->moreAvailable;
5943 }
5944
5945 public function setNextPageToken($nextPageToken)
5946 {
5947 $this->nextPageToken = $nextPageToken;
5948 }
5949
5950 public function getNextPageToken()
5951 {
5952 return $this->nextPageToken;
5953 }
5954 }
5955
5956 class Google_Service_Games_TurnBasedMatchTurn extends Google_Collection
5957 {
5958 protected $dataType = 'Google_Service_Games_TurnBasedMatchDataRequest';
5959 protected $dataDataType = '';
5960 public $kind;
5961 public $matchVersion;
5962 public $pendingParticipantId;
5963 protected $resultsType = 'Google_Service_Games_ParticipantResult';
5964 protected $resultsDataType = 'array';
5965
5966 public function setData(Google_Service_Games_TurnBasedMatchDataRequest $data)
5967 {
5968 $this->data = $data;
5969 }
5970
5971 public function getData()
5972 {
5973 return $this->data;
5974 }
5975
5976 public function setKind($kind)
5977 {
5978 $this->kind = $kind;
5979 }
5980
5981 public function getKind()
5982 {
5983 return $this->kind;
5984 }
5985
5986 public function setMatchVersion($matchVersion)
5987 {
5988 $this->matchVersion = $matchVersion;
5989 }
5990
5991 public function getMatchVersion()
5992 {
5993 return $this->matchVersion;
5994 }
5995
5996 public function setPendingParticipantId($pendingParticipantId)
5997 {
5998 $this->pendingParticipantId = $pendingParticipantId;
5999 }
6000
6001 public function getPendingParticipantId()
6002 {
6003 return $this->pendingParticipantId;
6004 }
6005
6006 public function setResults($results)
6007 {
6008 $this->results = $results;
6009 }
6010
6011 public function getResults()
6012 {
6013 return $this->results;
6014 }
6015 }
6016