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

Contents

Description

Updates the details of an EMM-managed user. Can be used with EMM-managed users only (not Google managed users). Pass the new details in the Users resource in the request body. Only the displayName field can be changed. Other fields must either be unset or have the currently active value.

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

Synopsis

REST Resource

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

A resource alias for androidenterprise.users.update method which the UsersUpdate request conforms to.

Creating a Request

usersUpdate Source #

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

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

data UsersUpdate Source #

Updates the details of an EMM-managed user. Can be used with EMM-managed users only (not Google managed users). Pass the new details in the Users resource in the request body. Only the displayName field can be changed. Other fields must either be unset or have the currently active value.

See: usersUpdate smart constructor.

Instances
Eq UsersUpdate Source # 
Instance details

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

Data UsersUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: UsersUpdate -> Constr #

dataTypeOf :: UsersUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersUpdate Source # 
Instance details

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

Generic UsersUpdate Source # 
Instance details

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

Associated Types

type Rep UsersUpdate :: Type -> Type #

GoogleRequest UsersUpdate Source # 
Instance details

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

Associated Types

type Rs UsersUpdate :: Type #

type Scopes UsersUpdate :: [Symbol] #

type Rep UsersUpdate Source # 
Instance details

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

type Rep UsersUpdate = D1 (MetaData "UsersUpdate" "Network.Google.Resource.AndroidEnterprise.Users.Update" "gogol-android-enterprise-0.4.0-AXWt9Q8V4E0DkwyzrsX7x3" False) (C1 (MetaCons "UsersUpdate'" PrefixI True) (S1 (MetaSel (Just "_uuEnterpriseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_uuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 User) :*: S1 (MetaSel (Just "_uuUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes UsersUpdate Source # 
Instance details

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

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

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

Request Lenses

uuEnterpriseId :: Lens' UsersUpdate Text Source #

The ID of the enterprise.

uuPayload :: Lens' UsersUpdate User Source #

Multipart request metadata.

uuUserId :: Lens' UsersUpdate Text Source #

The ID of the user.