| Copyright | (c) 2015-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.GamesConfiguration.ImageConfigurations.Upload
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
- 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 :> (AltMedia :> Post '[JSON] ImageConfiguration))))))))))
- imageConfigurationsUpload :: Text -> ImageConfigurationsUploadImageType -> ImageConfigurationsUpload
- data ImageConfigurationsUpload
- icuResourceId :: Lens' ImageConfigurationsUpload Text
- icuImageType :: Lens' ImageConfigurationsUpload ImageConfigurationsUploadImageType
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 :> (AltMedia :> Post '[JSON] ImageConfiguration)))))))))) Source #
A resource alias for gamesConfiguration.imageConfigurations.upload method which the
ImageConfigurationsUpload request conforms to.
Creating a Request
imageConfigurationsUpload Source #
Arguments
| :: Text | |
| -> ImageConfigurationsUploadImageType | |
| -> ImageConfigurationsUpload |
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:
data ImageConfigurationsUpload Source #
Uploads an image for a resource with the given ID and image type.
See: imageConfigurationsUpload smart constructor.
Instances
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.