@@ -30,6 +30,9 @@ class ObservabilityPipelineConfig
3030 # A list of configured data sources for the pipeline.
3131 attr_reader :sources
3232
33+ # Use this field to configure the pipeline's filter queries to use the deprecated search syntax.
34+ attr_accessor :use_legacy_search_syntax
35+
3336 attr_accessor :additional_properties
3437
3538 # Attribute mapping from ruby-style variable name to JSON key.
@@ -38,7 +41,8 @@ def self.attribute_map
3841 {
3942 :'destinations' => :'destinations' ,
4043 :'processors' => :'processors' ,
41- :'sources' => :'sources'
44+ :'sources' => :'sources' ,
45+ :'use_legacy_search_syntax' => :'use_legacy_search_syntax'
4246 }
4347 end
4448
@@ -48,7 +52,8 @@ def self.openapi_types
4852 {
4953 :'destinations' => :'Array<ObservabilityPipelineConfigDestinationItem>' ,
5054 :'processors' => :'Array<ObservabilityPipelineConfigProcessorItem>' ,
51- :'sources' => :'Array<ObservabilityPipelineConfigSourceItem>'
55+ :'sources' => :'Array<ObservabilityPipelineConfigSourceItem>' ,
56+ :'use_legacy_search_syntax' => :'Boolean'
5257 }
5358 end
5459
@@ -87,6 +92,10 @@ def initialize(attributes = {})
8792 self . sources = value
8893 end
8994 end
95+
96+ if attributes . key? ( :'use_legacy_search_syntax' )
97+ self . use_legacy_search_syntax = attributes [ :'use_legacy_search_syntax' ]
98+ end
9099 end
91100
92101 # Check to see if the all the properties in the model are valid
@@ -147,14 +156,15 @@ def ==(o)
147156 destinations == o . destinations &&
148157 processors == o . processors &&
149158 sources == o . sources &&
159+ use_legacy_search_syntax == o . use_legacy_search_syntax &&
150160 additional_properties == o . additional_properties
151161 end
152162
153163 # Calculates hash code according to all attributes.
154164 # @return [Integer] Hash code
155165 # @!visibility private
156166 def hash
157- [ destinations , processors , sources , additional_properties ] . hash
167+ [ destinations , processors , sources , use_legacy_search_syntax , additional_properties ] . hash
158168 end
159169 end
160170end
0 commit comments