gogol-android-publisher-0.4.0: Google Play Developer 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.AndroidPublisher.Edits.Images.Upload

Contents

Description

Uploads a new image and adds it to the list of images for the specified language and image type.

See: Google Play Developer API Reference for androidpublisher.edits.images.upload.

Synopsis

REST Resource

type EditsImagesUploadResource = ("androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("edits" :> (Capture "editId" Text :> ("listings" :> (Capture "language" Text :> (Capture "imageType" EditsImagesUploadImageType :> (QueryParam "alt" AltJSON :> Post '[JSON] ImagesUploadResponse)))))))))) :<|> ("upload" :> ("androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("edits" :> (Capture "editId" Text :> ("listings" :> (Capture "language" Text :> (Capture "imageType" EditsImagesUploadImageType :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" AltMedia :> (AltMedia :> Post '[JSON] ImagesUploadResponse))))))))))))) Source #

A resource alias for androidpublisher.edits.images.upload method which the EditsImagesUpload request conforms to.

Creating a Request

editsImagesUpload Source #

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

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

data EditsImagesUpload Source #

Uploads a new image and adds it to the list of images for the specified language and image type.

See: editsImagesUpload smart constructor.

Instances
Eq EditsImagesUpload Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Edits.Images.Upload

Data EditsImagesUpload Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Edits.Images.Upload

Methods

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

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

toConstr :: EditsImagesUpload -> Constr #

dataTypeOf :: EditsImagesUpload -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EditsImagesUpload Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Edits.Images.Upload

Generic EditsImagesUpload Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Edits.Images.Upload

Associated Types

type Rep EditsImagesUpload :: Type -> Type #

GoogleRequest EditsImagesUpload Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Edits.Images.Upload

Associated Types

type Rs EditsImagesUpload :: Type #

type Scopes EditsImagesUpload :: [Symbol] #

GoogleRequest (MediaUpload EditsImagesUpload) Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Edits.Images.Upload

type Rep EditsImagesUpload Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Edits.Images.Upload

type Rep EditsImagesUpload = D1 (MetaData "EditsImagesUpload" "Network.Google.Resource.AndroidPublisher.Edits.Images.Upload" "gogol-android-publisher-0.4.0-A8TPJe0z8xz1LYUimgzodq" False) (C1 (MetaCons "EditsImagesUpload'" PrefixI True) ((S1 (MetaSel (Just "_eiuPackageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_eiuImageType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 EditsImagesUploadImageType)) :*: (S1 (MetaSel (Just "_eiuLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_eiuEditId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes EditsImagesUpload Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Edits.Images.Upload

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

Defined in Network.Google.Resource.AndroidPublisher.Edits.Images.Upload

type Scopes (MediaUpload EditsImagesUpload) Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Edits.Images.Upload

type Rs (MediaUpload EditsImagesUpload) Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Edits.Images.Upload

Request Lenses

eiuPackageName :: Lens' EditsImagesUpload Text Source #

Unique identifier for the Android app that is being updated; for example, "com.spiffygame".

eiuLanguage :: Lens' EditsImagesUpload Text Source #

The language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass "de-AT".

eiuEditId :: Lens' EditsImagesUpload Text Source #

Unique identifier for this edit.