gogol-android-enterprise-0.4.0: Google Play EMM 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.AndroidEnterprise.WebApps.Insert

Contents

Description

Creates a new web app for the enterprise.

See: Google Play EMM API Reference for androidenterprise.webapps.insert.

Synopsis

REST Resource

type WebAppsInsertResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("webApps" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] WebApp :> Post '[JSON] WebApp)))))) Source #

A resource alias for androidenterprise.webapps.insert method which the WebAppsInsert request conforms to.

Creating a Request

webAppsInsert Source #

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

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

data WebAppsInsert Source #

Creates a new web app for the enterprise.

See: webAppsInsert smart constructor.

Instances
Eq WebAppsInsert Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.WebApps.Insert

Data WebAppsInsert Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.WebApps.Insert

Methods

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

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

toConstr :: WebAppsInsert -> Constr #

dataTypeOf :: WebAppsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show WebAppsInsert Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.WebApps.Insert

Generic WebAppsInsert Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.WebApps.Insert

Associated Types

type Rep WebAppsInsert :: Type -> Type #

GoogleRequest WebAppsInsert Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.WebApps.Insert

Associated Types

type Rs WebAppsInsert :: Type #

type Scopes WebAppsInsert :: [Symbol] #

type Rep WebAppsInsert Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.WebApps.Insert

type Rep WebAppsInsert = D1 (MetaData "WebAppsInsert" "Network.Google.Resource.AndroidEnterprise.WebApps.Insert" "gogol-android-enterprise-0.4.0-AXWt9Q8V4E0DkwyzrsX7x3" False) (C1 (MetaCons "WebAppsInsert'" PrefixI True) (S1 (MetaSel (Just "_waiEnterpriseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_waiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 WebApp)))
type Scopes WebAppsInsert Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.WebApps.Insert

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

Defined in Network.Google.Resource.AndroidEnterprise.WebApps.Insert

Request Lenses

waiEnterpriseId :: Lens' WebAppsInsert Text Source #

The ID of the enterprise.

waiPayload :: Lens' WebAppsInsert WebApp Source #

Multipart request metadata.