Class: DatadogAPIClient::V1::LogsArrayMapAttributeRemapper

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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

#nameObject

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_conflictObject

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_sourceObject

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

#sourcesObject

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

#targetObject

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_formatObject

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

#typeObject

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