GetTopicMessageStoragePolicy class

Constructors

GetTopicMessageStoragePolicy({required Input<List<String>> allowedPersistenceRegions, required Input<bool> enforceInTransit})
Creates a new GetTopicMessageStoragePolicy. allowedPersistenceRegions A list of IDs of GCP regions where messages that are published to enforceInTransit If true, 'allowedPersistenceRegions' is also used to enforce in-transit
const
GetTopicMessageStoragePolicy.fromMap(Map<String, dynamic> map)
factory

Properties

allowedPersistenceRegions → Input<List<String>>
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.
final
enforceInTransit → Input<bool>
If true, 'allowedPersistenceRegions' is also used to enforce in-transit guarantees for messages. That is, Pub/Sub will fail topics.publish operations on this topic and subscribe operations on any subscription attached to this topic in any region that is not in 'allowedPersistenceRegions'.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited