Google Cloud Data Loss Prevention v2 API - Class BigQueryOptions (4.4.0)

public sealed class BigQueryOptions : IMessage<BigQueryOptions>, IEquatable<BigQueryOptions>, IDeepCloneable<BigQueryOptions>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class BigQueryOptions.

Options defining BigQuery table and row identifiers.

Inheritance

Object > BigQueryOptions

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

BigQueryOptions()

public BigQueryOptions()

BigQueryOptions(BigQueryOptions)

public BigQueryOptions(BigQueryOptions other)
Parameter
NameDescription
otherBigQueryOptions

Properties

ExcludedFields

public RepeatedField<FieldId> ExcludedFields { get; }

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

Property Value
TypeDescription
RepeatedField<FieldId>

IdentifyingFields

public RepeatedField<FieldId> IdentifyingFields { get; }

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.

Property Value
TypeDescription
RepeatedField<FieldId>

IncludedFields

public RepeatedField<FieldId> IncludedFields { get; }

Limit scanning only to these fields.

Property Value
TypeDescription
RepeatedField<FieldId>

RowsLimit

public long RowsLimit { get; set; }

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.

Property Value
TypeDescription
Int64

RowsLimitPercent

public int RowsLimitPercent { get; set; }

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.

Property Value
TypeDescription
Int32

SampleMethod

public BigQueryOptions.Types.SampleMethod SampleMethod { get; set; }
Property Value
TypeDescription
BigQueryOptions.Types.SampleMethod

TableReference

public BigQueryTable TableReference { get; set; }

Complete BigQuery table reference.

Property Value
TypeDescription
BigQueryTable