gogol-pubsub-0.2.0: Google Cloud Pub/Sub 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.PubSub.Projects.Subscriptions.SetIAMPolicy

Contents

Description

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

See: Google Cloud Pub/Sub API Reference for pubsub.projects.subscriptions.setIamPolicy.

Synopsis

REST Resource

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

A resource alias for pubsub.projects.subscriptions.setIamPolicy method which the ProjectsSubscriptionsSetIAMPolicy request conforms to.

Creating a Request

data ProjectsSubscriptionsSetIAMPolicy Source #

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

See: projectsSubscriptionsSetIAMPolicy smart constructor.

Instances

Eq ProjectsSubscriptionsSetIAMPolicy Source # 
Data ProjectsSubscriptionsSetIAMPolicy Source # 

Methods

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

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

toConstr :: ProjectsSubscriptionsSetIAMPolicy -> Constr #

dataTypeOf :: ProjectsSubscriptionsSetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsSubscriptionsSetIAMPolicy Source # 
Generic ProjectsSubscriptionsSetIAMPolicy Source # 
GoogleRequest ProjectsSubscriptionsSetIAMPolicy Source # 
type Rep ProjectsSubscriptionsSetIAMPolicy Source # 
type Rep ProjectsSubscriptionsSetIAMPolicy = D1 (MetaData "ProjectsSubscriptionsSetIAMPolicy" "Network.Google.Resource.PubSub.Projects.Subscriptions.SetIAMPolicy" "gogol-pubsub-0.2.0-2dIISV1WvQ8F6ZilEJHl39" False) (C1 (MetaCons "ProjectsSubscriptionsSetIAMPolicy'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pssipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) (S1 (MetaSel (Just Symbol "_pssipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_pssipPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_pssipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pssipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pssipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SetIAMPolicyRequest))) ((:*:) (S1 (MetaSel (Just Symbol "_pssipBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_pssipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_pssipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))
type Scopes ProjectsSubscriptionsSetIAMPolicy Source # 
type Scopes ProjectsSubscriptionsSetIAMPolicy = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/pubsub" ([] Symbol))
type Rs ProjectsSubscriptionsSetIAMPolicy Source # 

Request Lenses

pssipUploadProtocol :: Lens' ProjectsSubscriptionsSetIAMPolicy (Maybe Text) Source #

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

pssipUploadType :: Lens' ProjectsSubscriptionsSetIAMPolicy (Maybe Text) Source #

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

pssipResource :: Lens' ProjectsSubscriptionsSetIAMPolicy Text Source #

REQUIRED: The resource for which the policy is being specified. `resource` is usually specified as a path. For example, a Project resource is specified as `projects/{project}`.