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 version 4.12.0, and shows other versions from 2.15.0 to 4.16.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eValue\u003c/code\u003e class is a set of primitive data types used by the system, including boolean, date, day of week, float, integer, string, time of day, and timestamp types, all of which are contained within it.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes details on the class's constructors, such as \u003ccode\u003eValue()\u003c/code\u003e and \u003ccode\u003eValue(Value)\u003c/code\u003e, as well as its implemented interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e, which it inherits from.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eValue\u003c/code\u003e class has properties for each data type it supports, such as \u003ccode\u003eBooleanValue\u003c/code\u003e, \u003ccode\u003eDateValue\u003c/code\u003e, \u003ccode\u003eFloatValue\u003c/code\u003e, and others, and includes read-only properties to check if a field has been set, such as \u003ccode\u003eHasBooleanValue\u003c/code\u003e and \u003ccode\u003eHasFloatValue\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe number of bytes considered in a value is based on a UTF-8 string representation, even if the underlying type stores fewer bytes.\u003c/p\u003e\n"]]],[],null,[]]