public sealed class DataEncryptionState : IMessage<DataEncryptionState>, IEquatable<DataEncryptionState>, IDeepCloneable<DataEncryptionState>, IBufferMessage, IMessage
Reference documentation and code samples for the Dataform v1beta1 API class DataEncryptionState.
[[["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\u003eThe latest version of the \u003ccode\u003eDataEncryptionState\u003c/code\u003e class is \u003ccode\u003e1.0.0-beta08\u003c/code\u003e, which is part of the Google Cloud Dataform v1beta1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class describes the encryption state of a resource and inherits from the \u003ccode\u003eobject\u003c/code\u003e class while implementing 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 \u003ccode\u003eDataEncryptionState\u003c/code\u003e class has two constructors, a default one and one that takes another \u003ccode\u003eDataEncryptionState\u003c/code\u003e instance as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eIt contains properties such as \u003ccode\u003eKmsKeyVersionName\u003c/code\u003e (string) and \u003ccode\u003eKmsKeyVersionNameAsCryptoKeyVersionName\u003c/code\u003e (CryptoKeyVersionName) that define the KMS key version used for data encryption.\u003c/p\u003e\n"]]],[],null,["# Dataform v1beta1 API - Class DataEncryptionState (1.0.0-beta08)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta08 (latest)](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.DataEncryptionState)\n- [1.0.0-beta07](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/1.0.0-beta07/Google.Cloud.Dataform.V1Beta1.DataEncryptionState) \n\n public sealed class DataEncryptionState : IMessage\u003cDataEncryptionState\u003e, IEquatable\u003cDataEncryptionState\u003e, IDeepCloneable\u003cDataEncryptionState\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dataform v1beta1 API class DataEncryptionState.\n\nDescribes encryption state of a resource. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DataEncryptionState \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DataEncryptionState](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.DataEncryptionState), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DataEncryptionState](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.DataEncryptionState), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DataEncryptionState](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.DataEncryptionState), [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.Dataform.V1Beta1](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.Dataform.V1Beta1.dll\n\nConstructors\n------------\n\n### DataEncryptionState()\n\n public DataEncryptionState()\n\n### DataEncryptionState(DataEncryptionState)\n\n public DataEncryptionState(DataEncryptionState other)\n\nProperties\n----------\n\n### KmsKeyVersionName\n\n public string KmsKeyVersionName { get; set; }\n\nRequired. The KMS key version name with which data of a resource is\nencrypted.\n\n### KmsKeyVersionNameAsCryptoKeyVersionName\n\n public CryptoKeyVersionName KmsKeyVersionNameAsCryptoKeyVersionName { get; set; }\n\n[CryptoKeyVersionName](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.CryptoKeyVersionName)-typed view over the [KmsKeyVersionName](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.DataEncryptionState#Google_Cloud_Dataform_V1Beta1_DataEncryptionState_KmsKeyVersionName) resource name\nproperty."]]