Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::Value (v0.17.0)

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
Returns
  • (::Boolean) — boolean

#boolean_value=

defboolean_value=(value)->::Boolean
Parameter
  • value (::Boolean) — boolean
Returns
  • (::Boolean) — boolean

#date_value

defdate_value()->::Google::Type::Date
Returns

#date_value=

defdate_value=(value)->::Google::Type::Date
Parameter
Returns

#day_of_week_value

defday_of_week_value()->::Google::Type::DayOfWeek
Returns

#day_of_week_value=

defday_of_week_value=(value)->::Google::Type::DayOfWeek
Parameter
Returns

#float_value

deffloat_value()->::Float
Returns
  • (::Float) — float

#float_value=

deffloat_value=(value)->::Float
Parameter
  • value (::Float) — float
Returns
  • (::Float) — float

#integer_value

definteger_value()->::Integer
Returns
  • (::Integer) — integer

#integer_value=

definteger_value=(value)->::Integer
Parameter
  • value (::Integer) — integer
Returns
  • (::Integer) — integer

#string_value

defstring_value()->::String
Returns
  • (::String) — string

#string_value=

defstring_value=(value)->::String
Parameter
  • value (::String) — string
Returns
  • (::String) — string

#time_value

deftime_value()->::Google::Type::TimeOfDay
Returns

#time_value=

deftime_value=(value)->::Google::Type::TimeOfDay
Parameter
Returns

#timestamp_value

deftimestamp_value()->::Google::Protobuf::Timestamp
Returns

#timestamp_value=

deftimestamp_value=(value)->::Google::Protobuf::Timestamp
Parameter
Returns

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.