Class: Google::Cloud::PubSub::V1::MessageStoragePolicy
- Inherits:
-
Object
- Object
- Google::Cloud::PubSub::V1::MessageStoragePolicy
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/pubsub/v1/pubsub.rb
Overview
A policy constraining the storage of messages published to the topic.
Instance Attribute Summary collapse
-
#allowed_persistence_regions ⇒ ::Array<::String>
A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage.
Instance Attribute Details
#allowed_persistence_regions ⇒ ::Array<::String>
Returns 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.
32 33 34 35 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 32 class MessageStoragePolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |