gogol-dfareporting-0.5.0: Google DCM/DFA Reporting And Trafficking 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.DFAReporting.UserRoles.Get

Contents

Description

Gets one user role by ID.

See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.userRoles.get.

Synopsis

REST Resource

type UserRolesGetResource = "dfareporting" :> ("v3.3" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("userRoles" :> (Capture "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] UserRole)))))) Source #

A resource alias for dfareporting.userRoles.get method which the UserRolesGet request conforms to.

Creating a Request

userRolesGet Source #

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

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

data UserRolesGet Source #

Gets one user role by ID.

See: userRolesGet smart constructor.

Instances
Eq UserRolesGet Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.UserRoles.Get

Data UserRolesGet Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.UserRoles.Get

Methods

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

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

toConstr :: UserRolesGet -> Constr #

dataTypeOf :: UserRolesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UserRolesGet Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.UserRoles.Get

Generic UserRolesGet Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.UserRoles.Get

Associated Types

type Rep UserRolesGet :: Type -> Type #

GoogleRequest UserRolesGet Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.UserRoles.Get

Associated Types

type Rs UserRolesGet :: Type #

type Scopes UserRolesGet :: [Symbol] #

type Rep UserRolesGet Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.UserRoles.Get

type Rep UserRolesGet = D1 (MetaData "UserRolesGet" "Network.Google.Resource.DFAReporting.UserRoles.Get" "gogol-dfareporting-0.5.0-H2nEimqYPoYBpPsdI4WnkF" False) (C1 (MetaCons "UserRolesGet'" PrefixI True) (S1 (MetaSel (Just "_urgProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: S1 (MetaSel (Just "_urgId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))))
type Scopes UserRolesGet Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.UserRoles.Get

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

Defined in Network.Google.Resource.DFAReporting.UserRoles.Get

Request Lenses

urgProFileId :: Lens' UserRolesGet Int64 Source #

User profile ID associated with this request.