Copyright | (c) 2015 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: Google Cloud Pub/Sub API Reference for pubsub.projects.topics.list
.
- 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))))))))))))
- projectsTopicsList :: Text -> ProjectsTopicsList
- data ProjectsTopicsList
- ptlXgafv :: Lens' ProjectsTopicsList (Maybe Text)
- ptlUploadProtocol :: Lens' ProjectsTopicsList (Maybe Text)
- ptlProject :: Lens' ProjectsTopicsList Text
- ptlPp :: Lens' ProjectsTopicsList Bool
- ptlAccessToken :: Lens' ProjectsTopicsList (Maybe Text)
- ptlUploadType :: Lens' ProjectsTopicsList (Maybe Text)
- ptlBearerToken :: 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" 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
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.
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.
ptlAccessToken :: Lens' ProjectsTopicsList (Maybe Text) Source
OAuth access token.
ptlUploadType :: Lens' ProjectsTopicsList (Maybe Text) Source
Legacy upload protocol for media (e.g. "media", "multipart").
ptlBearerToken :: Lens' ProjectsTopicsList (Maybe Text) Source
OAuth bearer token.
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