View Source GoogleApi.Redis.V1beta1.Model.CrossClusterReplicationConfig (google_api_redis v0.48.0)

Cross cluster replication config.

Attributes

  • clusterRole (type: String.t, default: nil) - The role of the cluster in cross cluster replication.
  • membership (type: GoogleApi.Redis.V1beta1.Model.Membership.t, default: nil) - Output only. An output only view of all the member clusters participating in the cross cluster replication. This view will be provided by every member cluster irrespective of its cluster role(primary or secondary). A primary cluster can provide information about all the secondary clusters replicating from it. However, a secondary cluster only knows about the primary cluster from which it is replicating. However, for scenarios, where the primary cluster is unavailable(e.g. regional outage), a GetCluster request can be sent to any other member cluster and this field will list all the member clusters participating in cross cluster replication.
  • primaryCluster (type: GoogleApi.Redis.V1beta1.Model.RemoteCluster.t, default: nil) - Details of the primary cluster that is used as the replication source for this secondary cluster. This field is only set for a secondary cluster.
  • secondaryClusters (type: list(GoogleApi.Redis.V1beta1.Model.RemoteCluster.t), default: nil) - List of secondary clusters that are replicating from this primary cluster. This field is only set for a primary cluster.
  • updateTime (type: DateTime.t, default: nil) - Output only. The last time cross cluster replication config was updated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Redis.V1beta1.Model.CrossClusterReplicationConfig{
  clusterRole: String.t() | nil,
  membership: GoogleApi.Redis.V1beta1.Model.Membership.t() | nil,
  primaryCluster: GoogleApi.Redis.V1beta1.Model.RemoteCluster.t() | nil,
  secondaryClusters: [GoogleApi.Redis.V1beta1.Model.RemoteCluster.t()] | nil,
  updateTime: DateTime.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.