gogol-pubsub-0.0.1: Google Cloud Pub/Sub SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.PubSub.Projects.Subscriptions.List

Contents

Description

Lists matching subscriptions.

See: Google Cloud Pub/Sub API Reference for pubsub.projects.subscriptions.list.

Synopsis

REST Resource

type ProjectsSubscriptionsListResource = "v1" :> (Capture "project" 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]` 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:

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 cloud project that subscriptions belong to.

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.