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

Contents

Description

Gets the configuration of a topic.

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

Synopsis

REST Resource

type ProjectsTopicsGetResource = "v1" :> (Capture "topic" 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]` Topic))))))))) Source

A resource alias for pubsub.projects.topics.get method which the ProjectsTopicsGet request conforms to.

Creating a Request

projectsTopicsGet Source

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

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

Request Lenses

ptgUploadProtocol :: Lens' ProjectsTopicsGet (Maybe Text) Source

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

ptgPp :: Lens' ProjectsTopicsGet Bool Source

Pretty-print response.

ptgUploadType :: Lens' ProjectsTopicsGet (Maybe Text) Source

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

ptgTopic :: Lens' ProjectsTopicsGet Text Source

The name of the topic to get.