gogol-pubsub-0.4.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.Snapshots.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.snapshots.setIamPolicy.

Synopsis

REST Resource

type ProjectsSnapshotsSetIAMPolicyResource = "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.snapshots.setIamPolicy method which the ProjectsSnapshotsSetIAMPolicy request conforms to.

Creating a Request

data ProjectsSnapshotsSetIAMPolicy Source #

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

See: projectsSnapshotsSetIAMPolicy smart constructor.

Instances
Eq ProjectsSnapshotsSetIAMPolicy Source # 
Instance details

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

Data ProjectsSnapshotsSetIAMPolicy Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsSnapshotsSetIAMPolicy -> Constr #

dataTypeOf :: ProjectsSnapshotsSetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsSnapshotsSetIAMPolicy Source # 
Instance details

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

Generic ProjectsSnapshotsSetIAMPolicy Source # 
Instance details

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

Associated Types

type Rep ProjectsSnapshotsSetIAMPolicy :: Type -> Type #

GoogleRequest ProjectsSnapshotsSetIAMPolicy Source # 
Instance details

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

type Rep ProjectsSnapshotsSetIAMPolicy Source # 
Instance details

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

type Rep ProjectsSnapshotsSetIAMPolicy = D1 (MetaData "ProjectsSnapshotsSetIAMPolicy" "Network.Google.Resource.PubSub.Projects.Snapshots.SetIAMPolicy" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "ProjectsSnapshotsSetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_pssiampXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pssiampUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pssiampAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pssiampUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pssiampPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SetIAMPolicyRequest)) :*: (S1 (MetaSel (Just "_pssiampResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pssiampCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsSnapshotsSetIAMPolicy Source # 
Instance details

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

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

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

Request Lenses

pssiampUploadProtocol :: Lens' ProjectsSnapshotsSetIAMPolicy (Maybe Text) Source #

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

pssiampUploadType :: Lens' ProjectsSnapshotsSetIAMPolicy (Maybe Text) Source #

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

pssiampResource :: Lens' ProjectsSnapshotsSetIAMPolicy Text Source #

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