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 documentation is 4.16.0, with previous versions available down to 2.15.0."],["This documentation details the `CloudStorageOptions.Types.SampleMethod` enum, which defines how bytes are sampled when not all bytes of a file are scanned."],["The `SampleMethod` enum offers three field options: `RandomStart`, `Top` (default), and `Unspecified`, each with specific behavior for scanning files."],["This reference material is part of the `Google.Cloud.Dlp.V2` namespace, found within the `Google.Cloud.Dlp.V2.dll` assembly."]]],[]]