Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataSourceType
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2DataSourceType
- 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 used to identify the type of resource being profiled.
Instance Attribute Summary collapse
-
#data_source ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2DataSourceType
constructor
A new instance of GooglePrivacyDlpV2DataSourceType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2DataSourceType
Returns a new instance of GooglePrivacyDlpV2DataSourceType.
2429 2430 2431 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2429 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_source ⇒ String
Output only. An identifying string to the type of resource being profiled.
Current values: google/bigquery/table, google/project
Corresponds to the JSON property dataSource
2427 2428 2429 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2427 def data_source @data_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2434 2435 2436 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2434 def update!(**args) @data_source = args[:data_source] if args.key?(:data_source) end |