public sealed class MessageStoragePolicy : IMessage<MessageStoragePolicy>, IEquatable<MessageStoragePolicy>, IDeepCloneable<MessageStoragePolicy>, IBufferMessage, IMessage
A policy constraining the storage of messages published to the topic.
public RepeatedField<string> AllowedPersistenceRegions { get; }
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-31 UTC."],[[["The content provides a comprehensive list of versions for `MessageStoragePolicy` within the `Google.Cloud.PubSub.V1` library, ranging from the latest version 3.23.0 down to 2.3.0."],["`MessageStoragePolicy` is a class that implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, as well as defining message storage constraints in a given topic."],["The class `MessageStoragePolicy` includes constructors for creating new instances and copying existing instances, which are `MessageStoragePolicy()` and `MessageStoragePolicy(MessageStoragePolicy other)` respectively."],["The `MessageStoragePolicy` class includes the property `AllowedPersistenceRegions`, which is a list of GCP regions where messages published to a topic can be stored."],["This webpage details the namespace `Google.Cloud.PubSub.V1`, in the `Google.Cloud.PubSub.V1.dll` assembly, and includes information about inherited members, such as `GetHashCode()`, `GetType()`, and `ToString()`."]]],[]]