Class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryField
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryField
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb
Overview
Message defining a field of a BigQuery table.
Instance Attribute Summary collapse
-
#field ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId
General identifier of a data field in a storage service.
-
#table ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable
Message defining the location of a BigQuery table.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2BigQueryField
constructor
A new instance of GooglePrivacyDlpV2BigQueryField.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2BigQueryField
Returns a new instance of GooglePrivacyDlpV2BigQueryField.
387 388 389 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 387 def initialize(**args) update!(**args) end |
Instance Attribute Details
#field ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId
General identifier of a data field in a storage service.
Corresponds to the JSON property field
378 379 380 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 378 def field @field end |
#table ⇒ 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: :.
or ..
.
Corresponds to the JSON property table
385 386 387 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 385 def table @table end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
392 393 394 395 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 392 def update!(**args) @field = args[:field] if args.key?(:field) @table = args[:table] if args.key?(:table) end |