Reference documentation and code samples for the Data Loss Prevention V2 Client class 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.
Protobuf type google.privacy.dlp.v2.BigQueryOptions.SampleMethod
Namespace
Google \ Cloud \ Dlp \ V2 \ BigQueryOptions
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
SAMPLE_METHOD_UNSPECIFIED
Value: 0
No sampling.
Generated from protobuf enum SAMPLE_METHOD_UNSPECIFIED = 0;
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.