public sealed class DiscoveryBigQueryConditions : IMessage<DiscoveryBigQueryConditions>, IEquatable<DiscoveryBigQueryConditions>, IDeepCloneable<DiscoveryBigQueryConditions>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class DiscoveryBigQueryConditions.
Requirements that must be true before a table is scanned in discovery for the
first time. There is an AND relationship between the top-level attributes.
Additionally, minimum conditions with an OR relationship that must be met
before Cloud DLP scans a table can be set (like a minimum row count or a
minimum table age).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDiscoveryBigQueryConditions\u003c/code\u003e class in the Google Cloud Data Loss Prevention v2 API defines requirements that determine if a BigQuery table will be scanned during discovery.\u003c/p\u003e\n"],["\u003cp\u003eThis class allows setting conditions based on the table's creation date, using the \u003ccode\u003eCreatedAfter\u003c/code\u003e property, in order to avoid backfilling old data.\u003c/p\u003e\n"],["\u003cp\u003eIt provides the ability to set multiple conditions, with at least one condition needing to be true for the table to be scanned through the use of the \u003ccode\u003eOrConditions\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTypeCollection\u003c/code\u003e and \u003ccode\u003eTypes_\u003c/code\u003e properties allow the restriction of discovery to specific categories or specific types of BigQuery tables.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provided has several different versions available for reference ranging from the latest \u003ccode\u003e4.16.0\u003c/code\u003e version down to \u003ccode\u003e2.15.0\u003c/code\u003e, available through the provided links.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Data Loss Prevention v2 API - Class DiscoveryBigQueryConditions (4.19.0)\n\nVersion latestkeyboard_arrow_down\n\n- [4.19.0 (latest)](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions)\n- [4.18.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.18.0/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions)\n- [4.17.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.17.0/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions)\n- [4.16.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.16.0/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions)\n- [4.15.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.15.0/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions)\n- [4.14.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.14.0/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions)\n- [4.13.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.13.0/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions)\n- [4.12.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.12.0/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions)\n- [4.11.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.11.0/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions)\n- [4.10.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.10.0/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions)\n- [4.9.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.9.0/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions)\n- [4.8.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.8.0/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions)\n- [4.7.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.7.0/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions)\n- [4.6.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.6.0/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions)\n- [4.5.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.5.0/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions)\n- [4.4.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.4.0/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions)\n- [4.3.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.3.0/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions)\n- [4.2.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.2.0/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions)\n- [4.1.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.1.0/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.0.0/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/3.5.0/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/3.4.0/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/3.3.0/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/3.2.0/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/2.16.0/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/2.15.0/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions) \n\n public sealed class DiscoveryBigQueryConditions : IMessage\u003cDiscoveryBigQueryConditions\u003e, IEquatable\u003cDiscoveryBigQueryConditions\u003e, IDeepCloneable\u003cDiscoveryBigQueryConditions\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class DiscoveryBigQueryConditions.\n\nRequirements that must be true before a table is scanned in discovery for the\nfirst time. There is an AND relationship between the top-level attributes.\nAdditionally, minimum conditions with an OR relationship that must be met\nbefore Cloud DLP scans a table can be set (like a minimum row count or a\nminimum table age). \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DiscoveryBigQueryConditions \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DiscoveryBigQueryConditions](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DiscoveryBigQueryConditions](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DiscoveryBigQueryConditions](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DiscoveryBigQueryConditions), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Dlp.V2](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Dlp.V2.dll\n\nConstructors\n------------\n\n### DiscoveryBigQueryConditions()\n\n public DiscoveryBigQueryConditions()\n\n### DiscoveryBigQueryConditions(DiscoveryBigQueryConditions)\n\n public DiscoveryBigQueryConditions(DiscoveryBigQueryConditions other)\n\nProperties\n----------\n\n### CreatedAfter\n\n public Timestamp CreatedAfter { get; set; }\n\nBigQuery table must have been created after this date. Used to avoid\nbackfilling.\n\n### HasTypeCollection\n\n public bool HasTypeCollection { get; }\n\nGets whether the \"type_collection\" field is set\n\n### IncludedTypesCase\n\n public DiscoveryBigQueryConditions.IncludedTypesOneofCase IncludedTypesCase { get; }\n\n### OrConditions\n\n public DiscoveryBigQueryConditions.Types.OrConditions OrConditions { get; set; }\n\nAt least one of the conditions must be true for a table to be scanned.\n\n### TypeCollection\n\n public BigQueryTableTypeCollection TypeCollection { get; set; }\n\nRestrict discovery to categories of table types.\n\n### Types_\n\n public BigQueryTableTypes Types_ { get; set; }\n\nRestrict discovery to specific table types."]]