subscriptions_ack: Acknowledges the messages

View source: R/subscriptions.R

subscriptions_ackR Documentation

Acknowledges the messages

Description

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.

Usage

subscriptions_ack(ack_ids, subscription)

Arguments

ack_ids

character A vector containing one or more message ackIDs

subscription

character, Subscription Required, the subscription whose messages are being acknowledged

Value

logical TRUE if message(s) was successfully acknowledged

See Also

Other Subscription functions: subscriptions_create(), subscriptions_delete(), subscriptions_detach(), subscriptions_exists(), subscriptions_get(), subscriptions_list(), subscriptions_modify_ack_deadline(), subscriptions_modify_pushconf(), subscriptions_patch(), subscriptions_pull(), subscriptions_seek()


googlePubsubR documentation built on March 7, 2023, 6:38 p.m.