MessageStoragePolicyArgs

data class MessageStoragePolicyArgs(val allowedPersistenceRegions: Output<List<String>>? = null) : ConvertibleToJava<MessageStoragePolicyArgs>

A policy constraining the storage of messages published to the topic.

Constructors

Link copied to clipboard
fun MessageStoragePolicyArgs(allowedPersistenceRegions: Output<List<String>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): MessageStoragePolicyArgs

Properties

Link copied to clipboard
val allowedPersistenceRegions: Output<List<String>>? = null

A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage. Messages published by publishers running in non-allowed GCP regions (or running outside of GCP altogether) will be routed for storage in one of the allowed regions. An empty list means that no regions are allowed, and is not a valid configuration.