Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::FileExtensionInfo (v1.3.0)

Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::FileExtensionInfo.

Information regarding the discovered file extension.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#file_extension

def file_extension() -> ::String
Returns
  • (::String) — The file extension if set. (aka .pdf, .jpg, .txt)

#file_extension=

def file_extension=(value) -> ::String
Parameter
  • value (::String) — The file extension if set. (aka .pdf, .jpg, .txt)
Returns
  • (::String) — The file extension if set. (aka .pdf, .jpg, .txt)