public sealed class Value : IMessage<Value>, IEquatable<Value>, IDeepCloneable<Value>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API 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.
Namespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Constructors
Value()
public Value()
Value(Value)
public Value(Value other)
Properties
BooleanValue
public bool BooleanValue { get; set; }
boolean
DateValue
public Date DateValue { get; set; }
date
DayOfWeekValue
public DayOfWeek DayOfWeekValue { get; set; }
day of week
FloatValue
public double FloatValue { get; set; }
float
HasBooleanValue
public bool HasBooleanValue { get; }
Gets whether the "boolean_value" field is set
HasDayOfWeekValue
public bool HasDayOfWeekValue { get; }
Gets whether the "day_of_week_value" field is set
HasFloatValue
public bool HasFloatValue { get; }
Gets whether the "float_value" field is set
HasIntegerValue
public bool HasIntegerValue { get; }
Gets whether the "integer_value" field is set
HasStringValue
public bool HasStringValue { get; }
Gets whether the "string_value" field is set
IntegerValue
public long IntegerValue { get; set; }
integer
StringValue
public string StringValue { get; set; }
string
TimeValue
public TimeOfDay TimeValue { get; set; }
time of day
TimestampValue
public Timestamp TimestampValue { get; set; }
timestamp
TypeCase
public Value.TypeOneofCase TypeCase { get; }