gogol-pubsub-0.4.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: 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 "access_token" Text :> (QueryParam "uploadType" 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 # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Topics.Get

Data ProjectsTopicsGet Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Topics.Get

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 # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Topics.Get

Generic ProjectsTopicsGet Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Topics.Get

Associated Types

type Rep ProjectsTopicsGet :: Type -> Type #

GoogleRequest ProjectsTopicsGet Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Topics.Get

Associated Types

type Rs ProjectsTopicsGet :: Type #

type Scopes ProjectsTopicsGet :: [Symbol] #

type Rep ProjectsTopicsGet Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Topics.Get

type Rep ProjectsTopicsGet = D1 (MetaData "ProjectsTopicsGet" "Network.Google.Resource.PubSub.Projects.Topics.Get" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "ProjectsTopicsGet'" PrefixI True) ((S1 (MetaSel (Just "_ptgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_ptgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_ptgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ptgTopic") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ptgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsTopicsGet Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Topics.Get

type Scopes ProjectsTopicsGet = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/pubsub" ': ([] :: [Symbol]))
type Rs ProjectsTopicsGet Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Topics.Get

Request Lenses

ptgUploadProtocol :: Lens' ProjectsTopicsGet (Maybe Text) Source #

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

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}`.