public sealed class PrivacyMetric.Types.CategoricalStatsConfig : IMessage<PrivacyMetric.Types.CategoricalStatsConfig>, IEquatable<PrivacyMetric.Types.CategoricalStatsConfig>, IDeepCloneable<PrivacyMetric.Types.CategoricalStatsConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class PrivacyMetric.Types.CategoricalStatsConfig.
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 document provides reference documentation for the \u003ccode\u003ePrivacyMetric.Types.CategoricalStatsConfig\u003c/code\u003e class within the Google Cloud Data Loss Prevention v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCategoricalStatsConfig\u003c/code\u003e class is used to compute numerical statistics over a column, including the number of distinct values and the value count distribution.\u003c/p\u003e\n"],["\u003cp\u003eIt is implemented by several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, showing it is a robustly designed class.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists all versions of this config from version 2.15.0 to 4.16.0, with links to each version's specific documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eField\u003c/code\u003e property is outlined, indicating it is how you determine the column to perform the stats on, with a description of the supported types.\u003c/p\u003e\n"]]],[],null,[]]