Skip to content

Commit 77e26ad

Browse files
feat(games): update the api
#### games:v1 The following keys were added: - resources.recall.methods.lastTokenFromAllDeveloperGames (Total Keys: 10) - schemas.RetrieveDeveloperGamesLastPlayerTokenResponse (Total Keys: 3)
1 parent a406db6 commit 77e26ad

File tree

2 files changed

+62
-1
lines changed

2 files changed

+62
-1
lines changed

docs/dyn/games_v1.recall.html

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ <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="#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>
8083
<p class="toc_element">
8184
<code><a href="#linkPersona">linkPersona(body=None, x__xgafv=None)</a></code></p>
8285
<p class="firstline">Associate the PGS Player principal encoded in the provided recall session id with an in-game account</p>
@@ -95,6 +98,29 @@ <h3>Method Details</h3>
9598
<pre>Close httplib2 connections.</pre>
9699
</div>
97100

101+
<div class="method">
102+
<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.
104+
105+
Args:
106+
sessionId: string, Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application. (required)
107+
x__xgafv: string, V1 error format.
108+
Allowed values
109+
1 - v1 error format
110+
2 - v2 error format
111+
112+
Returns:
113+
An object of the form:
114+
115+
{ # Recall token data returned from for the RetrieveDeveloperGamesLastPlayerToken RPC
116+
&quot;token&quot;: { # Recall token data returned from RetrievePlayerTokens RPC # The recall token associated with the requested PGS Player principal. It can be unset if there is no recall token associated with the requested principal.
117+
&quot;expireTime&quot;: &quot;A String&quot;, # Optional. Optional expiration time of the token
118+
&quot;multiPlayerPersona&quot;: True or False, # Required. Whether the persona identified by the token is linked to multiple PGS Players
119+
&quot;token&quot;: &quot;A String&quot;, # Required. Value of the Recall token as it is provided by the client via LinkPersona RPC
120+
},
121+
}</pre>
122+
</div>
123+
98124
<div class="method">
99125
<code class="details" id="linkPersona">linkPersona(body=None, x__xgafv=None)</code>
100126
<pre>Associate the PGS Player principal encoded in the provided recall session id with an in-game account

googleapiclient/discovery_cache/documents/games.v1.json

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,6 +822,30 @@ false
822822
},
823823
"recall": {
824824
"methods": {
825+
"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.",
827+
"flatPath": "games/v1/recall/developerGamesLastPlayerToken/{sessionId}",
828+
"httpMethod": "GET",
829+
"id": "games.recall.lastTokenFromAllDeveloperGames",
830+
"parameterOrder": [
831+
"sessionId"
832+
],
833+
"parameters": {
834+
"sessionId": {
835+
"description": "Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application.",
836+
"location": "path",
837+
"required": true,
838+
"type": "string"
839+
}
840+
},
841+
"path": "games/v1/recall/developerGamesLastPlayerToken/{sessionId}",
842+
"response": {
843+
"$ref": "RetrieveDeveloperGamesLastPlayerTokenResponse"
844+
},
845+
"scopes": [
846+
"https://www.googleapis.com/auth/androidpublisher"
847+
]
848+
},
825849
"linkPersona": {
826850
"description": "Associate the PGS Player principal encoded in the provided recall session id with an in-game account",
827851
"flatPath": "games/v1/recall:linkPersona",
@@ -1354,7 +1378,7 @@ false
13541378
}
13551379
}
13561380
},
1357-
"revision": "20240410",
1381+
"revision": "20240416",
13581382
"rootUrl": "https://games.googleapis.com/",
13591383
"schemas": {
13601384
"AchievementDefinition": {
@@ -3144,6 +3168,17 @@ false
31443168
},
31453169
"type": "object"
31463170
},
3171+
"RetrieveDeveloperGamesLastPlayerTokenResponse": {
3172+
"description": "Recall token data returned from for the RetrieveDeveloperGamesLastPlayerToken RPC",
3173+
"id": "RetrieveDeveloperGamesLastPlayerTokenResponse",
3174+
"properties": {
3175+
"token": {
3176+
"$ref": "RecallToken",
3177+
"description": "The recall token associated with the requested PGS Player principal. It can be unset if there is no recall token associated with the requested principal."
3178+
}
3179+
},
3180+
"type": "object"
3181+
},
31473182
"RetrievePlayerTokensResponse": {
31483183
"description": "Response for the RetrievePlayerTokens RPC",
31493184
"id": "RetrievePlayerTokensResponse",

0 commit comments

Comments
 (0)