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

Contents

Description

Gets a Role definition.

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

Synopsis

REST Resource

type OrganizationsRolesGetResource = "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.organizations.roles.get method which the OrganizationsRolesGet request conforms to.

Creating a Request

organizationsRolesGet Source #

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

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

data OrganizationsRolesGet Source #

Gets a Role definition.

See: organizationsRolesGet smart constructor.

Instances
Eq OrganizationsRolesGet Source # 
Instance details

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

Data OrganizationsRolesGet Source # 
Instance details

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

Methods

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

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

toConstr :: OrganizationsRolesGet -> Constr #

dataTypeOf :: OrganizationsRolesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrganizationsRolesGet Source # 
Instance details

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

Generic OrganizationsRolesGet Source # 
Instance details

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

Associated Types

type Rep OrganizationsRolesGet :: Type -> Type #

GoogleRequest OrganizationsRolesGet Source # 
Instance details

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

type Rep OrganizationsRolesGet Source # 
Instance details

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

type Rep OrganizationsRolesGet = D1 (MetaData "OrganizationsRolesGet" "Network.Google.Resource.IAM.Organizations.Roles.Get" "gogol-iam-0.4.0-IBWwIZHvdU38fPF72JMuUn" False) (C1 (MetaCons "OrganizationsRolesGet'" PrefixI True) ((S1 (MetaSel (Just "_orgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_orgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_orgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_orgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_orgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_orgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes OrganizationsRolesGet Source # 
Instance details

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

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

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

Request Lenses

orgUploadProtocol :: Lens' OrganizationsRolesGet (Maybe Text) Source #

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

orgUploadType :: Lens' OrganizationsRolesGet (Maybe Text) Source #

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

orgName :: Lens' OrganizationsRolesGet 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}`