Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1TransformationSummary

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

Summary of a single tranformation.

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) ⇒ GooglePrivacyDlpV2beta1TransformationSummary

Returns a new instance of GooglePrivacyDlpV2beta1TransformationSummary



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

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

Instance Attribute Details

#fieldGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId

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



3299
3300
3301
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3299

def field
  @field
end

#field_transformationsArray<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldTransformation>

The field transformation that was applied. This list will contain multiple only in the case of errors. Corresponds to the JSON property fieldTransformations



3305
3306
3307
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3305

def field_transformations
  @field_transformations
end

#info_typeGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType

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



3310
3311
3312
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3310

def info_type
  @info_type
end

#record_suppressGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordSuppression

Configuration to suppress records whose suppression conditions evaluate to true. Corresponds to the JSON property recordSuppress



3316
3317
3318
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3316

def record_suppress
  @record_suppress
end

#resultsArray<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1SummaryResult>

Corresponds to the JSON property results



3321
3322
3323
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3321

def results
  @results
end

#transformationGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PrimitiveTransformation

A rule for transforming a value. Corresponds to the JSON property transformation



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

def transformation
  @transformation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3333
3334
3335
3336
3337
3338
3339
3340
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3333

def update!(**args)
  @field = args[:field] if args.key?(:field)
  @field_transformations = args[:field_transformations] if args.key?(:field_transformations)
  @info_type = args[:info_type] if args.key?(:info_type)
  @record_suppress = args[:record_suppress] if args.key?(:record_suppress)
  @results = args[:results] if args.key?(:results)
  @transformation = args[:transformation] if args.key?(:transformation)
end