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.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" 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 :> (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.

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.