Enum FileType (3.3.0)

public enum FileType

Definitions of file type groups to scan. New types will be added to this list.

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Fields

NameDescription
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

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

TextFile

Included file extensions: asc, brf, c, cc, cpp, csv, cxx, c++, cs, css, dart, eml, go, h, hh, hpp, hxx, h++, hs, html, htm, shtml, shtm, xhtml, lhs, ini, java, js, json, ocaml, md, mkd, markdown, m, ml, mli, pl, pm, php, phtml, pht, py, pyw, rb, rbw, rs, rc, scala, sh, sql, tex, txt, text, tsv, vcard, vcs, wml, 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