Class: Google::Privacy::Dlp::V2::BigQueryOptions
- Inherits:
-
Object
- Object
- Google::Privacy::Dlp::V2::BigQueryOptions
- Defined in:
- lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb
Overview
Options defining BigQuery table and row identifiers.
Defined Under Namespace
Modules: SampleMethod
Instance Attribute Summary collapse
-
#identifying_fields ⇒ Array<Google::Privacy::Dlp::V2::FieldId>
References to fields uniquely identifying rows within the table.
-
#rows_limit ⇒ Integer
Max number of rows to scan.
- #sample_method ⇒ Google::Privacy::Dlp::V2::BigQueryOptions::SampleMethod
-
#table_reference ⇒ Google::Privacy::Dlp::V2::BigQueryTable
Complete BigQuery table reference.
Instance Attribute Details
#identifying_fields ⇒ Array<Google::Privacy::Dlp::V2::FieldId>
Returns References to fields uniquely identifying rows within the table. Nested fields in the format, like +person.birthdate.year+, are allowed.
264 265 266 267 268 269 270 271 272 273 274 275 276 277 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb', line 264 class BigQueryOptions # How to sample rows if not all rows are scanned. Meaningful only when used # in conjunction with rows_limit. If not specified, scanning would start # from the top. module SampleMethod SAMPLE_METHOD_UNSPECIFIED = 0 # Scan from the top (default). TOP = 1 # Randomly pick the row to start scanning. The scanned rows are contiguous. RANDOM_START = 2 end end |
#rows_limit ⇒ Integer
Returns 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. Cannot be used in conjunction with TimespanConfig.
264 265 266 267 268 269 270 271 272 273 274 275 276 277 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb', line 264 class BigQueryOptions # How to sample rows if not all rows are scanned. Meaningful only when used # in conjunction with rows_limit. If not specified, scanning would start # from the top. module SampleMethod SAMPLE_METHOD_UNSPECIFIED = 0 # Scan from the top (default). TOP = 1 # Randomly pick the row to start scanning. The scanned rows are contiguous. RANDOM_START = 2 end end |
#sample_method ⇒ Google::Privacy::Dlp::V2::BigQueryOptions::SampleMethod
264 265 266 267 268 269 270 271 272 273 274 275 276 277 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb', line 264 class BigQueryOptions # How to sample rows if not all rows are scanned. Meaningful only when used # in conjunction with rows_limit. If not specified, scanning would start # from the top. module SampleMethod SAMPLE_METHOD_UNSPECIFIED = 0 # Scan from the top (default). TOP = 1 # Randomly pick the row to start scanning. The scanned rows are contiguous. RANDOM_START = 2 end end |
#table_reference ⇒ Google::Privacy::Dlp::V2::BigQueryTable
Returns Complete BigQuery table reference.
264 265 266 267 268 269 270 271 272 273 274 275 276 277 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb', line 264 class BigQueryOptions # How to sample rows if not all rows are scanned. Meaningful only when used # in conjunction with rows_limit. If not specified, scanning would start # from the top. module SampleMethod SAMPLE_METHOD_UNSPECIFIED = 0 # Scan from the top (default). TOP = 1 # Randomly pick the row to start scanning. The scanned rows are contiguous. RANDOM_START = 2 end end |