<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/privacy/dlp/v2/storage.proto

namespace Google\Cloud\Dlp\V2\BigQueryOptions;

/**
 * How to sample rows if not all rows are scanned. Meaningful only when used
 * in conjunction with rows_limit. If not specified, scanning would start
 * from the top.
 *
 * Protobuf type <code>google.privacy.dlp.v2.BigQueryOptions.SampleMethod</code>
 */
class SampleMethod
{
    /**
     * Generated from protobuf enum <code>SAMPLE_METHOD_UNSPECIFIED = 0;</code>
     */
    const SAMPLE_METHOD_UNSPECIFIED = 0;
    /**
     * Scan from the top (default).
     *
     * Generated from protobuf enum <code>TOP = 1;</code>
     */
    const TOP = 1;
    /**
     * Randomly pick the row to start scanning. The scanned rows are contiguous.
     *
     * Generated from protobuf enum <code>RANDOM_START = 2;</code>
     */
    const RANDOM_START = 2;
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SampleMethod::class, \Google\Cloud\Dlp\V2\BigQueryOptions_SampleMethod::class);

