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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-24 UTC."],[[["The `ByteContentItem` 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."],["The 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."],["The `ByteContentItem` class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from `object`."],["Key properties of `ByteContentItem` include `Data` for content bytes and `Type` for specifying the format of the stored byte string, with `TEXT_UTF8` as the default."],["Constructors are provided for creating a new instance or a copy of a `ByteContentItem`, with the latter accepting another `ByteContentItem` as a parameter."]]],[]]