public sealed class EncryptionConfig : IMessage<EncryptionConfig>, IEquatable<EncryptionConfig>, IDeepCloneable<EncryptionConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Dataproc Metastore v1 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 webpage provides reference documentation for the \u003ccode\u003eEncryptionConfig\u003c/code\u003e class within the Google Cloud Dataproc Metastore v1 API, detailing its structure and functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEncryptionConfig\u003c/code\u003e class is used to manage encryption settings for the service and is part of the \u003ccode\u003eGoogle.Cloud.Metastore.V1\u003c/code\u003e namespace within the \u003ccode\u003eGoogle.Cloud.Metastore.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is 2.9.0, with the documentation also including versions dating back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<EncryptionConfig>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<EncryptionConfig>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e and inherits from the .NET \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe main property within the \u003ccode\u003eEncryptionConfig\u003c/code\u003e class is \u003ccode\u003eKmsKey\u003c/code\u003e, a string that holds the fully qualified Cloud KMS key name used for customer data encryption.\u003c/p\u003e\n"]]],[],null,["# Dataproc Metastore v1 API - Class EncryptionConfig (2.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1.EncryptionConfig)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.8.0/Google.Cloud.Metastore.V1.EncryptionConfig)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.7.0/Google.Cloud.Metastore.V1.EncryptionConfig)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.6.0/Google.Cloud.Metastore.V1.EncryptionConfig)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.5.0/Google.Cloud.Metastore.V1.EncryptionConfig)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.4.0/Google.Cloud.Metastore.V1.EncryptionConfig)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.3.0/Google.Cloud.Metastore.V1.EncryptionConfig)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.2.0/Google.Cloud.Metastore.V1.EncryptionConfig)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.1.0/Google.Cloud.Metastore.V1.EncryptionConfig)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.0.0/Google.Cloud.Metastore.V1.EncryptionConfig)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/1.1.0/Google.Cloud.Metastore.V1.EncryptionConfig)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/1.0.0/Google.Cloud.Metastore.V1.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 v1 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.V1/latest/Google.Cloud.Metastore.V1.EncryptionConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[EncryptionConfig](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1.EncryptionConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[EncryptionConfig](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1.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.V1](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Metastore.V1.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}`."]]