Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TransformationSummary

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

Overview

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

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

Returns a new instance of GooglePrivacyDlpV2beta2TransformationSummary



5166
5167
5168
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5166

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

Instance Attribute Details

#fieldGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId

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



5131
5132
5133
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5131

def field
  @field
end

#field_transformationsArray<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldTransformation>

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



5138
5139
5140
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5138

def field_transformations
  @field_transformations
end

#info_typeGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType

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



5143
5144
5145
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5143

def info_type
  @info_type
end

#record_suppressGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RecordSuppression

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



5149
5150
5151
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5149

def record_suppress
  @record_suppress
end

#resultsArray<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2SummaryResult>

Corresponds to the JSON property results



5154
5155
5156
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5154

def results
  @results
end

#transformationGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrimitiveTransformation

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



5159
5160
5161
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5159

def transformation
  @transformation
end

#transformed_bytesFixnum

Total size in bytes that were transformed in some way. Corresponds to the JSON property transformedBytes

Returns:

  • (Fixnum)


5164
5165
5166
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5164

def transformed_bytes
  @transformed_bytes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5171
5172
5173
5174
5175
5176
5177
5178
5179
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5171

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