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\u003eThe latest version available for the Google Cloud Data Loss Prevention v2 API class Value is 4.16.0, with a history of versions dating back to 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eValue\u003c/code\u003e class represents a set of primitive values, and its byte size is determined by its UTF-8 encoded string representation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eValue\u003c/code\u003e class supports multiple data types, including boolean, date, day of the week, float, integer, string, time of day, and timestamp values.\u003c/p\u003e\n"],["\u003cp\u003eThe class allows you to check if specific fields like \u003ccode\u003eboolean_value\u003c/code\u003e, \u003ccode\u003eday_of_week_value\u003c/code\u003e, \u003ccode\u003efloat_value\u003c/code\u003e, \u003ccode\u003einteger_value\u003c/code\u003e, and \u003ccode\u003estring_value\u003c/code\u003e are set using properties such as \u003ccode\u003eHasBooleanValue\u003c/code\u003e and others.\u003c/p\u003e\n"],["\u003cp\u003eThe class has constructors that allow for the creation of \u003ccode\u003eValue\u003c/code\u003e objects, both with default values and by cloning an existing \u003ccode\u003eValue\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]