View Source GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2BigQueryOptions (google_api_dlp v0.46.0)

Options defining BigQuery table and row identifiers.

Attributes

  • excludedFields (type: list(GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2FieldId.t), default: nil) - 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.
  • identifyingFields (type: list(GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2FieldId.t), default: nil) - 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.
  • includedFields (type: list(GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2FieldId.t), default: nil) - 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.
  • rowsLimit (type: String.t, default: nil) - 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.
  • rowsLimitPercent (type: integer(), default: nil) - 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.
  • sampleMethod (type: String.t, default: nil) - How to sample the data.
  • tableReference (type: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2BigQueryTable.t, default: nil) - Complete BigQuery table reference.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2BigQueryOptions{
  excludedFields: [GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2FieldId.t()] | nil,
  identifyingFields:
    [GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2FieldId.t()] | nil,
  includedFields: [GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2FieldId.t()] | nil,
  rowsLimit: String.t() | nil,
  rowsLimitPercent: integer() | nil,
  sampleMethod: String.t() | nil,
  tableReference:
    GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2BigQueryTable.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.