Class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryOptions
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2/classes.rb,
generated/google/apis/dlp_v2/representations.rb,
generated/google/apis/dlp_v2/representations.rb
Overview
Options defining BigQuery table and row identifiers.
Instance Attribute Summary collapse
-
#identifying_fields ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId>
References to fields uniquely identifying rows within the table.
-
#rows_limit ⇒ Fixnum
Max number of rows to scan.
-
#sample_method ⇒ String
Corresponds to the JSON property
sampleMethod
. -
#table_reference ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable
Message defining the location of a BigQuery table.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2BigQueryOptions
constructor
A new instance of GooglePrivacyDlpV2BigQueryOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2BigQueryOptions
Returns a new instance of GooglePrivacyDlpV2BigQueryOptions
239 240 241 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 239 def initialize(**args) update!(**args) end |
Instance Attribute Details
#identifying_fields ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId>
References to fields uniquely identifying rows within the table.
Nested fields in the format, like person.birthdate.year
, are allowed.
Corresponds to the JSON property identifyingFields
216 217 218 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 216 def @identifying_fields end |
#rows_limit ⇒ Fixnum
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.
Corresponds to the JSON property rowsLimit
223 224 225 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 223 def rows_limit @rows_limit end |
#sample_method ⇒ String
Corresponds to the JSON property sampleMethod
228 229 230 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 228 def sample_method @sample_method end |
#table_reference ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable
Message defining the location of a BigQuery table. A table is uniquely
identified by its project_id, dataset_id, and table_name. Within a query
a table is often referenced with a string in the format of:
<project_id>:<dataset_id>.<table_id>
or
<project_id>.<dataset_id>.<table_id>
.
Corresponds to the JSON property tableReference
237 238 239 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 237 def table_reference @table_reference end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
244 245 246 247 248 249 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 244 def update!(**args) @identifying_fields = args[:identifying_fields] if args.key?(:identifying_fields) @rows_limit = args[:rows_limit] if args.key?(:rows_limit) @sample_method = args[:sample_method] if args.key?(:sample_method) @table_reference = args[:table_reference] if args.key?(:table_reference) end |