public sealed class CategoricalStatsConfig : IMessage<PrivacyMetric.Types.CategoricalStatsConfig>, IEquatable<PrivacyMetric.Types.CategoricalStatsConfig>, IDeepCloneable<PrivacyMetric.Types.CategoricalStatsConfig>, IBufferMessage, IMessage
Compute numerical stats over an individual column, including
number of distinct values and value count distribution.
Field to compute categorical stats on. All column types are
supported except for arrays and structs. However, it may be more
informative to use NumericalStats when the field type is supported,
depending on the data.
[[["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 documentation for the \u003ccode\u003eCategoricalStatsConfig\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dlp.V2\u003c/code\u003e namespace, used for computing statistical data on columns.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCategoricalStatsConfig\u003c/code\u003e class is a part of the \u003ccode\u003ePrivacyMetric.Types\u003c/code\u003e and allows for the calculation of distinct values and their count distribution in a column.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 4.16.0, with previous versions down to 2.15.0 also listed, and it is implemented by multiple interfaces, including \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 class includes a \u003ccode\u003eField\u003c/code\u003e property, enabling users to specify the column for which categorical statistics should be calculated, supporting various column types except arrays and structs.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for this class, one being the default constructor, and the second allowing the use of another instance of \u003ccode\u003ePrivacyMetric.Types.CategoricalStatsConfig\u003c/code\u003e to be used for its instantiation.\u003c/p\u003e\n"]]],[],null,[]]