gogol-iam-0.2.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.QueryGrantableRoles

Contents

Description

Queries roles that can be granted on a particular resource. A role is grantable if it can be used as the role in a binding for a policy for that resource.

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

Synopsis

REST Resource

type RolesQueryGrantableRolesResource = "v1" :> ("roles:queryGrantableRoles" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] QueryGrantableRolesRequest :> Post '[JSON] QueryGrantableRolesResponse)))))))))) Source #

A resource alias for iam.roles.queryGrantableRoles method which the RolesQueryGrantableRoles request conforms to.

Creating a Request

rolesQueryGrantableRoles Source #

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

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

data RolesQueryGrantableRoles Source #

Queries roles that can be granted on a particular resource. A role is grantable if it can be used as the role in a binding for a policy for that resource.

See: rolesQueryGrantableRoles smart constructor.

Instances

Eq RolesQueryGrantableRoles Source # 
Data RolesQueryGrantableRoles Source # 

Methods

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

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

toConstr :: RolesQueryGrantableRoles -> Constr #

dataTypeOf :: RolesQueryGrantableRoles -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RolesQueryGrantableRoles Source # 
Generic RolesQueryGrantableRoles Source # 
GoogleRequest RolesQueryGrantableRoles Source # 
type Rep RolesQueryGrantableRoles Source # 
type Scopes RolesQueryGrantableRoles Source # 
type Scopes RolesQueryGrantableRoles = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ([] Symbol)
type Rs RolesQueryGrantableRoles Source # 

Request Lenses

rqgrUploadProtocol :: Lens' RolesQueryGrantableRoles (Maybe Text) Source #

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

rqgrUploadType :: Lens' RolesQueryGrantableRoles (Maybe Text) Source #

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