Class: DatadogAPIClient::V1::LogsArrayMapAttributeRemapper
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::LogsArrayMapAttributeRemapper
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/logs_array_map_attribute_remapper.rb
Overview
An attribute remapper sub-processor for use inside an array-map processor.
Unlike the top-level attribute remapper, is_enabled, source_type, and
target_type are not supported.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#name ⇒ Object
Name of the sub-processor.
-
#override_on_conflict ⇒ Object
Override the target element if already set.
-
#preserve_source ⇒ Object
Remove or preserve the remapped source element.
-
#sources ⇒ Object
readonly
Array of source attribute paths.
-
#target ⇒ Object
readonly
Target attribute path.
-
#target_format ⇒ Object
If the
target_typeof the remapper isattribute, try to cast the value to a new specific type. -
#type ⇒ Object
readonly
Type of logs attribute remapper.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
49 50 51 |
# File 'lib/datadog_api_client/v1/models/logs_array_map_attribute_remapper.rb', line 49 def additional_properties @additional_properties end |
#name ⇒ Object
Name of the sub-processor.
27 28 29 |
# File 'lib/datadog_api_client/v1/models/logs_array_map_attribute_remapper.rb', line 27 def name @name end |
#override_on_conflict ⇒ Object
Override the target element if already set.
30 31 32 |
# File 'lib/datadog_api_client/v1/models/logs_array_map_attribute_remapper.rb', line 30 def override_on_conflict @override_on_conflict end |
#preserve_source ⇒ Object
Remove or preserve the remapped source element.
33 34 35 |
# File 'lib/datadog_api_client/v1/models/logs_array_map_attribute_remapper.rb', line 33 def preserve_source @preserve_source end |
#sources ⇒ Object
Array of source attribute paths.
36 37 38 |
# File 'lib/datadog_api_client/v1/models/logs_array_map_attribute_remapper.rb', line 36 def sources @sources end |
#target ⇒ Object
Target attribute path.
39 40 41 |
# File 'lib/datadog_api_client/v1/models/logs_array_map_attribute_remapper.rb', line 39 def target @target end |
#target_format ⇒ Object
If the target_type of the remapper is attribute, try to cast the value to a new specific type.
If the cast is not possible, the original type is kept. string, integer, or double are the possible types.
If the target_type is tag, this parameter may not be specified.
44 45 46 |
# File 'lib/datadog_api_client/v1/models/logs_array_map_attribute_remapper.rb', line 44 def target_format @target_format end |
#type ⇒ Object
Type of logs attribute remapper.
47 48 49 |
# File 'lib/datadog_api_client/v1/models/logs_array_map_attribute_remapper.rb', line 47 def type @type end |