gogol-admin-directory-0.4.0: Google Admin Directory 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.Directory.Roles.Update

Contents

Description

Updates a role.

See: Admin Directory API Reference for directory.roles.update.

Synopsis

REST Resource

type RolesUpdateResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("roles" :> (Capture "roleId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Role :> Put '[JSON] Role)))))))) Source #

A resource alias for directory.roles.update method which the RolesUpdate request conforms to.

Creating a Request

rolesUpdate Source #

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

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

data RolesUpdate Source #

Updates a role.

See: rolesUpdate smart constructor.

Instances
Eq RolesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Directory.Roles.Update

Data RolesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Directory.Roles.Update

Methods

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

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

toConstr :: RolesUpdate -> Constr #

dataTypeOf :: RolesUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RolesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Directory.Roles.Update

Generic RolesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Directory.Roles.Update

Associated Types

type Rep RolesUpdate :: Type -> Type #

GoogleRequest RolesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Directory.Roles.Update

Associated Types

type Rs RolesUpdate :: Type #

type Scopes RolesUpdate :: [Symbol] #

type Rep RolesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Directory.Roles.Update

type Rep RolesUpdate = D1 (MetaData "RolesUpdate" "Network.Google.Resource.Directory.Roles.Update" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "RolesUpdate'" PrefixI True) (S1 (MetaSel (Just "_ruPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Role) :*: (S1 (MetaSel (Just "_ruRoleId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ruCustomer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes RolesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Directory.Roles.Update

type Scopes RolesUpdate = "https://www.googleapis.com/auth/admin.directory.rolemanagement" ': ([] :: [Symbol])
type Rs RolesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Directory.Roles.Update

Request Lenses

ruPayload :: Lens' RolesUpdate Role Source #

Multipart request metadata.

ruRoleId :: Lens' RolesUpdate Text Source #

Immutable ID of the role.

ruCustomer :: Lens' RolesUpdate Text Source #

Immutable ID of the G Suite account.