Class: Google::Apis::DlpV2::GooglePrivacyDlpV2FileExtensionInfo
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2FileExtensionInfo
- 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
Information regarding the discovered file extension.
Instance Attribute Summary collapse
-
#file_extension ⇒ String
The file extension if set.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2FileExtensionInfo
constructor
A new instance of GooglePrivacyDlpV2FileExtensionInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2FileExtensionInfo
Returns a new instance of GooglePrivacyDlpV2FileExtensionInfo.
4685 4686 4687 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4685 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_extension ⇒ String
The file extension if set. (aka .pdf, .jpg, .txt)
Corresponds to the JSON property fileExtension
4683 4684 4685 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4683 def file_extension @file_extension end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4690 4691 4692 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4690 def update!(**args) @file_extension = args[:file_extension] if args.key?(:file_extension) end |