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

Contents

Description

Deletes a role.

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

Synopsis

REST Resource

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

A resource alias for directory.roles.delete method which the RolesDelete request conforms to.

Creating a Request

rolesDelete Source #

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

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

data RolesDelete Source #

Deletes a role.

See: rolesDelete smart constructor.

Instances
Eq RolesDelete Source # 
Instance details

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

Data RolesDelete Source # 
Instance details

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

Methods

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

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

toConstr :: RolesDelete -> Constr #

dataTypeOf :: RolesDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RolesDelete Source # 
Instance details

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

Generic RolesDelete Source # 
Instance details

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

Associated Types

type Rep RolesDelete :: Type -> Type #

GoogleRequest RolesDelete Source # 
Instance details

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

Associated Types

type Rs RolesDelete :: Type #

type Scopes RolesDelete :: [Symbol] #

type Rep RolesDelete Source # 
Instance details

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

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

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

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

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

type Rs RolesDelete = ()

Request Lenses

rdRoleId :: Lens' RolesDelete Text Source #

Immutable ID of the role.

rdCustomer :: Lens' RolesDelete Text Source #

Immutable ID of the G Suite account.