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.Get

Contents

Description

Gets the configuration details of a subscription.

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

Synopsis

REST Resource

type ProjectsSubscriptionsGetResource = "v1" :> (Capture "subscription" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` Subscription))))))))) Source

A resource alias for pubsub.projects.subscriptions.get method which the ProjectsSubscriptionsGet request conforms to.

Creating a Request

projectsSubscriptionsGet Source

Creates a value of ProjectsSubscriptionsGet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

psgUploadProtocol :: Lens' ProjectsSubscriptionsGet (Maybe Text) Source

Upload protocol for media (e.g. "raw", "multipart").

psgUploadType :: Lens' ProjectsSubscriptionsGet (Maybe Text) Source

Legacy upload protocol for media (e.g. "media", "multipart").

psgSubscription :: Lens' ProjectsSubscriptionsGet Text Source

The name of the subscription to get.