public sealed class EncryptionConfig : IMessage<EncryptionConfig>, IEquatable<EncryptionConfig>, IDeepCloneable<EncryptionConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Dataproc Metastore v1beta API class EncryptionConfig.
[[["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 page provides reference documentation and code samples for the \u003ccode\u003eEncryptionConfig\u003c/code\u003e class within the Dataproc Metastore v1beta API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEncryptionConfig\u003c/code\u003e class is used to define encryption settings for a service and is part of the \u003ccode\u003eGoogle.Cloud.Metastore.V1Beta\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eIt is a sealed class that inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces like \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 latest version of the \u003ccode\u003eEncryptionConfig\u003c/code\u003e documentation is \u003ccode\u003e2.0.0-beta11\u003c/code\u003e, with previous versions including \u003ccode\u003e2.0.0-beta10\u003c/code\u003e and \u003ccode\u003e1.0.0-beta02\u003c/code\u003e also available.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eKmsKey\u003c/code\u003e, which allows setting a fully qualified Cloud KMS key name for data encryption.\u003c/p\u003e\n"]]],[],null,["# Dataproc Metastore v1beta API - Class EncryptionConfig (2.0.0-beta11)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta11 (latest)](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.EncryptionConfig)\n- [2.0.0-beta10](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/2.0.0-beta10/Google.Cloud.Metastore.V1Beta.EncryptionConfig)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/1.0.0-beta02/Google.Cloud.Metastore.V1Beta.EncryptionConfig) \n\n public sealed class EncryptionConfig : IMessage\u003cEncryptionConfig\u003e, IEquatable\u003cEncryptionConfig\u003e, IDeepCloneable\u003cEncryptionConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dataproc Metastore v1beta API class EncryptionConfig.\n\nEncryption settings for the service. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e EncryptionConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[EncryptionConfig](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.EncryptionConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[EncryptionConfig](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.EncryptionConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[EncryptionConfig](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.EncryptionConfig), [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.Metastore.V1Beta](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.Metastore.V1Beta.dll\n\nConstructors\n------------\n\n### EncryptionConfig()\n\n public EncryptionConfig()\n\n### EncryptionConfig(EncryptionConfig)\n\n public EncryptionConfig(EncryptionConfig other)\n\nProperties\n----------\n\n### KmsKey\n\n public string KmsKey { get; set; }\n\nThe fully qualified customer provided Cloud KMS key name to use for\ncustomer data encryption, in the following form:\n\n`projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}`."]]