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\u003eThis webpage provides reference documentation for the \u003ccode\u003eByteContentItem\u003c/code\u003e class within the Google Cloud Data Loss Prevention (DLP) v2 API, which is used for handling byte data for inspection or redaction.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers various versions of the API, ranging from version 2.15.0 up to the latest 4.16.0, with version 4.5.0 as the context version on the page.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eByteContentItem\u003c/code\u003e inherits from \u003ccode\u003eObject\u003c/code\u003e and 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.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eData\u003c/code\u003e (of type \u003ccode\u003eByteString\u003c/code\u003e) to store content data and \u003ccode\u003eType\u003c/code\u003e (of type \u003ccode\u003eByteContentItem.Types.BytesType\u003c/code\u003e) to specify the data type.\u003c/p\u003e\n"],["\u003cp\u003eTwo constructors are available, a default constructor and one that accepts another ByteContentItem as an argument.\u003c/p\u003e\n"]]],[],null,[]]