gogol-pubsub-0.5.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.List

Contents

Description

Lists matching topics.

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

Synopsis

REST Resource

type ProjectsTopicsListResource = "v1" :> (Capture "project" Text :> ("topics" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListTopicsResponse)))))))))) Source #

A resource alias for pubsub.projects.topics.list method which the ProjectsTopicsList request conforms to.

Creating a Request

projectsTopicsList Source #

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

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

data ProjectsTopicsList Source #

Lists matching topics.

See: projectsTopicsList smart constructor.

Instances
Eq ProjectsTopicsList Source # 
Instance details

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

Data ProjectsTopicsList Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsTopicsList -> Constr #

dataTypeOf :: ProjectsTopicsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsTopicsList Source # 
Instance details

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

Generic ProjectsTopicsList Source # 
Instance details

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

Associated Types

type Rep ProjectsTopicsList :: Type -> Type #

GoogleRequest ProjectsTopicsList Source # 
Instance details

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

Associated Types

type Rs ProjectsTopicsList :: Type #

type Scopes ProjectsTopicsList :: [Symbol] #

type Rep ProjectsTopicsList Source # 
Instance details

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

type Rep ProjectsTopicsList = D1 (MetaData "ProjectsTopicsList" "Network.Google.Resource.PubSub.Projects.Topics.List" "gogol-pubsub-0.5.0-LIQQ2v5pjD82QASoUQpr2c" False) (C1 (MetaCons "ProjectsTopicsList'" PrefixI True) (((S1 (MetaSel (Just "_ptlXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_ptlUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ptlProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ptlAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ptlUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ptlPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_ptlCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsTopicsList Source # 
Instance details

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

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

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

Request Lenses

ptlUploadProtocol :: Lens' ProjectsTopicsList (Maybe Text) Source #

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

ptlProject :: Lens' ProjectsTopicsList Text Source #

The name of the project in which to list topics. Format is `projects/{project-id}`.

ptlUploadType :: Lens' ProjectsTopicsList (Maybe Text) Source #

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

ptlPageToken :: Lens' ProjectsTopicsList (Maybe Text) Source #

The value returned by the last `ListTopicsResponse`; indicates that this is a continuation of a prior `ListTopics` call, and that the system should return the next page of data.

ptlPageSize :: Lens' ProjectsTopicsList (Maybe Int32) Source #

Maximum number of topics to return.