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 the name of the subscriptions for this topic.
See: Google Cloud Pub/Sub API Reference for pubsub.projects.topics.subscriptions.list
.
- type ProjectsTopicsSubscriptionsListResource = "v1" :> (Capture "topic" Text :> ("subscriptions" :> (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]` ListTopicSubscriptionsResponse))))))))))))
- projectsTopicsSubscriptionsList :: Text -> ProjectsTopicsSubscriptionsList
- data ProjectsTopicsSubscriptionsList
- ptslXgafv :: Lens' ProjectsTopicsSubscriptionsList (Maybe Text)
- ptslUploadProtocol :: Lens' ProjectsTopicsSubscriptionsList (Maybe Text)
- ptslPp :: Lens' ProjectsTopicsSubscriptionsList Bool
- ptslAccessToken :: Lens' ProjectsTopicsSubscriptionsList (Maybe Text)
- ptslUploadType :: Lens' ProjectsTopicsSubscriptionsList (Maybe Text)
- ptslTopic :: Lens' ProjectsTopicsSubscriptionsList Text
- ptslBearerToken :: Lens' ProjectsTopicsSubscriptionsList (Maybe 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" 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]` 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 name of the subscriptions for this topic.
See: projectsTopicsSubscriptionsList
smart constructor.
Request Lenses
ptslUploadProtocol :: Lens' ProjectsTopicsSubscriptionsList (Maybe Text) Source
Upload protocol for media (e.g. "raw", "multipart").
ptslPp :: Lens' ProjectsTopicsSubscriptionsList Bool Source
Pretty-print response.
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.
ptslBearerToken :: Lens' ProjectsTopicsSubscriptionsList (Maybe Text) Source
OAuth bearer token.
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.