Enum FileType (3.10.0)

public enum FileType extends Enum<FileType> implements ProtocolMessageEnum

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

Protobuf enum google.privacy.dlp.v2.FileType

Implements

ProtocolMessageEnum

Static Fields

NameDescription
AVRO

Included file extensions: avro

AVRO = 7;

AVRO_VALUE

Included file extensions: avro

AVRO = 7;

BINARY_FILE

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.

BINARY_FILE = 1;

BINARY_FILE_VALUE

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.

BINARY_FILE = 1;

CSV

Included file extensions: csv

CSV = 8;

CSV_VALUE

Included file extensions: csv

CSV = 8;

EXCEL

Excel files >30 MB will be scanned as binary files. Included file extensions: xlsx, xlsm, xltx, xltm

EXCEL = 12;

EXCEL_VALUE

Excel files >30 MB will be scanned as binary files. Included file extensions: xlsx, xlsm, xltx, xltm

EXCEL = 12;

FILE_TYPE_UNSPECIFIED

Includes all files.

FILE_TYPE_UNSPECIFIED = 0;

FILE_TYPE_UNSPECIFIED_VALUE

Includes all files.

FILE_TYPE_UNSPECIFIED = 0;

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'.

IMAGE = 3;

IMAGE_VALUE

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'.

IMAGE = 3;

PDF

PDF files >30 MB will be scanned as binary files. Included file extensions: pdf

PDF = 6;

PDF_VALUE

PDF files >30 MB will be scanned as binary files. Included file extensions: pdf

PDF = 6;

POWERPOINT

Powerpoint files >30 MB will be scanned as binary files. Included file extensions: pptx, pptm, potx, potm, pot

POWERPOINT = 11;

POWERPOINT_VALUE

Powerpoint files >30 MB will be scanned as binary files. Included file extensions: pptx, pptm, potx, potm, pot

POWERPOINT = 11;

TEXT_FILE

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.

TEXT_FILE = 2;

TEXT_FILE_VALUE

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.

TEXT_FILE = 2;

TSV

Included file extensions: tsv

TSV = 9;

TSV_VALUE

Included file extensions: tsv

TSV = 9;

UNRECOGNIZED
WORD

Word files >30 MB will be scanned as binary files. Included file extensions: docx, dotx, docm, dotm

WORD = 5;

WORD_VALUE

Word files >30 MB will be scanned as binary files. Included file extensions: docx, dotx, docm, dotm

WORD = 5;

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()