Class ByteContentItem (3.16.0)

ByteContentItem(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Container for bytes to inspect or redact.

Attributes

Name Description
type_ google.cloud.dlp_v2.types.ByteContentItem.BytesType
The type of data stored in the bytes string. Default will be TEXT_UTF8.
data bytes
Content data to inspect or redact.

Classes

BytesType

BytesType(value)

The type of data being sent for inspection. To learn more, see Supported file types <https://cloud.google.com/sensitive-data-protection/docs/supported-file-types>__.

Values: BYTES_TYPE_UNSPECIFIED (0): Unused IMAGE (6): Any image type. IMAGE_JPEG (1): jpeg IMAGE_BMP (2): bmp IMAGE_PNG (3): png IMAGE_SVG (4): svg TEXT_UTF8 (5): plain text WORD_DOCUMENT (7): docx, docm, dotx, dotm PDF (8): pdf POWERPOINT_DOCUMENT (9): pptx, pptm, potx, potm, pot EXCEL_DOCUMENT (10): xlsx, xlsm, xltx, xltm AVRO (11): avro CSV (12): csv TSV (13): tsv