Class: Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig
- 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
Configuration for stored infoTypes. All fields and subfield are provided by the user. For more information, see https://cloud.google.com/dlp/docs/creating-custom-infotypes.
Instance Attribute Summary collapse
-
#description ⇒ String
Description of the StoredInfoType (max 256 characters).
-
#display_name ⇒ String
Display name of the StoredInfoType (max 256 characters).
-
#large_custom_dictionary ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2LargeCustomDictionaryConfig
Configuration for a custom dictionary created from a data source of any size up to the maximum size defined in the limits page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2StoredInfoTypeConfig
constructor
A new instance of GooglePrivacyDlpV2StoredInfoTypeConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2StoredInfoTypeConfig
Returns a new instance of GooglePrivacyDlpV2StoredInfoTypeConfig.
5354 5355 5356 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 5354 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Description of the StoredInfoType (max 256 characters).
Corresponds to the JSON property description
5337 5338 5339 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 5337 def description @description end |
#display_name ⇒ String
Display name of the StoredInfoType (max 256 characters).
Corresponds to the JSON property displayName
5342 5343 5344 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 5342 def display_name @display_name end |
#large_custom_dictionary ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2LargeCustomDictionaryConfig
Configuration for a custom dictionary created from a data source of any size
up to the maximum size defined in the
limits page. The artifacts of
dictionary creation are stored in the specified Google Cloud Storage
location. Consider using CustomInfoType.Dictionary
for smaller dictionaries
that satisfy the size requirements.
Corresponds to the JSON property largeCustomDictionary
5352 5353 5354 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 5352 def large_custom_dictionary @large_custom_dictionary end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5359 5360 5361 5362 5363 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 5359 def update!(**args) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @large_custom_dictionary = args[:large_custom_dictionary] if args.key?(:large_custom_dictionary) end |