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.GetIAMPolicy

Contents

Description

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

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

Synopsis

REST Resource

type ProjectsLocationsFunctionsGetIAMPolicyResource = "v1" :> (CaptureMode "resource" "getIamPolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Policy))))))) Source #

A resource alias for cloudfunctions.projects.locations.functions.getIamPolicy method which the ProjectsLocationsFunctionsGetIAMPolicy request conforms to.

Creating a Request

projectsLocationsFunctionsGetIAMPolicy Source #

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

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

data ProjectsLocationsFunctionsGetIAMPolicy Source #

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

See: projectsLocationsFunctionsGetIAMPolicy smart constructor.

Instances
Eq ProjectsLocationsFunctionsGetIAMPolicy Source # 
Instance details

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

Data ProjectsLocationsFunctionsGetIAMPolicy Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsLocationsFunctionsGetIAMPolicy -> Constr #

dataTypeOf :: ProjectsLocationsFunctionsGetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsFunctionsGetIAMPolicy Source # 
Instance details

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

Generic ProjectsLocationsFunctionsGetIAMPolicy Source # 
Instance details

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

GoogleRequest ProjectsLocationsFunctionsGetIAMPolicy Source # 
Instance details

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

type Rep ProjectsLocationsFunctionsGetIAMPolicy Source # 
Instance details

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

type Rep ProjectsLocationsFunctionsGetIAMPolicy = D1 (MetaData "ProjectsLocationsFunctionsGetIAMPolicy" "Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.GetIAMPolicy" "gogol-cloudfunctions-0.4.0-6sCZoOCvrpODwDOeEfObaJ" False) (C1 (MetaCons "ProjectsLocationsFunctionsGetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_plfgipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_plfgipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plfgipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_plfgipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_plfgipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plfgipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsFunctionsGetIAMPolicy Source # 
Instance details

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

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

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

Request Lenses

plfgipUploadProtocol :: Lens' ProjectsLocationsFunctionsGetIAMPolicy (Maybe Text) Source #

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

plfgipUploadType :: Lens' ProjectsLocationsFunctionsGetIAMPolicy (Maybe Text) Source #

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

plfgipResource :: Lens' ProjectsLocationsFunctionsGetIAMPolicy Text Source #

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