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
)

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