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.ExpansionFiles.Upload

Contents

Description

Uploads and attaches a new Expansion File to the APK specified.

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

Synopsis

REST Resource

type EditsExpansionFilesUploadResource = ("androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("edits" :> (Capture "editId" Text :> ("apks" :> (Capture "apkVersionCode" (Textual Int32) :> ("expansionFiles" :> (Capture "expansionFileType" EditsExpansionFilesUploadExpansionFileType :> (QueryParam "alt" AltJSON :> Post '[JSON] ExpansionFilesUploadResponse))))))))))) :<|> ("upload" :> ("androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("edits" :> (Capture "editId" Text :> ("apks" :> (Capture "apkVersionCode" (Textual Int32) :> ("expansionFiles" :> (Capture "expansionFileType" EditsExpansionFilesUploadExpansionFileType :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" AltMedia :> (AltMedia :> Post '[JSON] ExpansionFilesUploadResponse)))))))))))))) Source #

A resource alias for androidpublisher.edits.expansionfiles.upload method which the EditsExpansionFilesUpload request conforms to.

Creating a Request

editsExpansionFilesUpload Source #

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

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

data EditsExpansionFilesUpload Source #

Uploads and attaches a new Expansion File to the APK specified.

See: editsExpansionFilesUpload smart constructor.

Instances
Eq EditsExpansionFilesUpload Source # 
Instance details

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

Data EditsExpansionFilesUpload Source # 
Instance details

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

Methods

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

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

toConstr :: EditsExpansionFilesUpload -> Constr #

dataTypeOf :: EditsExpansionFilesUpload -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EditsExpansionFilesUpload Source # 
Instance details

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

Generic EditsExpansionFilesUpload Source # 
Instance details

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

Associated Types

type Rep EditsExpansionFilesUpload :: Type -> Type #

GoogleRequest EditsExpansionFilesUpload Source # 
Instance details

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

GoogleRequest (MediaUpload EditsExpansionFilesUpload) Source # 
Instance details

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

type Rep EditsExpansionFilesUpload Source # 
Instance details

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

type Rep EditsExpansionFilesUpload = D1 (MetaData "EditsExpansionFilesUpload" "Network.Google.Resource.AndroidPublisher.Edits.ExpansionFiles.Upload" "gogol-android-publisher-0.4.0-A8TPJe0z8xz1LYUimgzodq" False) (C1 (MetaCons "EditsExpansionFilesUpload'" PrefixI True) ((S1 (MetaSel (Just "_ePackageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_eAPKVersionCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int32))) :*: (S1 (MetaSel (Just "_eExpansionFileType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 EditsExpansionFilesUploadExpansionFileType) :*: S1 (MetaSel (Just "_eEditId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes EditsExpansionFilesUpload Source # 
Instance details

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

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

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

type Scopes (MediaUpload EditsExpansionFilesUpload) Source # 
Instance details

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

type Rs (MediaUpload EditsExpansionFilesUpload) Source # 
Instance details

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

Request Lenses

ePackageName :: Lens' EditsExpansionFilesUpload Text Source #

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

eAPKVersionCode :: Lens' EditsExpansionFilesUpload Int32 Source #

The version code of the APK whose Expansion File configuration is being read or modified.

eEditId :: Lens' EditsExpansionFilesUpload Text Source #

Unique identifier for this edit.