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

Contents

Description

Acknowledges the messages associated with the `ack_ids` in the `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages from the subscription. Acknowledging a message whose ack deadline has expired may succeed, but such a message may be redelivered later. Acknowledging a message more than once will not result in an error.

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

Synopsis

REST Resource

type ProjectsSubscriptionsAcknowledgeResource = "v1" :> (CaptureMode "subscription" "acknowledge" 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 :> (ReqBody '[JSON] AcknowledgeRequest :> Post '[JSON] Empty)))))))))) Source #

A resource alias for pubsub.projects.subscriptions.acknowledge method which the ProjectsSubscriptionsAcknowledge request conforms to.

Creating a Request

data ProjectsSubscriptionsAcknowledge Source #

Acknowledges the messages associated with the `ack_ids` in the `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages from the subscription. Acknowledging a message whose ack deadline has expired may succeed, but such a message may be redelivered later. Acknowledging a message more than once will not result in an error.

See: projectsSubscriptionsAcknowledge smart constructor.

Instances

Eq ProjectsSubscriptionsAcknowledge Source # 
Data ProjectsSubscriptionsAcknowledge Source # 

Methods

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

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

toConstr :: ProjectsSubscriptionsAcknowledge -> Constr #

dataTypeOf :: ProjectsSubscriptionsAcknowledge -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsSubscriptionsAcknowledge Source # 
Generic ProjectsSubscriptionsAcknowledge Source # 
GoogleRequest ProjectsSubscriptionsAcknowledge Source # 
type Rep ProjectsSubscriptionsAcknowledge Source # 
type Rep ProjectsSubscriptionsAcknowledge = D1 (MetaData "ProjectsSubscriptionsAcknowledge" "Network.Google.Resource.PubSub.Projects.Subscriptions.Acknowledge" "gogol-pubsub-0.3.0-1dJ3Y6KufaPCaIO7uyOMh" False) (C1 (MetaCons "ProjectsSubscriptionsAcknowledge'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_psaXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) (S1 (MetaSel (Just Symbol "_psaUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_psaPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_psaAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_psaUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_psaPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 AcknowledgeRequest))) ((:*:) (S1 (MetaSel (Just Symbol "_psaBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_psaSubscription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_psaCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))
type Scopes ProjectsSubscriptionsAcknowledge Source # 
type Scopes ProjectsSubscriptionsAcknowledge = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/pubsub" ([] Symbol))
type Rs ProjectsSubscriptionsAcknowledge Source # 

Request Lenses

psaUploadProtocol :: Lens' ProjectsSubscriptionsAcknowledge (Maybe Text) Source #

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

psaUploadType :: Lens' ProjectsSubscriptionsAcknowledge (Maybe Text) Source #

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

psaSubscription :: Lens' ProjectsSubscriptionsAcknowledge Text Source #

The subscription whose message is being acknowledged. Format is `projects/{project}/subscriptions/{sub}`.