pub struct GooglePrivacyDlpV2BigQueryOptions {
pub excluded_fields: Option<Vec<GooglePrivacyDlpV2FieldId>>,
pub identifying_fields: Option<Vec<GooglePrivacyDlpV2FieldId>>,
pub included_fields: Option<Vec<GooglePrivacyDlpV2FieldId>>,
pub rows_limit: Option<i64>,
pub rows_limit_percent: Option<i32>,
pub sample_method: Option<String>,
pub table_reference: Option<GooglePrivacyDlpV2BigQueryTable>,
}Expand description
Options defining BigQuery table and row identifiers.
This type is not used in any activity, and only used as part of another schema.
Fields§
§excluded_fields: Option<Vec<GooglePrivacyDlpV2FieldId>>References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings. When inspecting a table, we recommend that you inspect all columns. Otherwise, findings might be affected because hints from excluded columns will not be used.
identifying_fields: Option<Vec<GooglePrivacyDlpV2FieldId>>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.
included_fields: Option<Vec<GooglePrivacyDlpV2FieldId>>Limit scanning only to these fields. When inspecting a table, we recommend that you inspect all columns. Otherwise, findings might be affected because hints from excluded columns will not be used.
rows_limit: Option<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: Option<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. Caution: A known issue is causing the rowsLimitPercent field to behave unexpectedly. We recommend using rowsLimit instead.
sample_method: Option<String>How to sample the data.
table_reference: Option<GooglePrivacyDlpV2BigQueryTable>Complete BigQuery table reference.
Trait Implementations§
Source§impl Clone for GooglePrivacyDlpV2BigQueryOptions
impl Clone for GooglePrivacyDlpV2BigQueryOptions
Source§fn clone(&self) -> GooglePrivacyDlpV2BigQueryOptions
fn clone(&self) -> GooglePrivacyDlpV2BigQueryOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more