OLD | NEW |
(Empty) | |
| 1 { |
| 2 "auth": { |
| 3 "oauth2": { |
| 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/androidpublisher": { |
| 6 "description": "View and manage your Google Play Android Dev
eloper account" |
| 7 } |
| 8 } |
| 9 } |
| 10 }, |
| 11 "basePath": "/games/v1configuration/", |
| 12 "baseUrl": "https://www.googleapis.com/games/v1configuration/", |
| 13 "batchPath": "batch", |
| 14 "canonicalName": "Games Configuration", |
| 15 "description": "The Publishing API for Google Play Game Services.", |
| 16 "discoveryVersion": "v1", |
| 17 "documentationLink": "https://developers.google.com/games/services", |
| 18 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/PRqzGpVbBVtOVi3NsjMTJwMWFio\"", |
| 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 "name": "gamesConfiguration", |
| 26 "ownerDomain": "google.com", |
| 27 "ownerName": "Google", |
| 28 "parameters": { |
| 29 "alt": { |
| 30 "default": "json", |
| 31 "description": "Data format for the response.", |
| 32 "enum": [ |
| 33 "json" |
| 34 ], |
| 35 "enumDescriptions": [ |
| 36 "Responses with Content-Type of application/json" |
| 37 ], |
| 38 "location": "query", |
| 39 "type": "string" |
| 40 }, |
| 41 "fields": { |
| 42 "description": "Selector specifying which fields to include in a par
tial response.", |
| 43 "location": "query", |
| 44 "type": "string" |
| 45 }, |
| 46 "key": { |
| 47 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
| 48 "location": "query", |
| 49 "type": "string" |
| 50 }, |
| 51 "oauth_token": { |
| 52 "description": "OAuth 2.0 token for the current user.", |
| 53 "location": "query", |
| 54 "type": "string" |
| 55 }, |
| 56 "prettyPrint": { |
| 57 "default": "true", |
| 58 "description": "Returns response with indentations and line breaks."
, |
| 59 "location": "query", |
| 60 "type": "boolean" |
| 61 }, |
| 62 "quotaUser": { |
| 63 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters. Overrides userIp if both are provided.", |
| 64 "location": "query", |
| 65 "type": "string" |
| 66 }, |
| 67 "userIp": { |
| 68 "description": "IP address of the site where the request originates.
Use this if you want to enforce per-user limits.", |
| 69 "location": "query", |
| 70 "type": "string" |
| 71 } |
| 72 }, |
| 73 "protocol": "rest", |
| 74 "resources": { |
| 75 "achievementConfigurations": { |
| 76 "methods": { |
| 77 "delete": { |
| 78 "description": "Delete the achievement configuration with th
e given ID.", |
| 79 "httpMethod": "DELETE", |
| 80 "id": "gamesConfiguration.achievementConfigurations.delete", |
| 81 "parameterOrder": [ |
| 82 "achievementId" |
| 83 ], |
| 84 "parameters": { |
| 85 "achievementId": { |
| 86 "description": "The ID of the achievement used by th
is method.", |
| 87 "location": "path", |
| 88 "required": true, |
| 89 "type": "string" |
| 90 } |
| 91 }, |
| 92 "path": "achievements/{achievementId}", |
| 93 "scopes": [ |
| 94 "https://www.googleapis.com/auth/androidpublisher" |
| 95 ] |
| 96 }, |
| 97 "get": { |
| 98 "description": "Retrieves the metadata of the achievement co
nfiguration with the given ID.", |
| 99 "httpMethod": "GET", |
| 100 "id": "gamesConfiguration.achievementConfigurations.get", |
| 101 "parameterOrder": [ |
| 102 "achievementId" |
| 103 ], |
| 104 "parameters": { |
| 105 "achievementId": { |
| 106 "description": "The ID of the achievement used by th
is method.", |
| 107 "location": "path", |
| 108 "required": true, |
| 109 "type": "string" |
| 110 } |
| 111 }, |
| 112 "path": "achievements/{achievementId}", |
| 113 "response": { |
| 114 "$ref": "AchievementConfiguration" |
| 115 }, |
| 116 "scopes": [ |
| 117 "https://www.googleapis.com/auth/androidpublisher" |
| 118 ] |
| 119 }, |
| 120 "insert": { |
| 121 "description": "Insert a new achievement configuration in th
is application.", |
| 122 "httpMethod": "POST", |
| 123 "id": "gamesConfiguration.achievementConfigurations.insert", |
| 124 "parameterOrder": [ |
| 125 "applicationId" |
| 126 ], |
| 127 "parameters": { |
| 128 "applicationId": { |
| 129 "description": "The application ID from the Google P
lay developer console.", |
| 130 "location": "path", |
| 131 "required": true, |
| 132 "type": "string" |
| 133 } |
| 134 }, |
| 135 "path": "applications/{applicationId}/achievements", |
| 136 "request": { |
| 137 "$ref": "AchievementConfiguration" |
| 138 }, |
| 139 "response": { |
| 140 "$ref": "AchievementConfiguration" |
| 141 }, |
| 142 "scopes": [ |
| 143 "https://www.googleapis.com/auth/androidpublisher" |
| 144 ] |
| 145 }, |
| 146 "list": { |
| 147 "description": "Returns a list of the achievement configurat
ions in this application.", |
| 148 "httpMethod": "GET", |
| 149 "id": "gamesConfiguration.achievementConfigurations.list", |
| 150 "parameterOrder": [ |
| 151 "applicationId" |
| 152 ], |
| 153 "parameters": { |
| 154 "applicationId": { |
| 155 "description": "The application ID from the Google P
lay developer console.", |
| 156 "location": "path", |
| 157 "required": true, |
| 158 "type": "string" |
| 159 }, |
| 160 "maxResults": { |
| 161 "description": "The maximum number of resource confi
gurations to return in the response, used for paging. For any response, the actu
al number of resources returned may be less than the specified maxResults.", |
| 162 "format": "int32", |
| 163 "location": "query", |
| 164 "maximum": "200", |
| 165 "minimum": "1", |
| 166 "type": "integer" |
| 167 }, |
| 168 "pageToken": { |
| 169 "description": "The token returned by the previous r
equest.", |
| 170 "location": "query", |
| 171 "type": "string" |
| 172 } |
| 173 }, |
| 174 "path": "applications/{applicationId}/achievements", |
| 175 "response": { |
| 176 "$ref": "AchievementConfigurationListResponse" |
| 177 }, |
| 178 "scopes": [ |
| 179 "https://www.googleapis.com/auth/androidpublisher" |
| 180 ] |
| 181 }, |
| 182 "patch": { |
| 183 "description": "Update the metadata of the achievement confi
guration with the given ID. This method supports patch semantics.", |
| 184 "httpMethod": "PATCH", |
| 185 "id": "gamesConfiguration.achievementConfigurations.patch", |
| 186 "parameterOrder": [ |
| 187 "achievementId" |
| 188 ], |
| 189 "parameters": { |
| 190 "achievementId": { |
| 191 "description": "The ID of the achievement used by th
is method.", |
| 192 "location": "path", |
| 193 "required": true, |
| 194 "type": "string" |
| 195 } |
| 196 }, |
| 197 "path": "achievements/{achievementId}", |
| 198 "request": { |
| 199 "$ref": "AchievementConfiguration" |
| 200 }, |
| 201 "response": { |
| 202 "$ref": "AchievementConfiguration" |
| 203 }, |
| 204 "scopes": [ |
| 205 "https://www.googleapis.com/auth/androidpublisher" |
| 206 ] |
| 207 }, |
| 208 "update": { |
| 209 "description": "Update the metadata of the achievement confi
guration with the given ID.", |
| 210 "httpMethod": "PUT", |
| 211 "id": "gamesConfiguration.achievementConfigurations.update", |
| 212 "parameterOrder": [ |
| 213 "achievementId" |
| 214 ], |
| 215 "parameters": { |
| 216 "achievementId": { |
| 217 "description": "The ID of the achievement used by th
is method.", |
| 218 "location": "path", |
| 219 "required": true, |
| 220 "type": "string" |
| 221 } |
| 222 }, |
| 223 "path": "achievements/{achievementId}", |
| 224 "request": { |
| 225 "$ref": "AchievementConfiguration" |
| 226 }, |
| 227 "response": { |
| 228 "$ref": "AchievementConfiguration" |
| 229 }, |
| 230 "scopes": [ |
| 231 "https://www.googleapis.com/auth/androidpublisher" |
| 232 ] |
| 233 } |
| 234 } |
| 235 }, |
| 236 "imageConfigurations": { |
| 237 "methods": { |
| 238 "upload": { |
| 239 "description": "Uploads an image for a resource with the giv
en ID and image type.", |
| 240 "httpMethod": "POST", |
| 241 "id": "gamesConfiguration.imageConfigurations.upload", |
| 242 "mediaUpload": { |
| 243 "accept": [ |
| 244 "image/*" |
| 245 ], |
| 246 "maxSize": "15MB", |
| 247 "protocols": { |
| 248 "resumable": { |
| 249 "multipart": true, |
| 250 "path": "/resumable/upload/games/v1configuration
/images/{resourceId}/imageType/{imageType}" |
| 251 }, |
| 252 "simple": { |
| 253 "multipart": true, |
| 254 "path": "/upload/games/v1configuration/images/{r
esourceId}/imageType/{imageType}" |
| 255 } |
| 256 } |
| 257 }, |
| 258 "parameterOrder": [ |
| 259 "resourceId", |
| 260 "imageType" |
| 261 ], |
| 262 "parameters": { |
| 263 "imageType": { |
| 264 "description": "Selects which image in a resource fo
r this method.", |
| 265 "enum": [ |
| 266 "ACHIEVEMENT_ICON", |
| 267 "LEADERBOARD_ICON" |
| 268 ], |
| 269 "enumDescriptions": [ |
| 270 "The icon image for an achievement resource.", |
| 271 "The icon image for a leaderboard resource." |
| 272 ], |
| 273 "location": "path", |
| 274 "required": true, |
| 275 "type": "string" |
| 276 }, |
| 277 "resourceId": { |
| 278 "description": "The ID of the resource used by this
method.", |
| 279 "location": "path", |
| 280 "required": true, |
| 281 "type": "string" |
| 282 } |
| 283 }, |
| 284 "path": "images/{resourceId}/imageType/{imageType}", |
| 285 "response": { |
| 286 "$ref": "ImageConfiguration" |
| 287 }, |
| 288 "scopes": [ |
| 289 "https://www.googleapis.com/auth/androidpublisher" |
| 290 ], |
| 291 "supportsMediaUpload": true |
| 292 } |
| 293 } |
| 294 }, |
| 295 "leaderboardConfigurations": { |
| 296 "methods": { |
| 297 "delete": { |
| 298 "description": "Delete the leaderboard configuration with th
e given ID.", |
| 299 "httpMethod": "DELETE", |
| 300 "id": "gamesConfiguration.leaderboardConfigurations.delete", |
| 301 "parameterOrder": [ |
| 302 "leaderboardId" |
| 303 ], |
| 304 "parameters": { |
| 305 "leaderboardId": { |
| 306 "description": "The ID of the leaderboard.", |
| 307 "location": "path", |
| 308 "required": true, |
| 309 "type": "string" |
| 310 } |
| 311 }, |
| 312 "path": "leaderboards/{leaderboardId}", |
| 313 "scopes": [ |
| 314 "https://www.googleapis.com/auth/androidpublisher" |
| 315 ] |
| 316 }, |
| 317 "get": { |
| 318 "description": "Retrieves the metadata of the leaderboard co
nfiguration with the given ID.", |
| 319 "httpMethod": "GET", |
| 320 "id": "gamesConfiguration.leaderboardConfigurations.get", |
| 321 "parameterOrder": [ |
| 322 "leaderboardId" |
| 323 ], |
| 324 "parameters": { |
| 325 "leaderboardId": { |
| 326 "description": "The ID of the leaderboard.", |
| 327 "location": "path", |
| 328 "required": true, |
| 329 "type": "string" |
| 330 } |
| 331 }, |
| 332 "path": "leaderboards/{leaderboardId}", |
| 333 "response": { |
| 334 "$ref": "LeaderboardConfiguration" |
| 335 }, |
| 336 "scopes": [ |
| 337 "https://www.googleapis.com/auth/androidpublisher" |
| 338 ] |
| 339 }, |
| 340 "insert": { |
| 341 "description": "Insert a new leaderboard configuration in th
is application.", |
| 342 "httpMethod": "POST", |
| 343 "id": "gamesConfiguration.leaderboardConfigurations.insert", |
| 344 "parameterOrder": [ |
| 345 "applicationId" |
| 346 ], |
| 347 "parameters": { |
| 348 "applicationId": { |
| 349 "description": "The application ID from the Google P
lay developer console.", |
| 350 "location": "path", |
| 351 "required": true, |
| 352 "type": "string" |
| 353 } |
| 354 }, |
| 355 "path": "applications/{applicationId}/leaderboards", |
| 356 "request": { |
| 357 "$ref": "LeaderboardConfiguration" |
| 358 }, |
| 359 "response": { |
| 360 "$ref": "LeaderboardConfiguration" |
| 361 }, |
| 362 "scopes": [ |
| 363 "https://www.googleapis.com/auth/androidpublisher" |
| 364 ] |
| 365 }, |
| 366 "list": { |
| 367 "description": "Returns a list of the leaderboard configurat
ions in this application.", |
| 368 "httpMethod": "GET", |
| 369 "id": "gamesConfiguration.leaderboardConfigurations.list", |
| 370 "parameterOrder": [ |
| 371 "applicationId" |
| 372 ], |
| 373 "parameters": { |
| 374 "applicationId": { |
| 375 "description": "The application ID from the Google P
lay developer console.", |
| 376 "location": "path", |
| 377 "required": true, |
| 378 "type": "string" |
| 379 }, |
| 380 "maxResults": { |
| 381 "description": "The maximum number of resource confi
gurations to return in the response, used for paging. For any response, the actu
al number of resources returned may be less than the specified maxResults.", |
| 382 "format": "int32", |
| 383 "location": "query", |
| 384 "maximum": "200", |
| 385 "minimum": "1", |
| 386 "type": "integer" |
| 387 }, |
| 388 "pageToken": { |
| 389 "description": "The token returned by the previous r
equest.", |
| 390 "location": "query", |
| 391 "type": "string" |
| 392 } |
| 393 }, |
| 394 "path": "applications/{applicationId}/leaderboards", |
| 395 "response": { |
| 396 "$ref": "LeaderboardConfigurationListResponse" |
| 397 }, |
| 398 "scopes": [ |
| 399 "https://www.googleapis.com/auth/androidpublisher" |
| 400 ] |
| 401 }, |
| 402 "patch": { |
| 403 "description": "Update the metadata of the leaderboard confi
guration with the given ID. This method supports patch semantics.", |
| 404 "httpMethod": "PATCH", |
| 405 "id": "gamesConfiguration.leaderboardConfigurations.patch", |
| 406 "parameterOrder": [ |
| 407 "leaderboardId" |
| 408 ], |
| 409 "parameters": { |
| 410 "leaderboardId": { |
| 411 "description": "The ID of the leaderboard.", |
| 412 "location": "path", |
| 413 "required": true, |
| 414 "type": "string" |
| 415 } |
| 416 }, |
| 417 "path": "leaderboards/{leaderboardId}", |
| 418 "request": { |
| 419 "$ref": "LeaderboardConfiguration" |
| 420 }, |
| 421 "response": { |
| 422 "$ref": "LeaderboardConfiguration" |
| 423 }, |
| 424 "scopes": [ |
| 425 "https://www.googleapis.com/auth/androidpublisher" |
| 426 ] |
| 427 }, |
| 428 "update": { |
| 429 "description": "Update the metadata of the leaderboard confi
guration with the given ID.", |
| 430 "httpMethod": "PUT", |
| 431 "id": "gamesConfiguration.leaderboardConfigurations.update", |
| 432 "parameterOrder": [ |
| 433 "leaderboardId" |
| 434 ], |
| 435 "parameters": { |
| 436 "leaderboardId": { |
| 437 "description": "The ID of the leaderboard.", |
| 438 "location": "path", |
| 439 "required": true, |
| 440 "type": "string" |
| 441 } |
| 442 }, |
| 443 "path": "leaderboards/{leaderboardId}", |
| 444 "request": { |
| 445 "$ref": "LeaderboardConfiguration" |
| 446 }, |
| 447 "response": { |
| 448 "$ref": "LeaderboardConfiguration" |
| 449 }, |
| 450 "scopes": [ |
| 451 "https://www.googleapis.com/auth/androidpublisher" |
| 452 ] |
| 453 } |
| 454 } |
| 455 } |
| 456 }, |
| 457 "revision": "20150127", |
| 458 "rootUrl": "https://www.googleapis.com/", |
| 459 "schemas": { |
| 460 "AchievementConfiguration": { |
| 461 "description": "This is a JSON template for an achievement configura
tion resource.", |
| 462 "id": "AchievementConfiguration", |
| 463 "properties": { |
| 464 "achievementType": { |
| 465 "description": "The type of the achievement.\nPossible value
s are: \n- \"STANDARD\" - Achievement is either locked or unlocked. \n- \"INCRE
MENTAL\" - Achievement is incremental.", |
| 466 "type": "string" |
| 467 }, |
| 468 "draft": { |
| 469 "$ref": "AchievementConfigurationDetail", |
| 470 "description": "The draft data of the achievement." |
| 471 }, |
| 472 "id": { |
| 473 "description": "The ID of the achievement.", |
| 474 "type": "string" |
| 475 }, |
| 476 "initialState": { |
| 477 "description": "The initial state of the achievement.\nPossi
ble values are: \n- \"HIDDEN\" - Achievement is hidden. \n- \"REVEALED\" - Achi
evement is revealed. \n- \"UNLOCKED\" - Achievement is unlocked.", |
| 478 "type": "string" |
| 479 }, |
| 480 "kind": { |
| 481 "default": "gamesConfiguration#achievementConfiguration", |
| 482 "description": "Uniquely identifies the type of this resourc
e. Value is always the fixed string gamesConfiguration#achievementConfiguration.
", |
| 483 "type": "string" |
| 484 }, |
| 485 "published": { |
| 486 "$ref": "AchievementConfigurationDetail", |
| 487 "description": "The read-only published data of the achievem
ent." |
| 488 }, |
| 489 "stepsToUnlock": { |
| 490 "description": "Steps to unlock. Only applicable to incremen
tal achievements.", |
| 491 "format": "int32", |
| 492 "type": "integer" |
| 493 }, |
| 494 "token": { |
| 495 "description": "The token for this resource.", |
| 496 "type": "string" |
| 497 } |
| 498 }, |
| 499 "type": "object" |
| 500 }, |
| 501 "AchievementConfigurationDetail": { |
| 502 "description": "This is a JSON template for an achievement configura
tion detail.", |
| 503 "id": "AchievementConfigurationDetail", |
| 504 "properties": { |
| 505 "description": { |
| 506 "$ref": "LocalizedStringBundle", |
| 507 "description": "Localized strings for the achievement descri
ption." |
| 508 }, |
| 509 "iconUrl": { |
| 510 "description": "The icon url of this achievement. Writes to
this field are ignored.", |
| 511 "type": "string" |
| 512 }, |
| 513 "kind": { |
| 514 "default": "gamesConfiguration#achievementConfigurationDetai
l", |
| 515 "description": "Uniquely identifies the type of this resourc
e. Value is always the fixed string gamesConfiguration#achievementConfigurationD
etail.", |
| 516 "type": "string" |
| 517 }, |
| 518 "name": { |
| 519 "$ref": "LocalizedStringBundle", |
| 520 "description": "Localized strings for the achievement name." |
| 521 }, |
| 522 "pointValue": { |
| 523 "description": "Point value for the achievement.", |
| 524 "format": "int32", |
| 525 "type": "integer" |
| 526 }, |
| 527 "sortRank": { |
| 528 "description": "The sort rank of this achievement. Writes to
this field are ignored.", |
| 529 "format": "int32", |
| 530 "type": "integer" |
| 531 } |
| 532 }, |
| 533 "type": "object" |
| 534 }, |
| 535 "AchievementConfigurationListResponse": { |
| 536 "description": "This is a JSON template for a ListConfigurations res
ponse.", |
| 537 "id": "AchievementConfigurationListResponse", |
| 538 "properties": { |
| 539 "items": { |
| 540 "description": "The achievement configurations.", |
| 541 "items": { |
| 542 "$ref": "AchievementConfiguration" |
| 543 }, |
| 544 "type": "array" |
| 545 }, |
| 546 "kind": { |
| 547 "default": "gamesConfiguration#achievementConfigurationListR
esponse", |
| 548 "description": "Uniquely identifies the type of this resourc
e. Value is always the fixed string games#achievementConfigurationListResponse."
, |
| 549 "type": "string" |
| 550 }, |
| 551 "nextPageToken": { |
| 552 "description": "The pagination token for the next page of re
sults.", |
| 553 "type": "string" |
| 554 } |
| 555 }, |
| 556 "type": "object" |
| 557 }, |
| 558 "GamesNumberAffixConfiguration": { |
| 559 "description": "This is a JSON template for a number affix resource.
", |
| 560 "id": "GamesNumberAffixConfiguration", |
| 561 "properties": { |
| 562 "few": { |
| 563 "$ref": "LocalizedStringBundle", |
| 564 "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)." |
| 565 }, |
| 566 "many": { |
| 567 "$ref": "LocalizedStringBundle", |
| 568 "description": "When the language requires special treatment
of \"large\" numbers (as with numbers ending 11-99 in Maltese)." |
| 569 }, |
| 570 "one": { |
| 571 "$ref": "LocalizedStringBundle", |
| 572 "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)." |
| 573 }, |
| 574 "other": { |
| 575 "$ref": "LocalizedStringBundle", |
| 576 "description": "When the language does not require special t
reatment of the given quantity (as with all numbers in Chinese, or 42 in English
)." |
| 577 }, |
| 578 "two": { |
| 579 "$ref": "LocalizedStringBundle", |
| 580 "description": "When the language requires special treatment
of numbers like two (as with 2 in Welsh, or 102 in Slovenian)." |
| 581 }, |
| 582 "zero": { |
| 583 "$ref": "LocalizedStringBundle", |
| 584 "description": "When the language requires special treatment
of the number 0 (as in Arabic)." |
| 585 } |
| 586 }, |
| 587 "type": "object" |
| 588 }, |
| 589 "GamesNumberFormatConfiguration": { |
| 590 "description": "This is a JSON template for a number format resource
.", |
| 591 "id": "GamesNumberFormatConfiguration", |
| 592 "properties": { |
| 593 "currencyCode": { |
| 594 "description": "The curreny code string. Only used for CURRE
NCY format type.", |
| 595 "type": "string" |
| 596 }, |
| 597 "numDecimalPlaces": { |
| 598 "description": "The number of decimal places for number. Onl
y used for NUMERIC format type.", |
| 599 "format": "int32", |
| 600 "type": "integer" |
| 601 }, |
| 602 "numberFormatType": { |
| 603 "description": "The formatting for the number.\nPossible val
ues are: \n- \"NUMERIC\" - Numbers are formatted to have no digits or a fixed n
umber of digits after the decimal point according to locale. An optional custom
unit can be added.\n- \"TIME_DURATION\" - Numbers are formatted to hours, minute
s and seconds.\n- \"CURRENCY\" - Numbers are formatted to currency according to
locale.", |
| 604 "type": "string" |
| 605 }, |
| 606 "suffix": { |
| 607 "$ref": "GamesNumberAffixConfiguration", |
| 608 "description": "An optional suffix for the NUMERIC format ty
pe. These strings follow the same plural rules as all Android string resources.
" |
| 609 } |
| 610 }, |
| 611 "type": "object" |
| 612 }, |
| 613 "ImageConfiguration": { |
| 614 "description": "This is a JSON template for an image configuration r
esource.", |
| 615 "id": "ImageConfiguration", |
| 616 "properties": { |
| 617 "imageType": { |
| 618 "description": "The image type for the image.", |
| 619 "type": "string" |
| 620 }, |
| 621 "kind": { |
| 622 "default": "gamesConfiguration#imageConfiguration", |
| 623 "description": "Uniquely identifies the type of this resourc
e. Value is always the fixed string gamesConfiguration#imageConfiguration.", |
| 624 "type": "string" |
| 625 }, |
| 626 "resourceId": { |
| 627 "description": "The resource ID of resource which the image
belongs to.", |
| 628 "type": "string" |
| 629 }, |
| 630 "url": { |
| 631 "description": "The url for this image.", |
| 632 "type": "string" |
| 633 } |
| 634 }, |
| 635 "type": "object" |
| 636 }, |
| 637 "LeaderboardConfiguration": { |
| 638 "description": "This is a JSON template for an leaderboard configura
tion resource.", |
| 639 "id": "LeaderboardConfiguration", |
| 640 "properties": { |
| 641 "draft": { |
| 642 "$ref": "LeaderboardConfigurationDetail", |
| 643 "description": "The draft data of the leaderboard." |
| 644 }, |
| 645 "id": { |
| 646 "description": "The ID of the leaderboard.", |
| 647 "type": "string" |
| 648 }, |
| 649 "kind": { |
| 650 "default": "gamesConfiguration#leaderboardConfiguration", |
| 651 "description": "Uniquely identifies the type of this resourc
e. Value is always the fixed string gamesConfiguration#leaderboardConfiguration.
", |
| 652 "type": "string" |
| 653 }, |
| 654 "published": { |
| 655 "$ref": "LeaderboardConfigurationDetail", |
| 656 "description": "The read-only published data of the leaderbo
ard." |
| 657 }, |
| 658 "scoreMax": { |
| 659 "description": "Maximum score that can be posted to this lea
derboard.", |
| 660 "format": "int64", |
| 661 "type": "string" |
| 662 }, |
| 663 "scoreMin": { |
| 664 "description": "Minimum score that can be posted to this lea
derboard.", |
| 665 "format": "int64", |
| 666 "type": "string" |
| 667 }, |
| 668 "scoreOrder": { |
| 669 "description": "The type of the leaderboard.\nPossible value
s are: \n- \"LARGER_IS_BETTER\" - Larger scores posted are ranked higher. \n- \
"SMALLER_IS_BETTER\" - Smaller scores posted are ranked higher.", |
| 670 "type": "string" |
| 671 }, |
| 672 "token": { |
| 673 "description": "The token for this resource.", |
| 674 "type": "string" |
| 675 } |
| 676 }, |
| 677 "type": "object" |
| 678 }, |
| 679 "LeaderboardConfigurationDetail": { |
| 680 "description": "This is a JSON template for a leaderboard configurat
ion detail.", |
| 681 "id": "LeaderboardConfigurationDetail", |
| 682 "properties": { |
| 683 "iconUrl": { |
| 684 "description": "The icon url of this leaderboard. Writes to
this field are ignored.", |
| 685 "type": "string" |
| 686 }, |
| 687 "kind": { |
| 688 "default": "gamesConfiguration#leaderboardConfigurationDetai
l", |
| 689 "description": "Uniquely identifies the type of this resourc
e. Value is always the fixed string gamesConfiguration#leaderboardConfigurationD
etail.", |
| 690 "type": "string" |
| 691 }, |
| 692 "name": { |
| 693 "$ref": "LocalizedStringBundle", |
| 694 "description": "Localized strings for the leaderboard name." |
| 695 }, |
| 696 "scoreFormat": { |
| 697 "$ref": "GamesNumberFormatConfiguration", |
| 698 "description": "The score formatting for the leaderboard." |
| 699 }, |
| 700 "sortRank": { |
| 701 "description": "The sort rank of this leaderboard. Writes to
this field are ignored.", |
| 702 "format": "int32", |
| 703 "type": "integer" |
| 704 } |
| 705 }, |
| 706 "type": "object" |
| 707 }, |
| 708 "LeaderboardConfigurationListResponse": { |
| 709 "description": "This is a JSON template for a ListConfigurations res
ponse.", |
| 710 "id": "LeaderboardConfigurationListResponse", |
| 711 "properties": { |
| 712 "items": { |
| 713 "description": "The leaderboard configurations.", |
| 714 "items": { |
| 715 "$ref": "LeaderboardConfiguration" |
| 716 }, |
| 717 "type": "array" |
| 718 }, |
| 719 "kind": { |
| 720 "default": "gamesConfiguration#leaderboardConfigurationListR
esponse", |
| 721 "description": "Uniquely identifies the type of this resourc
e. Value is always the fixed string games#leaderboardConfigurationListResponse."
, |
| 722 "type": "string" |
| 723 }, |
| 724 "nextPageToken": { |
| 725 "description": "The pagination token for the next page of re
sults.", |
| 726 "type": "string" |
| 727 } |
| 728 }, |
| 729 "type": "object" |
| 730 }, |
| 731 "LocalizedString": { |
| 732 "description": "This is a JSON template for a localized string resou
rce.", |
| 733 "id": "LocalizedString", |
| 734 "properties": { |
| 735 "kind": { |
| 736 "default": "gamesConfiguration#localizedString", |
| 737 "description": "Uniquely identifies the type of this resourc
e. Value is always the fixed string gamesConfiguration#localizedString.", |
| 738 "type": "string" |
| 739 }, |
| 740 "locale": { |
| 741 "description": "The locale string.", |
| 742 "type": "string" |
| 743 }, |
| 744 "value": { |
| 745 "description": "The string value.", |
| 746 "type": "string" |
| 747 } |
| 748 }, |
| 749 "type": "object" |
| 750 }, |
| 751 "LocalizedStringBundle": { |
| 752 "description": "This is a JSON template for a localized string bundl
e resource.", |
| 753 "id": "LocalizedStringBundle", |
| 754 "properties": { |
| 755 "kind": { |
| 756 "default": "gamesConfiguration#localizedStringBundle", |
| 757 "description": "Uniquely identifies the type of this resourc
e. Value is always the fixed string gamesConfiguration#localizedStringBundle.", |
| 758 "type": "string" |
| 759 }, |
| 760 "translations": { |
| 761 "description": "The locale strings.", |
| 762 "items": { |
| 763 "$ref": "LocalizedString" |
| 764 }, |
| 765 "type": "array" |
| 766 } |
| 767 }, |
| 768 "type": "object" |
| 769 } |
| 770 }, |
| 771 "servicePath": "games/v1configuration/", |
| 772 "title": "Google Play Game Services Publishing API", |
| 773 "version": "v1configuration" |
| 774 } |
OLD | NEW |