public sealed class Cluster.Types.PrimaryConfig : IMessage<Cluster.Types.PrimaryConfig>, IEquatable<Cluster.Types.PrimaryConfig>, IDeepCloneable<Cluster.Types.PrimaryConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1alpha API class Cluster.Types.PrimaryConfig.
Configuration for the primary cluster. It has the list of clusters that are
replicating from this cluster. This should be set if and only if the
cluster is of type PRIMARY.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eCluster.Types.PrimaryConfig\u003c/code\u003e class within the AlloyDB v1alpha API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCluster.Types.PrimaryConfig\u003c/code\u003e is a class used for configuring the primary cluster and identifying clusters replicating from it, and is only meant to be used when the cluster is of type PRIMARY.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, \u003ccode\u003ePrimaryConfig()\u003c/code\u003e and \u003ccode\u003ePrimaryConfig(Cluster.Types.PrimaryConfig other)\u003c/code\u003e, and also includes a \u003ccode\u003eSecondaryClusterNames\u003c/code\u003e property that returns a list of replicating clusters.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits several methods from the \u003ccode\u003eobject\u003c/code\u003e class, including \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# AlloyDB v1alpha API - Class Cluster.Types.PrimaryConfig (1.0.0-alpha12)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-alpha12 (latest)](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Cluster.Types.PrimaryConfig)\n- [1.0.0-alpha11](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/1.0.0-alpha11/Google.Cloud.AlloyDb.V1Alpha.Cluster.Types.PrimaryConfig) \n\n public sealed class Cluster.Types.PrimaryConfig : IMessage\u003cCluster.Types.PrimaryConfig\u003e, IEquatable\u003cCluster.Types.PrimaryConfig\u003e, IDeepCloneable\u003cCluster.Types.PrimaryConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the AlloyDB v1alpha API class Cluster.Types.PrimaryConfig.\n\nConfiguration for the primary cluster. It has the list of clusters that are\nreplicating from this cluster. This should be set if and only if the\ncluster is of type PRIMARY. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Cluster.Types.PrimaryConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Cluster](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Cluster)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Cluster.Types)[PrimaryConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Cluster.Types.PrimaryConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Cluster](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Cluster)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Cluster.Types)[PrimaryConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Cluster.Types.PrimaryConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Cluster](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Cluster)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Cluster.Types)[PrimaryConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Cluster.Types.PrimaryConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.AlloyDb.V1Alpha](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha)\n\nAssembly\n--------\n\nGoogle.Cloud.AlloyDb.V1Alpha.dll\n\nConstructors\n------------\n\n### PrimaryConfig()\n\n public PrimaryConfig()\n\n### PrimaryConfig(PrimaryConfig)\n\n public PrimaryConfig(Cluster.Types.PrimaryConfig other)\n\nProperties\n----------\n\n### SecondaryClusterNames\n\n public RepeatedField\u003cstring\u003e SecondaryClusterNames { get; }\n\nOutput only. Names of the clusters that are replicating from this\ncluster."]]