gogol-games-configuration-0.0.1: Google Play Game Services Publishing SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.GamesConfiguration.ImageConfigurations.Upload

Contents

Description

Uploads an image for a resource with the given ID and image type.

See: Google Play Game Services Publishing API Reference for gamesConfiguration.imageConfigurations.upload.

Synopsis

REST Resource

type ImageConfigurationsUploadResource = ("games" :> ("v1configuration" :> ("images" :> (Capture "resourceId" Text :> ("imageType" :> (Capture "imageType" ImageConfigurationsUploadImageType :> (QueryParam "alt" AltJSON :> Post `[JSON]` ImageConfiguration))))))) :<|> ("upload" :> ("games" :> ("v1configuration" :> ("images" :> (Capture "resourceId" Text :> ("imageType" :> (Capture "imageType" ImageConfigurationsUploadImageType :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" AltMedia :> (ReqBody `[OctetStream]` RequestBody :> Post `[JSON]` ImageConfiguration)))))))))) Source

A resource alias for gamesConfiguration.imageConfigurations.upload method which the ImageConfigurationsUpload request conforms to.

Creating a Request

imageConfigurationsUpload Source

Creates a value of ImageConfigurationsUpload with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

icuResourceId :: Lens' ImageConfigurationsUpload Text Source

The ID of the resource used by this method.

icuImageType :: Lens' ImageConfigurationsUpload ImageConfigurationsUploadImageType Source

Selects which image in a resource for this method.