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