Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists matching topics.
See: Cloud Pub/Sub API Reference for pubsub.projects.topics.list
.
Synopsis
- 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))))))))))
- projectsTopicsList :: Text -> ProjectsTopicsList
- data ProjectsTopicsList
- ptlXgafv :: Lens' ProjectsTopicsList (Maybe Xgafv)
- ptlUploadProtocol :: Lens' ProjectsTopicsList (Maybe Text)
- ptlProject :: Lens' ProjectsTopicsList Text
- ptlAccessToken :: Lens' ProjectsTopicsList (Maybe Text)
- ptlUploadType :: Lens' ProjectsTopicsList (Maybe Text)
- ptlPageToken :: Lens' ProjectsTopicsList (Maybe Text)
- ptlPageSize :: Lens' ProjectsTopicsList (Maybe Int32)
- ptlCallback :: Lens' ProjectsTopicsList (Maybe Text)
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
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
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}`.
ptlAccessToken :: Lens' ProjectsTopicsList (Maybe Text) Source #
OAuth access token.
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.
ptlCallback :: Lens' ProjectsTopicsList (Maybe Text) Source #
JSONP