gogol-iam-0.4.0: Google Identity and Access Management (IAM) 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.IAM.Roles.Get

Contents

Description

Gets a Role definition.

See: Identity and Access Management (IAM) API Reference for iam.roles.get.

Synopsis

REST Resource

type RolesGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Role))))))) Source #

A resource alias for iam.roles.get method which the RolesGet request conforms to.

Creating a Request

rolesGet Source #

Arguments

:: Text

rgName

-> RolesGet 

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:

data RolesGet Source #

Gets a Role definition.

See: rolesGet smart constructor.

Instances
Eq RolesGet Source # 
Instance details

Defined in Network.Google.Resource.IAM.Roles.Get

Data RolesGet Source # 
Instance details

Defined in Network.Google.Resource.IAM.Roles.Get

Methods

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 # 
Instance details

Defined in Network.Google.Resource.IAM.Roles.Get

Generic RolesGet Source # 
Instance details

Defined in Network.Google.Resource.IAM.Roles.Get

Associated Types

type Rep RolesGet :: Type -> Type #

Methods

from :: RolesGet -> Rep RolesGet x #

to :: Rep RolesGet x -> RolesGet #

GoogleRequest RolesGet Source # 
Instance details

Defined in Network.Google.Resource.IAM.Roles.Get

Associated Types

type Rs RolesGet :: Type #

type Scopes RolesGet :: [Symbol] #

type Rep RolesGet Source # 
Instance details

Defined in Network.Google.Resource.IAM.Roles.Get

type Rep RolesGet = D1 (MetaData "RolesGet" "Network.Google.Resource.IAM.Roles.Get" "gogol-iam-0.4.0-IBWwIZHvdU38fPF72JMuUn" False) (C1 (MetaCons "RolesGet'" PrefixI True) ((S1 (MetaSel (Just "_rgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_rgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_rgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_rgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes RolesGet Source # 
Instance details

Defined in Network.Google.Resource.IAM.Roles.Get

type Scopes RolesGet = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs RolesGet Source # 
Instance details

Defined in Network.Google.Resource.IAM.Roles.Get

Request Lenses

rgXgafv :: Lens' RolesGet (Maybe Xgafv) Source #

V1 error format.

rgUploadProtocol :: Lens' RolesGet (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

rgAccessToken :: Lens' RolesGet (Maybe Text) Source #

OAuth access token.

rgUploadType :: Lens' RolesGet (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

rgName :: Lens' RolesGet Text Source #

The resource name of the role in one of the following formats: `roles/{ROLE_NAME}` `organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}` `projects/{PROJECT_ID}/roles/{ROLE_NAME}`