Class: Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationSummary
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationSummary
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2/classes.rb,
 generated/google/apis/dlp_v2/representations.rb,
 generated/google/apis/dlp_v2/representations.rb
Overview
Summary of a single tranformation. Only one of 'transformation', 'field_transformation', or 'record_suppress' will be set.
Instance Attribute Summary collapse
- 
  
    
      #field  ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    General identifier of a data field in a storage service. 
- 
  
    
      #field_transformations  ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldTransformation> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The field transformation that was applied. 
- 
  
    
      #info_type  ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Type of information detected by the API. 
- 
  
    
      #record_suppress  ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2RecordSuppression 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Configuration to suppress records whose suppression conditions evaluate to true. 
- 
  
    
      #results  ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2SummaryResult> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property results.
- 
  
    
      #transformation  ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2PrimitiveTransformation 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A rule for transforming a value. 
- 
  
    
      #transformed_bytes  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Total size in bytes that were transformed in some way. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GooglePrivacyDlpV2TransformationSummary 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GooglePrivacyDlpV2TransformationSummary. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2TransformationSummary
Returns a new instance of GooglePrivacyDlpV2TransformationSummary
| 4519 4520 4521 | # File 'generated/google/apis/dlp_v2/classes.rb', line 4519 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#field ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId
General identifier of a data field in a storage service.
Corresponds to the JSON property field
| 4484 4485 4486 | # File 'generated/google/apis/dlp_v2/classes.rb', line 4484 def field @field end | 
#field_transformations ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldTransformation>
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
| 4491 4492 4493 | # File 'generated/google/apis/dlp_v2/classes.rb', line 4491 def field_transformations @field_transformations end | 
#info_type ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType
Type of information detected by the API.
Corresponds to the JSON property infoType
| 4496 4497 4498 | # File 'generated/google/apis/dlp_v2/classes.rb', line 4496 def info_type @info_type end | 
#record_suppress ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2RecordSuppression
Configuration to suppress records whose suppression conditions evaluate to
true.
Corresponds to the JSON property recordSuppress
| 4502 4503 4504 | # File 'generated/google/apis/dlp_v2/classes.rb', line 4502 def record_suppress @record_suppress end | 
#results ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2SummaryResult>
Corresponds to the JSON property results
| 4507 4508 4509 | # File 'generated/google/apis/dlp_v2/classes.rb', line 4507 def results @results end | 
#transformation ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2PrimitiveTransformation
A rule for transforming a value.
Corresponds to the JSON property transformation
| 4512 4513 4514 | # File 'generated/google/apis/dlp_v2/classes.rb', line 4512 def transformation @transformation end | 
#transformed_bytes ⇒ Fixnum
Total size in bytes that were transformed in some way.
Corresponds to the JSON property transformedBytes
| 4517 4518 4519 | # File 'generated/google/apis/dlp_v2/classes.rb', line 4517 def transformed_bytes @transformed_bytes end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 4524 4525 4526 4527 4528 4529 4530 4531 4532 | # File 'generated/google/apis/dlp_v2/classes.rb', line 4524 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 |