public sealed class 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\u003eThe latest version of the Google Cloud Data Loss Prevention v2 API documented is 4.16.0, with numerous previous versions also accessible, including 4.2.0 and older.\u003c/p\u003e\n"],["\u003cp\u003eThis webpage focuses on the \u003ccode\u003eCategoricalStatsConfig\u003c/code\u003e class, which is part of the \u003ccode\u003ePrivacyMetric.Types\u003c/code\u003e namespace in the Google.Cloud.Dlp.V2 API, and used for computing statistics on individual columns.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCategoricalStatsConfig\u003c/code\u003e implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, extending from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCategoricalStatsConfig\u003c/code\u003e class has two constructors: one default, and one that takes another \u003ccode\u003eCategoricalStatsConfig\u003c/code\u003e as a parameter, and also has a Field property of type \u003ccode\u003eFieldId\u003c/code\u003e allowing it to be configured to operate on a specific column.\u003c/p\u003e\n"]]],[],null,[]]