Class: DatadogAPIClient::V2::SensitiveDataScannerTextReplacement
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::SensitiveDataScannerTextReplacement
- 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
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#number_of_chars ⇒ Object
readonly
Required if type == 'partial_replacement_from_beginning' or 'partial_replacement_from_end'.
-
#replacement_string ⇒ Object
Required if type == 'replacement_string'.
-
#type ⇒ Object
Type of the replacement text.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
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_chars ⇒ Object
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_string ⇒ Object
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 |
#type ⇒ Object
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 |