Class: Google::Apis::DlpV2::GooglePrivacyDlpV2FileExtensionInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2FileExtensionInfo

Returns a new instance of GooglePrivacyDlpV2FileExtensionInfo.



4389
4390
4391
# File 'lib/google/apis/dlp_v2/classes.rb', line 4389

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#file_extensionString

The file extension if set. (aka .pdf, .jpg, .txt) Corresponds to the JSON property fileExtension

Returns:

  • (String)


4387
4388
4389
# File 'lib/google/apis/dlp_v2/classes.rb', line 4387

def file_extension
  @file_extension
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4394
4395
4396
# File 'lib/google/apis/dlp_v2/classes.rb', line 4394

def update!(**args)
  @file_extension = args[:file_extension] if args.key?(:file_extension)
end