datadog_api_client 2.31.0 → 2.32.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/.apigentools-info +4 -4
- data/.generator/schemas/v1/openapi.yaml +80 -4
- data/.generator/schemas/v2/openapi.yaml +2417 -93
- data/.generator/src/generator/cli.py +1 -1
- data/.generator/src/generator/formatter.py +3 -0
- data/.generator/src/generator/templates/api.j2 +1 -1
- data/.generator/src/generator/templates/inflector.j2 +1 -1
- data/CHANGELOG.md +35 -0
- data/examples/v1/slack-integration/CreateSlackIntegrationChannel.rb +1 -0
- data/examples/v1/slack-integration/UpdateSlackIntegrationChannel.rb +1 -0
- data/examples/v2/action-connection/CreateActionConnection.rb +1 -1
- data/examples/v2/action-connection/DeleteActionConnection.rb +4 -1
- data/examples/v2/apm-retention-filters/CreateApmRetentionFilter_3853850379.rb +21 -0
- data/examples/v2/apm-retention-filters/UpdateApmRetentionFilter_3916044058.rb +25 -0
- data/examples/v2/cloud-network-monitoring/GetAggregatedConnections.rb +8 -0
- data/examples/v2/cloud-network-monitoring/GetAggregatedConnections_3059356111.rb +8 -0
- data/examples/v2/observability-pipelines/CreatePipeline.rb +44 -0
- data/examples/v2/observability-pipelines/DeletePipeline.rb +11 -0
- data/examples/v2/observability-pipelines/GetPipeline.rb +11 -0
- data/examples/v2/observability-pipelines/UpdatePipeline.rb +48 -0
- data/examples/v2/on-call/CreateOnCallSchedule.rb +61 -0
- data/examples/v2/on-call/DeleteOnCallSchedule.rb +8 -0
- data/examples/v2/on-call/GetOnCallSchedule.rb +8 -0
- data/examples/v2/on-call/UpdateOnCallSchedule.rb +68 -0
- data/examples/v2/rum-retention-filters/CreateRetentionFilter.rb +0 -3
- data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_1965169892.rb +6 -0
- data/examples/v2/service-definition/CreateOrUpdateServiceDefinitions.rb +1 -1
- data/examples/v2/software-catalog/UpsertCatalogEntity.rb +1 -0
- data/lib/datadog_api_client/configuration.rb +5 -0
- data/lib/datadog_api_client/inflector.rb +122 -3
- data/lib/datadog_api_client/v1/api/monitors_api.rb +1 -1
- data/lib/datadog_api_client/v1/models/formula_and_function_slo_query_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/slack_integration_channel_display.rb +11 -1
- data/lib/datadog_api_client/v1/models/synthetics_step_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +41 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +41 -1
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +41 -1
- data/lib/datadog_api_client/v2/api/cloud_network_monitoring_api.rb +108 -0
- data/lib/datadog_api_client/v2/api/downtimes_api.rb +2 -0
- data/lib/datadog_api_client/v2/api/observability_pipelines_api.rb +319 -0
- data/lib/datadog_api_client/v2/api/on_call_api.rb +301 -0
- data/lib/datadog_api_client/v2/api/restriction_policies_api.rb +7 -3
- data/lib/datadog_api_client/v2/api/rum_retention_filters_api.rb +13 -13
- data/lib/datadog_api_client/v2/models/api_trigger.rb +1 -1
- data/lib/datadog_api_client/v2/models/api_trigger_wrapper.rb +1 -1
- data/lib/datadog_api_client/v2/models/app_trigger_wrapper.rb +1 -1
- data/lib/datadog_api_client/v2/models/application_security_waf_custom_rule_tags_category.rb +1 -1
- data/lib/datadog_api_client/v2/models/case_trigger.rb +1 -1
- data/lib/datadog_api_client/v2/models/case_trigger_wrapper.rb +1 -1
- data/lib/datadog_api_client/v2/models/change_event_trigger_wrapper.rb +1 -1
- data/lib/datadog_api_client/v2/models/dashboard_trigger_wrapper.rb +1 -1
- data/lib/datadog_api_client/v2/models/database_monitoring_trigger_wrapper.rb +135 -0
- data/lib/datadog_api_client/v2/models/entity_response_included_incident.rb +1 -1
- data/lib/datadog_api_client/v2/models/{rum_retention_filter_source.rb → entity_response_included_incident_type.rb} +3 -6
- data/lib/datadog_api_client/v2/models/entity_response_included_oncall.rb +1 -1
- data/lib/datadog_api_client/v2/models/{service_definition_v2_dot2_type.rb → entity_response_included_oncall_type.rb} +3 -9
- data/lib/datadog_api_client/v2/models/entity_response_included_raw_schema.rb +1 -1
- data/lib/datadog_api_client/v2/models/entity_response_included_raw_schema_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/entity_response_included_related_entity.rb +1 -1
- data/lib/datadog_api_client/v2/models/entity_response_included_related_entity_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/entity_response_included_schema.rb +1 -1
- data/lib/datadog_api_client/v2/models/entity_response_included_schema_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/entity_v3_datastore_spec.rb +13 -1
- data/lib/datadog_api_client/v2/models/entity_v3_queue_spec.rb +13 -1
- data/lib/datadog_api_client/v2/models/entity_v3_service_spec.rb +13 -1
- data/lib/datadog_api_client/v2/models/github_webhook_trigger.rb +1 -1
- data/lib/datadog_api_client/v2/models/github_webhook_trigger_wrapper.rb +1 -1
- data/lib/datadog_api_client/v2/models/historical_job_query.rb +11 -1
- data/lib/datadog_api_client/v2/models/incident_trigger.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_trigger_wrapper.rb +1 -1
- data/lib/datadog_api_client/v2/models/interface_attributes.rb +13 -1
- data/lib/datadog_api_client/v2/models/layer.rb +135 -0
- data/lib/datadog_api_client/v2/models/layer_attributes.rb +157 -0
- data/lib/datadog_api_client/v2/models/layer_attributes_interval.rb +144 -0
- data/lib/datadog_api_client/v2/models/layer_attributes_restrictions_items.rb +136 -0
- data/lib/datadog_api_client/v2/models/layer_attributes_restrictions_items_end_day.rb +32 -0
- data/lib/datadog_api_client/v2/models/layer_attributes_restrictions_items_start_day.rb +32 -0
- data/lib/datadog_api_client/v2/models/layer_relationships.rb +105 -0
- data/lib/datadog_api_client/v2/models/layer_relationships_members.rb +107 -0
- data/lib/datadog_api_client/v2/models/layer_relationships_members_data_items.rb +116 -0
- data/lib/datadog_api_client/v2/models/layer_relationships_members_data_items_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/layer_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/logs_aggregate_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_list_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_query_options.rb +4 -1
- data/lib/datadog_api_client/v2/models/monitor_trigger.rb +1 -1
- data/lib/datadog_api_client/v2/models/monitor_trigger_wrapper.rb +1 -1
- data/lib/datadog_api_client/v2/models/notebook_trigger_wrapper.rb +135 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline.rb +123 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_add_fields_processor.rb +211 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_add_fields_processor_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_config.rb +171 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_config_destination_item.rb +62 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_config_processor_item.rb +67 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_config_source_item.rb +63 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_create_request_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_data_attributes.rb +144 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_datadog_agent_source.rb +154 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_datadog_agent_source_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_datadog_logs_destination.rb +167 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_datadog_logs_destination_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_field_value.rb +144 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_filter_processor.rb +188 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_filter_processor_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_kafka_source.rb +220 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_kafka_source_librdkafka_option.rb +144 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_kafka_source_sasl.rb +105 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_kafka_source_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_parse_json_processor.rb +209 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_parse_json_processor_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_pipeline_kafka_source_sasl_mechanism.rb +28 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_quota_processor.rb +285 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_quota_processor_limit.rb +144 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_quota_processor_limit_enforce_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_quota_processor_override.rb +146 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_quota_processor_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_remove_fields_processor.rb +211 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_remove_fields_processor_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_rename_fields_processor.rb +211 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_rename_fields_processor_field.rb +165 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_rename_fields_processor_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_tls.rb +143 -0
- data/lib/datadog_api_client/v2/models/retention_filter_all_attributes.rb +16 -5
- data/lib/datadog_api_client/v2/models/retention_filter_attributes.rb +16 -5
- data/lib/datadog_api_client/v2/models/retention_filter_create_attributes.rb +16 -5
- data/lib/datadog_api_client/v2/models/retention_filter_update_attributes.rb +16 -5
- data/lib/datadog_api_client/v2/models/rum_retention_filter_create_data.rb +1 -11
- data/lib/datadog_api_client/v2/models/rum_retention_filter_data.rb +1 -11
- data/lib/datadog_api_client/v2/models/rum_retention_filter_update_data.rb +1 -11
- data/lib/datadog_api_client/v2/models/rum_retention_filters_order_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/rum_retention_filters_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/schedule.rb +117 -0
- data/lib/datadog_api_client/v2/models/schedule_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/schedule_create_request_data.rb +154 -0
- data/lib/datadog_api_client/v2/models/schedule_create_request_data_attributes.rb +179 -0
- data/lib/datadog_api_client/v2/models/schedule_create_request_data_attributes_layers_items.rb +231 -0
- data/lib/datadog_api_client/v2/models/schedule_create_request_data_attributes_layers_items_interval.rb +144 -0
- data/lib/datadog_api_client/v2/models/schedule_create_request_data_attributes_layers_items_members_items.rb +105 -0
- data/lib/datadog_api_client/v2/models/{rum_retention_filter_meta.rb → schedule_create_request_data_attributes_layers_items_members_items_user.rb} +11 -11
- data/lib/datadog_api_client/v2/models/schedule_create_request_data_attributes_layers_items_restrictions_items.rb +136 -0
- data/lib/datadog_api_client/v2/models/schedule_create_request_data_attributes_layers_items_restrictions_items_end_day.rb +32 -0
- data/lib/datadog_api_client/v2/models/schedule_create_request_data_attributes_layers_items_restrictions_items_start_day.rb +32 -0
- data/lib/datadog_api_client/v2/models/schedule_create_request_data_relationships.rb +105 -0
- data/lib/datadog_api_client/v2/models/schedule_create_request_data_relationships_teams.rb +107 -0
- data/lib/datadog_api_client/v2/models/schedule_create_request_data_relationships_teams_data_items.rb +116 -0
- data/lib/datadog_api_client/v2/models/schedule_create_request_data_relationships_teams_data_items_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/schedule_create_request_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/schedule_data.rb +135 -0
- data/lib/datadog_api_client/v2/models/schedule_data_attributes.rb +127 -0
- data/lib/datadog_api_client/v2/models/schedule_data_included_item.rb +65 -0
- data/lib/datadog_api_client/v2/models/schedule_data_relationships.rb +115 -0
- data/lib/datadog_api_client/v2/models/schedule_data_relationships_layers.rb +107 -0
- data/lib/datadog_api_client/v2/models/schedule_data_relationships_layers_data_items.rb +115 -0
- data/lib/datadog_api_client/v2/models/schedule_data_relationships_layers_data_items_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/schedule_data_relationships_teams.rb +107 -0
- data/lib/datadog_api_client/v2/models/schedule_data_relationships_teams_data_items.rb +115 -0
- data/lib/datadog_api_client/v2/models/schedule_data_relationships_teams_data_items_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/schedule_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/schedule_member.rb +125 -0
- data/lib/datadog_api_client/v2/models/schedule_member_relationships.rb +105 -0
- data/lib/datadog_api_client/v2/models/schedule_member_relationships_user.rb +105 -0
- data/lib/datadog_api_client/v2/models/schedule_member_relationships_user_data.rb +115 -0
- data/lib/datadog_api_client/v2/models/schedule_member_relationships_user_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/schedule_member_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/schedule_trigger.rb +1 -1
- data/lib/datadog_api_client/v2/models/schedule_trigger_wrapper.rb +1 -1
- data/lib/datadog_api_client/v2/models/schedule_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/schedule_update_request_data.rb +175 -0
- data/lib/datadog_api_client/v2/models/schedule_update_request_data_attributes.rb +179 -0
- data/lib/datadog_api_client/v2/models/schedule_update_request_data_attributes_layers_items.rb +180 -0
- data/lib/datadog_api_client/v2/models/schedule_update_request_data_attributes_layers_items_interval.rb +144 -0
- data/lib/datadog_api_client/v2/models/schedule_update_request_data_attributes_layers_items_members_items.rb +106 -0
- data/lib/datadog_api_client/v2/models/schedule_update_request_data_attributes_layers_items_members_items_user.rb +105 -0
- data/lib/datadog_api_client/v2/models/schedule_update_request_data_attributes_layers_items_restrictions_items.rb +136 -0
- data/lib/datadog_api_client/v2/models/schedule_update_request_data_attributes_layers_items_restrictions_items_end_day.rb +32 -0
- data/lib/datadog_api_client/v2/models/schedule_update_request_data_attributes_layers_items_restrictions_items_start_day.rb +32 -0
- data/lib/datadog_api_client/v2/models/schedule_update_request_data_relationships.rb +105 -0
- data/lib/datadog_api_client/v2/models/schedule_update_request_data_relationships_teams.rb +107 -0
- data/lib/datadog_api_client/v2/models/schedule_update_request_data_relationships_teams_data_items.rb +115 -0
- data/lib/datadog_api_client/v2/models/schedule_update_request_data_relationships_teams_data_items_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/schedule_update_request_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/schedule_user.rb +125 -0
- data/lib/datadog_api_client/v2/models/schedule_user_attributes.rb +115 -0
- data/lib/datadog_api_client/v2/models/schedule_user_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_case_action_options.rb +13 -3
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_case_action_type.rb +1 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_data_source.rb +31 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb +11 -1
- data/lib/datadog_api_client/v2/models/security_trigger.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_trigger_wrapper.rb +1 -1
- data/lib/datadog_api_client/v2/models/self_service_trigger_wrapper.rb +135 -0
- data/lib/datadog_api_client/v2/models/service_definition_v2_dot2.rb +1 -1
- data/lib/datadog_api_client/v2/models/single_aggregated_connection_response_array.rb +107 -0
- data/lib/datadog_api_client/v2/models/single_aggregated_connection_response_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/single_aggregated_connection_response_data_attributes.rb +215 -0
- data/lib/datadog_api_client/v2/models/single_aggregated_connection_response_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/slack_trigger_wrapper.rb +1 -1
- data/lib/datadog_api_client/v2/models/software_catalog_trigger_wrapper.rb +135 -0
- data/lib/datadog_api_client/v2/models/team_reference.rb +135 -0
- data/lib/datadog_api_client/v2/models/team_reference_attributes.rb +135 -0
- data/lib/datadog_api_client/v2/models/team_reference_relationships.rb +105 -0
- data/lib/datadog_api_client/v2/models/team_reference_relationships_oncall_users.rb +107 -0
- data/lib/datadog_api_client/v2/models/team_reference_relationships_oncall_users_data_items.rb +115 -0
- data/lib/datadog_api_client/v2/models/team_reference_relationships_oncall_users_data_items_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/team_reference_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/trigger.rb +4 -0
- data/lib/datadog_api_client/v2/models/workflow_trigger_wrapper.rb +1 -1
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +136 -6
- data/examples/v2/action-connection/DeleteActionConnection_2142905164.rb +0 -8
@@ -33,10 +33,10 @@ module DatadogAPIClient::V2
|
|
33
33
|
|
34
34
|
# Create a RUM retention filter.
|
35
35
|
#
|
36
|
-
# Create a RUM retention filter for
|
36
|
+
# Create a RUM retention filter for a RUM application.
|
37
37
|
# Returns RUM retention filter objects from the request body when the request is successful.
|
38
38
|
#
|
39
|
-
# @param app_id [String]
|
39
|
+
# @param app_id [String] RUM application ID.
|
40
40
|
# @param body [RumRetentionFilterCreateRequest] The definition of the new RUM retention filter.
|
41
41
|
# @param opts [Hash] the optional parameters
|
42
42
|
# @return [Array<(RumRetentionFilterResponse, Integer, Hash)>] RumRetentionFilterResponse data, response status code and response headers
|
@@ -106,9 +106,9 @@ module DatadogAPIClient::V2
|
|
106
106
|
|
107
107
|
# Delete a RUM retention filter.
|
108
108
|
#
|
109
|
-
# Delete a RUM retention filter for
|
109
|
+
# Delete a RUM retention filter for a RUM application.
|
110
110
|
#
|
111
|
-
# @param app_id [String]
|
111
|
+
# @param app_id [String] RUM application ID.
|
112
112
|
# @param rf_id [String] Retention filter ID.
|
113
113
|
# @param opts [Hash] the optional parameters
|
114
114
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
@@ -176,9 +176,9 @@ module DatadogAPIClient::V2
|
|
176
176
|
|
177
177
|
# Get a RUM retention filter.
|
178
178
|
#
|
179
|
-
# Get a RUM retention filter for
|
179
|
+
# Get a RUM retention filter for a RUM application.
|
180
180
|
#
|
181
|
-
# @param app_id [String]
|
181
|
+
# @param app_id [String] RUM application ID.
|
182
182
|
# @param rf_id [String] Retention filter ID.
|
183
183
|
# @param opts [Hash] the optional parameters
|
184
184
|
# @return [Array<(RumRetentionFilterResponse, Integer, Hash)>] RumRetentionFilterResponse data, response status code and response headers
|
@@ -246,9 +246,9 @@ module DatadogAPIClient::V2
|
|
246
246
|
|
247
247
|
# Get all RUM retention filters.
|
248
248
|
#
|
249
|
-
# Get the list of RUM retention filters for
|
249
|
+
# Get the list of RUM retention filters for a RUM application.
|
250
250
|
#
|
251
|
-
# @param app_id [String]
|
251
|
+
# @param app_id [String] RUM application ID.
|
252
252
|
# @param opts [Hash] the optional parameters
|
253
253
|
# @return [Array<(RumRetentionFiltersResponse, Integer, Hash)>] RumRetentionFiltersResponse data, response status code and response headers
|
254
254
|
def list_retention_filters_with_http_info(app_id, opts = {})
|
@@ -311,10 +311,10 @@ module DatadogAPIClient::V2
|
|
311
311
|
|
312
312
|
# Order RUM retention filters.
|
313
313
|
#
|
314
|
-
# Order RUM retention filters for
|
315
|
-
# Returns RUM retention filter objects without attributes
|
314
|
+
# Order RUM retention filters for a RUM application.
|
315
|
+
# Returns RUM retention filter objects without attributes from the request body when the request is successful.
|
316
316
|
#
|
317
|
-
# @param app_id [String]
|
317
|
+
# @param app_id [String] RUM application ID.
|
318
318
|
# @param body [RumRetentionFiltersOrderRequest] New definition of the RUM retention filter.
|
319
319
|
# @param opts [Hash] the optional parameters
|
320
320
|
# @return [Array<(RumRetentionFiltersOrderResponse, Integer, Hash)>] RumRetentionFiltersOrderResponse data, response status code and response headers
|
@@ -384,10 +384,10 @@ module DatadogAPIClient::V2
|
|
384
384
|
|
385
385
|
# Update a RUM retention filter.
|
386
386
|
#
|
387
|
-
# Update a RUM retention filter for
|
387
|
+
# Update a RUM retention filter for a RUM application.
|
388
388
|
# Returns RUM retention filter objects from the request body when the request is successful.
|
389
389
|
#
|
390
|
-
# @param app_id [String]
|
390
|
+
# @param app_id [String] RUM application ID.
|
391
391
|
# @param rf_id [String] Retention filter ID.
|
392
392
|
# @param body [RumRetentionFilterUpdateRequest] New definition of the RUM retention filter.
|
393
393
|
# @param opts [Hash] the optional parameters
|
@@ -17,7 +17,7 @@ require 'date'
|
|
17
17
|
require 'time'
|
18
18
|
|
19
19
|
module DatadogAPIClient::V2
|
20
|
-
# Trigger a workflow
|
20
|
+
# Trigger a workflow from an API request. The workflow must be published.
|
21
21
|
class APITrigger
|
22
22
|
include BaseGenericModel
|
23
23
|
|
@@ -21,7 +21,7 @@ module DatadogAPIClient::V2
|
|
21
21
|
class APITriggerWrapper
|
22
22
|
include BaseGenericModel
|
23
23
|
|
24
|
-
# Trigger a workflow
|
24
|
+
# Trigger a workflow from an API request. The workflow must be published.
|
25
25
|
attr_reader :api_trigger
|
26
26
|
|
27
27
|
# A list of steps that run first after a trigger fires.
|
@@ -17,7 +17,7 @@ require 'date'
|
|
17
17
|
require 'time'
|
18
18
|
|
19
19
|
module DatadogAPIClient::V2
|
20
|
-
# Trigger a workflow
|
20
|
+
# Trigger a workflow from a Case. For automatic triggering a handle must be configured and the workflow must be published.
|
21
21
|
class CaseTrigger
|
22
22
|
include BaseGenericModel
|
23
23
|
|
@@ -21,7 +21,7 @@ module DatadogAPIClient::V2
|
|
21
21
|
class CaseTriggerWrapper
|
22
22
|
include BaseGenericModel
|
23
23
|
|
24
|
-
# Trigger a workflow
|
24
|
+
# Trigger a workflow from a Case. For automatic triggering a handle must be configured and the workflow must be published.
|
25
25
|
attr_reader :case_trigger
|
26
26
|
|
27
27
|
# A list of steps that run first after a trigger fires.
|
@@ -21,7 +21,7 @@ module DatadogAPIClient::V2
|
|
21
21
|
class ChangeEventTriggerWrapper
|
22
22
|
include BaseGenericModel
|
23
23
|
|
24
|
-
# Trigger a workflow
|
24
|
+
# Trigger a workflow from a Change Event.
|
25
25
|
attr_reader :change_event_trigger
|
26
26
|
|
27
27
|
# A list of steps that run first after a trigger fires.
|
@@ -21,7 +21,7 @@ module DatadogAPIClient::V2
|
|
21
21
|
class DashboardTriggerWrapper
|
22
22
|
include BaseGenericModel
|
23
23
|
|
24
|
-
# Trigger a workflow
|
24
|
+
# Trigger a workflow from a Dashboard.
|
25
25
|
attr_reader :dashboard_trigger
|
26
26
|
|
27
27
|
# A list of steps that run first after a trigger fires.
|
@@ -0,0 +1,135 @@
|
|
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
|
+
# Schema for a Database Monitoring-based trigger.
|
21
|
+
class DatabaseMonitoringTriggerWrapper
|
22
|
+
include BaseGenericModel
|
23
|
+
|
24
|
+
# Trigger a workflow from Database Monitoring.
|
25
|
+
attr_reader :database_monitoring_trigger
|
26
|
+
|
27
|
+
# A list of steps that run first after a trigger fires.
|
28
|
+
attr_accessor :start_step_names
|
29
|
+
|
30
|
+
attr_accessor :additional_properties
|
31
|
+
|
32
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
33
|
+
# @!visibility private
|
34
|
+
def self.attribute_map
|
35
|
+
{
|
36
|
+
:'database_monitoring_trigger' => :'databaseMonitoringTrigger',
|
37
|
+
:'start_step_names' => :'startStepNames'
|
38
|
+
}
|
39
|
+
end
|
40
|
+
|
41
|
+
# Attribute type mapping.
|
42
|
+
# @!visibility private
|
43
|
+
def self.openapi_types
|
44
|
+
{
|
45
|
+
:'database_monitoring_trigger' => :'Object',
|
46
|
+
:'start_step_names' => :'Array<String>'
|
47
|
+
}
|
48
|
+
end
|
49
|
+
|
50
|
+
# Initializes the object
|
51
|
+
# @param attributes [Hash] Model attributes in the form of hash
|
52
|
+
# @!visibility private
|
53
|
+
def initialize(attributes = {})
|
54
|
+
if (!attributes.is_a?(Hash))
|
55
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::DatabaseMonitoringTriggerWrapper` initialize method"
|
56
|
+
end
|
57
|
+
|
58
|
+
self.additional_properties = {}
|
59
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
60
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
61
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
62
|
+
self.additional_properties[k.to_sym] = v
|
63
|
+
else
|
64
|
+
h[k.to_sym] = v
|
65
|
+
end
|
66
|
+
}
|
67
|
+
|
68
|
+
if attributes.key?(:'database_monitoring_trigger')
|
69
|
+
self.database_monitoring_trigger = attributes[:'database_monitoring_trigger']
|
70
|
+
end
|
71
|
+
|
72
|
+
if attributes.key?(:'start_step_names')
|
73
|
+
if (value = attributes[:'start_step_names']).is_a?(Array)
|
74
|
+
self.start_step_names = value
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
# Check to see if the all the properties in the model are valid
|
80
|
+
# @return true if the model is valid
|
81
|
+
# @!visibility private
|
82
|
+
def valid?
|
83
|
+
return false if @database_monitoring_trigger.nil?
|
84
|
+
true
|
85
|
+
end
|
86
|
+
|
87
|
+
# Custom attribute writer method with validation
|
88
|
+
# @param database_monitoring_trigger [Object] Object to be assigned
|
89
|
+
# @!visibility private
|
90
|
+
def database_monitoring_trigger=(database_monitoring_trigger)
|
91
|
+
if database_monitoring_trigger.nil?
|
92
|
+
fail ArgumentError, 'invalid value for "database_monitoring_trigger", database_monitoring_trigger cannot be nil.'
|
93
|
+
end
|
94
|
+
@database_monitoring_trigger = database_monitoring_trigger
|
95
|
+
end
|
96
|
+
|
97
|
+
# Returns the object in the form of hash, with additionalProperties support.
|
98
|
+
# @return [Hash] Returns the object in the form of hash
|
99
|
+
# @!visibility private
|
100
|
+
def to_hash
|
101
|
+
hash = {}
|
102
|
+
self.class.attribute_map.each_pair do |attr, param|
|
103
|
+
value = self.send(attr)
|
104
|
+
if value.nil?
|
105
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
106
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
107
|
+
end
|
108
|
+
|
109
|
+
hash[param] = _to_hash(value)
|
110
|
+
end
|
111
|
+
self.additional_properties.each_pair do |attr, value|
|
112
|
+
hash[attr] = value
|
113
|
+
end
|
114
|
+
hash
|
115
|
+
end
|
116
|
+
|
117
|
+
# Checks equality by comparing each attribute.
|
118
|
+
# @param o [Object] Object to be compared
|
119
|
+
# @!visibility private
|
120
|
+
def ==(o)
|
121
|
+
return true if self.equal?(o)
|
122
|
+
self.class == o.class &&
|
123
|
+
database_monitoring_trigger == o.database_monitoring_trigger &&
|
124
|
+
start_step_names == o.start_step_names &&
|
125
|
+
additional_properties == o.additional_properties
|
126
|
+
end
|
127
|
+
|
128
|
+
# Calculates hash code according to all attributes.
|
129
|
+
# @return [Integer] Hash code
|
130
|
+
# @!visibility private
|
131
|
+
def hash
|
132
|
+
[database_monitoring_trigger, start_step_names, additional_properties].hash
|
133
|
+
end
|
134
|
+
end
|
135
|
+
end
|
@@ -17,13 +17,10 @@ require 'date'
|
|
17
17
|
require 'time'
|
18
18
|
|
19
19
|
module DatadogAPIClient::V2
|
20
|
-
#
|
21
|
-
class
|
20
|
+
# Incident description.
|
21
|
+
class EntityResponseIncludedIncidentType
|
22
22
|
include BaseEnumModel
|
23
23
|
|
24
|
-
|
25
|
-
TERRAFORM = "terraform".freeze
|
26
|
-
DEFAULT = "default".freeze
|
27
|
-
UNKNOWN = "unknown".freeze
|
24
|
+
INCIDENT = "incident".freeze
|
28
25
|
end
|
29
26
|
end
|
@@ -17,16 +17,10 @@ require 'date'
|
|
17
17
|
require 'time'
|
18
18
|
|
19
19
|
module DatadogAPIClient::V2
|
20
|
-
#
|
21
|
-
class
|
20
|
+
# Oncall type.
|
21
|
+
class EntityResponseIncludedOncallType
|
22
22
|
include BaseEnumModel
|
23
23
|
|
24
|
-
|
25
|
-
DB = "db".freeze
|
26
|
-
CACHE = "cache".freeze
|
27
|
-
FUNCTION = "function".freeze
|
28
|
-
BROSWER = "browser".freeze
|
29
|
-
MOBILE = "mobile".freeze
|
30
|
-
CUSTOM = "custom".freeze
|
24
|
+
ONCALL = "oncall".freeze
|
31
25
|
end
|
32
26
|
end
|
@@ -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
|
+
# Raw schema type.
|
21
|
+
class EntityResponseIncludedRawSchemaType
|
22
|
+
include BaseEnumModel
|
23
|
+
|
24
|
+
RAW_SCHEMA = "rawSchema".freeze
|
25
|
+
end
|
26
|
+
end
|
@@ -53,7 +53,7 @@ module DatadogAPIClient::V2
|
|
53
53
|
:'attributes' => :'EntityResponseIncludedRelatedEntityAttributes',
|
54
54
|
:'id' => :'String',
|
55
55
|
:'meta' => :'EntityResponseIncludedRelatedEntityMeta',
|
56
|
-
:'type' => :'
|
56
|
+
:'type' => :'EntityResponseIncludedRelatedEntityType'
|
57
57
|
}
|
58
58
|
end
|
59
59
|
|
@@ -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
|
+
# Related entity.
|
21
|
+
class EntityResponseIncludedRelatedEntityType
|
22
|
+
include BaseEnumModel
|
23
|
+
|
24
|
+
RELATED_ENTITY = "relatedEntity".freeze
|
25
|
+
end
|
26
|
+
end
|
@@ -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
|
+
# Schema type.
|
21
|
+
class EntityResponseIncludedSchemaType
|
22
|
+
include BaseEnumModel
|
23
|
+
|
24
|
+
SCHEMA = "schema".freeze
|
25
|
+
end
|
26
|
+
end
|
@@ -21,6 +21,9 @@ module DatadogAPIClient::V2
|
|
21
21
|
class EntityV3DatastoreSpec
|
22
22
|
include BaseGenericModel
|
23
23
|
|
24
|
+
# A list of components the datastore is a part of
|
25
|
+
attr_accessor :component_of
|
26
|
+
|
24
27
|
# The lifecycle state of the datastore.
|
25
28
|
attr_reader :lifecycle
|
26
29
|
|
@@ -34,6 +37,7 @@ module DatadogAPIClient::V2
|
|
34
37
|
# @!visibility private
|
35
38
|
def self.attribute_map
|
36
39
|
{
|
40
|
+
:'component_of' => :'componentOf',
|
37
41
|
:'lifecycle' => :'lifecycle',
|
38
42
|
:'tier' => :'tier',
|
39
43
|
:'type' => :'type'
|
@@ -44,6 +48,7 @@ module DatadogAPIClient::V2
|
|
44
48
|
# @!visibility private
|
45
49
|
def self.openapi_types
|
46
50
|
{
|
51
|
+
:'component_of' => :'Array<String>',
|
47
52
|
:'lifecycle' => :'String',
|
48
53
|
:'tier' => :'String',
|
49
54
|
:'type' => :'String'
|
@@ -66,6 +71,12 @@ module DatadogAPIClient::V2
|
|
66
71
|
h[k.to_sym] = v
|
67
72
|
}
|
68
73
|
|
74
|
+
if attributes.key?(:'component_of')
|
75
|
+
if (value = attributes[:'component_of']).is_a?(Array)
|
76
|
+
self.component_of = value
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
69
80
|
if attributes.key?(:'lifecycle')
|
70
81
|
self.lifecycle = attributes[:'lifecycle']
|
71
82
|
end
|
@@ -114,6 +125,7 @@ module DatadogAPIClient::V2
|
|
114
125
|
def ==(o)
|
115
126
|
return true if self.equal?(o)
|
116
127
|
self.class == o.class &&
|
128
|
+
component_of == o.component_of &&
|
117
129
|
lifecycle == o.lifecycle &&
|
118
130
|
tier == o.tier &&
|
119
131
|
type == o.type
|
@@ -123,7 +135,7 @@ module DatadogAPIClient::V2
|
|
123
135
|
# @return [Integer] Hash code
|
124
136
|
# @!visibility private
|
125
137
|
def hash
|
126
|
-
[lifecycle, tier, type].hash
|
138
|
+
[component_of, lifecycle, tier, type].hash
|
127
139
|
end
|
128
140
|
end
|
129
141
|
end
|
@@ -21,6 +21,9 @@ module DatadogAPIClient::V2
|
|
21
21
|
class EntityV3QueueSpec
|
22
22
|
include BaseGenericModel
|
23
23
|
|
24
|
+
# A list of components the queue is a part of
|
25
|
+
attr_accessor :component_of
|
26
|
+
|
24
27
|
# The lifecycle state of the queue.
|
25
28
|
attr_reader :lifecycle
|
26
29
|
|
@@ -34,6 +37,7 @@ module DatadogAPIClient::V2
|
|
34
37
|
# @!visibility private
|
35
38
|
def self.attribute_map
|
36
39
|
{
|
40
|
+
:'component_of' => :'componentOf',
|
37
41
|
:'lifecycle' => :'lifecycle',
|
38
42
|
:'tier' => :'tier',
|
39
43
|
:'type' => :'type'
|
@@ -44,6 +48,7 @@ module DatadogAPIClient::V2
|
|
44
48
|
# @!visibility private
|
45
49
|
def self.openapi_types
|
46
50
|
{
|
51
|
+
:'component_of' => :'Array<String>',
|
47
52
|
:'lifecycle' => :'String',
|
48
53
|
:'tier' => :'String',
|
49
54
|
:'type' => :'String'
|
@@ -66,6 +71,12 @@ module DatadogAPIClient::V2
|
|
66
71
|
h[k.to_sym] = v
|
67
72
|
}
|
68
73
|
|
74
|
+
if attributes.key?(:'component_of')
|
75
|
+
if (value = attributes[:'component_of']).is_a?(Array)
|
76
|
+
self.component_of = value
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
69
80
|
if attributes.key?(:'lifecycle')
|
70
81
|
self.lifecycle = attributes[:'lifecycle']
|
71
82
|
end
|
@@ -114,6 +125,7 @@ module DatadogAPIClient::V2
|
|
114
125
|
def ==(o)
|
115
126
|
return true if self.equal?(o)
|
116
127
|
self.class == o.class &&
|
128
|
+
component_of == o.component_of &&
|
117
129
|
lifecycle == o.lifecycle &&
|
118
130
|
tier == o.tier &&
|
119
131
|
type == o.type
|
@@ -123,7 +135,7 @@ module DatadogAPIClient::V2
|
|
123
135
|
# @return [Integer] Hash code
|
124
136
|
# @!visibility private
|
125
137
|
def hash
|
126
|
-
[lifecycle, tier, type].hash
|
138
|
+
[component_of, lifecycle, tier, type].hash
|
127
139
|
end
|
128
140
|
end
|
129
141
|
end
|
@@ -21,6 +21,9 @@ module DatadogAPIClient::V2
|
|
21
21
|
class EntityV3ServiceSpec
|
22
22
|
include BaseGenericModel
|
23
23
|
|
24
|
+
# A list of components the service is a part of
|
25
|
+
attr_accessor :component_of
|
26
|
+
|
24
27
|
# A list of components the service depends on.
|
25
28
|
attr_accessor :depends_on
|
26
29
|
|
@@ -40,6 +43,7 @@ module DatadogAPIClient::V2
|
|
40
43
|
# @!visibility private
|
41
44
|
def self.attribute_map
|
42
45
|
{
|
46
|
+
:'component_of' => :'componentOf',
|
43
47
|
:'depends_on' => :'dependsOn',
|
44
48
|
:'languages' => :'languages',
|
45
49
|
:'lifecycle' => :'lifecycle',
|
@@ -52,6 +56,7 @@ module DatadogAPIClient::V2
|
|
52
56
|
# @!visibility private
|
53
57
|
def self.openapi_types
|
54
58
|
{
|
59
|
+
:'component_of' => :'Array<String>',
|
55
60
|
:'depends_on' => :'Array<String>',
|
56
61
|
:'languages' => :'Array<String>',
|
57
62
|
:'lifecycle' => :'String',
|
@@ -76,6 +81,12 @@ module DatadogAPIClient::V2
|
|
76
81
|
h[k.to_sym] = v
|
77
82
|
}
|
78
83
|
|
84
|
+
if attributes.key?(:'component_of')
|
85
|
+
if (value = attributes[:'component_of']).is_a?(Array)
|
86
|
+
self.component_of = value
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
79
90
|
if attributes.key?(:'depends_on')
|
80
91
|
if (value = attributes[:'depends_on']).is_a?(Array)
|
81
92
|
self.depends_on = value
|
@@ -136,6 +147,7 @@ module DatadogAPIClient::V2
|
|
136
147
|
def ==(o)
|
137
148
|
return true if self.equal?(o)
|
138
149
|
self.class == o.class &&
|
150
|
+
component_of == o.component_of &&
|
139
151
|
depends_on == o.depends_on &&
|
140
152
|
languages == o.languages &&
|
141
153
|
lifecycle == o.lifecycle &&
|
@@ -147,7 +159,7 @@ module DatadogAPIClient::V2
|
|
147
159
|
# @return [Integer] Hash code
|
148
160
|
# @!visibility private
|
149
161
|
def hash
|
150
|
-
[depends_on, languages, lifecycle, tier, type].hash
|
162
|
+
[component_of, depends_on, languages, lifecycle, tier, type].hash
|
151
163
|
end
|
152
164
|
end
|
153
165
|
end
|
@@ -17,7 +17,7 @@ require 'date'
|
|
17
17
|
require 'time'
|
18
18
|
|
19
19
|
module DatadogAPIClient::V2
|
20
|
-
# Trigger a workflow
|
20
|
+
# Trigger a workflow from a GitHub webhook. To trigger a workflow from GitHub, you must set a `webhookSecret`. In your GitHub Webhook Settings, set the Payload URL to "base_url"/api/v2/workflows/"workflow_id"/webhook?orgId="org_id", select application/json for the content type, and be highly recommend enabling SSL verification for security. The workflow must be published.
|
21
21
|
class GithubWebhookTrigger
|
22
22
|
include BaseGenericModel
|
23
23
|
|
@@ -21,7 +21,7 @@ module DatadogAPIClient::V2
|
|
21
21
|
class GithubWebhookTriggerWrapper
|
22
22
|
include BaseGenericModel
|
23
23
|
|
24
|
-
# Trigger a workflow
|
24
|
+
# Trigger a workflow from a GitHub webhook. To trigger a workflow from GitHub, you must set a `webhookSecret`. In your GitHub Webhook Settings, set the Payload URL to "base_url"/api/v2/workflows/"workflow_id"/webhook?orgId="org_id", select application/json for the content type, and be highly recommend enabling SSL verification for security. The workflow must be published.
|
25
25
|
attr_reader :github_webhook_trigger
|
26
26
|
|
27
27
|
# A list of steps that run first after a trigger fires.
|