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

Copyright(c) 2015-2016 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 :> (AltMedia :> 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:

data ImageConfigurationsUpload Source #

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

See: imageConfigurationsUpload smart constructor.

Instances
Eq ImageConfigurationsUpload Source # 
Instance details

Defined in Network.Google.Resource.GamesConfiguration.ImageConfigurations.Upload

Data ImageConfigurationsUpload Source # 
Instance details

Defined in Network.Google.Resource.GamesConfiguration.ImageConfigurations.Upload

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ImageConfigurationsUpload -> c ImageConfigurationsUpload #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ImageConfigurationsUpload #

toConstr :: ImageConfigurationsUpload -> Constr #

dataTypeOf :: ImageConfigurationsUpload -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ImageConfigurationsUpload) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ImageConfigurationsUpload) #

gmapT :: (forall b. Data b => b -> b) -> ImageConfigurationsUpload -> ImageConfigurationsUpload #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ImageConfigurationsUpload -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ImageConfigurationsUpload -> r #

gmapQ :: (forall d. Data d => d -> u) -> ImageConfigurationsUpload -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ImageConfigurationsUpload -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ImageConfigurationsUpload -> m ImageConfigurationsUpload #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ImageConfigurationsUpload -> m ImageConfigurationsUpload #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ImageConfigurationsUpload -> m ImageConfigurationsUpload #

Show ImageConfigurationsUpload Source # 
Instance details

Defined in Network.Google.Resource.GamesConfiguration.ImageConfigurations.Upload

Generic ImageConfigurationsUpload Source # 
Instance details

Defined in Network.Google.Resource.GamesConfiguration.ImageConfigurations.Upload

Associated Types

type Rep ImageConfigurationsUpload :: Type -> Type #

GoogleRequest ImageConfigurationsUpload Source # 
Instance details

Defined in Network.Google.Resource.GamesConfiguration.ImageConfigurations.Upload

GoogleRequest (MediaUpload ImageConfigurationsUpload) Source # 
Instance details

Defined in Network.Google.Resource.GamesConfiguration.ImageConfigurations.Upload

type Rep ImageConfigurationsUpload Source # 
Instance details

Defined in Network.Google.Resource.GamesConfiguration.ImageConfigurations.Upload

type Rep ImageConfigurationsUpload = D1 (MetaData "ImageConfigurationsUpload" "Network.Google.Resource.GamesConfiguration.ImageConfigurations.Upload" "gogol-games-configuration-0.4.0-9SX3Y9Sc8ZIJVnX5A5dW8E" False) (C1 (MetaCons "ImageConfigurationsUpload'" PrefixI True) (S1 (MetaSel (Just "_icuResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_icuImageType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ImageConfigurationsUploadImageType)))
type Scopes ImageConfigurationsUpload Source # 
Instance details

Defined in Network.Google.Resource.GamesConfiguration.ImageConfigurations.Upload

type Scopes ImageConfigurationsUpload = "https://www.googleapis.com/auth/androidpublisher" ': ([] :: [Symbol])
type Rs ImageConfigurationsUpload Source # 
Instance details

Defined in Network.Google.Resource.GamesConfiguration.ImageConfigurations.Upload

type Scopes (MediaUpload ImageConfigurationsUpload) Source # 
Instance details

Defined in Network.Google.Resource.GamesConfiguration.ImageConfigurations.Upload

type Rs (MediaUpload ImageConfigurationsUpload) Source # 
Instance details

Defined in Network.Google.Resource.GamesConfiguration.ImageConfigurations.Upload

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.