public sealed class Bucket : IMessage<BucketingConfig.Types.Bucket>, IEquatable<BucketingConfig.Types.Bucket>, IDeepCloneable<BucketingConfig.Types.Bucket>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class BucketingConfig.Types.Bucket.
Bucket is represented as a range, along with replacement values.
[[["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 available for \u003ccode\u003eBucketingConfig.Types.Bucket\u003c/code\u003e is 4.16.0, with a range of previous versions from 4.15.0 down to 2.15.0 also accessible.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBucketingConfig.Types.Bucket\u003c/code\u003e is a class in the Google Cloud Data Loss Prevention v2 API, representing a range with replacement values, that implements various interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eBucketingConfig.Types.Bucket\u003c/code\u003e has constructors that allow for creating a new empty bucket or duplicating another bucket.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBucketingConfig.Types.Bucket\u003c/code\u003e class contains three key properties: \u003ccode\u003eMax\u003c/code\u003e (upper bound of the range), \u003ccode\u003eMin\u003c/code\u003e (lower bound of the range), and \u003ccode\u003eReplacementValue\u003c/code\u003e (value to replace within the range).\u003c/p\u003e\n"],["\u003cp\u003eThe class is found within the namespace \u003ccode\u003eGoogle.Cloud.Dlp.V2\u003c/code\u003e and is located in the \u003ccode\u003eGoogle.Cloud.Dlp.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]