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 is 4.16.0, with numerous previous versions also listed, including 4.8.0 which is the version featured on the main body of the content.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eValue\u003c/code\u003e class in the Google Cloud Data Loss Prevention v2 API is a set of primitive values supported by the system and its size in bytes is based on its UTF-8 string representation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eValue\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits members from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eValue\u003c/code\u003e class has properties for various data types, including \u003ccode\u003eBooleanValue\u003c/code\u003e, \u003ccode\u003eDateValue\u003c/code\u003e, \u003ccode\u003eDayOfWeekValue\u003c/code\u003e, \u003ccode\u003eFloatValue\u003c/code\u003e, \u003ccode\u003eIntegerValue\u003c/code\u003e, \u003ccode\u003eStringValue\u003c/code\u003e, \u003ccode\u003eTimeValue\u003c/code\u003e, and \u003ccode\u003eTimestampValue\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eValue\u003c/code\u003e class has several getter properties to identify if certain fields are set or not such as \u003ccode\u003eHasBooleanValue\u003c/code\u003e, \u003ccode\u003eHasDayOfWeekValue\u003c/code\u003e, \u003ccode\u003eHasFloatValue\u003c/code\u003e, \u003ccode\u003eHasIntegerValue\u003c/code\u003e, \u003ccode\u003eHasStringValue\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]