Struct gapi_grpc::google::privacy::dlp::v2::BigQueryOptions[][src]

pub struct BigQueryOptions {
    pub table_reference: Option<BigQueryTable>,
    pub identifying_fields: Vec<FieldId>,
    pub rows_limit: i64,
    pub rows_limit_percent: i32,
    pub sample_method: i32,
    pub excluded_fields: Vec<FieldId>,
}

Options defining BigQuery table and row identifiers.

Fields

table_reference: Option<BigQueryTable>

Complete BigQuery table reference.

identifying_fields: Vec<FieldId>

Table fields that may uniquely identify a row within the table. When actions.saveFindings.outputConfig.table is specified, the values of columns specified here are available in the output table under location.content_locations.record_location.record_key.id_values. Nested fields such as person.birthdate.year are allowed.

rows_limit: i64

Max number of rows to scan. If the table has more rows than this value, the rest of the rows are omitted. If not set, or if set to 0, all rows will be scanned. Only one of rows_limit and rows_limit_percent can be specified. Cannot be used in conjunction with TimespanConfig.

rows_limit_percent: i32

Max percentage of rows to scan. The rest are omitted. The number of rows scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one of rows_limit and rows_limit_percent can be specified. Cannot be used in conjunction with TimespanConfig.

sample_method: i32excluded_fields: Vec<FieldId>

References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings.

Implementations

impl BigQueryOptions[src]

pub fn sample_method(&self) -> SampleMethod[src]

Returns the enum value of sample_method, or the default if the field is set to an invalid enum value.

pub fn set_sample_method(&mut self, value: SampleMethod)[src]

Sets sample_method to the provided enum value.

Trait Implementations

impl Clone for BigQueryOptions[src]

impl Debug for BigQueryOptions[src]

impl Default for BigQueryOptions[src]

impl Message for BigQueryOptions[src]

impl PartialEq<BigQueryOptions> for BigQueryOptions[src]

impl StructuralPartialEq for BigQueryOptions[src]

Auto Trait Implementations

impl RefUnwindSafe for BigQueryOptions

impl Send for BigQueryOptions

impl Sync for BigQueryOptions

impl Unpin for BigQueryOptions

impl UnwindSafe for BigQueryOptions

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]