topics_patch: Updates an existing topic

View source: R/topics.R

topics_patchR Documentation

Updates an existing topic

Description

Updates an existing topic

Usage

topics_patch(
  topic,
  labels = NULL,
  message_storage_policy = NULL,
  kms_key_name = NULL,
  schema_settings = NULL,
  satisfies_pzs = NULL,
  message_retention_duration = NULL
)

Arguments

topic

character, Topic Required, topic name or instance of a Topic object

labels

list Key-value pairs for topic labels

message_storage_policy

MessageStoragePolicy Policy constraining the set of Google Cloud Platform regions where messages published to the topic may be stored.

kms_key_name

character The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic.

schema_settings

SchemaSettings An instance of a SchemaSettings object

satisfies_pzs

logical Reserved for future use.

message_retention_duration

character Indicates the minimum duration to retain a message after it is published to the topic.

Value

An instance of the patched Topic

See Also

Other Topic functions: topics_create(), topics_delete(), topics_exists(), topics_get(), topics_list_subscriptions(), topics_list(), topics_publish()


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