public sealed class Replication.Types.UserManaged : IMessage<Replication.Types.UserManaged>, IEquatable<Replication.Types.UserManaged>, IDeepCloneable<Replication.Types.UserManaged>, IBufferMessage, IMessage
Reference documentation and code samples for the Secret Manager v1beta2 API class Replication.Types.UserManaged.
A replication policy that replicates the
[Secret][google.cloud.secretmanager.v1beta2.Secret] payload into the
locations specified in [Secret.replication.user_managed.replicas][]
[[["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\u003eThe latest version of the \u003ccode\u003eReplication.Types.UserManaged\u003c/code\u003e class is 1.0.0-beta03, as part of the Google Cloud Secret Manager v1beta2 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eReplication.Types.UserManaged\u003c/code\u003e is a replication policy for replicating secret payloads into user-specified locations within a Secret.\u003c/p\u003e\n"],["\u003cp\u003eThis 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, which means it is a data structure for a message that can be cloned, buffered and compared.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eReplicas\u003c/code\u003e property is a required list of \u003ccode\u003eReplica\u003c/code\u003e objects that defines the replication destinations for the Secret payload, which cannot be empty.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUserManaged\u003c/code\u003e class has two constructors, a default constructor \u003ccode\u003eUserManaged()\u003c/code\u003e and a copy constructor \u003ccode\u003eUserManaged(UserManaged other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Secret Manager v1beta2 API - Class Replication.Types.UserManaged (1.0.0-beta03)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta03 (latest)](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.Replication.Types.UserManaged)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/1.0.0-beta02/Google.Cloud.SecretManager.V1Beta2.Replication.Types.UserManaged) \n\n public sealed class Replication.Types.UserManaged : IMessage\u003cReplication.Types.UserManaged\u003e, IEquatable\u003cReplication.Types.UserManaged\u003e, IDeepCloneable\u003cReplication.Types.UserManaged\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Secret Manager v1beta2 API class Replication.Types.UserManaged.\n\nA replication policy that replicates the\n\\[Secret\\]\\[google.cloud.secretmanager.v1beta2.Secret\\] payload into the\nlocations specified in \\[Secret.replication.user_managed.replicas\\]\\[\\] \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Replication.Types.UserManaged \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Replication](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.Replication)[Types](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.Replication.Types)[UserManaged](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.Replication.Types.UserManaged), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Replication](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.Replication)[Types](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.Replication.Types)[UserManaged](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.Replication.Types.UserManaged), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Replication](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.Replication)[Types](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.Replication.Types)[UserManaged](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.Replication.Types.UserManaged), [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.SecretManager.V1Beta2](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2)\n\nAssembly\n--------\n\nGoogle.Cloud.SecretManager.V1Beta2.dll\n\nConstructors\n------------\n\n### UserManaged()\n\n public UserManaged()\n\n### UserManaged(UserManaged)\n\n public UserManaged(Replication.Types.UserManaged other)\n\nProperties\n----------\n\n### Replicas\n\n public RepeatedField\u003cReplication.Types.UserManaged.Types.Replica\u003e Replicas { get; }\n\nRequired. The list of Replicas for this\n\\[Secret\\]\\[google.cloud.secretmanager.v1beta2.Secret\\].\n\nCannot be empty."]]