Cloud Data Loss Prevention (Cloud DLP) is now a part of Sensitive Data Protection. The API name remains the same: Cloud Data Loss Prevention API (DLP API). For information about the services that make up Sensitive Data Protection, see
Sensitive Data Protection overview .
Send feedback
ByteContentItem
Stay organized with collections
Save and categorize content based on your preferences.
Container for bytes to inspect or redact.
JSON representation
{
"type" : enum (BytesType
) ,
"data" : string
}
Fields
type
enum (BytesType
)
The type of data stored in the bytes string. Default will be TEXT_UTF8.
data
string (bytes format)
Content data to inspect or redact.
A base64-encoded string.
BytesType
Enums
BYTES_TYPE_UNSPECIFIED
Unused
IMAGE
Any image type.
IMAGE_JPEG
jpeg
IMAGE_BMP
bmp
IMAGE_PNG
png
IMAGE_SVG
svg
TEXT_UTF8
plain text
WORD_DOCUMENT
docx, docm, dotx, dotm
PDF
pdf
POWERPOINT_DOCUMENT
pptx, pptm, potx, potm, pot
EXCEL_DOCUMENT
xlsx, xlsm, xltx, xltm
AVRO
avro
CSV
csv
TSV
tsv
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-05-07 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?