Class: Google::Cloud::Dlp::V2::Value
- Inherits:
-
Object
- Object
- Google::Cloud::Dlp::V2::Value
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/privacy/dlp/v2/dlp.rb
Overview
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.
Instance Attribute Summary collapse
-
#boolean_value ⇒ ::Boolean
Boolean.
-
#date_value ⇒ ::Google::Type::Date
Date.
-
#day_of_week_value ⇒ ::Google::Type::DayOfWeek
Day of week.
-
#float_value ⇒ ::Float
Float.
-
#integer_value ⇒ ::Integer
Integer.
-
#string_value ⇒ ::String
String.
-
#time_value ⇒ ::Google::Type::TimeOfDay
Time of day.
-
#timestamp_value ⇒ ::Google::Protobuf::Timestamp
Timestamp.
Instance Attribute Details
#boolean_value ⇒ ::Boolean
Returns boolean.
2096 2097 2098 2099 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2096 class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#date_value ⇒ ::Google::Type::Date
Returns date.
2096 2097 2098 2099 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2096 class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#day_of_week_value ⇒ ::Google::Type::DayOfWeek
Returns day of week.
2096 2097 2098 2099 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2096 class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#float_value ⇒ ::Float
Returns float.
2096 2097 2098 2099 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2096 class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#integer_value ⇒ ::Integer
Returns integer.
2096 2097 2098 2099 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2096 class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#string_value ⇒ ::String
Returns string.
2096 2097 2098 2099 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2096 class Value include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |