Identifie de manière unique le type de cette ressource. La valeur est toujours la chaîne fixe gamesConfiguration#imageConfiguration.
url
string
URL de cette image.
resourceId
string
ID de la ressource à laquelle appartient l'image.
imageType
string
Type d'image.
Les valeurs possibles sont les suivantes:
<ph type="x-smartling-placeholder">
</ph>
"ACHIEVEMENT_ICON"
"LEADERBOARD_ICON"
Le contenu et les exemples de code de cette page sont soumis aux licences décrites dans la Licence de contenu. Java et OpenJDK sont des marques ou des marques déposées d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/30 (UTC).
[null,null,["Dernière mise à jour le 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`\" | |"]]