Topic: Builds a Topic Object

View source: R/objects.R

TopicR Documentation

Builds a Topic Object

Description

Builds a Topic Object

Usage

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

See Also

Other Object functions: DeadLetterPolicy(), DlqPolicy(), ExpirationPolicy(), MessageStoragePolicy(), PubsubMessage(), PushConfig(), RetryPolicy(), SchemaSettings(), Schema(), Snapshot(), Subscription()


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