|
110 | 110 | },
|
111 | 111 | "protocol": "rest",
|
112 | 112 | "resources": {
|
| 113 | +"accesstokens": { |
| 114 | +"methods": { |
| 115 | +"generatePlayGroupingApiToken": { |
| 116 | +"description": "Generates a Play Grouping API token for the PGS user identified by the attached credential.", |
| 117 | +"flatPath": "games/v1/accesstokens/generatePlayGroupingApiToken", |
| 118 | +"httpMethod": "POST", |
| 119 | +"id": "games.accesstokens.generatePlayGroupingApiToken", |
| 120 | +"parameterOrder": [], |
| 121 | +"parameters": { |
| 122 | +"packageName": { |
| 123 | +"description": "Required. App package name to generate the token for (e.g. com.example.mygame).", |
| 124 | +"location": "query", |
| 125 | +"type": "string" |
| 126 | +}, |
| 127 | +"persona": { |
| 128 | +"description": "Required. Persona to associate with the token. Persona is a developer-provided stable identifier of the user. Must be deterministically generated (e.g. as a one-way hash) from the user account ID and user profile ID (if the app has the concept), according to the developer's own user identity system.", |
| 129 | +"location": "query", |
| 130 | +"type": "string" |
| 131 | +} |
| 132 | +}, |
| 133 | +"path": "games/v1/accesstokens/generatePlayGroupingApiToken", |
| 134 | +"response": { |
| 135 | +"$ref": "GeneratePlayGroupingApiTokenResponse" |
| 136 | +}, |
| 137 | +"scopes": [ |
| 138 | +"https://www.googleapis.com/auth/games" |
| 139 | +] |
| 140 | +}, |
| 141 | +"generateRecallPlayGroupingApiToken": { |
| 142 | +"description": "Generates a Play Grouping API token for the PGS user identified by the Recall session ID provided in the request.", |
| 143 | +"flatPath": "games/v1/accesstokens/generateRecallPlayGroupingApiToken", |
| 144 | +"httpMethod": "POST", |
| 145 | +"id": "games.accesstokens.generateRecallPlayGroupingApiToken", |
| 146 | +"parameterOrder": [], |
| 147 | +"parameters": { |
| 148 | +"packageName": { |
| 149 | +"description": "Required. App package name to generate the token for (e.g. com.example.mygame).", |
| 150 | +"location": "query", |
| 151 | +"type": "string" |
| 152 | +}, |
| 153 | +"persona": { |
| 154 | +"description": "Required. Persona to associate with the token. Persona is a developer-provided stable identifier of the user. Must be deterministically generated (e.g. as a one-way hash) from the user account ID and user profile ID (if the app has the concept), according to the developer's own user identity system.", |
| 155 | +"location": "query", |
| 156 | +"type": "string" |
| 157 | +}, |
| 158 | +"recallSessionId": { |
| 159 | +"description": "Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application. See https://developer.android.com/games/pgs/recall/recall-setup on how to integrate with Recall and get session ID.", |
| 160 | +"location": "query", |
| 161 | +"type": "string" |
| 162 | +} |
| 163 | +}, |
| 164 | +"path": "games/v1/accesstokens/generateRecallPlayGroupingApiToken", |
| 165 | +"response": { |
| 166 | +"$ref": "GenerateRecallPlayGroupingApiTokenResponse" |
| 167 | +}, |
| 168 | +"scopes": [ |
| 169 | +"https://www.googleapis.com/auth/androidpublisher" |
| 170 | +] |
| 171 | +} |
| 172 | +} |
| 173 | +}, |
113 | 174 | "achievementDefinitions": {
|
114 | 175 | "methods": {
|
115 | 176 | "list": {
|
@@ -1408,7 +1469,7 @@ false
|
1408 | 1469 | }
|
1409 | 1470 | }
|
1410 | 1471 | },
|
1411 |
| -"revision": "20240605", |
| 1472 | +"revision": "20240618", |
1412 | 1473 | "rootUrl": "https://games.googleapis.com/",
|
1413 | 1474 | "schemas": {
|
1414 | 1475 | "AchievementDefinition": {
|
@@ -2217,6 +2278,28 @@ false
|
2217 | 2278 | },
|
2218 | 2279 | "type": "object"
|
2219 | 2280 | },
|
| 2281 | +"GeneratePlayGroupingApiTokenResponse": { |
| 2282 | +"description": "Response for the GeneratePlayGroupingApiToken RPC.", |
| 2283 | +"id": "GeneratePlayGroupingApiTokenResponse", |
| 2284 | +"properties": { |
| 2285 | +"token": { |
| 2286 | +"$ref": "PlayGroupingApiToken", |
| 2287 | +"description": "Token for accessing the Play Grouping API." |
| 2288 | +} |
| 2289 | +}, |
| 2290 | +"type": "object" |
| 2291 | +}, |
| 2292 | +"GenerateRecallPlayGroupingApiTokenResponse": { |
| 2293 | +"description": "Response for the GenerateRecallPlayGroupingApiToken RPC.", |
| 2294 | +"id": "GenerateRecallPlayGroupingApiTokenResponse", |
| 2295 | +"properties": { |
| 2296 | +"token": { |
| 2297 | +"$ref": "PlayGroupingApiToken", |
| 2298 | +"description": "Token for accessing the Play Grouping API." |
| 2299 | +} |
| 2300 | +}, |
| 2301 | +"type": "object" |
| 2302 | +}, |
2220 | 2303 | "GetMultipleApplicationPlayerIdsResponse": {
|
2221 | 2304 | "description": "Response message for GetMultipleApplicationPlayerIds rpc.",
|
2222 | 2305 | "id": "GetMultipleApplicationPlayerIdsResponse",
|
@@ -2666,6 +2749,17 @@ false
|
2666 | 2749 | },
|
2667 | 2750 | "type": "object"
|
2668 | 2751 | },
|
| 2752 | +"PlayGroupingApiToken": { |
| 2753 | +"description": "Token data returned from GeneratePlayGroupingApiToken RPC.", |
| 2754 | +"id": "PlayGroupingApiToken", |
| 2755 | +"properties": { |
| 2756 | +"tokenValue": { |
| 2757 | +"description": "Value of the token.", |
| 2758 | +"type": "string" |
| 2759 | +} |
| 2760 | +}, |
| 2761 | +"type": "object" |
| 2762 | +}, |
2669 | 2763 | "Player": {
|
2670 | 2764 | "description": "A Player resource.",
|
2671 | 2765 | "id": "Player",
|
|
0 commit comments