Skip to content

Commit b9ed87d

Browse files
feat(games): update the api
#### games:v1 The following keys were added: - resources.recall.methods.gamesPlayerTokens (Total Keys: 13) - schemas.GamePlayerToken (Total Keys: 5) - schemas.RetrieveGamesPlayerTokensResponse (Total Keys: 4)
1 parent 53fba76 commit b9ed87d

File tree

2 files changed

+103
-7
lines changed

2 files changed

+103
-7
lines changed

docs/dyn/games_v1.recall.html

Lines changed: 38 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,12 @@ <h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#gamesPlayerTokens">gamesPlayerTokens(sessionId, applicationIds=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Retrieve the Recall tokens from all requested games that is associated with the PGS Player encoded in the provided recall session id. The API is only available for users that have an active PGS Player profile.</p>
8083
<p class="toc_element">
8184
<code><a href="#lastTokenFromAllDeveloperGames">lastTokenFromAllDeveloperGames(sessionId, x__xgafv=None)</a></code></p>
82-
<p class="firstline">Retrieve the last Recall token from all developer games that is associated with the PGS Player principal encoded in the provided recall session id. The API is only available for users that have active PGS Player profile.</p>
85+
<p class="firstline">Retrieve the last Recall token from all developer games that is associated with the PGS Player encoded in the provided recall session id. The API is only available for users that have active PGS Player profile.</p>
8386
<p class="toc_element">
8487
<code><a href="#linkPersona">linkPersona(body=None, x__xgafv=None)</a></code></p>
8588
<p class="firstline">Associate the PGS Player principal encoded in the provided recall session id with an in-game account</p>
@@ -88,7 +91,7 @@ <h2>Instance Methods</h2>
8891
<p class="firstline">Delete all Recall tokens linking the given persona to any player (with or without a profile).</p>
8992
<p class="toc_element">
9093
<code><a href="#retrieveTokens">retrieveTokens(sessionId, x__xgafv=None)</a></code></p>
91-
<p class="firstline">Retrieve all Recall tokens associated with the PGS Player principal encoded in the provided recall session id. The API is only available for users that have active PGS Player profile.</p>
94+
<p class="firstline">Retrieve all Recall tokens associated with the PGS Player encoded in the provided recall session id. The API is only available for users that have active PGS Player profile.</p>
9295
<p class="toc_element">
9396
<code><a href="#unlinkPersona">unlinkPersona(body=None, x__xgafv=None)</a></code></p>
9497
<p class="firstline">Delete a Recall token linking the PGS Player principal identified by the Recall session and an in-game account identified either by the 'persona' or by the token value.</p>
@@ -98,9 +101,40 @@ <h3>Method Details</h3>
98101
<pre>Close httplib2 connections.</pre>
99102
</div>
100103

104+
<div class="method">
105+
<code class="details" id="gamesPlayerTokens">gamesPlayerTokens(sessionId, applicationIds=None, x__xgafv=None)</code>
106+
<pre>Retrieve the Recall tokens from all requested games that is associated with the PGS Player encoded in the provided recall session id. The API is only available for users that have an active PGS Player profile.
107+
108+
Args:
109+
sessionId: string, Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application. (required)
110+
applicationIds: string, Required. The application IDs from the Google Play developer console for the games to return scoped ids for. (repeated)
111+
x__xgafv: string, V1 error format.
112+
Allowed values
113+
1 - v1 error format
114+
2 - v2 error format
115+
116+
Returns:
117+
An object of the form:
118+
119+
{ # A list of recall token data returned from the RetrieveGamesPlayerTokens RPC
120+
&quot;applicationRecallTokens&quot;: [ # The requested applications along with the recall tokens for the player. If the player does not have recall tokens for an application, that application is not included in the response.
121+
{ # Recall tokens for a game.
122+
&quot;applicationId&quot;: &quot;A String&quot;, # The application that this player identifier is for.
123+
&quot;token&quot;: [ # Recall token data.
124+
{ # Recall token data returned from RetrievePlayerTokens RPC
125+
&quot;expireTime&quot;: &quot;A String&quot;, # Optional. Optional expiration time of the token
126+
&quot;multiPlayerPersona&quot;: True or False, # Required. Whether the persona identified by the token is linked to multiple PGS Players
127+
&quot;token&quot;: &quot;A String&quot;, # Required. Value of the Recall token as it is provided by the client via LinkPersona RPC
128+
},
129+
],
130+
},
131+
],
132+
}</pre>
133+
</div>
134+
101135
<div class="method">
102136
<code class="details" id="lastTokenFromAllDeveloperGames">lastTokenFromAllDeveloperGames(sessionId, x__xgafv=None)</code>
103-
<pre>Retrieve the last Recall token from all developer games that is associated with the PGS Player principal encoded in the provided recall session id. The API is only available for users that have active PGS Player profile.
137+
<pre>Retrieve the last Recall token from all developer games that is associated with the PGS Player encoded in the provided recall session id. The API is only available for users that have active PGS Player profile.
104138

105139
Args:
106140
sessionId: string, Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application. (required)
@@ -179,7 +213,7 @@ <h3>Method Details</h3>
179213

