Class BigQueryOptions

Options defining BigQuery table and row identifiers.

Attributes
NameDescription
google.cloud.dlp_v2.types.BigQueryTabletable_reference
Complete BigQuery table reference.
Sequence[google.cloud.dlp_v2.types.FieldId]identifying_fields
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.
introws_limit
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.
introws_limit_percent
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.
Sequence[google.cloud.dlp_v2.types.FieldId]excluded_fields
References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings.
Sequence[google.cloud.dlp_v2.types.FieldId]included_fields
Limit scanning only to these fields.

Inheritance

builtins.object > proto.message.Message > BigQueryOptions

Classes

SampleMethod

SampleMethod(value)

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.