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.Projects.Roles.Get

Contents

Description

Gets a Role definition.

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

Synopsis

REST Resource

type ProjectsRolesGetResource = "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.projects.roles.get method which the ProjectsRolesGet request conforms to.

Creating a Request

projectsRolesGet Source #

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

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

data ProjectsRolesGet Source #

Gets a Role definition.

See: projectsRolesGet smart constructor.

Instances
Eq ProjectsRolesGet Source # 
Instance details

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

Data ProjectsRolesGet Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsRolesGet -> Constr #

dataTypeOf :: ProjectsRolesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsRolesGet Source # 
Instance details

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

Generic ProjectsRolesGet Source # 
Instance details

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

Associated Types

type Rep ProjectsRolesGet :: Type -> Type #

GoogleRequest ProjectsRolesGet Source # 
Instance details

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

Associated Types

type Rs ProjectsRolesGet :: Type #

type Scopes ProjectsRolesGet :: [Symbol] #

type Rep ProjectsRolesGet Source # 
Instance details

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

type Rep ProjectsRolesGet = D1 (MetaData "ProjectsRolesGet" "Network.Google.Resource.IAM.Projects.Roles.Get" "gogol-iam-0.4.0-IBWwIZHvdU38fPF72JMuUn" False) (C1 (MetaCons "ProjectsRolesGet'" PrefixI True) ((S1 (MetaSel (Just "_prgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_prgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_prgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_prgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_prgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsRolesGet Source # 
Instance details

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

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

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

Request Lenses

prgUploadProtocol :: Lens' ProjectsRolesGet (Maybe Text) Source #

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

prgUploadType :: Lens' ProjectsRolesGet (Maybe Text) Source #

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

prgName :: Lens' ProjectsRolesGet 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}`