Show / Hide Table of Contents

Class GooglePrivacyDlpV2Condition

The field type of value and field do not need to match to be considered equal, but not all comparisons are possible. EQUAL_TO and NOT_EQUAL_TO attempt to compare even with incompatible types, but all other comparisons are invalid with incompatible types. A value of type: - string can be compared against all other types - boolean can only be compared against other booleans - integer can be compared against doubles or a string if the string value can be parsed as an integer. - double can be compared against integers or a string if the string can be parsed as a double. - Timestamp can be compared against strings in RFC 3339 date string format.

  • TimeOfDay can be compared against timestamps and strings in the format of 'HH:mm:ss'. If we fail to compare do to type mismatch, a warning will be given and the condition will evaluate to false.
Inheritance
object
GooglePrivacyDlpV2Condition
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DLP.v2.Data
Assembly: Google.Apis.DLP.v2.dll
Syntax
public class GooglePrivacyDlpV2Condition : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Field

Required. Field within the record this condition is evaluated against.

Declaration
[JsonProperty("field")]
public virtual GooglePrivacyDlpV2FieldId Field { get; set; }
Property Value
Type Description
GooglePrivacyDlpV2FieldId

Operator__

Required. Operator used to compare the field or infoType to the value.

Declaration
[JsonProperty("operator")]
public virtual string Operator__ { get; set; }
Property Value
Type Description
string

Value

Value to compare against. [Mandatory, except for EXISTS tests.]

Declaration
[JsonProperty("value")]
public virtual GooglePrivacyDlpV2Value Value { get; set; }
Property Value
Type Description
GooglePrivacyDlpV2Value

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX