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

Copyright(c) 2015-2016 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" Xgafv :> (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:

data ProjectsSubscriptionsGet Source #

Gets the configuration details of a subscription.

See: projectsSubscriptionsGet smart constructor.

Instances

Eq ProjectsSubscriptionsGet Source # 
Data ProjectsSubscriptionsGet Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProjectsSubscriptionsGet -> c ProjectsSubscriptionsGet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProjectsSubscriptionsGet #

toConstr :: ProjectsSubscriptionsGet -> Constr #

dataTypeOf :: ProjectsSubscriptionsGet -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ProjectsSubscriptionsGet) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProjectsSubscriptionsGet) #

gmapT :: (forall b. Data b => b -> b) -> ProjectsSubscriptionsGet -> ProjectsSubscriptionsGet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsSubscriptionsGet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsSubscriptionsGet -> r #

gmapQ :: (forall d. Data d => d -> u) -> ProjectsSubscriptionsGet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ProjectsSubscriptionsGet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProjectsSubscriptionsGet -> m ProjectsSubscriptionsGet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsSubscriptionsGet -> m ProjectsSubscriptionsGet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsSubscriptionsGet -> m ProjectsSubscriptionsGet #

Show ProjectsSubscriptionsGet Source # 
Generic ProjectsSubscriptionsGet Source # 
GoogleRequest ProjectsSubscriptionsGet Source # 
type Rep ProjectsSubscriptionsGet Source # 
type Rep ProjectsSubscriptionsGet = D1 (MetaData "ProjectsSubscriptionsGet" "Network.Google.Resource.PubSub.Projects.Subscriptions.Get" "gogol-pubsub-0.3.0-1dJ3Y6KufaPCaIO7uyOMh" False) (C1 (MetaCons "ProjectsSubscriptionsGet'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_psgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) (S1 (MetaSel (Just Symbol "_psgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_psgPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_psgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_psgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_psgBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_psgSubscription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_psgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsSubscriptionsGet Source # 
type Scopes ProjectsSubscriptionsGet = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/pubsub" ([] Symbol))
type Rs ProjectsSubscriptionsGet Source # 

Request Lenses

psgUploadProtocol :: Lens' ProjectsSubscriptionsGet (Maybe Text) Source #

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

psgPp :: Lens' ProjectsSubscriptionsGet Bool Source #

Pretty-print response.

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. Format is `projects/{project}/subscriptions/{sub}`.