# Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::DiscoveryBigQueryConditions (v1.17.0)

1.17.0 (latest) 1.16.1 1.15.2 1.14.0 1.13.0 1.12.1 1.11.0 1.10.0 1.9.1 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.0 0.24.0 0.23.0 0.22.0 0.21.0 0.20.2 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.1 0.12.0 0.11.0 0.10.0 0.9.0 0.8.1 Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::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).

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #created_after

    def created_after() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Protobuf-Timestamp)) --- BigQuery table must have been created after this date. Used to avoid backfilling.

### #created_after=

    def created_after=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Protobuf-Timestamp)) --- BigQuery table must have been created after this date. Used to avoid backfilling.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Protobuf-Timestamp)) --- BigQuery table must have been created after this date. Used to avoid backfilling.

### #or_conditions

    def or_conditions() -> ::Google::Cloud::Dlp::V2::DiscoveryBigQueryConditions::OrConditions

**Returns**

- ([::Google::Cloud::Dlp::V2::DiscoveryBigQueryConditions::OrConditions](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-DiscoveryBigQueryConditions-OrConditions)) --- At least one of the conditions must be true for a table to be scanned.

### #or_conditions=

    def or_conditions=(value) -> ::Google::Cloud::Dlp::V2::DiscoveryBigQueryConditions::OrConditions

**Parameter**

- **value** ([::Google::Cloud::Dlp::V2::DiscoveryBigQueryConditions::OrConditions](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-DiscoveryBigQueryConditions-OrConditions)) --- At least one of the conditions must be true for a table to be scanned.
**Returns**

- ([::Google::Cloud::Dlp::V2::DiscoveryBigQueryConditions::OrConditions](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-DiscoveryBigQueryConditions-OrConditions)) --- At least one of the conditions must be true for a table to be scanned.

### #type_collection

    def type_collection() -> ::Google::Cloud::Dlp::V2::BigQueryTableTypeCollection

**Returns**

- ([::Google::Cloud::Dlp::V2::BigQueryTableTypeCollection](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-BigQueryTableTypeCollection)) --- Restrict discovery to categories of table types.


  Note: The following fields are mutually exclusive: `type_collection`, `types`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #type_collection=

    def type_collection=(value) -> ::Google::Cloud::Dlp::V2::BigQueryTableTypeCollection

**Parameter**

- **value** ([::Google::Cloud::Dlp::V2::BigQueryTableTypeCollection](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-BigQueryTableTypeCollection)) --- Restrict discovery to categories of table types.


  Note: The following fields are mutually exclusive: `type_collection`, `types`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Dlp::V2::BigQueryTableTypeCollection](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-BigQueryTableTypeCollection)) --- Restrict discovery to categories of table types.


  Note: The following fields are mutually exclusive: `type_collection`, `types`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #types

    def types() -> ::Google::Cloud::Dlp::V2::BigQueryTableTypes

**Returns**

- ([::Google::Cloud::Dlp::V2::BigQueryTableTypes](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-BigQueryTableTypes)) --- Restrict discovery to specific table types.


  Note: The following fields are mutually exclusive: `types`, `type_collection`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #types=

    def types=(value) -> ::Google::Cloud::Dlp::V2::BigQueryTableTypes

**Parameter**

- **value** ([::Google::Cloud::Dlp::V2::BigQueryTableTypes](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-BigQueryTableTypes)) --- Restrict discovery to specific table types.


  Note: The following fields are mutually exclusive: `types`, `type_collection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Dlp::V2::BigQueryTableTypes](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-BigQueryTableTypes)) --- Restrict discovery to specific table types.


  Note: The following fields are mutually exclusive: `types`, `type_collection`. If a field in that set is populated, all other fields in the set will automatically be cleared.