Class MessageStoragePolicy (2.13.2)

MessageStoragePolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attribute

NameDescription
allowed_persistence_regions Sequence[str]
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.

Inheritance

builtins.object > proto.message.Message > MessageStoragePolicy