How to sample bytes if not all bytes are scanned. Meaningful only when used
in conjunction with bytes_limit_per_file. If not specified, scanning would
start from the top.
[[["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 is 4.16.0, while the page lists versions dating back to 2.15.0 for the \u003ccode\u003eGoogle.Cloud.Dlp.V2.CloudStorageOptions.Types.SampleMethod\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSampleMethod\u003c/code\u003e enum determines how bytes are sampled when not all are scanned, particularly relevant when \u003ccode\u003ebytes_limit_per_file\u003c/code\u003e is set.\u003c/p\u003e\n"],["\u003cp\u003eThere are three different \u003ccode\u003eSampleMethod\u003c/code\u003e options: \u003ccode\u003eRandomStart\u003c/code\u003e, which randomly selects the scanning offset; \u003ccode\u003eTop\u003c/code\u003e, which scans from the beginning; and \u003ccode\u003eUnspecified\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe default sampling method, if not specified, is \u003ccode\u003eTop\u003c/code\u003e, which will scan the file starting from the first byte.\u003c/p\u003e\n"]]],[],null,[]]