gogol-android-publisher-0.5.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.Bundles.Upload

Contents

Description

Uploads a new Android App Bundle to this edit. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See: https://developers.google.com/api-client-library/java/google-api-java-client/errors for an example in java.

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

Synopsis

REST Resource

type EditsBundlesUploadResource = ("androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("edits" :> (Capture "editId" Text :> ("bundles" :> (QueryParam "ackBundleInstallationWarning" Bool :> (QueryParam "alt" AltJSON :> Post '[JSON] Bundle))))))))) :<|> ("upload" :> ("androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("edits" :> (Capture "editId" Text :> ("bundles" :> (QueryParam "ackBundleInstallationWarning" Bool :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" AltMedia :> (AltMedia :> Post '[JSON] Bundle)))))))))))) Source #

A resource alias for androidpublisher.edits.bundles.upload method which the EditsBundlesUpload request conforms to.

Creating a Request

editsBundlesUpload Source #

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

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

data EditsBundlesUpload Source #

Uploads a new Android App Bundle to this edit. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See: https://developers.google.com/api-client-library/java/google-api-java-client/errors for an example in java.

See: editsBundlesUpload smart constructor.

Instances
Eq EditsBundlesUpload Source # 
Instance details

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

Data EditsBundlesUpload Source # 
Instance details

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

Methods

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

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

toConstr :: EditsBundlesUpload -> Constr #

dataTypeOf :: EditsBundlesUpload -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EditsBundlesUpload Source # 
Instance details

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

Generic EditsBundlesUpload Source # 
Instance details

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

Associated Types

type Rep EditsBundlesUpload :: Type -> Type #

GoogleRequest EditsBundlesUpload Source # 
Instance details

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

Associated Types

type Rs EditsBundlesUpload :: Type #

type Scopes EditsBundlesUpload :: [Symbol] #

GoogleRequest (MediaUpload EditsBundlesUpload) Source # 
Instance details

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

type Rep EditsBundlesUpload Source # 
Instance details

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

type Rep EditsBundlesUpload = D1 (MetaData "EditsBundlesUpload" "Network.Google.Resource.AndroidPublisher.Edits.Bundles.Upload" "gogol-android-publisher-0.5.0-ISed6ftEYBxKVbqQ2d4uJK" False) (C1 (MetaCons "EditsBundlesUpload'" PrefixI True) (S1 (MetaSel (Just "_ebuPackageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_ebuAckBundleInstallationWarning") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_ebuEditId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes EditsBundlesUpload Source # 
Instance details

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

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

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

type Scopes (MediaUpload EditsBundlesUpload) Source # 
Instance details

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

type Rs (MediaUpload EditsBundlesUpload) Source # 
Instance details

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

Request Lenses

ebuPackageName :: Lens' EditsBundlesUpload Text Source #

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

ebuAckBundleInstallationWarning :: Lens' EditsBundlesUpload (Maybe Bool) Source #

Must be set to true if the bundle installation may trigger a warning on user devices (for example, if installation size may be over a threshold, typically 100 MB).

ebuEditId :: Lens' EditsBundlesUpload Text Source #

Unique identifier for this edit.