Class: Google::Apis::DlpV2::GooglePrivacyDlpV2QuasiId

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb

Overview

A column with a semantic tag attached.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2QuasiId

Returns a new instance of GooglePrivacyDlpV2QuasiId.



8208
8209
8210
# File 'lib/google/apis/dlp_v2/classes.rb', line 8208

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#custom_tagString

A column can be tagged with a custom tag. In this case, the user must indicate an auxiliary table that contains statistical information on the possible values of this column (below). Corresponds to the JSON property customTag

Returns:

  • (String)


8188
8189
8190
# File 'lib/google/apis/dlp_v2/classes.rb', line 8188

def custom_tag
  @custom_tag
end

#fieldGoogle::Apis::DlpV2::GooglePrivacyDlpV2FieldId

General identifier of a data field in a storage service. Corresponds to the JSON property field



8193
8194
8195
# File 'lib/google/apis/dlp_v2/classes.rb', line 8193

def field
  @field
end

#inferredGoogle::Apis::DlpV2::GoogleProtobufEmpty

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo rpc Bar(google. protobuf.Empty) returns (google.protobuf.Empty); Corresponds to the JSON property inferred



8201
8202
8203
# File 'lib/google/apis/dlp_v2/classes.rb', line 8201

def inferred
  @inferred
end

#info_typeGoogle::Apis::DlpV2::GooglePrivacyDlpV2InfoType

Type of information detected by the API. Corresponds to the JSON property infoType



8206
8207
8208
# File 'lib/google/apis/dlp_v2/classes.rb', line 8206

def info_type
  @info_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8213
8214
8215
8216
8217
8218
# File 'lib/google/apis/dlp_v2/classes.rb', line 8213

def update!(**args)
  @custom_tag = args[:custom_tag] if args.key?(:custom_tag)
  @field = args[:field] if args.key?(:field)
  @inferred = args[:inferred] if args.key?(:inferred)
  @info_type = args[:info_type] if args.key?(:info_type)
end