| 1 |
{ |
| 2 |
"auth": { |
| 3 |
"oauth2": { |
| 4 |
"scopes": { |
| 5 |
"https://www.googleapis.com/auth/androidpublisher": { |
| 6 |
"description": "View and manage your Google Play Developer account" |
| 7 |
} |
| 8 |
} |
| 9 |
} |
| 10 |
}, |
| 11 |
"basePath": "", |
| 12 |
"baseUrl": "https://gamesconfiguration.googleapis.com/", |
| 13 |
"batchPath": "batch", |
| 14 |
"canonicalName": "Games Configuration", |
| 15 |
"description": "The Google Play Game Services Publishing API allows developers to configure their games in Game Services.", |
| 16 |
"discoveryVersion": "v1", |
| 17 |
"documentationLink": "https://developers.google.com/games/", |
| 18 |
"fullyEncodeReservedExpansion": true, |
| 19 |
"icons": { |
| 20 |
"x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 21 |
"x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 22 |
}, |
| 23 |
"id": "gamesConfiguration:v1configuration", |
| 24 |
"kind": "discovery#restDescription", |
| 25 |
"mtlsRootUrl": "https://gamesconfiguration.mtls.googleapis.com/", |
| 26 |
"name": "gamesConfiguration", |
| 27 |
"ownerDomain": "google.com", |
| 28 |
"ownerName": "Google", |
| 29 |
"parameters": { |
| 30 |
"$.xgafv": { |
| 31 |
"description": "V1 error format.", |
| 32 |
"enum": [ |
| 33 |
"1", |
| 34 |
"2" |
| 35 |
], |
| 36 |
"enumDescriptions": [ |
| 37 |
"v1 error format", |
| 38 |
"v2 error format" |
| 39 |
], |
| 40 |
"location": "query", |
| 41 |
"type": "string" |
| 42 |
}, |
| 43 |
"access_token": { |
| 44 |
"description": "OAuth access token.", |
| 45 |
"location": "query", |
| 46 |
"type": "string" |
| 47 |
}, |
| 48 |
"alt": { |
| 49 |
"default": "json", |
| 50 |
"description": "Data format for response.", |
| 51 |
"enum": [ |
| 52 |
"json", |
| 53 |
"media", |
| 54 |
"proto" |
| 55 |
], |
| 56 |
"enumDescriptions": [ |
| 57 |
"Responses with Content-Type of application/json", |
| 58 |
"Media download with context-dependent Content-Type", |
| 59 |
"Responses with Content-Type of application/x-protobuf" |
| 60 |
], |
| 61 |
"location": "query", |
| 62 |
"type": "string" |
| 63 |
}, |
| 64 |
"callback": { |
| 65 |
"description": "JSONP", |
| 66 |
"location": "query", |
| 67 |
"type": "string" |
| 68 |
}, |
| 69 |
"fields": { |
| 70 |
"description": "Selector specifying which fields to include in a partial response.", |
| 71 |
"location": "query", |
| 72 |
"type": "string" |
| 73 |
}, |
| 74 |
"key": { |
| 75 |
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", |
| 76 |
"location": "query", |
| 77 |
"type": "string" |
| 78 |
}, |
| 79 |
"oauth_token": { |
| 80 |
"description": "OAuth 2.0 token for the current user.", |
| 81 |
"location": "query", |
| 82 |
"type": "string" |
| 83 |
}, |
| 84 |
"prettyPrint": { |
| 85 |
"default": "true", |
| 86 |
"description": "Returns response with indentations and line breaks.", |
| 87 |
"location": "query", |
| 88 |
"type": "boolean" |
| 89 |
}, |
| 90 |
"quotaUser": { |
| 91 |
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", |
| 92 |
"location": "query", |
| 93 |
"type": "string" |
| 94 |
}, |
| 95 |
"uploadType": { |
| 96 |
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
| 97 |
"location": "query", |
| 98 |
"type": "string" |
| 99 |
}, |
| 100 |
"upload_protocol": { |
| 101 |
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
| 102 |
"location": "query", |
| 103 |
"type": "string" |
| 104 |
} |
| 105 |
}, |
| 106 |
"protocol": "rest", |
| 107 |
"resources": { |
| 108 |
"achievementConfigurations": { |
| 109 |
"methods": { |
| 110 |
"delete": { |
| 111 |
"description": "Delete the achievement configuration with the given ID.", |
| 112 |
"flatPath": "games/v1configuration/achievements/{achievementId}", |
| 113 |
"httpMethod": "DELETE", |
| 114 |
"id": "gamesConfiguration.achievementConfigurations.delete", |
| 115 |
"parameterOrder": [ |
| 116 |
"achievementId" |
| 117 |
], |
| 118 |
"parameters": { |
| 119 |
"achievementId": { |
| 120 |
"description": "The ID of the achievement used by this method.", |
| 121 |
"location": "path", |
| 122 |
"required": true, |
| 123 |
"type": "string" |
| 124 |
} |
| 125 |
}, |
| 126 |
"path": "games/v1configuration/achievements/{achievementId}", |
| 127 |
"scopes": [ |
| 128 |
"https://www.googleapis.com/auth/androidpublisher" |
| 129 |
] |
| 130 |
}, |
| 131 |
"get": { |
| 132 |
"description": "Retrieves the metadata of the achievement configuration with the given ID.", |
| 133 |
"flatPath": "games/v1configuration/achievements/{achievementId}", |
| 134 |
"httpMethod": "GET", |
| 135 |
"id": "gamesConfiguration.achievementConfigurations.get", |
| 136 |
"parameterOrder": [ |
| 137 |
"achievementId" |
| 138 |
], |
| 139 |
"parameters": { |
| 140 |
"achievementId": { |
| 141 |
"description": "The ID of the achievement used by this method.", |
| 142 |
"location": "path", |
| 143 |
"required": true, |
| 144 |
"type": "string" |
| 145 |
} |
| 146 |
}, |
| 147 |
"path": "games/v1configuration/achievements/{achievementId}", |
| 148 |
"response": { |
| 149 |
"$ref": "AchievementConfiguration" |
| 150 |
}, |
| 151 |
"scopes": [ |
| 152 |
"https://www.googleapis.com/auth/androidpublisher" |
| 153 |
] |
| 154 |
}, |
| 155 |
"insert": { |
| 156 |
"description": "Insert a new achievement configuration in this application.", |
| 157 |
"flatPath": "games/v1configuration/applications/{applicationId}/achievements", |
| 158 |
"httpMethod": "POST", |
| 159 |
"id": "gamesConfiguration.achievementConfigurations.insert", |
| 160 |
"parameterOrder": [ |
| 161 |
"applicationId" |
| 162 |
], |
| 163 |
"parameters": { |
| 164 |
"applicationId": { |
| 165 |
"description": "The application ID from the Google Play developer console.", |
| 166 |
"location": "path", |
| 167 |
"required": true, |
| 168 |
"type": "string" |
| 169 |
} |
| 170 |
}, |
| 171 |
"path": "games/v1configuration/applications/{applicationId}/achievements", |
| 172 |
"request": { |
| 173 |
"$ref": "AchievementConfiguration" |
| 174 |
}, |
| 175 |
"response": { |
| 176 |
"$ref": "AchievementConfiguration" |
| 177 |
}, |
| 178 |
"scopes": [ |
| 179 |
"https://www.googleapis.com/auth/androidpublisher" |
| 180 |
] |
| 181 |
}, |
| 182 |
"list": { |
| 183 |
"description": "Returns a list of the achievement configurations in this application.", |
| 184 |
"flatPath": "games/v1configuration/applications/{applicationId}/achievements", |
| 185 |
"httpMethod": "GET", |
| 186 |
"id": "gamesConfiguration.achievementConfigurations.list", |
| 187 |
"parameterOrder": [ |
| 188 |
"applicationId" |
| 189 |
], |
| 190 |
"parameters": { |
| 191 |
"applicationId": { |
| 192 |
"description": "The application ID from the Google Play developer console.", |
| 193 |
"location": "path", |
| 194 |
"required": true, |
| 195 |
"type": "string" |
| 196 |
}, |
| 197 |
"maxResults": { |
| 198 |
"description": "The maximum number of resource configurations to return in the response, used for paging. For any response, the actual number of resources returned may be less than the specified `maxResults`.", |
| 199 |
"format": "int32", |
| 200 |
"location": "query", |
| 201 |
"type": "integer" |
| 202 |
}, |
| 203 |
"pageToken": { |
| 204 |
"description": "The token returned by the previous request.", |
| 205 |
"location": "query", |
| 206 |
"type": "string" |
| 207 |
} |
| 208 |
}, |
| 209 |
"path": "games/v1configuration/applications/{applicationId}/achievements", |
| 210 |
"response": { |
| 211 |
"$ref": "AchievementConfigurationListResponse" |
| 212 |
}, |
| 213 |
"scopes": [ |
| 214 |
"https://www.googleapis.com/auth/androidpublisher" |
| 215 |
] |
| 216 |
}, |
| 217 |
"update": { |
| 218 |
"description": "Update the metadata of the achievement configuration with the given ID.", |
| 219 |
"flatPath": "games/v1configuration/achievements/{achievementId}", |
| 220 |
"httpMethod": "PUT", |
| 221 |
"id": "gamesConfiguration.achievementConfigurations.update", |
| 222 |
"parameterOrder": [ |
| 223 |
"achievementId" |
| 224 |
], |
| 225 |
"parameters": { |
| 226 |
"achievementId": { |
| 227 |
"description": "The ID of the achievement used by this method.", |
| 228 |
"location": "path", |
| 229 |
"required": true, |
| 230 |
"type": "string" |
| 231 |
} |
| 232 |
}, |
| 233 |
"path": "games/v1configuration/achievements/{achievementId}", |
| 234 |
"request": { |
| 235 |
"$ref": "AchievementConfiguration" |
| 236 |
}, |
| 237 |
"response": { |
| 238 |
"$ref": "AchievementConfiguration" |
| 239 |
}, |
| 240 |
"scopes": [ |
| 241 |
"https://www.googleapis.com/auth/androidpublisher" |
| 242 |
] |
| 243 |
} |
| 244 |
} |
| 245 |
}, |
| 246 |
"leaderboardConfigurations": { |
| 247 |
"methods": { |
| 248 |
"delete": { |
| 249 |
"description": "Delete the leaderboard configuration with the given ID.", |
| 250 |
"flatPath": "games/v1configuration/leaderboards/{leaderboardId}", |
| 251 |
"httpMethod": "DELETE", |
| 252 |
"id": "gamesConfiguration.leaderboardConfigurations.delete", |
| 253 |
"parameterOrder": [ |
| 254 |
"leaderboardId" |
| 255 |
], |
| 256 |
"parameters": { |
| 257 |
"leaderboardId": { |
| 258 |
"description": "The ID of the leaderboard.", |
| 259 |
"location": "path", |
| 260 |
"required": true, |
| 261 |
"type": "string" |
| 262 |
} |
| 263 |
}, |
| 264 |
"path": "games/v1configuration/leaderboards/{leaderboardId}", |
| 265 |
"scopes": [ |
| 266 |
"https://www.googleapis.com/auth/androidpublisher" |
| 267 |
] |
| 268 |
}, |
| 269 |
"get": { |
| 270 |
"description": "Retrieves the metadata of the leaderboard configuration with the given ID.", |
| 271 |
"flatPath": "games/v1configuration/leaderboards/{leaderboardId}", |
| 272 |
"httpMethod": "GET", |
| 273 |
"id": "gamesConfiguration.leaderboardConfigurations.get", |
| 274 |
"parameterOrder": [ |
| 275 |
"leaderboardId" |
| 276 |
], |
| 277 |
"parameters": { |
| 278 |
"leaderboardId": { |
| 279 |
"description": "The ID of the leaderboard.", |
| 280 |
"location": "path", |
| 281 |
"required": true, |
| 282 |
"type": "string" |
| 283 |
} |
| 284 |
}, |
| 285 |
"path": "games/v1configuration/leaderboards/{leaderboardId}", |
| 286 |
"response": { |
| 287 |
"$ref": "LeaderboardConfiguration" |
| 288 |
}, |
| 289 |
"scopes": [ |
| 290 |
"https://www.googleapis.com/auth/androidpublisher" |
| 291 |
] |
| 292 |
}, |
| 293 |
"insert": { |
| 294 |
"description": "Insert a new leaderboard configuration in this application.", |
| 295 |
"flatPath": "games/v1configuration/applications/{applicationId}/leaderboards", |
| 296 |
"httpMethod": "POST", |
| 297 |
"id": "gamesConfiguration.leaderboardConfigurations.insert", |
| 298 |
"parameterOrder": [ |
| 299 |
"applicationId" |
| 300 |
], |
| 301 |
"parameters": { |
| 302 |
"applicationId": { |
| 303 |
"description": "The application ID from the Google Play developer console.", |
| 304 |
"location": "path", |
| 305 |
"required": true, |
| 306 |
"type": "string" |
| 307 |
} |
| 308 |
}, |
| 309 |
"path": "games/v1configuration/applications/{applicationId}/leaderboards", |
| 310 |
"request": { |
| 311 |
"$ref": "LeaderboardConfiguration" |
| 312 |
}, |
| 313 |
"response": { |
| 314 |
"$ref": "LeaderboardConfiguration" |
| 315 |
}, |
| 316 |
"scopes": [ |
| 317 |
"https://www.googleapis.com/auth/androidpublisher" |
| 318 |
] |
| 319 |
}, |
| 320 |
"list": { |
| 321 |
"description": "Returns a list of the leaderboard configurations in this application.", |
| 322 |
"flatPath": "games/v1configuration/applications/{applicationId}/leaderboards", |
| 323 |
"httpMethod": "GET", |
| 324 |
"id": "gamesConfiguration.leaderboardConfigurations.list", |
| 325 |
"parameterOrder": [ |
| 326 |
"applicationId" |
| 327 |
], |
| 328 |
"parameters": { |
| 329 |
"applicationId": { |
| 330 |
"description": "The application ID from the Google Play developer console.", |
| 331 |
"location": "path", |
| 332 |
"required": true, |
| 333 |
"type": "string" |
| 334 |
}, |
| 335 |
"maxResults": { |
| 336 |
"description": "The maximum number of resource configurations to return in the response, used for paging. For any response, the actual number of resources returned may be less than the specified `maxResults`.", |
| 337 |
"format": "int32", |
| 338 |
"location": "query", |
| 339 |
"type": "integer" |
| 340 |
}, |
| 341 |
"pageToken": { |
| 342 |
"description": "The token returned by the previous request.", |
| 343 |
"location": "query", |
| 344 |
"type": "string" |
| 345 |
} |
| 346 |
}, |
| 347 |
"path": "games/v1configuration/applications/{applicationId}/leaderboards", |
| 348 |
"response": { |
| 349 |
"$ref": "LeaderboardConfigurationListResponse" |
| 350 |
}, |
| 351 |
"scopes": [ |
| 352 |
"https://www.googleapis.com/auth/androidpublisher" |
| 353 |
] |
| 354 |
}, |
| 355 |
"update": { |
| 356 |
"description": "Update the metadata of the leaderboard configuration with the given ID.", |
| 357 |
"flatPath": "games/v1configuration/leaderboards/{leaderboardId}", |
| 358 |
"httpMethod": "PUT", |
| 359 |
"id": "gamesConfiguration.leaderboardConfigurations.update", |
| 360 |
"parameterOrder": [ |
| 361 |
"leaderboardId" |
| 362 |
], |
| 363 |
"parameters": { |
| 364 |
"leaderboardId": { |
| 365 |
"description": "The ID of the leaderboard.", |
| 366 |
"location": "path", |
| 367 |
"required": true, |
| 368 |
"type": "string" |
| 369 |
} |
| 370 |
}, |
| 371 |
"path": "games/v1configuration/leaderboards/{leaderboardId}", |
| 372 |
"request": { |
| 373 |
"$ref": "LeaderboardConfiguration" |
| 374 |
}, |
| 375 |
"response": { |
| 376 |
"$ref": "LeaderboardConfiguration" |
| 377 |
}, |
| 378 |
"scopes": [ |
| 379 |
"https://www.googleapis.com/auth/androidpublisher" |
| 380 |
] |
| 381 |
} |
| 382 |
} |
| 383 |
} |
| 384 |
}, |
| 385 |
"revision": "20251003", |
| 386 |
"rootUrl": "https://gamesconfiguration.googleapis.com/", |
| 387 |
"schemas": { |
| 388 |
"AchievementConfiguration": { |
| 389 |
"description": "An achievement configuration resource.", |
| 390 |
"id": "AchievementConfiguration", |
| 391 |
"properties": { |
| 392 |
"achievementType": { |
| 393 |
"description": "The type of the achievement.", |
| 394 |
"enum": [ |
| 395 |
"ACHIEVEMENT_TYPE_UNSPECIFIED", |
| 396 |
"STANDARD", |
| 397 |
"INCREMENTAL" |
| 398 |
], |
| 399 |
"enumDescriptions": [ |
| 400 |
"Default value. This value is unused.", |
| 401 |
"Achievement is either locked or unlocked.", |
| 402 |
"Achievement is incremental." |
| 403 |
], |
| 404 |
"type": "string" |
| 405 |
}, |
| 406 |
"draft": { |
| 407 |
"$ref": "AchievementConfigurationDetail", |
| 408 |
"description": "The draft data of the achievement." |
| 409 |
}, |
| 410 |
"id": { |
| 411 |
"description": "The ID of the achievement.", |
| 412 |
"type": "string" |
| 413 |
}, |
| 414 |
"initialState": { |
| 415 |
"description": "The initial state of the achievement.", |
| 416 |
"enum": [ |
| 417 |
"INITIAL_STATE_UNSPECIFIED", |
| 418 |
"HIDDEN", |
| 419 |
"REVEALED" |
| 420 |
], |
| 421 |
"enumDescriptions": [ |
| 422 |
"Default value. This value is unused.", |
| 423 |
"Achievement is hidden.", |
| 424 |
"Achievement is revealed." |
| 425 |
], |
| 426 |
"type": "string" |
| 427 |
}, |
| 428 |
"kind": { |
| 429 |
"description": "Uniquely identifies the type of this resource. Value is always the fixed string `gamesConfiguration#achievementConfiguration`.", |
| 430 |
"type": "string" |
| 431 |
}, |
| 432 |
"published": { |
| 433 |
"$ref": "AchievementConfigurationDetail", |
| 434 |
"description": "The read-only published data of the achievement." |
| 435 |
}, |
| 436 |
"stepsToUnlock": { |
| 437 |
"description": "Steps to unlock. Only applicable to incremental achievements.", |
| 438 |
"format": "int32", |
| 439 |
"type": "integer" |
| 440 |
}, |
| 441 |
"token": { |
| 442 |
"description": "The token for this resource.", |
| 443 |
"type": "string" |
| 444 |
} |
| 445 |
}, |
| 446 |
"type": "object" |
| 447 |
}, |
| 448 |
"AchievementConfigurationDetail": { |
| 449 |
"description": "An achievement configuration detail.", |
| 450 |
"id": "AchievementConfigurationDetail", |
| 451 |
"properties": { |
| 452 |
"description": { |
| 453 |
"$ref": "LocalizedStringBundle", |
| 454 |
"description": "Localized strings for the achievement description." |
| 455 |
}, |
| 456 |
"iconUrl": { |
| 457 |
"description": "The icon url of this achievement. Writes to this field are ignored.", |
| 458 |
"type": "string" |
| 459 |
}, |
| 460 |
"kind": { |
| 461 |
"description": "Uniquely identifies the type of this resource. Value is always the fixed string `gamesConfiguration#achievementConfigurationDetail`.", |
| 462 |
"type": "string" |
| 463 |
}, |
| 464 |
"name": { |
| 465 |
"$ref": "LocalizedStringBundle", |
| 466 |
"description": "Localized strings for the achievement name." |
| 467 |
}, |
| 468 |
"pointValue": { |
| 469 |
"description": "Point value for the achievement.", |
| 470 |
"format": "int32", |
| 471 |
"type": "integer" |
| 472 |
}, |
| 473 |
"sortRank": { |
| 474 |
"description": "The sort rank of this achievement. Writes to this field are ignored.", |
| 475 |
"format": "int32", |
| 476 |
"type": "integer" |
| 477 |
} |
| 478 |
}, |
| 479 |
"type": "object" |
| 480 |
}, |
| 481 |
"AchievementConfigurationListResponse": { |
| 482 |
"description": "A ListConfigurations response.", |
| 483 |
"id": "AchievementConfigurationListResponse", |
| 484 |
"properties": { |
| 485 |
"items": { |
| 486 |
"description": "The achievement configurations.", |
| 487 |
"items": { |
| 488 |
"$ref": "AchievementConfiguration" |
| 489 |
}, |
| 490 |
"type": "array" |
| 491 |
}, |
| 492 |
"kind": { |
| 493 |
"description": "Uniquely identifies the type of this resource. Value is always the fixed string `gamesConfiguration#achievementConfigurationListResponse`.", |
| 494 |
"type": "string" |
| 495 |
}, |
| 496 |
"nextPageToken": { |
| 497 |
"description": "The pagination token for the next page of results.", |
| 498 |
"type": "string" |
| 499 |
} |
| 500 |
}, |
| 501 |
"type": "object" |
| 502 |
}, |
| 503 |
"GamesNumberAffixConfiguration": { |
| 504 |
"description": "A number affix resource.", |
| 505 |
"id": "GamesNumberAffixConfiguration", |
| 506 |
"properties": { |
| 507 |
"few": { |
| 508 |
"$ref": "LocalizedStringBundle", |
| 509 |
"description": "When the language requires special treatment of \"small\" numbers (as with 2, 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in Polish)." |
| 510 |
}, |
| 511 |
"many": { |
| 512 |
"$ref": "LocalizedStringBundle", |
| 513 |
"description": "When the language requires special treatment of \"large\" numbers (as with numbers ending 11-99 in Maltese)." |
| 514 |
}, |
| 515 |
"one": { |
| 516 |
"$ref": "LocalizedStringBundle", |
| 517 |
"description": "When the language requires special treatment of numbers like one (as with the number 1 in English and most other languages; in Russian, any number ending in 1 but not ending in 11 is in this class)." |
| 518 |
}, |
| 519 |
"other": { |
| 520 |
"$ref": "LocalizedStringBundle", |
| 521 |
"description": "When the language does not require special treatment of the given quantity (as with all numbers in Chinese, or 42 in English)." |
| 522 |
}, |
| 523 |
"two": { |
| 524 |
"$ref": "LocalizedStringBundle", |
| 525 |
"description": "When the language requires special treatment of numbers like two (as with 2 in Welsh, or 102 in Slovenian)." |
| 526 |
}, |
| 527 |
"zero": { |
| 528 |
"$ref": "LocalizedStringBundle", |
| 529 |
"description": "When the language requires special treatment of the number 0 (as in Arabic)." |
| 530 |
} |
| 531 |
}, |
| 532 |
"type": "object" |
| 533 |
}, |
| 534 |
"GamesNumberFormatConfiguration": { |
| 535 |
"description": "A number format resource.", |
| 536 |
"id": "GamesNumberFormatConfiguration", |
| 537 |
"properties": { |
| 538 |
"currencyCode": { |
| 539 |
"description": "The curreny code string. Only used for CURRENCY format type.", |
| 540 |
"type": "string" |
| 541 |
}, |
| 542 |
"numDecimalPlaces": { |
| 543 |
"description": "The number of decimal places for number. Only used for NUMERIC format type.", |
| 544 |
"format": "int32", |
| 545 |
"type": "integer" |
| 546 |
}, |
| 547 |
"numberFormatType": { |
| 548 |
"description": "The formatting for the number.", |
| 549 |
"enum": [ |
| 550 |
"NUMBER_FORMAT_TYPE_UNSPECIFIED", |
| 551 |
"NUMERIC", |
| 552 |
"TIME_DURATION", |
| 553 |
"CURRENCY" |
| 554 |
], |
| 555 |
"enumDescriptions": [ |
| 556 |
"Default value. This value is unused.", |
| 557 |
"Numbers are formatted to have no digits or fixed number of digits after the decimal point according to locale. An optional custom unit can be added.", |
| 558 |
"Numbers are formatted to hours, minutes and seconds.", |
| 559 |
"Numbers are formatted to currency according to locale." |
| 560 |
], |
| 561 |
"type": "string" |
| 562 |
}, |
| 563 |
"suffix": { |
| 564 |
"$ref": "GamesNumberAffixConfiguration", |
| 565 |
"description": "An optional suffix for the NUMERIC format type. These strings follow the same plural rules as all Android string resources." |
| 566 |
} |
| 567 |
}, |
| 568 |
"type": "object" |
| 569 |
}, |
| 570 |
"LeaderboardConfiguration": { |
| 571 |
"description": "An leaderboard configuration resource.", |
| 572 |
"id": "LeaderboardConfiguration", |
| 573 |
"properties": { |
| 574 |
"draft": { |
| 575 |
"$ref": "LeaderboardConfigurationDetail", |
| 576 |
"description": "The draft data of the leaderboard." |
| 577 |
}, |
| 578 |
"id": { |
| 579 |
"description": "The ID of the leaderboard.", |
| 580 |
"type": "string" |
| 581 |
}, |
| 582 |
"kind": { |
| 583 |
"description": "Uniquely identifies the type of this resource. Value is always the fixed string `gamesConfiguration#leaderboardConfiguration`.", |
| 584 |
"type": "string" |
| 585 |
}, |
| 586 |
"published": { |
| 587 |
"$ref": "LeaderboardConfigurationDetail", |
| 588 |
"description": "The read-only published data of the leaderboard." |
| 589 |
}, |
| 590 |
"scoreMax": { |
| 591 |
"description": "Maximum score that can be posted to this leaderboard.", |
| 592 |
"format": "int64", |
| 593 |
"type": "string" |
| 594 |
}, |
| 595 |
"scoreMin": { |
| 596 |
"description": "Minimum score that can be posted to this leaderboard.", |
| 597 |
"format": "int64", |
| 598 |
"type": "string" |
| 599 |
}, |
| 600 |
"scoreOrder": { |
| 601 |
"enum": [ |
| 602 |
"SCORE_ORDER_UNSPECIFIED", |
| 603 |
"LARGER_IS_BETTER", |
| 604 |
"SMALLER_IS_BETTER" |
| 605 |
], |
| 606 |
"enumDescriptions": [ |
| 607 |
"Default value. This value is unused.", |
| 608 |
"Larger scores posted are ranked higher.", |
| 609 |
"Smaller scores posted are ranked higher." |
| 610 |
], |
| 611 |
"type": "string" |
| 612 |
}, |
| 613 |
"token": { |
| 614 |
"description": "The token for this resource.", |
| 615 |
"type": "string" |
| 616 |
} |
| 617 |
}, |
| 618 |
"type": "object" |
| 619 |
}, |
| 620 |
"LeaderboardConfigurationDetail": { |
| 621 |
"description": "A leaderboard configuration detail.", |
| 622 |
"id": "LeaderboardConfigurationDetail", |
| 623 |
"properties": { |
| 624 |
"iconUrl": { |
| 625 |
"description": "The icon url of this leaderboard. Writes to this field are ignored.", |
| 626 |
"type": "string" |
| 627 |
}, |
| 628 |
"kind": { |
| 629 |
"description": "Uniquely identifies the type of this resource. Value is always the fixed string `gamesConfiguration#leaderboardConfigurationDetail`.", |
| 630 |
"type": "string" |
| 631 |
}, |
| 632 |
"name": { |
| 633 |
"$ref": "LocalizedStringBundle", |
| 634 |
"description": "Localized strings for the leaderboard name." |
| 635 |
}, |
| 636 |
"scoreFormat": { |
| 637 |
"$ref": "GamesNumberFormatConfiguration", |
| 638 |
"description": "The score formatting for the leaderboard." |
| 639 |
}, |
| 640 |
"sortRank": { |
| 641 |
"description": "The sort rank of this leaderboard. Writes to this field are ignored.", |
| 642 |
"format": "int32", |
| 643 |
"type": "integer" |
| 644 |
} |
| 645 |
}, |
| 646 |
"type": "object" |
| 647 |
}, |
| 648 |
"LeaderboardConfigurationListResponse": { |
| 649 |
"description": "A ListConfigurations response.", |
| 650 |
"id": "LeaderboardConfigurationListResponse", |
| 651 |
"properties": { |
| 652 |
"items": { |
| 653 |
"description": "The leaderboard configurations.", |
| 654 |
"items": { |
| 655 |
"$ref": "LeaderboardConfiguration" |
| 656 |
}, |
| 657 |
"type": "array" |
| 658 |
}, |
| 659 |
"kind": { |
| 660 |
"description": "Uniquely identifies the type of this resource. Value is always the fixed string `gamesConfiguration#leaderboardConfigurationListResponse`.", |
| 661 |
"type": "string" |
| 662 |
}, |
| 663 |
"nextPageToken": { |
| 664 |
"description": "The pagination token for the next page of results.", |
| 665 |
"type": "string" |
| 666 |
} |
| 667 |
}, |
| 668 |
"type": "object" |
| 669 |
}, |
| 670 |
"LocalizedString": { |
| 671 |
"description": "A localized string resource.", |
| 672 |
"id": "LocalizedString", |
| 673 |
"properties": { |
| 674 |
"kind": { |
| 675 |
"description": "Uniquely identifies the type of this resource. Value is always the fixed string `gamesConfiguration#localizedString`.", |
| 676 |
"type": "string" |
| 677 |
}, |
| 678 |
"locale": { |
| 679 |
"description": "The locale string.", |
| 680 |
"type": "string" |
| 681 |
}, |
| 682 |
"value": { |
| 683 |
"description": "The string value.", |
| 684 |
"type": "string" |
| 685 |
} |
| 686 |
}, |
| 687 |
"type": "object" |
| 688 |
}, |
| 689 |
"LocalizedStringBundle": { |
| 690 |
"description": "A localized string bundle resource.", |
| 691 |
"id": "LocalizedStringBundle", |
| 692 |
"properties": { |
| 693 |
"kind": { |
| 694 |
"description": "Uniquely identifies the type of this resource. Value is always the fixed string `gamesConfiguration#localizedStringBundle`.", |
| 695 |
"type": "string" |
| 696 |
}, |
| 697 |
"translations": { |
| 698 |
"description": "The locale strings.", |
| 699 |
"items": { |
| 700 |
"$ref": "LocalizedString" |
| 701 |
}, |
| 702 |
"type": "array" |
| 703 |
} |
| 704 |
}, |
| 705 |
"type": "object" |
| 706 |
} |
| 707 |
}, |
| 708 |
"servicePath": "", |
| 709 |
"title": "Google Play Games Services Publishing API", |
| 710 |
"version": "v1configuration" |
| 711 |
} |