Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves a role.
See: Admin Directory API Reference for directory.roles.get
.
Synopsis
- type RolesGetResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("roles" :> (Capture "roleId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Role)))))))
- rolesGet :: Text -> Text -> RolesGet
- data RolesGet
- rgRoleId :: Lens' RolesGet Text
- rgCustomer :: Lens' RolesGet Text
REST Resource
type RolesGetResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("roles" :> (Capture "roleId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Role))))))) Source #
A resource alias for directory.roles.get
method which the
RolesGet
request conforms to.
Creating a Request
Creates a value of RolesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Retrieves a role.
See: rolesGet
smart constructor.
Instances
Eq RolesGet Source # | |
Data RolesGet Source # | |
Defined in Network.Google.Resource.Directory.Roles.Get gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RolesGet -> c RolesGet # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RolesGet # toConstr :: RolesGet -> Constr # dataTypeOf :: RolesGet -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RolesGet) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RolesGet) # gmapT :: (forall b. Data b => b -> b) -> RolesGet -> RolesGet # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RolesGet -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RolesGet -> r # gmapQ :: (forall d. Data d => d -> u) -> RolesGet -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> RolesGet -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> RolesGet -> m RolesGet # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RolesGet -> m RolesGet # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RolesGet -> m RolesGet # | |
Show RolesGet Source # | |
Generic RolesGet Source # | |
GoogleRequest RolesGet Source # | |
type Rep RolesGet Source # | |
Defined in Network.Google.Resource.Directory.Roles.Get type Rep RolesGet = D1 (MetaData "RolesGet" "Network.Google.Resource.Directory.Roles.Get" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "RolesGet'" PrefixI True) (S1 (MetaSel (Just "_rgRoleId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rgCustomer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) | |
type Scopes RolesGet Source # | |
Defined in Network.Google.Resource.Directory.Roles.Get | |
type Rs RolesGet Source # | |
Defined in Network.Google.Resource.Directory.Roles.Get |