datadog_api_client 2.48.0 → 2.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.generator/schemas/v1/openapi.yaml +424 -44
- data/.generator/schemas/v2/openapi.yaml +2290 -500
- data/CHANGELOG.md +25 -0
- data/examples/v1/dashboards/CreateDashboard_1093147852.rb +66 -0
- data/examples/v1/dashboards/CreateDashboard_1442588603.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_1617893815.rb +61 -0
- data/examples/v1/dashboards/CreateDashboard_1712853070.rb +66 -0
- data/examples/v1/dashboards/CreateDashboard_2345541687.rb +65 -0
- data/examples/v1/dashboards/CreateDashboard_252716965.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_2617251399.rb +66 -0
- data/examples/v1/dashboards/CreateDashboard_2823363212.rb +55 -0
- data/examples/v1/dashboards/CreateDashboard_3882428227.rb +1 -1
- data/examples/v1/monitors/CreateMonitor_3626832481.rb +33 -0
- data/examples/v1/synthetics/CreateSyntheticsAPITest_2106135939.rb +49 -0
- data/examples/v1/tags/GetHostTags.rb +1 -1
- data/examples/v1/tags/ListHostTags.rb +1 -1
- data/examples/v2/aws-integration/CreateAWSAccount.rb +0 -11
- data/examples/v2/aws-integration/CreateAWSAccount_1716720881.rb +0 -11
- data/examples/v2/aws-integration/UpdateAWSAccount.rb +0 -11
- data/examples/v2/observability-pipelines/CreatePipeline.rb +1 -1
- data/examples/v2/observability-pipelines/UpdatePipeline.rb +1 -1
- data/examples/v2/observability-pipelines/ValidatePipeline.rb +1 -1
- data/examples/v2/reference-tables/UpdateReferenceTable.rb +0 -1
- data/examples/v2/reference-tables/UpsertRows.rb +1 -3
- data/examples/v2/security-monitoring/CreateSecurityMonitoringCriticalAsset.rb +20 -0
- data/examples/v2/security-monitoring/DeleteSecurityMonitoringCriticalAsset.rb +8 -0
- data/examples/v2/security-monitoring/GetCriticalAssetsAffectingRule.rb +8 -0
- data/examples/v2/security-monitoring/GetSecurityMonitoringCriticalAsset.rb +8 -0
- data/examples/v2/security-monitoring/ListSecurityFindings.rb +5 -0
- data/examples/v2/security-monitoring/ListSecurityFindings_2925663885.rb +8 -0
- data/examples/v2/security-monitoring/ListSecurityMonitoringCriticalAssets.rb +5 -0
- data/examples/v2/security-monitoring/SearchSecurityFindings.rb +13 -0
- data/examples/v2/security-monitoring/SearchSecurityFindings_3678541639.rb +16 -0
- data/examples/v2/security-monitoring/UpdateSecurityMonitoringCriticalAsset.rb +24 -0
- data/examples/v2/spa/GetSPARecommendations.rb +1 -1
- data/examples/v2/spa/GetSPARecommendationsWithShard.rb +8 -0
- data/lib/datadog_api_client/configuration.rb +7 -6
- data/lib/datadog_api_client/inflector.rb +79 -6
- data/lib/datadog_api_client/v1/api/tags_api.rb +17 -17
- data/lib/datadog_api_client/v1/models/bar_chart_widget_definition.rb +216 -0
- data/lib/datadog_api_client/v1/models/bar_chart_widget_definition_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/bar_chart_widget_display.rb +63 -0
- data/lib/datadog_api_client/v1/models/bar_chart_widget_flat.rb +123 -0
- data/lib/datadog_api_client/v1/models/bar_chart_widget_flat_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/bar_chart_widget_legend.rb +28 -0
- data/lib/datadog_api_client/v1/models/bar_chart_widget_request.rb +261 -0
- data/lib/datadog_api_client/v1/models/bar_chart_widget_scaling.rb +27 -0
- data/lib/datadog_api_client/v1/models/bar_chart_widget_stacked.rb +133 -0
- data/lib/datadog_api_client/v1/models/bar_chart_widget_stacked_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/bar_chart_widget_style.rb +125 -0
- data/lib/datadog_api_client/v1/models/distribution_widget_request.rb +36 -2
- data/lib/datadog_api_client/v1/models/distribution_widget_x_axis.rb +29 -1
- data/lib/datadog_api_client/v1/models/heat_map_widget_definition.rb +23 -1
- data/lib/datadog_api_client/v1/models/heat_map_widget_request.rb +21 -1
- data/lib/datadog_api_client/v1/models/heat_map_widget_x_axis.rb +107 -0
- data/lib/datadog_api_client/v1/models/host_tags.rb +2 -2
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_data_quality_data_source.rb +26 -0
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_data_quality_model_type_override.rb +28 -0
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_data_quality_monitor_options.rb +147 -0
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_data_quality_query_definition.rb +232 -0
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_query_definition.rb +2 -1
- data/lib/datadog_api_client/v1/models/monitor_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/split_graph_source_widget_definition.rb +1 -0
- data/lib/datadog_api_client/v1/models/synthetics_api_step.rb +2 -1
- data/lib/datadog_api_client/v1/models/synthetics_api_subtest_step.rb +236 -0
- data/lib/datadog_api_client/v1/models/synthetics_api_subtest_step_subtype.rb +26 -0
- data/lib/datadog_api_client/v1/models/tag_to_hosts.rb +2 -2
- data/lib/datadog_api_client/v1/models/widget_definition.rb +1 -0
- data/lib/datadog_api_client/v1/models/{distribution_widget_histogram_request_type.rb → widget_histogram_request_type.rb} +1 -1
- data/lib/datadog_api_client/v1/models/widget_marker.rb +3 -1
- data/lib/datadog_api_client/v2/api/events_api.rb +0 -2
- data/lib/datadog_api_client/v2/api/fleet_automation_api.rb +3 -3
- data/lib/datadog_api_client/v2/api/observability_pipelines_api.rb +6 -6
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +597 -0
- data/lib/datadog_api_client/v2/api/spa_api.rb +86 -11
- data/lib/datadog_api_client/v2/models/aws_account_create_request_attributes.rb +1 -11
- data/lib/datadog_api_client/v2/models/aws_account_response_attributes.rb +1 -11
- data/lib/datadog_api_client/v2/models/aws_account_update_request_attributes.rb +1 -11
- data/lib/datadog_api_client/v2/models/azure_storage_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/batch_upsert_rows_request_data_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/batch_upsert_rows_request_data_attributes_value.rb +63 -0
- data/lib/datadog_api_client/v2/models/gcpsts_service_account_attributes.rb +23 -1
- data/lib/datadog_api_client/v2/models/list_security_findings_response.rb +127 -0
- data/lib/datadog_api_client/v2/models/microsoft_sentinel_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_add_env_vars_processor.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_add_fields_processor.rb +4 -2
- data/lib/datadog_api_client/v2/models/observability_pipeline_add_hostname_processor.rb +198 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_add_hostname_processor_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_amazon_data_firehose_source.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_amazon_open_search_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_amazon_s3_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_amazon_s3_source.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_amazon_security_lake_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_cloud_prem_destination.rb +169 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_cloud_prem_destination_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_config.rb +25 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_config_destination_item.rb +17 -13
- data/lib/datadog_api_client/v2/models/observability_pipeline_config_pipeline_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_config_processor_item.rb +14 -10
- data/lib/datadog_api_client/v2/models/observability_pipeline_config_source_item.rb +11 -10
- data/lib/datadog_api_client/v2/models/observability_pipeline_crowd_strike_next_gen_siem_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_custom_processor.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_datadog_agent_source.rb +4 -2
- data/lib/datadog_api_client/v2/models/observability_pipeline_datadog_logs_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_datadog_metrics_destination.rb +169 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_datadog_metrics_destination_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_datadog_tags_processor.rb +4 -2
- data/lib/datadog_api_client/v2/models/observability_pipeline_dedupe_processor.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_elasticsearch_destination.rb +13 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_elasticsearch_destination_data_stream.rb +125 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_enrichment_table_processor.rb +15 -3
- data/lib/datadog_api_client/v2/models/observability_pipeline_enrichment_table_reference_table.rb +156 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_filter_processor.rb +6 -4
- data/lib/datadog_api_client/v2/models/observability_pipeline_fluent_bit_source.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_fluentd_source.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_generate_metrics_processor.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_google_chronicle_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_google_cloud_storage_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_google_pub_sub_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_google_pub_sub_source.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_http_client_destination.rb +220 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_http_client_destination_auth_strategy.rb +28 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_http_client_destination_compression.rb +123 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_http_client_destination_compression_algorithm.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_http_client_destination_encoding.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_http_client_destination_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_http_client_source.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_http_client_source_auth_strategy.rb +1 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_http_server_source.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_kafka_destination.rb +361 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_kafka_destination_compression.rb +30 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_kafka_destination_encoding.rb +27 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_kafka_destination_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/{observability_pipeline_kafka_source_librdkafka_option.rb → observability_pipeline_kafka_librdkafka_option.rb} +3 -3
- data/lib/datadog_api_client/v2/models/{observability_pipeline_kafka_source_sasl.rb → observability_pipeline_kafka_sasl.rb} +3 -3
- data/lib/datadog_api_client/v2/models/{observability_pipeline_pipeline_kafka_source_sasl_mechanism.rb → observability_pipeline_kafka_sasl_mechanism.rb} +1 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_kafka_source.rb +5 -3
- data/lib/datadog_api_client/v2/models/observability_pipeline_logstash_source.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_metric_tags_processor.rb +229 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_metric_tags_processor_rule.rb +188 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_metric_tags_processor_rule_action.rb +27 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_metric_tags_processor_rule_mode.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_metric_tags_processor_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_new_relic_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_ocsf_mapper_processor.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_open_search_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_opentelemetry_source.rb +176 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_opentelemetry_source_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_parse_grok_processor.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_parse_json_processor.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_parse_xml_processor.rb +300 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_parse_xml_processor_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_quota_processor.rb +21 -6
- data/lib/datadog_api_client/v2/models/observability_pipeline_quota_processor_overflow_action.rb +1 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_reduce_processor.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_remove_fields_processor.rb +4 -2
- data/lib/datadog_api_client/v2/models/observability_pipeline_rename_fields_processor.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_rsyslog_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_rsyslog_source.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_sample_processor.rb +35 -20
- data/lib/datadog_api_client/v2/models/observability_pipeline_sensitive_data_scanner_processor.rb +4 -2
- data/lib/datadog_api_client/v2/models/observability_pipeline_sensitive_data_scanner_processor_custom_pattern_options.rb +11 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_sensitive_data_scanner_processor_library_pattern_options.rb +11 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_sentinel_one_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_source.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_split_array_processor.rb +229 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_split_array_processor_array_config.rb +144 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_split_array_processor_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_destination.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_source.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_splunk_tcp_source.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_sumo_logic_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_sumo_logic_source.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_syslog_ng_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_syslog_ng_source.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_throttle_processor.rb +3 -1
- data/lib/datadog_api_client/v2/models/patch_table_request_data_attributes.rb +1 -11
- data/lib/datadog_api_client/v2/models/recommendation_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/security_findings_attributes.rb +127 -0
- data/lib/datadog_api_client/v2/models/security_findings_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/security_findings_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/security_findings_links.rb +105 -0
- data/lib/datadog_api_client/v2/models/{data_export_config.rb → security_findings_meta.rb} +32 -42
- data/lib/datadog_api_client/v2/models/security_findings_page.rb +105 -0
- data/lib/datadog_api_client/v2/models/security_findings_search_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/security_findings_search_request_data.rb +105 -0
- data/lib/datadog_api_client/v2/models/security_findings_search_request_data_attributes.rb +125 -0
- data/lib/datadog_api_client/v2/models/security_findings_search_request_page.rb +137 -0
- data/lib/datadog_api_client/v2/models/security_findings_sort.rb +27 -0
- data/lib/datadog_api_client/v2/models/security_findings_status.rb +27 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_critical_asset.rb +125 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_attributes.rb +235 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_create_attributes.rb +187 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_create_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_severity.rb +32 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_update_attributes.rb +175 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_update_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/{awsccm_config.rb → security_monitoring_critical_assets_response.rb} +12 -12
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +99 -7
|
@@ -26,22 +26,23 @@ module DatadogAPIClient::V2
|
|
|
26
26
|
# List of class defined in oneOf (OpenAPI v3)
|
|
27
27
|
def openapi_one_of
|
|
28
28
|
[
|
|
29
|
-
:'ObservabilityPipelineKafkaSource',
|
|
30
29
|
:'ObservabilityPipelineDatadogAgentSource',
|
|
31
|
-
:'
|
|
32
|
-
:'ObservabilityPipelineSplunkHecSource',
|
|
30
|
+
:'ObservabilityPipelineAmazonDataFirehoseSource',
|
|
33
31
|
:'ObservabilityPipelineAmazonS3Source',
|
|
34
|
-
:'ObservabilityPipelineFluentdSource',
|
|
35
32
|
:'ObservabilityPipelineFluentBitSource',
|
|
36
|
-
:'
|
|
37
|
-
:'ObservabilityPipelineSumoLogicSource',
|
|
38
|
-
:'ObservabilityPipelineRsyslogSource',
|
|
39
|
-
:'ObservabilityPipelineSyslogNgSource',
|
|
40
|
-
:'ObservabilityPipelineAmazonDataFirehoseSource',
|
|
33
|
+
:'ObservabilityPipelineFluentdSource',
|
|
41
34
|
:'ObservabilityPipelineGooglePubSubSource',
|
|
42
35
|
:'ObservabilityPipelineHttpClientSource',
|
|
36
|
+
:'ObservabilityPipelineHttpServerSource',
|
|
37
|
+
:'ObservabilityPipelineKafkaSource',
|
|
43
38
|
:'ObservabilityPipelineLogstashSource',
|
|
44
|
-
:'
|
|
39
|
+
:'ObservabilityPipelineRsyslogSource',
|
|
40
|
+
:'ObservabilityPipelineSocketSource',
|
|
41
|
+
:'ObservabilityPipelineSplunkHecSource',
|
|
42
|
+
:'ObservabilityPipelineSplunkTcpSource',
|
|
43
|
+
:'ObservabilityPipelineSumoLogicSource',
|
|
44
|
+
:'ObservabilityPipelineSyslogNgSource',
|
|
45
|
+
:'ObservabilityPipelineOpentelemetrySource'
|
|
45
46
|
]
|
|
46
47
|
end
|
|
47
48
|
# Builds the object
|
|
@@ -18,6 +18,8 @@ require 'time'
|
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
20
|
# The `crowdstrike_next_gen_siem` destination forwards logs to CrowdStrike Next Gen SIEM.
|
|
21
|
+
#
|
|
22
|
+
# **Supported pipeline types:** logs
|
|
21
23
|
class ObservabilityPipelineCrowdStrikeNextGenSiemDestination
|
|
22
24
|
include BaseGenericModel
|
|
23
25
|
|
|
@@ -18,13 +18,15 @@ require 'time'
|
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
20
|
# The `custom_processor` processor transforms events using [Vector Remap Language (VRL)](https://vector.dev/docs/reference/vrl/) scripts with advanced filtering capabilities.
|
|
21
|
+
#
|
|
22
|
+
# **Supported pipeline types:** logs
|
|
21
23
|
class ObservabilityPipelineCustomProcessor
|
|
22
24
|
include BaseGenericModel
|
|
23
25
|
|
|
24
26
|
# The display name for a component.
|
|
25
27
|
attr_accessor :display_name
|
|
26
28
|
|
|
27
|
-
#
|
|
29
|
+
# Indicates whether the processor is enabled.
|
|
28
30
|
attr_reader :enabled
|
|
29
31
|
|
|
30
32
|
# The unique identifier for this processor.
|
|
@@ -17,11 +17,13 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
# The `datadog_agent` source collects logs from the Datadog Agent.
|
|
20
|
+
# The `datadog_agent` source collects logs/metrics from the Datadog Agent.
|
|
21
|
+
#
|
|
22
|
+
# **Supported pipeline types:** logs, metrics
|
|
21
23
|
class ObservabilityPipelineDatadogAgentSource
|
|
22
24
|
include BaseGenericModel
|
|
23
25
|
|
|
24
|
-
# The unique identifier for this component. Used
|
|
26
|
+
# The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as the `input` to downstream components).
|
|
25
27
|
attr_reader :id
|
|
26
28
|
|
|
27
29
|
# Configuration for enabling TLS encryption between the pipeline component and external services.
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V2 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'date'
|
|
17
|
+
require 'time'
|
|
18
|
+
|
|
19
|
+
module DatadogAPIClient::V2
|
|
20
|
+
# The `datadog_metrics` destination forwards metrics to Datadog.
|
|
21
|
+
#
|
|
22
|
+
# **Supported pipeline types:** metrics
|
|
23
|
+
class ObservabilityPipelineDatadogMetricsDestination
|
|
24
|
+
include BaseGenericModel
|
|
25
|
+
|
|
26
|
+
# The unique identifier for this component.
|
|
27
|
+
attr_reader :id
|
|
28
|
+
|
|
29
|
+
# A list of component IDs whose output is used as the input for this component.
|
|
30
|
+
attr_reader :inputs
|
|
31
|
+
|
|
32
|
+
# The destination type. The value should always be `datadog_metrics`.
|
|
33
|
+
attr_reader :type
|
|
34
|
+
|
|
35
|
+
attr_accessor :additional_properties
|
|
36
|
+
|
|
37
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
38
|
+
# @!visibility private
|
|
39
|
+
def self.attribute_map
|
|
40
|
+
{
|
|
41
|
+
:'id' => :'id',
|
|
42
|
+
:'inputs' => :'inputs',
|
|
43
|
+
:'type' => :'type'
|
|
44
|
+
}
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# Attribute type mapping.
|
|
48
|
+
# @!visibility private
|
|
49
|
+
def self.openapi_types
|
|
50
|
+
{
|
|
51
|
+
:'id' => :'String',
|
|
52
|
+
:'inputs' => :'Array<String>',
|
|
53
|
+
:'type' => :'ObservabilityPipelineDatadogMetricsDestinationType'
|
|
54
|
+
}
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
# Initializes the object
|
|
58
|
+
# @param attributes [Hash] Model attributes in the form of hash
|
|
59
|
+
# @!visibility private
|
|
60
|
+
def initialize(attributes = {})
|
|
61
|
+
if (!attributes.is_a?(Hash))
|
|
62
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::ObservabilityPipelineDatadogMetricsDestination` initialize method"
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
self.additional_properties = {}
|
|
66
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
67
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
68
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
69
|
+
self.additional_properties[k.to_sym] = v
|
|
70
|
+
else
|
|
71
|
+
h[k.to_sym] = v
|
|
72
|
+
end
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
if attributes.key?(:'id')
|
|
76
|
+
self.id = attributes[:'id']
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
if attributes.key?(:'inputs')
|
|
80
|
+
if (value = attributes[:'inputs']).is_a?(Array)
|
|
81
|
+
self.inputs = value
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
if attributes.key?(:'type')
|
|
86
|
+
self.type = attributes[:'type']
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# Check to see if the all the properties in the model are valid
|
|
91
|
+
# @return true if the model is valid
|
|
92
|
+
# @!visibility private
|
|
93
|
+
def valid?
|
|
94
|
+
return false if @id.nil?
|
|
95
|
+
return false if @inputs.nil?
|
|
96
|
+
return false if @type.nil?
|
|
97
|
+
true
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# Custom attribute writer method with validation
|
|
101
|
+
# @param id [Object] Object to be assigned
|
|
102
|
+
# @!visibility private
|
|
103
|
+
def id=(id)
|
|
104
|
+
if id.nil?
|
|
105
|
+
fail ArgumentError, 'invalid value for "id", id cannot be nil.'
|
|
106
|
+
end
|
|
107
|
+
@id = id
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# Custom attribute writer method with validation
|
|
111
|
+
# @param inputs [Object] Object to be assigned
|
|
112
|
+
# @!visibility private
|
|
113
|
+
def inputs=(inputs)
|
|
114
|
+
if inputs.nil?
|
|
115
|
+
fail ArgumentError, 'invalid value for "inputs", inputs cannot be nil.'
|
|
116
|
+
end
|
|
117
|
+
@inputs = inputs
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# Custom attribute writer method with validation
|
|
121
|
+
# @param type [Object] Object to be assigned
|
|
122
|
+
# @!visibility private
|
|
123
|
+
def type=(type)
|
|
124
|
+
if type.nil?
|
|
125
|
+
fail ArgumentError, 'invalid value for "type", type cannot be nil.'
|
|
126
|
+
end
|
|
127
|
+
@type = type
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
# Returns the object in the form of hash, with additionalProperties support.
|
|
131
|
+
# @return [Hash] Returns the object in the form of hash
|
|
132
|
+
# @!visibility private
|
|
133
|
+
def to_hash
|
|
134
|
+
hash = {}
|
|
135
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
136
|
+
value = self.send(attr)
|
|
137
|
+
if value.nil?
|
|
138
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
139
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
hash[param] = _to_hash(value)
|
|
143
|
+
end
|
|
144
|
+
self.additional_properties.each_pair do |attr, value|
|
|
145
|
+
hash[attr] = value
|
|
146
|
+
end
|
|
147
|
+
hash
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
# Checks equality by comparing each attribute.
|
|
151
|
+
# @param o [Object] Object to be compared
|
|
152
|
+
# @!visibility private
|
|
153
|
+
def ==(o)
|
|
154
|
+
return true if self.equal?(o)
|
|
155
|
+
self.class == o.class &&
|
|
156
|
+
id == o.id &&
|
|
157
|
+
inputs == o.inputs &&
|
|
158
|
+
type == o.type &&
|
|
159
|
+
additional_properties == o.additional_properties
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
# Calculates hash code according to all attributes.
|
|
163
|
+
# @return [Integer] Hash code
|
|
164
|
+
# @!visibility private
|
|
165
|
+
def hash
|
|
166
|
+
[id, inputs, type, additional_properties].hash
|
|
167
|
+
end
|
|
168
|
+
end
|
|
169
|
+
end
|
data/lib/datadog_api_client/v2/models/observability_pipeline_datadog_metrics_destination_type.rb
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V2 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'date'
|
|
17
|
+
require 'time'
|
|
18
|
+
|
|
19
|
+
module DatadogAPIClient::V2
|
|
20
|
+
# The destination type. The value should always be `datadog_metrics`.
|
|
21
|
+
class ObservabilityPipelineDatadogMetricsDestinationType
|
|
22
|
+
include BaseEnumModel
|
|
23
|
+
|
|
24
|
+
DATADOG_METRICS = "datadog_metrics".freeze
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -18,6 +18,8 @@ require 'time'
|
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
20
|
# The `datadog_tags` processor includes or excludes specific Datadog tags in your logs.
|
|
21
|
+
#
|
|
22
|
+
# **Supported pipeline types:** logs
|
|
21
23
|
class ObservabilityPipelineDatadogTagsProcessor
|
|
22
24
|
include BaseGenericModel
|
|
23
25
|
|
|
@@ -27,10 +29,10 @@ module DatadogAPIClient::V2
|
|
|
27
29
|
# The display name for a component.
|
|
28
30
|
attr_accessor :display_name
|
|
29
31
|
|
|
30
|
-
#
|
|
32
|
+
# Indicates whether the processor is enabled.
|
|
31
33
|
attr_reader :enabled
|
|
32
34
|
|
|
33
|
-
# The unique identifier for this component. Used
|
|
35
|
+
# The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as the `input` to downstream components).
|
|
34
36
|
attr_reader :id
|
|
35
37
|
|
|
36
38
|
# A Datadog search query used to determine which logs this processor targets.
|
|
@@ -18,13 +18,15 @@ require 'time'
|
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
20
|
# The `dedupe` processor removes duplicate fields in log events.
|
|
21
|
+
#
|
|
22
|
+
# **Supported pipeline types:** logs
|
|
21
23
|
class ObservabilityPipelineDedupeProcessor
|
|
22
24
|
include BaseGenericModel
|
|
23
25
|
|
|
24
26
|
# The display name for a component.
|
|
25
27
|
attr_accessor :display_name
|
|
26
28
|
|
|
27
|
-
#
|
|
29
|
+
# Indicates whether the processor is enabled.
|
|
28
30
|
attr_reader :enabled
|
|
29
31
|
|
|
30
32
|
# A list of log field paths to check for duplicates.
|
|
@@ -18,6 +18,8 @@ require 'time'
|
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
20
|
# The `elasticsearch` destination writes logs to an Elasticsearch cluster.
|
|
21
|
+
#
|
|
22
|
+
# **Supported pipeline types:** logs
|
|
21
23
|
class ObservabilityPipelineElasticsearchDestination
|
|
22
24
|
include BaseGenericModel
|
|
23
25
|
|
|
@@ -27,6 +29,9 @@ module DatadogAPIClient::V2
|
|
|
27
29
|
# The index to write logs to in Elasticsearch.
|
|
28
30
|
attr_accessor :bulk_index
|
|
29
31
|
|
|
32
|
+
# Configuration options for writing to Elasticsearch Data Streams instead of a fixed index.
|
|
33
|
+
attr_accessor :data_stream
|
|
34
|
+
|
|
30
35
|
# The unique identifier for this component.
|
|
31
36
|
attr_reader :id
|
|
32
37
|
|
|
@@ -44,6 +49,7 @@ module DatadogAPIClient::V2
|
|
|
44
49
|
{
|
|
45
50
|
:'api_version' => :'api_version',
|
|
46
51
|
:'bulk_index' => :'bulk_index',
|
|
52
|
+
:'data_stream' => :'data_stream',
|
|
47
53
|
:'id' => :'id',
|
|
48
54
|
:'inputs' => :'inputs',
|
|
49
55
|
:'type' => :'type'
|
|
@@ -56,6 +62,7 @@ module DatadogAPIClient::V2
|
|
|
56
62
|
{
|
|
57
63
|
:'api_version' => :'ObservabilityPipelineElasticsearchDestinationApiVersion',
|
|
58
64
|
:'bulk_index' => :'String',
|
|
65
|
+
:'data_stream' => :'ObservabilityPipelineElasticsearchDestinationDataStream',
|
|
59
66
|
:'id' => :'String',
|
|
60
67
|
:'inputs' => :'Array<String>',
|
|
61
68
|
:'type' => :'ObservabilityPipelineElasticsearchDestinationType'
|
|
@@ -88,6 +95,10 @@ module DatadogAPIClient::V2
|
|
|
88
95
|
self.bulk_index = attributes[:'bulk_index']
|
|
89
96
|
end
|
|
90
97
|
|
|
98
|
+
if attributes.key?(:'data_stream')
|
|
99
|
+
self.data_stream = attributes[:'data_stream']
|
|
100
|
+
end
|
|
101
|
+
|
|
91
102
|
if attributes.key?(:'id')
|
|
92
103
|
self.id = attributes[:'id']
|
|
93
104
|
end
|
|
@@ -171,6 +182,7 @@ module DatadogAPIClient::V2
|
|
|
171
182
|
self.class == o.class &&
|
|
172
183
|
api_version == o.api_version &&
|
|
173
184
|
bulk_index == o.bulk_index &&
|
|
185
|
+
data_stream == o.data_stream &&
|
|
174
186
|
id == o.id &&
|
|
175
187
|
inputs == o.inputs &&
|
|
176
188
|
type == o.type &&
|
|
@@ -181,7 +193,7 @@ module DatadogAPIClient::V2
|
|
|
181
193
|
# @return [Integer] Hash code
|
|
182
194
|
# @!visibility private
|
|
183
195
|
def hash
|
|
184
|
-
[api_version, bulk_index, id, inputs, type, additional_properties].hash
|
|
196
|
+
[api_version, bulk_index, data_stream, id, inputs, type, additional_properties].hash
|
|
185
197
|
end
|
|
186
198
|
end
|
|
187
199
|
end
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V2 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'date'
|
|
17
|
+
require 'time'
|
|
18
|
+
|
|
19
|
+
module DatadogAPIClient::V2
|
|
20
|
+
# Configuration options for writing to Elasticsearch Data Streams instead of a fixed index.
|
|
21
|
+
class ObservabilityPipelineElasticsearchDestinationDataStream
|
|
22
|
+
include BaseGenericModel
|
|
23
|
+
|
|
24
|
+
# The data stream dataset for your logs. This groups logs by their source or application.
|
|
25
|
+
attr_accessor :dataset
|
|
26
|
+
|
|
27
|
+
# The data stream type for your logs. This determines how logs are categorized within the data stream.
|
|
28
|
+
attr_accessor :dtype
|
|
29
|
+
|
|
30
|
+
# The data stream namespace for your logs. This separates logs into different environments or domains.
|
|
31
|
+
attr_accessor :namespace
|
|
32
|
+
|
|
33
|
+
attr_accessor :additional_properties
|
|
34
|
+
|
|
35
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
36
|
+
# @!visibility private
|
|
37
|
+
def self.attribute_map
|
|
38
|
+
{
|
|
39
|
+
:'dataset' => :'dataset',
|
|
40
|
+
:'dtype' => :'dtype',
|
|
41
|
+
:'namespace' => :'namespace'
|
|
42
|
+
}
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Attribute type mapping.
|
|
46
|
+
# @!visibility private
|
|
47
|
+
def self.openapi_types
|
|
48
|
+
{
|
|
49
|
+
:'dataset' => :'String',
|
|
50
|
+
:'dtype' => :'String',
|
|
51
|
+
:'namespace' => :'String'
|
|
52
|
+
}
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# Initializes the object
|
|
56
|
+
# @param attributes [Hash] Model attributes in the form of hash
|
|
57
|
+
# @!visibility private
|
|
58
|
+
def initialize(attributes = {})
|
|
59
|
+
if (!attributes.is_a?(Hash))
|
|
60
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::ObservabilityPipelineElasticsearchDestinationDataStream` initialize method"
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
self.additional_properties = {}
|
|
64
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
65
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
66
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
67
|
+
self.additional_properties[k.to_sym] = v
|
|
68
|
+
else
|
|
69
|
+
h[k.to_sym] = v
|
|
70
|
+
end
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
if attributes.key?(:'dataset')
|
|
74
|
+
self.dataset = attributes[:'dataset']
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
if attributes.key?(:'dtype')
|
|
78
|
+
self.dtype = attributes[:'dtype']
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
if attributes.key?(:'namespace')
|
|
82
|
+
self.namespace = attributes[:'namespace']
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
# Returns the object in the form of hash, with additionalProperties support.
|
|
87
|
+
# @return [Hash] Returns the object in the form of hash
|
|
88
|
+
# @!visibility private
|
|
89
|
+
def to_hash
|
|
90
|
+
hash = {}
|
|
91
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
92
|
+
value = self.send(attr)
|
|
93
|
+
if value.nil?
|
|
94
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
95
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
hash[param] = _to_hash(value)
|
|
99
|
+
end
|
|
100
|
+
self.additional_properties.each_pair do |attr, value|
|
|
101
|
+
hash[attr] = value
|
|
102
|
+
end
|
|
103
|
+
hash
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
# Checks equality by comparing each attribute.
|
|
107
|
+
# @param o [Object] Object to be compared
|
|
108
|
+
# @!visibility private
|
|
109
|
+
def ==(o)
|
|
110
|
+
return true if self.equal?(o)
|
|
111
|
+
self.class == o.class &&
|
|
112
|
+
dataset == o.dataset &&
|
|
113
|
+
dtype == o.dtype &&
|
|
114
|
+
namespace == o.namespace &&
|
|
115
|
+
additional_properties == o.additional_properties
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
# Calculates hash code according to all attributes.
|
|
119
|
+
# @return [Integer] Hash code
|
|
120
|
+
# @!visibility private
|
|
121
|
+
def hash
|
|
122
|
+
[dataset, dtype, namespace, additional_properties].hash
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
end
|
|
@@ -17,14 +17,16 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
# The `enrichment_table` processor enriches logs using a static CSV file or
|
|
20
|
+
# The `enrichment_table` processor enriches logs using a static CSV file, GeoIP database, or reference table. Exactly one of `file`, `geoip`, or `reference_table` must be configured.
|
|
21
|
+
#
|
|
22
|
+
# **Supported pipeline types:** logs
|
|
21
23
|
class ObservabilityPipelineEnrichmentTableProcessor
|
|
22
24
|
include BaseGenericModel
|
|
23
25
|
|
|
24
26
|
# The display name for a component.
|
|
25
27
|
attr_accessor :display_name
|
|
26
28
|
|
|
27
|
-
#
|
|
29
|
+
# Indicates whether the processor is enabled.
|
|
28
30
|
attr_reader :enabled
|
|
29
31
|
|
|
30
32
|
# Defines a static enrichment table loaded from a CSV file.
|
|
@@ -39,6 +41,9 @@ module DatadogAPIClient::V2
|
|
|
39
41
|
# A Datadog search query used to determine which logs this processor targets.
|
|
40
42
|
attr_reader :include
|
|
41
43
|
|
|
44
|
+
# Uses a Datadog reference table to enrich logs.
|
|
45
|
+
attr_accessor :reference_table
|
|
46
|
+
|
|
42
47
|
# Path where enrichment results should be stored in the log.
|
|
43
48
|
attr_reader :target
|
|
44
49
|
|
|
@@ -57,6 +62,7 @@ module DatadogAPIClient::V2
|
|
|
57
62
|
:'geoip' => :'geoip',
|
|
58
63
|
:'id' => :'id',
|
|
59
64
|
:'include' => :'include',
|
|
65
|
+
:'reference_table' => :'reference_table',
|
|
60
66
|
:'target' => :'target',
|
|
61
67
|
:'type' => :'type'
|
|
62
68
|
}
|
|
@@ -72,6 +78,7 @@ module DatadogAPIClient::V2
|
|
|
72
78
|
:'geoip' => :'ObservabilityPipelineEnrichmentTableGeoIp',
|
|
73
79
|
:'id' => :'String',
|
|
74
80
|
:'include' => :'String',
|
|
81
|
+
:'reference_table' => :'ObservabilityPipelineEnrichmentTableReferenceTable',
|
|
75
82
|
:'target' => :'String',
|
|
76
83
|
:'type' => :'ObservabilityPipelineEnrichmentTableProcessorType'
|
|
77
84
|
}
|
|
@@ -119,6 +126,10 @@ module DatadogAPIClient::V2
|
|
|
119
126
|
self.include = attributes[:'include']
|
|
120
127
|
end
|
|
121
128
|
|
|
129
|
+
if attributes.key?(:'reference_table')
|
|
130
|
+
self.reference_table = attributes[:'reference_table']
|
|
131
|
+
end
|
|
132
|
+
|
|
122
133
|
if attributes.key?(:'target')
|
|
123
134
|
self.target = attributes[:'target']
|
|
124
135
|
end
|
|
@@ -222,6 +233,7 @@ module DatadogAPIClient::V2
|
|
|
222
233
|
geoip == o.geoip &&
|
|
223
234
|
id == o.id &&
|
|
224
235
|
include == o.include &&
|
|
236
|
+
reference_table == o.reference_table &&
|
|
225
237
|
target == o.target &&
|
|
226
238
|
type == o.type &&
|
|
227
239
|
additional_properties == o.additional_properties
|
|
@@ -231,7 +243,7 @@ module DatadogAPIClient::V2
|
|
|
231
243
|
# @return [Integer] Hash code
|
|
232
244
|
# @!visibility private
|
|
233
245
|
def hash
|
|
234
|
-
[display_name, enabled, file, geoip, id, include, target, type, additional_properties].hash
|
|
246
|
+
[display_name, enabled, file, geoip, id, include, reference_table, target, type, additional_properties].hash
|
|
235
247
|
end
|
|
236
248
|
end
|
|
237
249
|
end
|