gogol-cloudfunctions-0.4.0: Google Cloud Functions 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.CloudFunctions.Projects.Locations.Functions.TestIAMPermissions

Contents

Description

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

See: Cloud Functions API Reference for cloudfunctions.projects.locations.functions.testIamPermissions.

Synopsis

REST Resource

type ProjectsLocationsFunctionsTestIAMPermissionsResource = "v1" :> (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 cloudfunctions.projects.locations.functions.testIamPermissions method which the ProjectsLocationsFunctionsTestIAMPermissions request conforms to.

Creating a Request

data ProjectsLocationsFunctionsTestIAMPermissions Source #

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

See: projectsLocationsFunctionsTestIAMPermissions smart constructor.

Instances
Eq ProjectsLocationsFunctionsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.TestIAMPermissions

Data ProjectsLocationsFunctionsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.TestIAMPermissions

Methods

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

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

toConstr :: ProjectsLocationsFunctionsTestIAMPermissions -> Constr #

dataTypeOf :: ProjectsLocationsFunctionsTestIAMPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsFunctionsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.TestIAMPermissions

Generic ProjectsLocationsFunctionsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.TestIAMPermissions

GoogleRequest ProjectsLocationsFunctionsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.TestIAMPermissions

type Rep ProjectsLocationsFunctionsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.TestIAMPermissions

type Rep ProjectsLocationsFunctionsTestIAMPermissions = D1 (MetaData "ProjectsLocationsFunctionsTestIAMPermissions" "Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.TestIAMPermissions" "gogol-cloudfunctions-0.4.0-6sCZoOCvrpODwDOeEfObaJ" False) (C1 (MetaCons "ProjectsLocationsFunctionsTestIAMPermissions'" PrefixI True) ((S1 (MetaSel (Just "_plftipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_plftipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plftipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plftipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plftipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TestIAMPermissionsRequest)) :*: (S1 (MetaSel (Just "_plftipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plftipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsFunctionsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.TestIAMPermissions

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

Defined in Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.TestIAMPermissions

Request Lenses

plftipUploadProtocol :: Lens' ProjectsLocationsFunctionsTestIAMPermissions (Maybe Text) Source #

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

plftipUploadType :: Lens' ProjectsLocationsFunctionsTestIAMPermissions (Maybe Text) Source #

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

plftipResource :: Lens' ProjectsLocationsFunctionsTestIAMPermissions Text Source #

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