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

Contents

Description

Retrieves a paginated list of all the roles in a domain.

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

Synopsis

REST Resource

type RolesListResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("roles" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Roles)))))))) Source #

A resource alias for directory.roles.list method which the RolesList request conforms to.

Creating a Request

rolesList Source #

Arguments

:: Text

rlCustomer

-> RolesList 

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

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

data RolesList Source #

Retrieves a paginated list of all the roles in a domain.

See: rolesList smart constructor.

Instances
Eq RolesList Source # 
Instance details

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

Data RolesList Source # 
Instance details

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

Methods

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

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

toConstr :: RolesList -> Constr #

dataTypeOf :: RolesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RolesList Source # 
Instance details

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

Generic RolesList Source # 
Instance details

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

Associated Types

type Rep RolesList :: Type -> Type #

GoogleRequest RolesList Source # 
Instance details

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

Associated Types

type Rs RolesList :: Type #

type Scopes RolesList :: [Symbol] #

type Rep RolesList Source # 
Instance details

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

type Rep RolesList = D1 (MetaData "RolesList" "Network.Google.Resource.Directory.Roles.List" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "RolesList'" PrefixI True) (S1 (MetaSel (Just "_rlCustomer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_rlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rlMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))
type Scopes RolesList Source # 
Instance details

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

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

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

Request Lenses

rlCustomer :: Lens' RolesList Text Source #

Immutable ID of the G Suite account.

rlPageToken :: Lens' RolesList (Maybe Text) Source #

Token to specify the next page in the list.

rlMaxResults :: Lens' RolesList (Maybe Int32) Source #

Maximum number of results to return.