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.GetIAMPolicy

Contents

Description

Gets the access control policy for a `resource`. Is empty if the policy or the resource does not exist.

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

Synopsis

REST Resource

type ProjectsTopicsGetIAMPolicyResource = "v1" :> (CaptureMode "resource" "getIamPolicy" 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 :> Get `[JSON]` Policy))))))))) Source

A resource alias for pubsub.projects.topics.getIamPolicy method which the ProjectsTopicsGetIAMPolicy request conforms to.

Creating a Request

projectsTopicsGetIAMPolicy Source

Creates a value of ProjectsTopicsGetIAMPolicy with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

ptgipUploadProtocol :: Lens' ProjectsTopicsGetIAMPolicy (Maybe Text) Source

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

ptgipUploadType :: Lens' ProjectsTopicsGetIAMPolicy (Maybe Text) Source

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

ptgipResource :: Lens' ProjectsTopicsGetIAMPolicy Text Source

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