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 the names of the subscriptions on this topic.
See: Cloud Pub/Sub API Reference for pubsub.projects.topics.subscriptions.list
.
Synopsis
- type ProjectsTopicsSubscriptionsListResource = "v1" :> (Capture "topic" Text :> ("subscriptions" :> (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] ListTopicSubscriptionsResponse))))))))))
- projectsTopicsSubscriptionsList :: Text -> ProjectsTopicsSubscriptionsList
- data ProjectsTopicsSubscriptionsList
- ptslXgafv :: Lens' ProjectsTopicsSubscriptionsList (Maybe Xgafv)
- ptslUploadProtocol :: Lens' ProjectsTopicsSubscriptionsList (Maybe Text)
- ptslAccessToken :: Lens' ProjectsTopicsSubscriptionsList (Maybe Text)
- ptslUploadType :: Lens' ProjectsTopicsSubscriptionsList (Maybe Text)
- ptslTopic :: Lens' ProjectsTopicsSubscriptionsList Text
- ptslPageToken :: Lens' ProjectsTopicsSubscriptionsList (Maybe Text)
- ptslPageSize :: Lens' ProjectsTopicsSubscriptionsList (Maybe Int32)
- ptslCallback :: Lens' ProjectsTopicsSubscriptionsList (Maybe Text)
REST Resource
type ProjectsTopicsSubscriptionsListResource = "v1" :> (Capture "topic" Text :> ("subscriptions" :> (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] ListTopicSubscriptionsResponse)))))))))) Source #
A resource alias for pubsub.projects.topics.subscriptions.list
method which the
ProjectsTopicsSubscriptionsList
request conforms to.
Creating a Request
projectsTopicsSubscriptionsList Source #
Creates a value of ProjectsTopicsSubscriptionsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsTopicsSubscriptionsList Source #
Lists the names of the subscriptions on this topic.
See: projectsTopicsSubscriptionsList
smart constructor.
Instances
Request Lenses
ptslUploadProtocol :: Lens' ProjectsTopicsSubscriptionsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ptslAccessToken :: Lens' ProjectsTopicsSubscriptionsList (Maybe Text) Source #
OAuth access token.
ptslUploadType :: Lens' ProjectsTopicsSubscriptionsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ptslTopic :: Lens' ProjectsTopicsSubscriptionsList Text Source #
The name of the topic that subscriptions are attached to. Format is `projects/{project}/topics/{topic}`.
ptslPageToken :: Lens' ProjectsTopicsSubscriptionsList (Maybe Text) Source #
The value returned by the last `ListTopicSubscriptionsResponse`; indicates that this is a continuation of a prior `ListTopicSubscriptions` call, and that the system should return the next page of data.
ptslPageSize :: Lens' ProjectsTopicsSubscriptionsList (Maybe Int32) Source #
Maximum number of subscription names to return.
ptslCallback :: Lens' ProjectsTopicsSubscriptionsList (Maybe Text) Source #
JSONP