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.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" Text :> (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:

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.

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.