Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1TaggedField

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

Overview

A column with a semantic tag attached.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2beta1TaggedField

Returns a new instance of GooglePrivacyDlpV2beta1TaggedField



3350
3351
3352
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3350

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)


3327
3328
3329
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3327

def custom_tag
  @custom_tag
end

#fieldGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId

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



3332
3333
3334
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3332

def field
  @field
end

#inferredGoogle::Apis::DlpV2beta1::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); The JSON representation for Empty is empty JSON object ```. Corresponds to the JSON propertyinferred`



3343
3344
3345
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3343

def inferred
  @inferred
end

#info_typeGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType

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



3348
3349
3350
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3348

def info_type
  @info_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3355
3356
3357
3358
3359
3360
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3355

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