[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eReplication\u003c/code\u003e class in the Secret Manager v1beta2 API defines how data is replicated and encrypted.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, equality comparison, deep cloning, and buffer message management.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eReplication\u003c/code\u003e class supports two replication types: \u003ccode\u003eAutomatic\u003c/code\u003e, for unrestricted automatic replication, and \u003ccode\u003eUserManaged\u003c/code\u003e, where replication is limited to specified locations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eReplication\u003c/code\u003e class offers properties like \u003ccode\u003eAutomatic\u003c/code\u003e and \u003ccode\u003eUserManaged\u003c/code\u003e which control the replication type, as well as \u003ccode\u003eReplicationCase\u003c/code\u003e, which is used to identify the current type in effect.\u003c/p\u003e\n"]]],[],null,["# Secret Manager v1beta2 API - Class Replication (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)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/1.0.0-beta02/Google.Cloud.SecretManager.V1Beta2.Replication) \n\n public sealed class Replication : IMessage\u003cReplication\u003e, IEquatable\u003cReplication\u003e, IDeepCloneable\u003cReplication\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Secret Manager v1beta2 API class Replication.\n\nA policy that defines the replication and encryption configuration of data. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Replication \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), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Replication](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.Replication), [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), [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### Replication()\n\n public Replication()\n\n### Replication(Replication)\n\n public Replication(Replication other)\n\nProperties\n----------\n\n### Automatic\n\n public Replication.Types.Automatic Automatic { get; set; }\n\nThe \\[Secret\\]\\[google.cloud.secretmanager.v1beta2.Secret\\] will\nautomatically be replicated without any restrictions.\n\n### ReplicationCase\n\n public Replication.ReplicationOneofCase ReplicationCase { get; }\n\n### UserManaged\n\n public Replication.Types.UserManaged UserManaged { get; set; }\n\nThe \\[Secret\\]\\[google.cloud.secretmanager.v1beta2.Secret\\] will only be\nreplicated into the locations specified."]]