Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
372 changes: 4 additions & 368 deletions .generator/schemas/v2/openapi.yaml

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion examples/v2/governance-console/UpdateGovernanceControl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
body = DatadogAPIClient::V2::GovernanceControlUpdateRequest.new({
data: DatadogAPIClient::V2::GovernanceControlUpdateData.new({
attributes: DatadogAPIClient::V2::GovernanceControlUpdateAttributes.new({
detection_frequency: "daily",
mitigation_type: "revoke_api_key",
}),
type: DatadogAPIClient::V2::GovernanceControlResourceType::GOVERNANCE_CONTROL,
Expand Down
8 changes: 0 additions & 8 deletions examples/v2/rum-rate-limit/DeleteRumRateLimitConfig.rb

This file was deleted.

8 changes: 0 additions & 8 deletions examples/v2/rum-rate-limit/GetRumRateLimitConfig.rb

This file was deleted.

28 changes: 0 additions & 28 deletions examples/v2/rum-rate-limit/UpdateRumRateLimitConfig.rb

This file was deleted.

13 changes: 0 additions & 13 deletions features/scenarios_model_mapping.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5414,19 +5414,6 @@
"metric_id" => "String",
"body" => "RumMetricUpdateRequest",
},
"v2.DeleteRumRateLimitConfig" => {
"scope_type" => "RumRateLimitScopeType",
"scope_id" => "String",
},
"v2.GetRumRateLimitConfig" => {
"scope_type" => "RumRateLimitScopeType",
"scope_id" => "String",
},
"v2.UpdateRumRateLimitConfig" => {
"scope_type" => "RumRateLimitScopeType",
"scope_id" => "String",
"body" => "RumRateLimitConfigUpdateRequest",
},
"v2.CreateRUMOperation" => {
"body" => "RUMOperationCreateRequest",
},
Expand Down
6 changes: 3 additions & 3 deletions features/v2/governance_console.feature
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ Feature: Governance Console
Given operation "UpdateGovernanceControl" enabled
And new "UpdateGovernanceControl" request
And request contains "detection_type" parameter from "REPLACE.ME"
And body with value {"data": {"attributes": {"detection_frequency": "daily", "mitigation_type": "revoke_api_key"}, "type": "governance_control"}}
And body with value {"data": {"attributes": {"mitigation_type": "revoke_api_key"}, "type": "governance_control"}}
When the request is sent
Then the response status is 400 Bad Request

Expand All @@ -184,7 +184,7 @@ Feature: Governance Console
Given operation "UpdateGovernanceControl" enabled
And new "UpdateGovernanceControl" request
And request contains "detection_type" parameter from "REPLACE.ME"
And body with value {"data": {"attributes": {"detection_frequency": "daily", "mitigation_type": "revoke_api_key"}, "type": "governance_control"}}
And body with value {"data": {"attributes": {"mitigation_type": "revoke_api_key"}, "type": "governance_control"}}
When the request is sent
Then the response status is 404 Not Found

Expand All @@ -193,7 +193,7 @@ Feature: Governance Console
Given operation "UpdateGovernanceControl" enabled
And new "UpdateGovernanceControl" request
And request contains "detection_type" parameter from "REPLACE.ME"
And body with value {"data": {"attributes": {"detection_frequency": "daily", "mitigation_type": "revoke_api_key"}, "type": "governance_control"}}
And body with value {"data": {"attributes": {"mitigation_type": "revoke_api_key"}, "type": "governance_control"}}
When the request is sent
Then the response status is 200 OK

Expand Down
93 changes: 0 additions & 93 deletions features/v2/rum_rate_limit.feature

This file was deleted.

18 changes: 0 additions & 18 deletions features/v2/undo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7039,24 +7039,6 @@
"type": "idempotent"
}
},
"DeleteRumRateLimitConfig": {
"tag": "Rum Rate Limit",
"undo": {
"type": "idempotent"
}
},
"GetRumRateLimitConfig": {
"tag": "Rum Rate Limit",
"undo": {
"type": "safe"
}
},
"UpdateRumRateLimitConfig": {
"tag": "Rum Rate Limit",
"undo": {
"type": "idempotent"
}
},
"ListRUMEvents": {
"tag": "RUM",
"undo": {
Expand Down
3 changes: 0 additions & 3 deletions lib/datadog_api_client/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -672,9 +672,6 @@ def initialize
"v2.create_rum_config": false,
"v2.get_rum_config": false,
"v2.update_rum_config": false,
"v2.delete_rum_rate_limit_config": false,
"v2.get_rum_rate_limit_config": false,
"v2.update_rum_rate_limit_config": false,
"v2.create_rum_operation": false,
"v2.create_rum_operation_strong_link": false,
"v2.delete_rum_operation": false,
Expand Down
14 changes: 0 additions & 14 deletions lib/datadog_api_client/inflector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6586,19 +6586,6 @@ def overrides
"v2.rum_query_filter" => "RUMQueryFilter",
"v2.rum_query_options" => "RUMQueryOptions",
"v2.rum_query_page_options" => "RUMQueryPageOptions",
"v2.rum_rate_limit_adaptive_config" => "RumRateLimitAdaptiveConfig",
"v2.rum_rate_limit_config_attributes" => "RumRateLimitConfigAttributes",
"v2.rum_rate_limit_config_data" => "RumRateLimitConfigData",
"v2.rum_rate_limit_config_response" => "RumRateLimitConfigResponse",
"v2.rum_rate_limit_config_type" => "RumRateLimitConfigType",
"v2.rum_rate_limit_config_update_attributes" => "RumRateLimitConfigUpdateAttributes",
"v2.rum_rate_limit_config_update_data" => "RumRateLimitConfigUpdateData",
"v2.rum_rate_limit_config_update_request" => "RumRateLimitConfigUpdateRequest",
"v2.rum_rate_limit_custom_config" => "RumRateLimitCustomConfig",
"v2.rum_rate_limit_mode" => "RumRateLimitMode",
"v2.rum_rate_limit_quota_reached_action" => "RumRateLimitQuotaReachedAction",
"v2.rum_rate_limit_scope_type" => "RumRateLimitScopeType",
"v2.rum_rate_limit_window_type" => "RumRateLimitWindowType",
"v2.rum_response_links" => "RUMResponseLinks",
"v2.rum_response_metadata" => "RUMResponseMetadata",
"v2.rum_response_page" => "RUMResponsePage",
Expand Down Expand Up @@ -8614,7 +8601,6 @@ def overrides
"v2.rum_insights_api" => "RUMInsightsAPI",
"v2.rum_metrics_api" => "RumMetricsAPI",
"v2.rum_operations_api" => "RUMOperationsAPI",
"v2.rum_rate_limit_api" => "RumRateLimitAPI",
"v2.rum_remote_config_api" => "RUMRemoteConfigAPI",
"v2.rum_replay_heatmaps_api" => "RumReplayHeatmapsAPI",
"v2.rum_replay_playlists_api" => "RumReplayPlaylistsAPI",
Expand Down
Loading
Loading