Reference documentation and code samples for the Data Loss Prevention V2 Client 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.
Generated from protobuf messagegoogle.privacy.dlp.v2.Value
[[["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."],[],[],null,["# Data Loss Prevention V2 Client - Class Value (2.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.1 (latest)](/php/docs/reference/cloud-dlp/latest/V2.Value)\n- [2.6.0](/php/docs/reference/cloud-dlp/2.6.0/V2.Value)\n- [2.4.1](/php/docs/reference/cloud-dlp/2.4.1/V2.Value)\n- [2.3.0](/php/docs/reference/cloud-dlp/2.3.0/V2.Value)\n- [2.2.3](/php/docs/reference/cloud-dlp/2.2.3/V2.Value)\n- [2.1.0](/php/docs/reference/cloud-dlp/2.1.0/V2.Value)\n- [2.0.0](/php/docs/reference/cloud-dlp/2.0.0/V2.Value)\n- [1.19.0](/php/docs/reference/cloud-dlp/1.19.0/V2.Value)\n- [1.18.0](/php/docs/reference/cloud-dlp/1.18.0/V2.Value)\n- [1.17.0](/php/docs/reference/cloud-dlp/1.17.0/V2.Value)\n- [1.16.0](/php/docs/reference/cloud-dlp/1.16.0/V2.Value)\n- [1.15.1](/php/docs/reference/cloud-dlp/1.15.1/V2.Value)\n- [1.14.0](/php/docs/reference/cloud-dlp/1.14.0/V2.Value)\n- [1.13.2](/php/docs/reference/cloud-dlp/1.13.2/V2.Value)\n- [1.12.0](/php/docs/reference/cloud-dlp/1.12.0/V2.Value)\n- [1.11.0](/php/docs/reference/cloud-dlp/1.11.0/V2.Value)\n- [1.10.2](/php/docs/reference/cloud-dlp/1.10.2/V2.Value)\n- [1.9.0](/php/docs/reference/cloud-dlp/1.9.0/V2.Value)\n- [1.8.6](/php/docs/reference/cloud-dlp/1.8.6/V2.Value) \nReference documentation and code samples for the Data Loss Prevention V2 Client class Value.\n\nSet of primitive values supported by the system.\n\nNote that for the purposes of inspection or transformation, the number\nof bytes considered to comprise a 'Value' is based on its representation\nas a UTF-8 encoded string. For example, if 'integer_value' is set to\n123456789, the number of bytes would be counted as 9, even though an\nint64 only holds up to 8 bytes of data.\n\nGenerated from protobuf message `google.privacy.dlp.v2.Value`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dlp \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getIntegerValue\n\ninteger\n\n### hasIntegerValue\n\n### setIntegerValue\n\ninteger\n\n### getFloatValue\n\nfloat\n\n### hasFloatValue\n\n### setFloatValue\n\nfloat\n\n### getStringValue\n\nstring\n\n### hasStringValue\n\n### setStringValue\n\nstring\n\n### getBooleanValue\n\nboolean\n\n### hasBooleanValue\n\n### setBooleanValue\n\nboolean\n\n### getTimestampValue\n\ntimestamp\n\n### hasTimestampValue\n\n### setTimestampValue\n\ntimestamp\n\n### getTimeValue\n\ntime of day\n\n### hasTimeValue\n\n### setTimeValue\n\ntime of day\n\n### getDateValue\n\ndate\n\n### hasDateValue\n\n### setDateValue\n\ndate\n\n### getDayOfWeekValue\n\nday of week\n\n### hasDayOfWeekValue\n\n### setDayOfWeekValue\n\nday of week\n\n### getType"]]