Builds a Topic Object

Topic(
  labels = NULL,
  name = NULL,
  kms_key_name = NULL,
  satisfies_pzs = NULL,
  message_storage_policy = NULL,
  schema_settings = NULL,
  message_retention_duration = NULL
)

Arguments

labels

list Key-value pairs for topic labels

name

character Name of the topic

kms_key_name

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

satisfies_pzs

logical Reserved for future use

message_storage_policy

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

schema_settings

SchemaSettings Settings for validating messages published against a schema

message_retention_duration

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

Value

Topic object