gogol-pubsub-0.5.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: 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 "access_token" Text :> (QueryParam "uploadType" 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 # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Subscriptions.SetIAMPolicy

Data ProjectsSubscriptionsSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Subscriptions.SetIAMPolicy

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 # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Subscriptions.SetIAMPolicy

Generic ProjectsSubscriptionsSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Subscriptions.SetIAMPolicy

Associated Types

type Rep ProjectsSubscriptionsSetIAMPolicy :: Type -> Type #

GoogleRequest ProjectsSubscriptionsSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Subscriptions.SetIAMPolicy

type Rep ProjectsSubscriptionsSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Subscriptions.SetIAMPolicy

type Rep ProjectsSubscriptionsSetIAMPolicy = D1 (MetaData "ProjectsSubscriptionsSetIAMPolicy" "Network.Google.Resource.PubSub.Projects.Subscriptions.SetIAMPolicy" "gogol-pubsub-0.5.0-LIQQ2v5pjD82QASoUQpr2c" False) (C1 (MetaCons "ProjectsSubscriptionsSetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_pssipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pssipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pssipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pssipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pssipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SetIAMPolicyRequest)) :*: (S1 (MetaSel (Just "_pssipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pssipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsSubscriptionsSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Subscriptions.SetIAMPolicy

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

Defined in Network.Google.Resource.PubSub.Projects.Subscriptions.SetIAMPolicy

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. See the operation documentation for the appropriate value for this field.