Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API enum BigQueryOptions.Types.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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-24 UTC."],[[["This page provides reference documentation for the `BigQueryOptions.Types.SampleMethod` enum within the Google Cloud Data Loss Prevention v2 API."],["The `SampleMethod` enum defines how rows are sampled when not all rows are scanned in BigQuery, and is used with `rows_limit` or `rows_limit_percent`."],["Available sampling methods include `RandomStart`, which randomly selects groups of rows, `Top`, which scans rows in BigQuery's order, and `Unspecified`, indicating no sampling."],["The content includes links to different version of the documentation, spanning from version 2.15.0 to the latest version, 4.16.0."]]],[]]