gogol-pubsub-0.2.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.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" 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 :> 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:

data ProjectsTopicsGet Source #

Gets the configuration of a topic.

See: projectsTopicsGet smart constructor.

Instances

Eq ProjectsTopicsGet Source # 
Data ProjectsTopicsGet Source # 

Methods

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

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

toConstr :: ProjectsTopicsGet -> Constr #

dataTypeOf :: ProjectsTopicsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsTopicsGet Source # 
Generic ProjectsTopicsGet Source # 
GoogleRequest ProjectsTopicsGet Source # 
type Rep ProjectsTopicsGet Source # 
type Scopes ProjectsTopicsGet Source # 
type Scopes ProjectsTopicsGet = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/pubsub" ([] Symbol))
type Rs ProjectsTopicsGet Source # 

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. Format is `projects/{project}/topics/{topic}`.