GoogleApi.PubSub.V1.Model.MessageStoragePolicy (google_api_pub_sub v0.33.3) View Source

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

Attributes

  • allowedPersistenceRegions (type: list(String.t), default: nil) - 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.PubSub.V1.Model.MessageStoragePolicy{
  allowedPersistenceRegions: [String.t()] | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.