gogol-pubsub-0.3.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: Google 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 "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" 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 # 
Data ProjectsTopicsList Source # 

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 # 
Generic ProjectsTopicsList Source # 
GoogleRequest ProjectsTopicsList Source # 
type Rep ProjectsTopicsList Source # 
type Scopes ProjectsTopicsList Source # 
type Scopes ProjectsTopicsList = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/pubsub" ([] Symbol))
type Rs ProjectsTopicsList Source # 

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 cloud project that topics belong to. Format is `projects/{project}`.

ptlPp :: Lens' ProjectsTopicsList Bool Source #

Pretty-print response.

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.