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."],[[["This page provides documentation for the `SampleMethod` enum within the Google Cloud Data Loss Prevention v2 API."],["The `SampleMethod` enum controls how bytes are sampled when not all bytes in a file are scanned, particularly when `bytes_limit_per_file` is set."],["The available sampling methods include `RandomStart`, which randomly selects the scanning start point, and `Top`, which scans from the beginning of the file by default."],["The page lists links to the documentation for this enum across various versions of the API, from version 2.15.0 to the latest version, 4.16.0."]]],[]]