Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API enum CloudStorageOptions.Types.SampleMethod.
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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-24 UTC."],[[["The latest version of the Google Cloud Data Loss Prevention v2 API for .NET is 4.16.0, with this webpage detailing versions back to 2.15.0."],["The documented API versions provide details for the `CloudStorageOptions.Types.SampleMethod` enum, which controls how byte sampling occurs when not all bytes are scanned."],["The `SampleMethod` enum includes fields for `RandomStart`, `Top`, and `Unspecified`, with `Top` being the default method for byte scanning."],["Each prior version listed on the page links to that versions documentation for the same `SampleMethod` to allow for code and documentation to be followed."]]],[]]