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 message google.privacy.dlp.v2.Value
Namespace
Google \ Cloud \ Dlp \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ integer_value
int|string
integer
↳ float_value
float
float
↳ string_value
string
string
↳ boolean_value
bool
boolean
↳ timestamp_value
↳ time_value
↳ date_value
↳ day_of_week_value
int
day of week
getIntegerValue
integer
int|string
hasIntegerValue
setIntegerValue
integer
var
int|string
$this
getFloatValue
float
float
hasFloatValue
setFloatValue
float
var
float
$this
getStringValue
string
string
hasStringValue
setStringValue
string
var
string
$this
getBooleanValue
boolean
bool
hasBooleanValue
setBooleanValue
boolean
var
bool
$this
getTimestampValue
timestamp
hasTimestampValue
setTimestampValue
timestamp
$this
getTimeValue
time of day
hasTimeValue
setTimeValue
time of day
$this
getDateValue
date
hasDateValue
setDateValue
date
$this
getDayOfWeekValue
day of week
int
hasDayOfWeekValue
setDayOfWeekValue
day of week
var
int
$this
getType
string