Module Google::Cloud::Dlp::V2::CloudStorageOptions::SampleMethod (v0.8.1)

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.

Constants

SAMPLE_METHOD_UNSPECIFIED

value: 0

TOP

value: 1
Scan from the top (default).

RANDOM_START

value: 2
For each file larger than bytes_limit_per_file, randomly pick the offset to start scanning. The scanned bytes are contiguous.