180214
<div class="method">
181215
<code class="details" id="retrieveTokens">retrieveTokens(sessionId, x__xgafv=None)</code>
182-
<pre>Retrieve all Recall tokens associated with the PGS Player principal encoded in the provided recall session id. The API is only available for users that have active PGS Player profile.
216+
<pre>Retrieve all Recall tokens associated with the PGS Player encoded in the provided recall session id. The API is only available for users that have active PGS Player profile.
183217

184218
Args:
185219
sessionId: string, Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application. (required)

googleapiclient/discovery_cache/documents/games.v1.json

Lines changed: 65 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -822,8 +822,38 @@ false
822822
},
823823
"recall": {
824824
"methods": {
825+
"gamesPlayerTokens": {
826+
"description": "Retrieve the Recall tokens from all requested games that is associated with the PGS Player encoded in the provided recall session id. The API is only available for users that have an active PGS Player profile.",
827+
"flatPath": "games/v1/recall/gamesPlayerTokens/{sessionId}",
828+
"httpMethod": "GET",
829+
"id": "games.recall.gamesPlayerTokens",
830+
"parameterOrder": [
831+
"sessionId"
832+
],
833+
"parameters": {
834+
"applicationIds": {
835+
"description": "Required. The application IDs from the Google Play developer console for the games to return scoped ids for.",
836+
"location": "query",
837+
"repeated": true,
838+
"type": "string"
839+
},
840+
"sessionId": {
841+
"description": "Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application.",
842+
"location": "path",
843+
"required": true,
844+
"type": "string"
845+
}
846+
},
847+
"path": "games/v1/recall/gamesPlayerTokens/{sessionId}",
848+
"response": {
849+
"$ref": "RetrieveGamesPlayerTokensResponse"
850+
},
851+
"scopes": [
852+
"https://www.googleapis.com/auth/androidpublisher"
853+
]
854+
},
825855
"lastTokenFromAllDeveloperGames": {
826-
"description": "Retrieve the last Recall token from all developer games that is associated with the PGS Player principal encoded in the provided recall session id. The API is only available for users that have active PGS Player profile.",
856+
"description": "Retrieve the last Recall token from all developer games that is associated with the PGS Player encoded in the provided recall session id. The API is only available for users that have active PGS Player profile.",
827857
"flatPath": "games/v1/recall/developerGamesLastPlayerToken/{sessionId}",
828858
"httpMethod": "GET",
829859
"id": "games.recall.lastTokenFromAllDeveloperGames",
@@ -883,7 +913,7 @@ false
883913
]
884914
},
885915
"retrieveTokens": {
886-
"description": "Retrieve all Recall tokens associated with the PGS Player principal encoded in the provided recall session id. The API is only available for users that have active PGS Player profile.",
916+
"description": "Retrieve all Recall tokens associated with the PGS Player encoded in the provided recall session id. The API is only available for users that have active PGS Player profile.",
887917
"flatPath": "games/v1/recall/tokens/{sessionId}",
888918
"httpMethod": "GET",
889919
"id": "games.recall.retrieveTokens",
@@ -1378,7 +1408,7 @@ false
13781408
}
13791409
}
13801410
},
1381-
"revision": "20240515",
1411+
"revision": "20240529",
13821412
"rootUrl": "https://games.googleapis.com/",
13831413
"schemas": {
13841414
"AchievementDefinition": {
@@ -2132,6 +2162,24 @@ false
21322162
},
21332163
"type": "object"
21342164
},
2165+
"GamePlayerToken": {
2166+
"description": "Recall tokens for a game.",
2167+
"id": "GamePlayerToken",
2168+
"properties": {
2169+
"applicationId": {
2170+
"description": "The application that this player identifier is for.",
2171+
"type": "string"
2172+
},
2173+
"token": {
2174+
"description": "Recall token data.",
2175+
"items": {
2176+
"$ref": "RecallToken"
2177+
},
2178+
"type": "array"
2179+
}
2180+
},
2181+
"type": "object"
2182+
},
21352183
"GamesAchievementIncrement": {
21362184
"description": "The payload to request to increment an achievement.",
21372185
"id": "GamesAchievementIncrement",
@@ -3179,6 +3227,20 @@ false
31793227
},
31803228
"type": "object"
31813229
},
3230+
"RetrieveGamesPlayerTokensResponse": {
3231+
"description": "A list of recall token data returned from the RetrieveGamesPlayerTokens RPC",
3232+
"id": "RetrieveGamesPlayerTokensResponse",
3233+
"properties": {
3234+
"applicationRecallTokens": {
3235+
"description": "The requested applications along with the recall tokens for the player. If the player does not have recall tokens for an application, that application is not included in the response.",
3236+
"items": {
3237+
"$ref": "GamePlayerToken"
3238+
},
3239+
"type": "array"
3240+
}
3241+
},
3242+
"type": "object"
3243+
},
31823244
"RetrievePlayerTokensResponse": {
31833245
"description": "Response for the RetrievePlayerTokens RPC",
31843246
"id": "RetrievePlayerTokensResponse",

0 commit comments

Comments
 (0)