Cloud Data Loss Prevention (DLP) V2 API - Module Google::Cloud::Dlp::V2::CloudStorageOptions::SampleMethod (v0.13.0)

Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API module Google::Cloud::Dlp::V2::CloudStorageOptions::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.

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.