public enum FileType
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API enum FileType.
Definitions of file type groups to scan. New types will be added to this list.
Namespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Fields | |
---|---|
Name | Description |
Avro | Included file extensions: avro |
BinaryFile | Includes all file extensions not covered by another entry. Binary scanning attempts to convert the content of the file to utf_8 to scan the file. If you wish to avoid this fall back, specify one or more of the other FileType's in your storage scan. |
Csv | Included file extensions: csv |
Excel | Excel files >30 MB will be scanned as binary files. Included file extensions: xlsx, xlsm, xltx, xltm |
Image | Included file extensions: bmp, gif, jpg, jpeg, jpe, png. bytes_limit_per_file has no effect on image files. Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. |
Pdf | PDF files >30 MB will be scanned as binary files. Included file extensions: pdf |
Powerpoint | Powerpoint files >30 MB will be scanned as binary files. Included file extensions: pptx, pptm, potx, potm, pot |
TextFile | Included file extensions: asc,asp, aspx, brf, c, cc,cfm, cgi, cpp, csv, cxx, c++, cs, css, dart, dat, dot, eml,, epbub, ged, go, h, hh, hpp, hxx, h++, hs, html, htm, mkd, markdown, m, ml, mli, perl, pl, plist, pm, php, phtml, pht, properties, py, pyw, rb, rbw, rs, rss, rc, scala, sh, sql, swift, tex, shtml, shtm, xhtml, lhs, ics, ini, java, js, json, kix, kml, ocaml, md, txt, text, tsv, vb, vcard, vcs, wml, xcodeproj, xml, xsl, xsd, yml, yaml. |
Tsv | Included file extensions: tsv |
Unspecified | Includes all files. |
Word | Word files >30 MB will be scanned as binary files. Included file extensions: docx, dotx, docm, dotm |