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-04-09 UTC."],[[["The latest version of the Google Cloud Data Loss Prevention v2 API is 4.16.0, with documentation available for this version along with several prior versions."],["The content provides reference documentation and code samples for the `CloudStorageOptions.Types.SampleMethod` enum within the Google Cloud DLP v2 API."],["The `CloudStorageOptions.Types.SampleMethod` enum offers options for sampling bytes when not all bytes in a file are being scanned, particularly when used with `bytes_limit_per_file`."],["Available sample methods include `RandomStart` (randomly picking the offset), `Top` (scanning from the beginning), and `Unspecified` (no sampling)."],["All the available versions of the library are contained in the reference page, from 2.15.0 to 4.16.0."]]],[]]