/includes/api-libs/Google/Service/Games.php

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