Certain properties of a subscription, such as its topic, are not modifiable.
subscriptions_patch(
subscription,
topic,
labels = NULL,
dead_letter_policy = NULL,
msg_retention_duration = NULL,
retry_policy = NULL,
push_config = NULL,
ack_deadline = NULL,
expiration_policy = NULL,
filter = NULL,
detached = NULL,
retain_acked_msgs = NULL,
enable_ordering = NULL
)
character
, Subscription
Required, a subscription name or a
Subscription
object
character
, Topic
Required, a topic name or a Topic
object
labels
Key value pairs
DeadLetterPolicy
A DeadLetterPolicy
object
numeric
How long to retain unacknowledged messages (in seconds)
RetryPolicy
policy that specifies how Pub/Sub retries message delivery
for this subscription, can be built with RetryPolicy
PushConfig
Can be built with PushConfig
numeric
amount of time (in seconds) Pub/Sub waits for the subscriber
to acknowledge receipt before resending the message
ExpirationPolicy
specifies the conditions for this subscription's
expiration. Can be built with ExpirationPolicy
character
An expression written in the Pub/Sub filter language
logical
Indicates whether the subscription is detached from its topic
logical
Indicates whether to retain acknowledged messages
logical
messages published with the same orderingKey in PubsubMessage
will be delivered to the subscribers in the order in which they are received by the Pub/Sub system
An updated Subscription
object
Other Subscription functions:
subscriptions_ack()
,
subscriptions_create()
,
subscriptions_delete()
,
subscriptions_detach()
,
subscriptions_exists()
,
subscriptions_get()
,
subscriptions_list()
,
subscriptions_modify_ack_deadline()
,
subscriptions_modify_pushconf()
,
subscriptions_pull()
,
subscriptions_seek()