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

Contents

Description

Sets the access control policy on the specified resource. Replaces any existing policy.

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

Synopsis

REST Resource

type ProjectsLocationsFunctionsSetIAMPolicyResource = "v1" :> (CaptureMode "resource" "setIamPolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetIAMPolicyRequest :> Post '[JSON] Policy)))))))) Source #

A resource alias for cloudfunctions.projects.locations.functions.setIamPolicy method which the ProjectsLocationsFunctionsSetIAMPolicy request conforms to.

Creating a Request

data ProjectsLocationsFunctionsSetIAMPolicy Source #

Sets the access control policy on the specified resource. Replaces any existing policy.

See: projectsLocationsFunctionsSetIAMPolicy smart constructor.

Instances
Eq ProjectsLocationsFunctionsSetIAMPolicy Source # 
Instance details

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

Data ProjectsLocationsFunctionsSetIAMPolicy Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsLocationsFunctionsSetIAMPolicy -> Constr #

dataTypeOf :: ProjectsLocationsFunctionsSetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsFunctionsSetIAMPolicy Source # 
Instance details

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

Generic ProjectsLocationsFunctionsSetIAMPolicy Source # 
Instance details

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

GoogleRequest ProjectsLocationsFunctionsSetIAMPolicy Source # 
Instance details

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

type Rep ProjectsLocationsFunctionsSetIAMPolicy Source # 
Instance details

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

type Rep ProjectsLocationsFunctionsSetIAMPolicy = D1 (MetaData "ProjectsLocationsFunctionsSetIAMPolicy" "Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.SetIAMPolicy" "gogol-cloudfunctions-0.4.0-6sCZoOCvrpODwDOeEfObaJ" False) (C1 (MetaCons "ProjectsLocationsFunctionsSetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_plfsipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_plfsipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plfsipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plfsipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plfsipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SetIAMPolicyRequest)) :*: (S1 (MetaSel (Just "_plfsipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plfsipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsFunctionsSetIAMPolicy Source # 
Instance details

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

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

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

Request Lenses

plfsipUploadProtocol :: Lens' ProjectsLocationsFunctionsSetIAMPolicy (Maybe Text) Source #

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

plfsipUploadType :: Lens' ProjectsLocationsFunctionsSetIAMPolicy (Maybe Text) Source #

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

plfsipResource :: Lens' ProjectsLocationsFunctionsSetIAMPolicy Text Source #

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