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 `CloudStorageOptions.Types.SampleMethod` enum within the Google Cloud Data Loss Prevention v2 API, specifically for the .NET environment."],["The latest version of the API documented on this page is 4.16.0, but historical versions back to 2.15.0 are also listed and accessible."],["The `SampleMethod` enum dictates how bytes are sampled when not all bytes can be scanned in a file, with options like `RandomStart` and `Top` available to be chosen from."],["The namespace for this enum is `Google.Cloud.Dlp.V2`, and it's part of the `Google.Cloud.Dlp.V2.dll` assembly."],["There are 3 fields within the `SampleMethod` enum, `RandomStart`, `Top`, and `Unspecified`, each containing their own specific purpose that is detailed."]]],[]]