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