public sealed class Replication.Types.UserManaged.Types.Replica : IMessage<Replication.Types.UserManaged.Types.Replica>, IEquatable<Replication.Types.UserManaged.Types.Replica>, IDeepCloneable<Replication.Types.UserManaged.Types.Replica>, IBufferMessage, IMessage
Reference documentation and code samples for the Secret Manager v1beta2 API class Replication.Types.UserManaged.Types.Replica.
Represents a Replica for this
[Secret][google.cloud.secretmanager.v1beta2.Secret].
public CustomerManagedEncryption CustomerManagedEncryption { get; set; }
Optional. The customer-managed encryption configuration of the
[User-Managed Replica][Replication.UserManaged.Replica]. If no
configuration is provided, Google-managed default encryption is used.
Updates to the [Secret][google.cloud.secretmanager.v1beta2.Secret]
encryption configuration only apply to
[SecretVersions][google.cloud.secretmanager.v1beta2.SecretVersion]
added afterwards. They do not apply retroactively to existing
[SecretVersions][google.cloud.secretmanager.v1beta2.SecretVersion].
[[["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 documentation is for the \u003ccode\u003eReplication.Types.UserManaged.Types.Replica\u003c/code\u003e class within the Secret Manager v1beta2 API, specifically in the .NET environment.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eReplica\u003c/code\u003e class represents a replica for a Secret and is part of the \u003ccode\u003eGoogle.Cloud.SecretManager.V1Beta2\u003c/code\u003e namespace, found in the \u003ccode\u003eGoogle.Cloud.SecretManager.V1Beta2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in message handling, comparison, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eReplica\u003c/code\u003e class includes two constructors and properties, \u003ccode\u003eCustomerManagedEncryption\u003c/code\u003e for encryption configuration and \u003ccode\u003eLocation\u003c/code\u003e for specifying data replication locations.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for this class is 1.0.0-beta03, though version 1.0.0-beta02 is also accessible through the documentation.\u003c/p\u003e\n"]]],[],null,["# Secret Manager v1beta2 API - Class Replication.Types.UserManaged.Types.Replica (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.Types.Replica)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/1.0.0-beta02/Google.Cloud.SecretManager.V1Beta2.Replication.Types.UserManaged.Types.Replica) \n\n public sealed class Replication.Types.UserManaged.Types.Replica : IMessage\u003cReplication.Types.UserManaged.Types.Replica\u003e, IEquatable\u003cReplication.Types.UserManaged.Types.Replica\u003e, IDeepCloneable\u003cReplication.Types.UserManaged.Types.Replica\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Secret Manager v1beta2 API class Replication.Types.UserManaged.Types.Replica.\n\nRepresents a Replica for this\n\\[Secret\\]\\[google.cloud.secretmanager.v1beta2.Secret\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Replication.Types.UserManaged.Types.Replica \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)[Types](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.Replication.Types.UserManaged.Types)[Replica](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.Replication.Types.UserManaged.Types.Replica), [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)[Types](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.Replication.Types.UserManaged.Types)[Replica](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.Replication.Types.UserManaged.Types.Replica), [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)[Types](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.Replication.Types.UserManaged.Types)[Replica](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.Replication.Types.UserManaged.Types.Replica), [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### Replica()\n\n public Replica()\n\n### Replica(Replica)\n\n public Replica(Replication.Types.UserManaged.Types.Replica other)\n\nProperties\n----------\n\n### CustomerManagedEncryption\n\n public CustomerManagedEncryption CustomerManagedEncryption { get; set; }\n\nOptional. The customer-managed encryption configuration of the\n\\[User-Managed Replica\\]\\[Replication.UserManaged.Replica\\]. If no\nconfiguration is provided, Google-managed default encryption is used.\n\nUpdates to the \\[Secret\\]\\[google.cloud.secretmanager.v1beta2.Secret\\]\nencryption configuration only apply to\n\\[SecretVersions\\]\\[google.cloud.secretmanager.v1beta2.SecretVersion\\]\nadded afterwards. They do not apply retroactively to existing\n\\[SecretVersions\\]\\[google.cloud.secretmanager.v1beta2.SecretVersion\\].\n\n### Location\n\n public string Location { get; set; }\n\nThe canonical IDs of the location to replicate data.\nFor example: `\"us-east1\"`."]]