public sealed class MessageStoragePolicy : IMessage<MessageStoragePolicy>, IEquatable<MessageStoragePolicy>, IDeepCloneable<MessageStoragePolicy>, IBufferMessage, IMessage
A policy constraining the storage of messages published to the topic.
Implements
Google.Protobuf.IMessage<MessageStoragePolicy>, IEquatable<MessageStoragePolicy>, Google.Protobuf.IDeepCloneable<MessageStoragePolicy>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.PubSub.V1Assembly
Google.Cloud.PubSub.V1.dll
Constructors
MessageStoragePolicy()
public MessageStoragePolicy()
MessageStoragePolicy(MessageStoragePolicy)
public MessageStoragePolicy(MessageStoragePolicy other)
Parameter | |
---|---|
Name | Description |
other | MessageStoragePolicy |
Properties
AllowedPersistenceRegions
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.
Property Value | |
---|---|
Type | Description |
Google.Protobuf.Collections.RepeatedField<String> |