public sealed class Replication.Types.Automatic : IMessage<Replication.Types.Automatic>, IEquatable<Replication.Types.Automatic>, IDeepCloneable<Replication.Types.Automatic>, IBufferMessage, IMessage
Reference documentation and code samples for the Secret Manager v1beta2 API class Replication.Types.Automatic.
A replication policy that replicates the
[Secret][google.cloud.secretmanager.v1beta2.Secret] payload without any
restrictions.
public CustomerManagedEncryption CustomerManagedEncryption { get; set; }
Optional. The customer-managed encryption configuration of the
[Secret][google.cloud.secretmanager.v1beta2.Secret]. 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 covers the \u003ccode\u003eReplication.Types.Automatic\u003c/code\u003e class within the Secret Manager v1beta2 API, specifically for the .NET environment.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eReplication.Types.Automatic\u003c/code\u003e is a class that represents a replication policy for a Secret payload without any restrictions.\u003c/p\u003e\n"],["\u003cp\u003eThe 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, demonstrating its role in message handling and replication management.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, one default and another that takes another \u003ccode\u003eReplication.Types.Automatic\u003c/code\u003e object as a parameter, allowing for the creation and cloning of Automatic replication objects.\u003c/p\u003e\n"],["\u003cp\u003eIt allows for customer-managed encryption through its \u003ccode\u003eCustomerManagedEncryption\u003c/code\u003e property, enabling users to manage the encryption keys for the secret, otherwise, it uses Google-managed default encryption.\u003c/p\u003e\n"]]],[],null,["# Secret Manager v1beta2 API - Class Replication.Types.Automatic (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.Automatic)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/1.0.0-beta02/Google.Cloud.SecretManager.V1Beta2.Replication.Types.Automatic) \n\n public sealed class Replication.Types.Automatic : IMessage\u003cReplication.Types.Automatic\u003e, IEquatable\u003cReplication.Types.Automatic\u003e, IDeepCloneable\u003cReplication.Types.Automatic\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Secret Manager v1beta2 API class Replication.Types.Automatic.\n\nA replication policy that replicates the\n\\[Secret\\]\\[google.cloud.secretmanager.v1beta2.Secret\\] payload without any\nrestrictions. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Replication.Types.Automatic \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)[Automatic](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.Replication.Types.Automatic), [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)[Automatic](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.Replication.Types.Automatic), [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)[Automatic](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.Replication.Types.Automatic), [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### Automatic()\n\n public Automatic()\n\n### Automatic(Automatic)\n\n public Automatic(Replication.Types.Automatic other)\n\nProperties\n----------\n\n### CustomerManagedEncryption\n\n public CustomerManagedEncryption CustomerManagedEncryption { get; set; }\n\nOptional. The customer-managed encryption configuration of the\n\\[Secret\\]\\[google.cloud.secretmanager.v1beta2.Secret\\]. If no configuration\nis 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\\] added\nafterwards. They do not apply retroactively to existing\n\\[SecretVersions\\]\\[google.cloud.secretmanager.v1beta2.SecretVersion\\]."]]