Updates an existing topic
topics_patch(
topic,
labels = NULL,
message_storage_policy = NULL,
kms_key_name = NULL,
schema_settings = NULL,
satisfies_pzs = NULL,
message_retention_duration = NULL
)
character
, Topic
Required, topic name or instance of a Topic
object
list
Key-value pairs for topic labels
MessageStoragePolicy
Policy constraining the set of Google Cloud
Platform regions where messages published to the topic may be stored.
character
The resource name of the Cloud KMS CryptoKey to be used
to protect access to messages published on this topic.
SchemaSettings
An instance of a SchemaSettings
object
logical
Reserved for future use.
character
Indicates the minimum duration to retain
a message after it is published to the topic.
An instance of the patched Topic
Other Topic functions:
topics_create()
,
topics_delete()
,
topics_exists()
,
topics_get()
,
topics_list_subscriptions()
,
topics_list()
,
topics_publish()