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.APKs.Addexternallyhosted

Contents

Description

Creates a new APK without uploading the APK itself to Google Play, instead hosting the APK at a specified URL. This function is only available to enterprises using Google Play for Work whose application is configured to restrict distribution to the enterprise domain.

See: Google Play Developer API Reference for androidpublisher.edits.apks.addexternallyhosted.

Synopsis

REST Resource

type EditsAPKsAddexternallyhostedResource = "androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("edits" :> (Capture "editId" Text :> ("apks" :> ("externallyHosted" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] APKsAddExternallyHostedRequest :> Post '[JSON] APKsAddExternallyHostedResponse))))))))) Source #

A resource alias for androidpublisher.edits.apks.addexternallyhosted method which the EditsAPKsAddexternallyhosted request conforms to.

Creating a Request

editsAPKsAddexternallyhosted Source #

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

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

data EditsAPKsAddexternallyhosted Source #

Creates a new APK without uploading the APK itself to Google Play, instead hosting the APK at a specified URL. This function is only available to enterprises using Google Play for Work whose application is configured to restrict distribution to the enterprise domain.

See: editsAPKsAddexternallyhosted smart constructor.

Instances
Eq EditsAPKsAddexternallyhosted Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Edits.APKs.Addexternallyhosted

Data EditsAPKsAddexternallyhosted Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Edits.APKs.Addexternallyhosted

Methods

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

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

toConstr :: EditsAPKsAddexternallyhosted -> Constr #

dataTypeOf :: EditsAPKsAddexternallyhosted -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EditsAPKsAddexternallyhosted Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Edits.APKs.Addexternallyhosted

Generic EditsAPKsAddexternallyhosted Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Edits.APKs.Addexternallyhosted

Associated Types

type Rep EditsAPKsAddexternallyhosted :: Type -> Type #

GoogleRequest EditsAPKsAddexternallyhosted Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Edits.APKs.Addexternallyhosted

type Rep EditsAPKsAddexternallyhosted Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Edits.APKs.Addexternallyhosted

type Rep EditsAPKsAddexternallyhosted = D1 (MetaData "EditsAPKsAddexternallyhosted" "Network.Google.Resource.AndroidPublisher.Edits.APKs.Addexternallyhosted" "gogol-android-publisher-0.4.0-A8TPJe0z8xz1LYUimgzodq" False) (C1 (MetaCons "EditsAPKsAddexternallyhosted'" PrefixI True) (S1 (MetaSel (Just "_eapkaPackageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_eapkaPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 APKsAddExternallyHostedRequest) :*: S1 (MetaSel (Just "_eapkaEditId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes EditsAPKsAddexternallyhosted Source # 
Instance details

Defined in Network.Google.Resource.AndroidPublisher.Edits.APKs.Addexternallyhosted

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

Defined in Network.Google.Resource.AndroidPublisher.Edits.APKs.Addexternallyhosted

Request Lenses

eapkaPackageName :: Lens' EditsAPKsAddexternallyhosted Text Source #

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

eapkaEditId :: Lens' EditsAPKsAddexternallyhosted Text Source #

Unique identifier for this edit.