Identifica de forma única el tipo de este recurso. El valor siempre es la cadena fija gamesConfiguration#imageConfiguration.
url
string
Es la URL de esta imagen.
resourceId
string
Es el ID del recurso al que pertenece la imagen.
imageType
string
Es el tipo de imagen.
Los valores aceptables son los siguientes:
"ACHIEVEMENT_ICON"
"LEADERBOARD_ICON"
El contenido y las muestras de código que aparecen en esta página están sujetas a las licencias que se describen en la Licencia de Contenido. Java y OpenJDK son marcas registradas de Oracle o sus afiliados.
Última actualización: 2025-07-30 (UTC)
[null,null,["Última actualización: 2025-07-30 (UTC)"],[],[],null,["# ImageConfigurations: upload\n\n| **Deprecated:** This API is deprecated and is being removed, so you shouldn't use it. Attempting to use this API causes errors.\n\n\n**Requires [authorization](#auth)**\n\nUploads an image for a resource with the given ID and image type.\n\nThis method supports an **/upload** URI and accepts uploaded media with the following characteristics:\n\n- **Maximum file size:** 15MB\n- **Accepted Media MIME types:** `image/*`\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/upload/games/v1configuration/images/resourceId/imageType/imageType\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|----------------|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Path parameters** |||\n| `imageType` | `string` | Selects which image in a resource for this method. \u003cbr /\u003e \u003cbr /\u003e Acceptable values are: - \"`ACHIEVEMENT_ICON`\": The icon image for an achievement resource. - \"`LEADERBOARD_ICON`\": The icon image for a leaderboard resource. |\n| `resourceId` | `string` | The ID of the resource used by this method. |\n| **Required query parameters** |||\n| `uploadType` | `string` | The type of upload request to the **/upload** URI. Acceptable values are: - `media` - [Simple upload](/games/services/publishing/upload#simple). Upload the media data. - `resumable` - [Resumable upload](/games/services/publishing/upload#resumable). Upload the file in a resumable fashion, using a series of at least two requests. |\n\n### Authorization\n\nThis request requires authorization with the following scope ([read more about authentication and authorization](/accounts/docs/OAuth2)).\n\n| Scope |\n|----------------------------------------------------|\n| `https://www.googleapis.com/auth/androidpublisher` |\n\n### Request body\n\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns a response body with the following structure:\n\n```text\n{\n \"kind\": \"gamesConfiguration#imageConfiguration\",\n \"url\": string,\n \"resourceId\": string,\n \"imageType\": string\n}\n```\n\n| Property name | Value | Description | Notes |\n|---------------|----------|--------------------------------------------------------------------------------------------------------------------------|-------|\n| `kind` | `string` | Uniquely identifies the type of this resource. Value is always the fixed string `gamesConfiguration#imageConfiguration`. | |\n| `url` | `string` | The url for this image. | |\n| `resourceId` | `string` | The resource ID of resource which the image belongs to. | |\n| `imageType` | `string` | The image type for the image. \u003cbr /\u003e Acceptable values are: - \"`ACHIEVEMENT_ICON`\" - \"`LEADERBOARD_ICON`\" | |"]]