Skip to content

Commit a5b9d0c

Browse files
committed
Updated Games.php
1 parent aa7c64e commit a5b9d0c

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

src/Google/Service/Games.php

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,10 @@ public function __construct(Google_Client $client)
269269
'type' => 'string',
270270
'required' => true,
271271
),
272+
'language' => array(
273+
'location' => 'query',
274+
'type' => 'string',
275+
),
272276
),
273277
),'list' => array(
274278
'path' => 'players/me/players/{collection}',
@@ -287,6 +291,10 @@ public function __construct(Google_Client $client)
287291
'location' => 'query',
288292
'type' => 'integer',
289293
),
294+
'language' => array(
295+
'location' => 'query',
296+
'type' => 'string',
297+
),
290298
),
291299
),
292300
)
@@ -354,6 +362,10 @@ public function __construct(Google_Client $client)
354362
'type' => 'string',
355363
'required' => true,
356364
),
365+
'language' => array(
366+
'location' => 'query',
367+
'type' => 'string',
368+
),
357369
),
358370
),'dismiss' => array(
359371
'path' => 'rooms/{roomId}/dismiss',
@@ -388,6 +400,10 @@ public function __construct(Google_Client $client)
388400
'type' => 'string',
389401
'required' => true,
390402
),
403+
'language' => array(
404+
'location' => 'query',
405+
'type' => 'string',
406+
),
391407
),
392408
),'leave' => array(
393409
'path' => 'rooms/{roomId}/leave',
@@ -398,6 +414,10 @@ public function __construct(Google_Client $client)
398414
'type' => 'string',
399415
'required' => true,
400416
),
417+
'language' => array(
418+
'location' => 'query',
419+
'type' => 'string',
420+
),
401421
),
402422
),'list' => array(
403423
'path' => 'rooms',
@@ -425,6 +445,10 @@ public function __construct(Google_Client $client)
425445
'type' => 'string',
426446
'required' => true,
427447
),
448+
'language' => array(
449+
'location' => 'query',
450+
'type' => 'string',
451+
),
428452
),
429453
),
430454
)
@@ -1077,6 +1101,9 @@ class Google_Service_Games_Players_Resource extends Google_Service_Resource
10771101
* @param string $playerId
10781102
* A player ID. A value of me may be used in place of the authenticated player's ID.
10791103
* @param array $optParams Optional parameters.
1104+
*
1105+
* @opt_param string language
1106+
* The preferred language to use for strings returned by this method.
10801107
* @return Google_Service_Games_Player
10811108
*/
10821109
public function get($playerId, $optParams = array())
@@ -1099,6 +1126,8 @@ public function get($playerId, $optParams = array())
10991126
* The maximum number of player resources to return in the response, used for paging. For any
11001127
* response, the actual number of player resources returned may be less than the specified
11011128
* maxResults.
1129+
* @opt_param string language
1130+
* The preferred language to use for strings returned by this method.
11021131
* @return Google_Service_Games_PlayerListResponse
11031132
*/
11041133
public function listPlayers($collection, $optParams = array())
@@ -1216,6 +1245,9 @@ public function create(Google_Service_Games_RoomCreateRequest $postBody, $optPar
12161245
* @param string $roomId
12171246
* The ID of the room.
12181247
* @param array $optParams Optional parameters.
1248+
*
1249+
* @opt_param string language
1250+
* The preferred language to use for strings returned by this method.
12191251
* @return Google_Service_Games_Room
12201252
*/
12211253
public function decline($roomId, $optParams = array())
@@ -1263,6 +1295,9 @@ public function get($roomId, $optParams = array())
12631295
* The ID of the room.
12641296
* @param Google_RoomJoinRequest $postBody
12651297
* @param array $optParams Optional parameters.
1298+
*
1299+
* @opt_param string language
1300+
* The preferred language to use for strings returned by this method.
12661301
* @return Google_Service_Games_Room
12671302
*/
12681303
public function join($roomId, Google_Service_Games_RoomJoinRequest $postBody, $optParams = array())
@@ -1279,6 +1314,9 @@ public function join($roomId, Google_Service_Games_RoomJoinRequest $postBody, $o
12791314
* The ID of the room.
12801315
* @param Google_RoomLeaveRequest $postBody
12811316
* @param array $optParams Optional parameters.
1317+
*
1318+
* @opt_param string language
1319+
* The preferred language to use for strings returned by this method.
12821320
* @return Google_Service_Games_Room
12831321
*/
12841322
public function leave($roomId, Google_Service_Games_RoomLeaveRequest $postBody, $optParams = array())
@@ -1316,6 +1354,9 @@ public function listRooms($optParams = array())
13161354
* The ID of the room.
13171355
* @param Google_RoomP2PStatuses $postBody
13181356
* @param array $optParams Optional parameters.
1357+
*
1358+
* @opt_param string language
1359+
* The preferred language to use for strings returned by this method.
13191360
* @return Google_Service_Games_RoomStatus
13201361
*/
13211362
public function reportStatus($roomId, Google_Service_Games_RoomP2PStatuses $postBody, $optParams = array())

0 commit comments

Comments
 (0)