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.Patch

Contents

Description

Updates an existing web app. This method supports patch semantics.

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

Synopsis

REST Resource

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

A resource alias for androidenterprise.webapps.patch method which the WebAppsPatch request conforms to.

Creating a Request

webAppsPatch Source #

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

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

data WebAppsPatch Source #

Updates an existing web app. This method supports patch semantics.

See: webAppsPatch smart constructor.

Instances
Eq WebAppsPatch Source # 
Instance details

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

Data WebAppsPatch Source # 
Instance details

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

Methods

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

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

toConstr :: WebAppsPatch -> Constr #

dataTypeOf :: WebAppsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show WebAppsPatch Source # 
Instance details

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

Generic WebAppsPatch Source # 
Instance details

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

Associated Types

type Rep WebAppsPatch :: Type -> Type #

GoogleRequest WebAppsPatch Source # 
Instance details

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

Associated Types

type Rs WebAppsPatch :: Type #

type Scopes WebAppsPatch :: [Symbol] #

type Rep WebAppsPatch Source # 
Instance details

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

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

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

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

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

Request Lenses

wapWebAppId :: Lens' WebAppsPatch Text Source #

The ID of the web app.

wapEnterpriseId :: Lens' WebAppsPatch Text Source #

The ID of the enterprise.

wapPayload :: Lens' WebAppsPatch WebApp Source #

Multipart request metadata.