public sealed class ByteContentItem : IMessage<ByteContentItem>, IEquatable<ByteContentItem>, IDeepCloneable<ByteContentItem>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class ByteContentItem.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eByteContentItem\u003c/code\u003e class is part of the Google Cloud Data Loss Prevention (DLP) v2 API, serving as a container for byte data that can be inspected or redacted.\u003c/p\u003e\n"],["\u003cp\u003eThe latest available version is 4.16.0, and the documentation lists several older versions, including 4.6.0, which the current page is focused on, and goes back as far as version 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eByteContentItem\u003c/code\u003e class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eByteContentItem\u003c/code\u003e include \u003ccode\u003eData\u003c/code\u003e for content bytes and \u003ccode\u003eType\u003c/code\u003e for specifying the format of the stored byte string, with \u003ccode\u003eTEXT_UTF8\u003c/code\u003e as the default.\u003c/p\u003e\n"],["\u003cp\u003eConstructors are provided for creating a new instance or a copy of a \u003ccode\u003eByteContentItem\u003c/code\u003e, with the latter accepting another \u003ccode\u003eByteContentItem\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,[]]