Class: DatadogAPIClient::V2::SensitiveDataScannerTextReplacement

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/sensitive_data_scanner_text_replacement.rb

Overview

Object describing how the scanned event will be replaced.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



39
40
41
# File 'lib/datadog_api_client/v2/models/sensitive_data_scanner_text_replacement.rb', line 39

def additional_properties
  @additional_properties
end

#number_of_charsObject

Required if type == 'partial_replacement_from_beginning' or 'partial_replacement_from_end'. It must be > 0.



26
27
28
# File 'lib/datadog_api_client/v2/models/sensitive_data_scanner_text_replacement.rb', line 26

def number_of_chars
  @number_of_chars
end

#replacement_stringObject

Required if type == 'replacement_string'.



29
30
31
# File 'lib/datadog_api_client/v2/models/sensitive_data_scanner_text_replacement.rb', line 29

def replacement_string
  @replacement_string
end

#typeObject

Type of the replacement text. None means no replacement. hash means the data will be stubbed. replacement_string means that one can chose a text to replace the data. partial_replacement_from_beginning allows a user to partially replace the data from the beginning, and partial_replacement_from_end on the other hand, allows to replace data from the end.



37
38
39
# File 'lib/datadog_api_client/v2/models/sensitive_data_scanner_text_replacement.rb', line 37

def type
  @type
end