public sealed class Value : IMessage<Value>, IEquatable<Value>, IDeepCloneable<Value>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class Value.
Set of primitive values supported by the system.
Note that for the purposes of inspection or transformation, the number
of bytes considered to comprise a 'Value' is based on its representation
as a UTF-8 encoded string. For example, if 'integer_value' is set to
123456789, the number of bytes would be counted as 9, even though an
int64 only holds up to 8 bytes of data.
[[["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-09-04 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eValue\u003c/code\u003e class within the Google Cloud Data Loss Prevention v2 API, specifically for .NET development.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API documented here is 4.16.0, with versions ranging down to 2.15.0 also available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eValue\u003c/code\u003e class represents a set of primitive data types that the system supports, which are represented as UTF-8 encoded strings for byte-counting purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eValue\u003c/code\u003e class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<Value>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<Value>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and it provides properties to represent various data types like \u003ccode\u003eBoolean\u003c/code\u003e, \u003ccode\u003eDate\u003c/code\u003e, \u003ccode\u003eDayOfWeek\u003c/code\u003e, \u003ccode\u003eFloat\u003c/code\u003e, \u003ccode\u003eInteger\u003c/code\u003e, \u003ccode\u003eString\u003c/code\u003e, \u003ccode\u003eTime\u003c/code\u003e, and \u003ccode\u003eTimestamp\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eValue\u003c/code\u003e class has an option for different types of values, including boolean, day of the week, float, integer, and string values, which can be identified using the \u003ccode\u003eHas...Value\u003c/code\u003e getters for each type, or the \u003ccode\u003eTypeCase\u003c/code\u003e getter.\u003c/p\u003e\n"]]],[],null,[]]