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, part of the Google Cloud Data Loss Prevention v2 API, is designed to hold byte data for inspection or redaction processes.\u003c/p\u003e\n"],["\u003cp\u003eThis page provides reference documentation and code samples for various versions of the \u003ccode\u003eByteContentItem\u003c/code\u003e class, ranging from version 2.15.0 up to the latest version 4.16.0, as well as specific versions such as 4.7.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eByteContentItem\u003c/code\u003e implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits members from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eByteContentItem\u003c/code\u003e class has properties such as \u003ccode\u003eData\u003c/code\u003e, which contains the content to inspect or redact as a \u003ccode\u003eByteString\u003c/code\u003e, and \u003ccode\u003eType\u003c/code\u003e, which indicates the type of data stored in the bytes string.\u003c/p\u003e\n"],["\u003cp\u003eYou can construct a new instance of the class with the \u003ccode\u003eByteContentItem()\u003c/code\u003e constructor, and another \u003ccode\u003eByteContentItem()\u003c/code\u003e constructor that can copy the contents of another \u003ccode\u003eByteContentItem\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]