diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index d1ea8725c69..fac0ebcd514 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -31470,6 +31470,10 @@ components: items: $ref: '#/components/schemas/ObservabilityPipelineConfigSourceItem' type: array + use_legacy_search_syntax: + description: Use this field to configure the pipeline's filter queries to + use the deprecated search syntax. + type: boolean required: - sources - destinations diff --git a/lib/datadog_api_client/v2/models/observability_pipeline_config.rb b/lib/datadog_api_client/v2/models/observability_pipeline_config.rb index 5f34d5e2da9..f7ec570fd9b 100644 --- a/lib/datadog_api_client/v2/models/observability_pipeline_config.rb +++ b/lib/datadog_api_client/v2/models/observability_pipeline_config.rb @@ -30,6 +30,9 @@ class ObservabilityPipelineConfig # A list of configured data sources for the pipeline. attr_reader :sources + # Use this field to configure the pipeline's filter queries to use the deprecated search syntax. + attr_accessor :use_legacy_search_syntax + attr_accessor :additional_properties # Attribute mapping from ruby-style variable name to JSON key. @@ -38,7 +41,8 @@ def self.attribute_map { :'destinations' => :'destinations', :'processors' => :'processors', - :'sources' => :'sources' + :'sources' => :'sources', + :'use_legacy_search_syntax' => :'use_legacy_search_syntax' } end @@ -48,7 +52,8 @@ def self.openapi_types { :'destinations' => :'Array', :'processors' => :'Array', - :'sources' => :'Array' + :'sources' => :'Array', + :'use_legacy_search_syntax' => :'Boolean' } end @@ -87,6 +92,10 @@ def initialize(attributes = {}) self.sources = value end end + + if attributes.key?(:'use_legacy_search_syntax') + self.use_legacy_search_syntax = attributes[:'use_legacy_search_syntax'] + end end # Check to see if the all the properties in the model are valid @@ -147,6 +156,7 @@ def ==(o) destinations == o.destinations && processors == o.processors && sources == o.sources && + use_legacy_search_syntax == o.use_legacy_search_syntax && additional_properties == o.additional_properties end @@ -154,7 +164,7 @@ def ==(o) # @return [Integer] Hash code # @!visibility private def hash - [destinations, processors, sources, additional_properties].hash + [destinations, processors, sources, use_legacy_search_syntax, additional_properties].hash end end end