gogol-pubsub-0.0.1: Google Cloud Pub/Sub SDK.

Copyright(c) 2015 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.Topics.TestIAMPermissions

Contents

Description

Returns permissions that a caller has on the specified resource.

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

Synopsis

REST Resource

type ProjectsTopicsTestIAMPermissionsResource = "v1" :> (CaptureMode "resource" "testIamPermissions" Text :> (QueryParam "$.xgafv" Text :> (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.topics.testIamPermissions method which the ProjectsTopicsTestIAMPermissions request conforms to.

Creating a Request

Request Lenses

pttipUploadProtocol :: Lens' ProjectsTopicsTestIAMPermissions (Maybe Text) Source

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

pttipUploadType :: Lens' ProjectsTopicsTestIAMPermissions (Maybe Text) Source

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

pttipResource :: Lens' ProjectsTopicsTestIAMPermissions Text Source

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