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 subscriptions.
See: Cloud Pub/Sub API Reference for pubsub.projects.subscriptions.list
.
Synopsis
- type ProjectsSubscriptionsListResource = "v1" :> (Capture "project" 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] ListSubscriptionsResponse))))))))))
- projectsSubscriptionsList :: Text -> ProjectsSubscriptionsList
- data ProjectsSubscriptionsList
- pslXgafv :: Lens' ProjectsSubscriptionsList (Maybe Xgafv)
- pslUploadProtocol :: Lens' ProjectsSubscriptionsList (Maybe Text)
- pslProject :: Lens' ProjectsSubscriptionsList Text
- pslAccessToken :: Lens' ProjectsSubscriptionsList (Maybe Text)
- pslUploadType :: Lens' ProjectsSubscriptionsList (Maybe Text)
- pslPageToken :: Lens' ProjectsSubscriptionsList (Maybe Text)
- pslPageSize :: Lens' ProjectsSubscriptionsList (Maybe Int32)
- pslCallback :: Lens' ProjectsSubscriptionsList (Maybe Text)
REST Resource
type ProjectsSubscriptionsListResource = "v1" :> (Capture "project" 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] ListSubscriptionsResponse)))))))))) Source #
A resource alias for pubsub.projects.subscriptions.list
method which the
ProjectsSubscriptionsList
request conforms to.
Creating a Request
projectsSubscriptionsList Source #
Creates a value of ProjectsSubscriptionsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsSubscriptionsList Source #
Lists matching subscriptions.
See: projectsSubscriptionsList
smart constructor.
Instances
Request Lenses
pslUploadProtocol :: Lens' ProjectsSubscriptionsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pslProject :: Lens' ProjectsSubscriptionsList Text Source #
The name of the project in which to list subscriptions. Format is `projects/{project-id}`.
pslAccessToken :: Lens' ProjectsSubscriptionsList (Maybe Text) Source #
OAuth access token.
pslUploadType :: Lens' ProjectsSubscriptionsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pslPageToken :: Lens' ProjectsSubscriptionsList (Maybe Text) Source #
The value returned by the last `ListSubscriptionsResponse`; indicates that this is a continuation of a prior `ListSubscriptions` call, and that the system should return the next page of data.
pslPageSize :: Lens' ProjectsSubscriptionsList (Maybe Int32) Source #
Maximum number of subscriptions to return.
pslCallback :: Lens' ProjectsSubscriptionsList (Maybe Text) Source #
JSONP