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.Users.SetAvailableProductSet

Contents

Description

Modifies the set of products that a user is entitled to access (referred to as whitelisted products). Only products that are approved or products that were previously approved (products with revoked approval) can be whitelisted.

See: Google Play EMM API Reference for androidenterprise.users.setAvailableProductSet.

Synopsis

REST Resource

type UsersSetAvailableProductSetResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("availableProductSet" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ProductSet :> Put '[JSON] ProductSet)))))))) Source #

A resource alias for androidenterprise.users.setAvailableProductSet method which the UsersSetAvailableProductSet request conforms to.

Creating a Request

usersSetAvailableProductSet Source #

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

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

data UsersSetAvailableProductSet Source #

Modifies the set of products that a user is entitled to access (referred to as whitelisted products). Only products that are approved or products that were previously approved (products with revoked approval) can be whitelisted.

See: usersSetAvailableProductSet smart constructor.

Instances
Eq UsersSetAvailableProductSet Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Users.SetAvailableProductSet

Data UsersSetAvailableProductSet Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Users.SetAvailableProductSet

Methods

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

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

toConstr :: UsersSetAvailableProductSet -> Constr #

dataTypeOf :: UsersSetAvailableProductSet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersSetAvailableProductSet Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Users.SetAvailableProductSet

Generic UsersSetAvailableProductSet Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Users.SetAvailableProductSet

Associated Types

type Rep UsersSetAvailableProductSet :: Type -> Type #

GoogleRequest UsersSetAvailableProductSet Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Users.SetAvailableProductSet

type Rep UsersSetAvailableProductSet Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Users.SetAvailableProductSet

type Rep UsersSetAvailableProductSet = D1 (MetaData "UsersSetAvailableProductSet" "Network.Google.Resource.AndroidEnterprise.Users.SetAvailableProductSet" "gogol-android-enterprise-0.4.0-AXWt9Q8V4E0DkwyzrsX7x3" False) (C1 (MetaCons "UsersSetAvailableProductSet'" PrefixI True) (S1 (MetaSel (Just "_usapsEnterpriseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_usapsPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ProductSet) :*: S1 (MetaSel (Just "_usapsUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes UsersSetAvailableProductSet Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Users.SetAvailableProductSet

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

Defined in Network.Google.Resource.AndroidEnterprise.Users.SetAvailableProductSet

Request Lenses