Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::Value (v0.17.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#boolean_value
defboolean_value()->::Boolean- (::Boolean) — boolean
#boolean_value=
defboolean_value=(value)->::Boolean- value (::Boolean) — boolean
- (::Boolean) — boolean
#date_value
defdate_value()->::Google::Type::Date- (::Google::Type::Date) — date
#date_value=
defdate_value=(value)->::Google::Type::Date- value (::Google::Type::Date) — date
- (::Google::Type::Date) — date
#day_of_week_value
defday_of_week_value()->::Google::Type::DayOfWeek- (::Google::Type::DayOfWeek) — day of week
#day_of_week_value=
defday_of_week_value=(value)->::Google::Type::DayOfWeek- value (::Google::Type::DayOfWeek) — day of week
- (::Google::Type::DayOfWeek) — day of week
#float_value
deffloat_value()->::Float- (::Float) — float
#float_value=
deffloat_value=(value)->::Float- value (::Float) — float
- (::Float) — float
#integer_value
definteger_value()->::Integer- (::Integer) — integer
#integer_value=
definteger_value=(value)->::Integer- value (::Integer) — integer
- (::Integer) — integer
#string_value
defstring_value()->::String- (::String) — string
#string_value=
defstring_value=(value)->::String- value (::String) — string
- (::String) — string
#time_value
deftime_value()->::Google::Type::TimeOfDay- (::Google::Type::TimeOfDay) — time of day
#time_value=
deftime_value=(value)->::Google::Type::TimeOfDay- value (::Google::Type::TimeOfDay) — time of day
- (::Google::Type::TimeOfDay) — time of day
#timestamp_value
deftimestamp_value()->::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — timestamp
#timestamp_value=
deftimestamp_value=(value)->::Google::Protobuf::Timestamp- value (::Google::Protobuf::Timestamp) — timestamp
- (::Google::Protobuf::Timestamp) — timestamp