class Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationSummary

Summary of a single transformation. Only one of 'transformation', ' field_transformation', or 'record_suppress' will be set.

Attributes

field[RW]

General identifier of a data field in a storage service. Corresponds to the JSON property `field` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId]

field_transformations[RW]

The field transformation that was applied. If multiple field transformations are requested for a single field, this list will contain all of them; otherwise, only one is supplied. Corresponds to the JSON property `fieldTransformations` @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldTransformation>]

info_type[RW]

Type of information detected by the API. Corresponds to the JSON property `infoType` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]

record_suppress[RW]

Configuration to suppress records whose suppression conditions evaluate to true. Corresponds to the JSON property `recordSuppress` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RecordSuppression]

results[RW]

Collection of all transformations that took place or had an error. Corresponds to the JSON property `results` @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2SummaryResult>]

transformation[RW]

A rule for transforming a value. Corresponds to the JSON property `transformation` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PrimitiveTransformation]

transformed_bytes[RW]

Total size in bytes that were transformed in some way. Corresponds to the JSON property `transformedBytes` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dlp_v2/classes.rb, line 6148
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dlp_v2/classes.rb, line 6153
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)
  @transformed_bytes = args[:transformed_bytes] if args.key?(:transformed_bytes)
end