Module: Google::Cloud::Dlp::V2::CloudStorageOptions::SampleMethod
- Defined in:
 - proto_docs/google/privacy/dlp/v2/storage.rb
 
Overview
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.
Constant Summary collapse
- SAMPLE_METHOD_UNSPECIFIED =
          
No sampling.
 0- TOP =
          
Scan from the top (default).
 1- RANDOM_START =
          
For each file larger than bytes_limit_per_file, randomly pick the offset to start scanning. The scanned bytes are contiguous.
 2