gogol-pubsub-0.4.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.List

Contents

Description

Lists matching subscriptions.

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

Synopsis

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
Eq ProjectsSubscriptionsList Source # 
Instance details

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

Data ProjectsSubscriptionsList Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsSubscriptionsList -> Constr #

dataTypeOf :: ProjectsSubscriptionsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsSubscriptionsList Source # 
Instance details

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

Generic ProjectsSubscriptionsList Source # 
Instance details

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

Associated Types

type Rep ProjectsSubscriptionsList :: Type -> Type #

GoogleRequest ProjectsSubscriptionsList Source # 
Instance details

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

type Rep ProjectsSubscriptionsList Source # 
Instance details

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

type Rep ProjectsSubscriptionsList = D1 (MetaData "ProjectsSubscriptionsList" "Network.Google.Resource.PubSub.Projects.Subscriptions.List" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "ProjectsSubscriptionsList'" PrefixI True) (((S1 (MetaSel (Just "_pslXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pslUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pslProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pslAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pslUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pslPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pslPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pslCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsSubscriptionsList Source # 
Instance details

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

type Scopes ProjectsSubscriptionsList = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/pubsub" ': ([] :: [Symbol]))
type Rs ProjectsSubscriptionsList Source # 
Instance details

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

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}`.

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.