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.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: Identity and Access Management (IAM) API Reference for iam.roles.queryGrantableRoles.

Synopsis

REST Resource

type RolesQueryGrantableRolesResource = "v1" :> ("roles:queryGrantableRoles" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" 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 # 
Instance details

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

Data RolesQueryGrantableRoles Source # 
Instance details

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

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

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

Generic RolesQueryGrantableRoles Source # 
Instance details

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

Associated Types

type Rep RolesQueryGrantableRoles :: Type -> Type #

GoogleRequest RolesQueryGrantableRoles Source # 
Instance details

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

type Rep RolesQueryGrantableRoles Source # 
Instance details

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

type Rep RolesQueryGrantableRoles = D1 (MetaData "RolesQueryGrantableRoles" "Network.Google.Resource.IAM.Roles.QueryGrantableRoles" "gogol-iam-0.4.0-IBWwIZHvdU38fPF72JMuUn" False) (C1 (MetaCons "RolesQueryGrantableRoles'" PrefixI True) ((S1 (MetaSel (Just "_rqgrXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_rqgrUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rqgrAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_rqgrUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_rqgrPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 QueryGrantableRolesRequest) :*: S1 (MetaSel (Just "_rqgrCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes RolesQueryGrantableRoles Source # 
Instance details

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

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

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

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").