Cloud Data Loss Prevention (DLP) V2 API - Module Google::Cloud::Dlp::V2::BigQueryOptions::SampleMethod (v1.2.0)

Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API module Google::Cloud::Dlp::V2::BigQueryOptions::SampleMethod.

How to sample rows if not all rows are scanned. Meaningful only when used in conjunction with either rows_limit or rows_limit_percent. If not specified, rows are scanned in the order BigQuery reads them.

Constants

SAMPLE_METHOD_UNSPECIFIED

value: 0
No sampling.

TOP

value: 1
Scan groups of rows in the order BigQuery provides (default). Multiple groups of rows may be scanned in parallel, so results may not appear in the same order the rows are read.

RANDOM_START

value: 2
Randomly pick groups of rows to scan.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.