gogol-resourcemanager-0.5.0: Google Cloud Resource Manager 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.CloudResourceManager.Folders.TestIAMPermissions

Contents

Description

Returns permissions that a caller has on the specified Folder. The `resource` field should be the Folder's resource name, e.g. "folders/1234". There are no permissions required for making this API call.

See: Cloud Resource Manager API Reference for cloudresourcemanager.folders.testIamPermissions.

Synopsis

REST Resource

type FoldersTestIAMPermissionsResource = "v2" :> (CaptureMode "resource" "testIamPermissions" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TestIAMPermissionsRequest :> Post '[JSON] TestIAMPermissionsResponse)))))))) Source #

A resource alias for cloudresourcemanager.folders.testIamPermissions method which the FoldersTestIAMPermissions request conforms to.

Creating a Request

foldersTestIAMPermissions Source #

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

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

data FoldersTestIAMPermissions Source #

Returns permissions that a caller has on the specified Folder. The `resource` field should be the Folder's resource name, e.g. "folders/1234". There are no permissions required for making this API call.

See: foldersTestIAMPermissions smart constructor.

Instances
Eq FoldersTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudResourceManager.Folders.TestIAMPermissions

Data FoldersTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudResourceManager.Folders.TestIAMPermissions

Methods

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

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

toConstr :: FoldersTestIAMPermissions -> Constr #

dataTypeOf :: FoldersTestIAMPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show FoldersTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudResourceManager.Folders.TestIAMPermissions

Generic FoldersTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudResourceManager.Folders.TestIAMPermissions

Associated Types

type Rep FoldersTestIAMPermissions :: Type -> Type #

GoogleRequest FoldersTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudResourceManager.Folders.TestIAMPermissions

type Rep FoldersTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudResourceManager.Folders.TestIAMPermissions

type Rep FoldersTestIAMPermissions = D1 (MetaData "FoldersTestIAMPermissions" "Network.Google.Resource.CloudResourceManager.Folders.TestIAMPermissions" "gogol-resourcemanager-0.5.0-6nj6uVIz4PH1HQZu9exlGh" False) (C1 (MetaCons "FoldersTestIAMPermissions'" PrefixI True) ((S1 (MetaSel (Just "_ftipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_ftipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ftipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ftipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ftipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TestIAMPermissionsRequest)) :*: (S1 (MetaSel (Just "_ftipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ftipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes FoldersTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudResourceManager.Folders.TestIAMPermissions

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

Defined in Network.Google.Resource.CloudResourceManager.Folders.TestIAMPermissions

Request Lenses

ftipUploadProtocol :: Lens' FoldersTestIAMPermissions (Maybe Text) Source #

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

ftipUploadType :: Lens' FoldersTestIAMPermissions (Maybe Text) Source #

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

ftipResource :: Lens' FoldersTestIAMPermissions Text Source #

REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.