gogol-pubsub-0.3.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.TestIAMPermissions

Contents

Description

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.

See: Google Cloud Pub/Sub API Reference for pubsub.projects.snapshots.testIamPermissions.

Synopsis

REST Resource

type ProjectsSnapshotsTestIAMPermissionsResource = "v1" :> (CaptureMode "resource" "testIamPermissions" 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] TestIAMPermissionsRequest :> Post '[JSON] TestIAMPermissionsResponse)))))))))) Source #

A resource alias for pubsub.projects.snapshots.testIamPermissions method which the ProjectsSnapshotsTestIAMPermissions request conforms to.

Creating a Request

data ProjectsSnapshotsTestIAMPermissions Source #

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.

See: projectsSnapshotsTestIAMPermissions smart constructor.

Instances

Eq ProjectsSnapshotsTestIAMPermissions Source # 
Data ProjectsSnapshotsTestIAMPermissions Source # 

Methods

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

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

toConstr :: ProjectsSnapshotsTestIAMPermissions -> Constr #

dataTypeOf :: ProjectsSnapshotsTestIAMPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsSnapshotsTestIAMPermissions Source # 
Generic ProjectsSnapshotsTestIAMPermissions Source # 
GoogleRequest ProjectsSnapshotsTestIAMPermissions Source # 
type Rep ProjectsSnapshotsTestIAMPermissions Source # 
type Rep ProjectsSnapshotsTestIAMPermissions = D1 (MetaData "ProjectsSnapshotsTestIAMPermissions" "Network.Google.Resource.PubSub.Projects.Snapshots.TestIAMPermissions" "gogol-pubsub-0.3.0-1dJ3Y6KufaPCaIO7uyOMh" False) (C1 (MetaCons "ProjectsSnapshotsTestIAMPermissions'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pstipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) (S1 (MetaSel (Just Symbol "_pstipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_pstipPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_pstipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pstipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pstipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TestIAMPermissionsRequest))) ((:*:) (S1 (MetaSel (Just Symbol "_pstipBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_pstipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_pstipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))
type Scopes ProjectsSnapshotsTestIAMPermissions Source # 
type Scopes ProjectsSnapshotsTestIAMPermissions = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/pubsub" ([] Symbol))
type Rs ProjectsSnapshotsTestIAMPermissions Source # 

Request Lenses

pstipUploadProtocol :: Lens' ProjectsSnapshotsTestIAMPermissions (Maybe Text) Source #

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

pstipUploadType :: Lens' ProjectsSnapshotsTestIAMPermissions (Maybe Text) Source #

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

pstipResource :: Lens' ProjectsSnapshotsTestIAMPermissions Text Source #

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