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.
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) 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. "url": "A String", # The url for this image. "resourceId": "A String", # The resource ID of resource which the image belongs to. "kind": "A String", # Uniquely identifies the type of this resource. Value is always the fixed # string `gamesConfiguration#imageConfiguration`. "imageType": "A String", # The image type for the image. }