Class BigQueryOptions.Builder (3.50.0)

public static final class BigQueryOptions.Builder extends GeneratedMessageV3.Builder<BigQueryOptions.Builder> implements BigQueryOptionsOrBuilder

Options defining BigQuery table and row identifiers.

Protobuf type google.privacy.dlp.v2.BigQueryOptions

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllExcludedFields(Iterable<? extends FieldId> values)

public BigQueryOptions.Builder addAllExcludedFields(Iterable<? extends FieldId> values)

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.

repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.FieldId>
Returns
Type Description
BigQueryOptions.Builder

addAllIdentifyingFields(Iterable<? extends FieldId> values)

public BigQueryOptions.Builder addAllIdentifyingFields(Iterable<? extends FieldId> values)

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.

repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.FieldId>
Returns
Type Description
BigQueryOptions.Builder

addAllIncludedFields(Iterable<? extends FieldId> values)

public BigQueryOptions.Builder addAllIncludedFields(Iterable<? extends FieldId> values)

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.

repeated .google.privacy.dlp.v2.FieldId included_fields = 7;

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.FieldId>
Returns
Type Description
BigQueryOptions.Builder

addExcludedFields(FieldId value)

public BigQueryOptions.Builder addExcludedFields(FieldId value)

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.

repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;

Parameter
Name Description
value FieldId
Returns
Type Description
BigQueryOptions.Builder

addExcludedFields(FieldId.Builder builderForValue)

public BigQueryOptions.Builder addExcludedFields(FieldId.Builder builderForValue)

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.

repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;

Parameter
Name Description
builderForValue FieldId.Builder
Returns
Type Description
BigQueryOptions.Builder

addExcludedFields(int index, FieldId value)

public BigQueryOptions.Builder addExcludedFields(int index, FieldId value)

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.

repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;

Parameters
Name Description
index int
value FieldId
Returns
Type Description
BigQueryOptions.Builder

addExcludedFields(int index, FieldId.Builder builderForValue)

public BigQueryOptions.Builder addExcludedFields(int index, FieldId.Builder builderForValue)

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.

repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;

Parameters
Name Description
index int
builderForValue FieldId.Builder
Returns
Type Description
BigQueryOptions.Builder

addExcludedFieldsBuilder()

public FieldId.Builder addExcludedFieldsBuilder()

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.

repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;

Returns
Type Description
FieldId.Builder

addExcludedFieldsBuilder(int index)

public FieldId.Builder addExcludedFieldsBuilder(int index)

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.

repeated .google.privacy.dlp.v2.FieldId