Close httplib2 connections.
upload(resourceId, imageType, media_body=None, media_mime_type=None, x__xgafv=None)
Uploads an image for a resource with the given ID and image type.
close()
Close httplib2 connections.
upload(resourceId, imageType, media_body=None, media_mime_type=None, x__xgafv=None)
Uploads an image for a resource with the given ID and image type. Args: resourceId: string, The ID of the resource used by this method. (required) imageType: string, Selects which image in a resource for this method. (required) Allowed values IMAGE_TYPE_UNSPECIFIED - Default value. This value is unused. ACHIEVEMENT_ICON - The icon image for an achievement resource. LEADERBOARD_ICON - The icon image for a leaderboard resource. media_body: string, The filename of the media request body, or an instance of a MediaUpload object. media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # An image configuration resource. "imageType": "A String", # The image type for the image. "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed string `gamesConfiguration#imageConfiguration`. "resourceId": "A String", # The resource ID of resource which the image belongs to. "url": "A String", # The url for this image. }