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
)
Topic
object
list
Key-value pairs for topic labels
character
Name of the topic
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
MessageStoragePolicy
Policy constraining the set of Google Cloud
Platform regions where messages published to the topic may be stored
SchemaSettings
Settings for validating messages published against
a schema
character
Indicates the minimum duration to retain a message
after it is published to the topic
Other Object functions:
DeadLetterPolicy()
,
DlqPolicy()
,
ExpirationPolicy()
,
MessageStoragePolicy()
,
PubsubMessage()
,
PushConfig()
,
RetryPolicy()
,
SchemaSettings()
,
Schema()
,
Snapshot()
,
Subscription()