datadog_api_client 1.8.0 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.apigentools-info +4 -4
- data/.generator/conftest.py +476 -0
- data/.generator/poetry.lock +288 -71
- data/.generator/pyproject.toml +3 -0
- data/.generator/schemas/v1/openapi.yaml +1461 -270
- data/.generator/schemas/v2/openapi.yaml +1887 -221
- data/.generator/src/generator/__main__.py +1 -1
- data/.generator/src/generator/cli.py +16 -13
- data/.generator/src/generator/formatter.py +106 -39
- data/.generator/src/generator/openapi.py +184 -44
- data/.generator/src/generator/replacement.json +1 -0
- data/.generator/src/generator/templates/api.j2 +38 -17
- data/.generator/src/generator/templates/api_client.j2 +107 -67
- data/.generator/src/generator/templates/api_error.j2 +1 -1
- data/.generator/src/generator/templates/configuration.j2 +2 -13
- data/.generator/src/generator/templates/example.j2 +40 -0
- data/.generator/src/generator/templates/model.j2 +2 -2
- data/.generator/src/generator/templates/model_base.j2 +6 -6
- data/.generator/src/generator/templates/model_generic.j2 +46 -59
- data/.generator/src/generator/templates/model_oneof.j2 +4 -4
- data/.generator/src/generator/templates/package.j2 +9 -8
- data/.generator/tests/test_scenarios.py +6 -0
- data/.github/workflows/prepare_release.yml +15 -3
- data/.github/workflows/test.yml +10 -5
- data/.github/workflows/test_integration.yml +0 -7
- data/.pre-commit-config.yaml +12 -3
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +98 -0
- data/Makefile +3 -1
- data/README.md +17 -1
- data/check-examples.sh +0 -2
- data/datadog_api_client.gemspec +1 -1
- data/examples/v1/aws-integration/CreateAWSAccount.rb +26 -0
- data/examples/v1/aws-integration/CreateAWSTagFilter.rb +11 -0
- data/examples/v1/aws-integration/CreateNewAWSExternalID.rb +26 -0
- data/examples/v1/aws-integration/DeleteAWSAccount.rb +10 -0
- data/examples/v1/aws-integration/DeleteAWSTagFilter.rb +10 -0
- data/examples/v1/aws-integration/ListAWSAccounts.rb +5 -0
- data/examples/v1/aws-integration/ListAWSTagFilters.rb +5 -0
- data/examples/v1/aws-integration/ListAvailableAWSNamespaces.rb +5 -0
- data/examples/v1/aws-integration/UpdateAWSAccount.rb +30 -0
- data/examples/v1/aws-logs-integration/CheckAWSLogsLambdaAsync.rb +10 -0
- data/examples/v1/aws-logs-integration/CheckAWSLogsServicesAsync.rb +17 -0
- data/examples/v1/aws-logs-integration/CreateAWSLambdaARN.rb +10 -0
- data/examples/v1/aws-logs-integration/DeleteAWSLambdaARN.rb +10 -0
- data/examples/v1/aws-logs-integration/EnableAWSLogServices.rb +17 -0
- data/examples/v1/aws-logs-integration/ListAWSLogsIntegrations.rb +5 -0
- data/examples/v1/aws-logs-integration/ListAWSLogsServices.rb +5 -0
- data/examples/v1/azure-integration/CreateAzureIntegration.rb +18 -0
- data/examples/v1/azure-integration/DeleteAzureIntegration.rb +18 -0
- data/examples/v1/azure-integration/ListAzureIntegration.rb +5 -0
- data/examples/v1/azure-integration/UpdateAzureHostFilters.rb +18 -0
- data/examples/v1/azure-integration/UpdateAzureIntegration.rb +18 -0
- data/examples/v1/dashboards/CreateDashboard_1442588603.rb +61 -0
- data/examples/v1/dashboards/CreateDashboard_2308247857.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_2316374332.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_2338918735.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_252716965.rb +52 -0
- data/examples/v1/dashboards/CreateDashboard_3882428227.rb +60 -0
- data/examples/v1/dashboards/CreateDashboard_4026341408.rb +32 -0
- data/examples/v1/dashboards/CreateDashboard_4076476470.rb +32 -0
- data/examples/v1/dashboards/CreateDashboard_765140092.rb +53 -0
- data/examples/v1/dashboards/UpdateDashboard.rb +1 -1
- data/examples/v1/downtimes/CreateDowntime_2908359488.rb +1 -0
- data/examples/v1/downtimes/CreateDowntime_3059354445.rb +1 -0
- data/examples/v1/downtimes/ListDowntimes.rb +5 -0
- data/examples/v1/downtimes/ListMonitorDowntimes.rb +5 -0
- data/examples/v1/downtimes/UpdateDowntime.rb +1 -0
- data/examples/v1/events/GetEvent.rb +5 -0
- data/examples/v1/events/ListEvents.rb +5 -0
- data/examples/v1/gcp-integration/CreateGCPIntegration.rb +22 -0
- data/examples/v1/gcp-integration/DeleteGCPIntegration.rb +22 -0
- data/examples/v1/gcp-integration/ListGCPIntegration.rb +5 -0
- data/examples/v1/gcp-integration/UpdateGCPIntegration.rb +22 -0
- data/examples/v1/hosts/GetHostTotals.rb +5 -0
- data/examples/v1/hosts/MuteHost.rb +11 -0
- data/examples/v1/hosts/UnmuteHost.rb +5 -0
- data/examples/v1/key-management/CreateAPIKey.rb +9 -0
- data/examples/v1/key-management/CreateApplicationKey.rb +9 -0
- data/examples/v1/key-management/DeleteAPIKey.rb +5 -0
- data/examples/v1/key-management/DeleteApplicationKey.rb +5 -0
- data/examples/v1/key-management/GetAPIKey.rb +5 -0
- data/examples/v1/key-management/GetApplicationKey.rb +5 -0
- data/examples/v1/key-management/ListAPIKeys.rb +5 -0
- data/examples/v1/key-management/ListApplicationKeys.rb +5 -0
- data/examples/v1/key-management/UpdateAPIKey.rb +9 -0
- data/examples/v1/key-management/UpdateApplicationKey.rb +9 -0
- data/examples/v1/logs/ListLogs.rb +15 -0
- data/examples/v1/logs/ListLogs_235998668.rb +1 -1
- data/examples/v1/logs-indexes/CreateLogsIndex.rb +23 -0
- data/examples/v1/logs-indexes/GetLogsIndex.rb +5 -0
- data/examples/v1/logs-indexes/GetLogsIndexOrder.rb +5 -0
- data/examples/v1/logs-indexes/ListLogIndexes.rb +5 -0
- data/examples/v1/logs-indexes/UpdateLogsIndex.rb +20 -0
- data/examples/v1/logs-indexes/UpdateLogsIndexOrder.rb +13 -0
- data/examples/v1/logs-pipelines/CreateLogsPipeline.rb +24 -0
- data/examples/v1/logs-pipelines/DeleteLogsPipeline.rb +5 -0
- data/examples/v1/logs-pipelines/GetLogsPipeline.rb +5 -0
- data/examples/v1/logs-pipelines/GetLogsPipelineOrder.rb +5 -0
- data/examples/v1/logs-pipelines/ListLogsPipelines.rb +5 -0
- data/examples/v1/logs-pipelines/UpdateLogsPipeline.rb +24 -0
- data/examples/v1/logs-pipelines/UpdateLogsPipelineOrder.rb +13 -0
- data/examples/v1/metrics/GetMetricMetadata.rb +5 -0
- data/examples/v1/metrics/ListActiveMetrics.rb +5 -0
- data/examples/v1/metrics/ListMetrics.rb +5 -0
- data/examples/v1/metrics/SubmitDistributionPoints.rb +22 -0
- data/examples/v1/metrics/SubmitDistributionPoints_3109558960.rb +25 -0
- data/examples/v1/metrics/UpdateMetricMetadata.rb +11 -0
- data/examples/v1/monitors/CreateMonitor_1969035628.rb +52 -0
- data/examples/v1/monitors/CreateMonitor_2520912138.rb +22 -0
- data/examples/v1/monitors/CreateMonitor_3824294658.rb +52 -0
- data/examples/v1/monitors/ListMonitors_3448441939.rb +9 -0
- data/examples/v1/monitors/ValidateExistingMonitor.rb +39 -0
- data/examples/v1/organizations/CreateChildOrg.rb +15 -0
- data/examples/v1/organizations/DowngradeOrg.rb +5 -0
- data/examples/v1/organizations/GetOrg.rb +5 -0
- data/examples/v1/organizations/ListOrgs.rb +5 -0
- data/examples/v1/organizations/UpdateOrg.rb +41 -0
- data/examples/v1/organizations/UploadIdPForOrg.rb +5 -0
- data/examples/v1/pagerduty-integration/CreatePagerDutyIntegrationService.rb +10 -0
- data/examples/v1/pagerduty-integration/DeletePagerDutyIntegrationService.rb +5 -0
- data/examples/v1/pagerduty-integration/GetPagerDutyIntegrationService.rb +5 -0
- data/examples/v1/pagerduty-integration/UpdatePagerDutyIntegrationService.rb +9 -0
- data/examples/v1/security-monitoring/AddSecurityMonitoringSignalToIncident.rb +9 -0
- data/examples/v1/security-monitoring/EditSecurityMonitoringSignalAssignee.rb +9 -0
- data/examples/v1/security-monitoring/EditSecurityMonitoringSignalState.rb +10 -0
- data/examples/v1/service-level-objective-corrections/CreateSLOCorrection.rb +0 -3
- data/examples/v1/service-level-objective-corrections/CreateSLOCorrection_1326388368.rb +0 -3
- data/examples/v1/service-level-objective-corrections/DeleteSLOCorrection.rb +5 -0
- data/examples/v1/service-level-objective-corrections/GetSLOCorrection.rb +0 -3
- data/examples/v1/service-level-objective-corrections/ListSLOCorrection.rb +0 -3
- data/examples/v1/service-level-objective-corrections/UpdateSLOCorrection.rb +0 -3
- data/examples/v1/service-level-objectives/CheckCanDeleteSLO.rb +5 -0
- data/examples/v1/service-level-objectives/DeleteSLOTimeframeInBulk.rb +15 -0
- data/examples/v1/service-level-objectives/GetSLOCorrections.rb +0 -3
- data/examples/v1/service-level-objectives/ListSLOs.rb +1 -1
- data/examples/v1/service-level-objectives/SearchSLO.rb +16 -0
- data/examples/v1/slack-integration/CreateSlackIntegrationChannel.rb +15 -0
- data/examples/v1/slack-integration/GetSlackIntegrationChannel.rb +5 -0
- data/examples/v1/slack-integration/GetSlackIntegrationChannels.rb +5 -0
- data/examples/v1/slack-integration/RemoveSlackIntegrationChannel.rb +5 -0
- data/examples/v1/slack-integration/UpdateSlackIntegrationChannel.rb +15 -0
- data/examples/v1/snapshots/GetGraphSnapshot.rb +2 -0
- data/examples/v1/synthetics/CreateGlobalVariable.rb +32 -0
- data/examples/v1/synthetics/CreatePrivateLocation.rb +21 -0
- data/examples/v1/synthetics/CreateSyntheticsAPITest.rb +22 -60
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1402674167.rb +44 -0
- data/examples/v1/synthetics/CreateSyntheticsBrowserTest.rb +1 -1
- data/examples/v1/synthetics/CreateSyntheticsBrowserTest_2932742688.rb +67 -0
- data/examples/v1/synthetics/DeleteGlobalVariable.rb +5 -0
- data/examples/v1/synthetics/DeletePrivateLocation.rb +5 -0
- data/examples/v1/synthetics/DeleteTests.rb +14 -0
- data/examples/v1/synthetics/EditGlobalVariable.rb +32 -0
- data/examples/v1/synthetics/GetAPITest.rb +5 -0
- data/examples/v1/synthetics/GetAPITestLatestResults.rb +5 -0
- data/examples/v1/synthetics/GetAPITestResult.rb +5 -0
- data/examples/v1/synthetics/GetBrowserTest.rb +5 -0
- data/examples/v1/synthetics/GetBrowserTestLatestResults.rb +5 -0
- data/examples/v1/synthetics/GetBrowserTestResult.rb +5 -0
- data/examples/v1/synthetics/GetGlobalVariable.rb +5 -0
- data/examples/v1/synthetics/GetPrivateLocation.rb +5 -0
- data/examples/v1/synthetics/GetSyntheticsCIBatch.rb +5 -0
- data/examples/v1/synthetics/GetTest.rb +5 -0
- data/examples/v1/synthetics/ListGlobalVariables.rb +5 -0
- data/examples/v1/synthetics/ListLocations.rb +5 -0
- data/examples/v1/synthetics/ListTests.rb +5 -0
- data/examples/v1/synthetics/TriggerCITests.rb +32 -0
- data/examples/v1/synthetics/UpdateBrowserTest.rb +72 -0
- data/examples/v1/synthetics/UpdatePrivateLocation.rb +18 -0
- data/examples/v1/synthetics/UpdateTestPauseStatus.rb +9 -0
- data/examples/v1/tags/CreateHostTags.rb +12 -0
- data/examples/v1/tags/DeleteHostTags.rb +5 -0
- data/examples/v1/tags/GetHostTags.rb +5 -0
- data/examples/v1/tags/ListHostTags.rb +5 -0
- data/examples/v1/tags/UpdateHostTags.rb +12 -0
- data/examples/v1/usage-metering/GetDailyCustomReports.rb +8 -0
- data/examples/v1/usage-metering/GetHourlyUsageAttribution.rb +1 -1
- data/examples/v1/usage-metering/GetMonthlyCustomReports.rb +8 -0
- data/examples/v1/usage-metering/GetMonthlyUsageAttribution.rb +1 -1
- data/examples/v1/usage-metering/GetMonthlyUsageAttribution_3849653599.rb +11 -0
- data/examples/v1/usage-metering/GetSpecifiedDailyCustomReports.rb +8 -0
- data/examples/v1/usage-metering/GetSpecifiedMonthlyCustomReports.rb +8 -0
- data/examples/v1/usage-metering/GetUsageAttribution.rb +1 -1
- data/examples/v1/usage-metering/GetUsageAuditLogs.rb +8 -0
- data/examples/v1/usage-metering/GetUsageBillableSummary.rb +5 -0
- data/examples/v1/usage-metering/GetUsageCWS.rb +8 -0
- data/examples/v1/usage-metering/GetUsageDBM.rb +8 -0
- data/examples/v1/usage-metering/GetUsageFargate.rb +8 -0
- data/examples/v1/usage-metering/GetUsageHosts.rb +8 -0
- data/examples/v1/usage-metering/GetUsageLambda.rb +8 -0
- data/examples/v1/usage-metering/GetUsageLogs.rb +8 -0
- data/examples/v1/usage-metering/GetUsageLogsByIndex.rb +8 -0
- data/examples/v1/usage-metering/GetUsageLogsByRetention.rb +8 -0
- data/examples/v1/usage-metering/GetUsageNetworkFlows.rb +8 -0
- data/examples/v1/usage-metering/GetUsageNetworkHosts.rb +8 -0
- data/examples/v1/usage-metering/GetUsageRumSessions.rb +8 -0
- data/examples/v1/usage-metering/GetUsageRumSessions_3271366243.rb +9 -0
- data/examples/v1/usage-metering/GetUsageRumUnits.rb +8 -0
- data/examples/v1/usage-metering/GetUsageSDS.rb +8 -0
- data/examples/v1/usage-metering/GetUsageSummary.rb +5 -0
- data/examples/v1/usage-metering/GetUsageSynthetics.rb +5 -0
- data/examples/v1/usage-metering/GetUsageSyntheticsAPI.rb +8 -0
- data/examples/v1/usage-metering/GetUsageSyntheticsBrowser.rb +8 -0
- data/examples/v1/usage-metering/GetUsageTimeseries.rb +8 -0
- data/examples/v1/usage-metering/GetUsageTopAvgMetrics.rb +8 -0
- data/examples/v1/users/CreateUser.rb +13 -0
- data/examples/v1/users/DisableUser.rb +5 -0
- data/examples/v1/users/GetUser.rb +5 -0
- data/examples/v1/users/ListUsers.rb +5 -0
- data/examples/v1/users/UpdateUser.rb +13 -0
- data/examples/v1/webhooks-integration/GetWebhooksIntegrationCustomVariable.rb +5 -0
- data/examples/v2/authn-mappings/CreateAuthNMapping.rb +1 -1
- data/examples/v2/authn-mappings/DeleteAuthNMapping.rb +1 -1
- data/examples/v2/authn-mappings/GetAuthNMapping.rb +1 -1
- data/examples/v2/authn-mappings/ListAuthNMappings.rb +1 -1
- data/examples/v2/authn-mappings/UpdateAuthNMapping.rb +1 -1
- data/examples/v2/dashboard-lists/CreateDashboardListItems.rb +14 -0
- data/examples/v2/dashboard-lists/CreateDashboardListItems_3995409989.rb +20 -0
- data/examples/v2/dashboard-lists/CreateDashboardListItems_825696022.rb +20 -0
- data/examples/v2/dashboard-lists/DeleteDashboardListItems.rb +14 -0
- data/examples/v2/dashboard-lists/DeleteDashboardListItems_2656706656.rb +20 -0
- data/examples/v2/dashboard-lists/DeleteDashboardListItems_3851624753.rb +20 -0
- data/examples/v2/dashboard-lists/GetDashboardListItems.rb +8 -0
- data/examples/v2/dashboard-lists/UpdateDashboardListItems.rb +20 -0
- data/examples/v2/key-management/CreateCurrentUserApplicationKey.rb +19 -0
- data/examples/v2/key-management/DeleteApplicationKey.rb +5 -0
- data/examples/v2/key-management/DeleteCurrentUserApplicationKey.rb +5 -0
- data/examples/v2/key-management/GetCurrentUserApplicationKey.rb +5 -0
- data/examples/v2/key-management/ListApplicationKeys.rb +5 -0
- data/examples/v2/key-management/ListCurrentUserApplicationKeys.rb +5 -0
- data/examples/v2/logs/AggregateLogs_2955613758.rb +1 -1
- data/examples/v2/logs/ListLogsGet.rb +5 -0
- data/examples/v2/logs/SubmitLog.rb +16 -0
- data/examples/v2/logs-archives/AddReadRoleToArchive.rb +12 -0
- data/examples/v2/logs-archives/CreateLogsArchive.rb +30 -0
- data/examples/v2/logs-archives/DeleteLogsArchive.rb +5 -0
- data/examples/v2/logs-archives/GetLogsArchive.rb +5 -0
- data/examples/v2/logs-archives/GetLogsArchiveOrder.rb +5 -0
- data/examples/v2/logs-archives/ListArchiveReadRoles.rb +5 -0
- data/examples/v2/logs-archives/ListLogsArchives.rb +5 -0
- data/examples/v2/logs-archives/RemoveRoleFromArchive.rb +12 -0
- data/examples/v2/logs-archives/UpdateLogsArchive.rb +30 -0
- data/examples/v2/logs-archives/UpdateLogsArchiveOrder.rb +18 -0
- data/examples/v2/metrics/CreateTagConfiguration.rb +19 -0
- data/examples/v2/metrics/DeleteTagConfiguration.rb +5 -0
- data/examples/v2/metrics/EstimateMetricsOutputSeries.rb +9 -0
- data/examples/v2/metrics/ListTagConfigurationByName.rb +8 -0
- data/examples/v2/metrics/ListTagConfigurations.rb +5 -0
- data/examples/v2/metrics/ListTagConfigurations_103226315.rb +8 -0
- data/examples/v2/metrics/ListTagConfigurations_1799362914.rb +0 -3
- data/examples/v2/metrics/ListTagsByMetricName.rb +8 -0
- data/examples/v2/metrics/ListVolumesByMetricName.rb +5 -0
- data/examples/v2/metrics/SubmitMetrics.rb +20 -0
- data/examples/v2/metrics/UpdateTagConfiguration.rb +20 -0
- data/examples/v2/opsgenie-integration/CreateOpsgenieService.rb +16 -0
- data/examples/v2/opsgenie-integration/DeleteOpsgenieService.rb +8 -0
- data/examples/v2/opsgenie-integration/GetOpsgenieService.rb +8 -0
- data/examples/v2/opsgenie-integration/ListOpsgenieServices.rb +5 -0
- data/examples/v2/opsgenie-integration/UpdateOpsgenieService.rb +21 -0
- data/examples/v2/organizations/UploadIdPMetadata.rb +8 -0
- data/examples/v2/rum/AggregateRUMEvents.rb +33 -0
- data/examples/v2/rum/SearchRUMEvents.rb +1 -4
- data/examples/v2/security-monitoring/DeleteSecurityFilter.rb +5 -0
- data/examples/v2/security-monitoring/GetSecurityMonitoringRule.rb +5 -0
- data/examples/v2/security-monitoring/ListSecurityMonitoringRules.rb +5 -0
- data/examples/v2/security-monitoring/ListSecurityMonitoringSignals.rb +5 -0
- data/examples/v2/security-monitoring/SearchSecurityMonitoringSignals.rb +21 -0
- data/examples/v2/security-monitoring/UpdateSecurityMonitoringRule.rb +46 -0
- data/examples/v2/service-accounts/CreateServiceAccountApplicationKey.rb +19 -0
- data/examples/v2/service-accounts/DeleteServiceAccountApplicationKey.rb +5 -0
- data/examples/v2/service-accounts/GetServiceAccountApplicationKey.rb +5 -0
- data/examples/v2/service-accounts/ListServiceAccountApplicationKeys.rb +5 -0
- data/examples/v2/service-accounts/UpdateServiceAccountApplicationKey.rb +20 -0
- data/examples/v2/usage-metering/GetCostByOrg.rb +5 -0
- data/examples/v2/usage-metering/GetEstimatedCostByOrg.rb +5 -0
- data/examples/v2/usage-metering/GetEstimatedCostByOrg_1171921972.rb +9 -0
- data/examples/v2/usage-metering/GetEstimatedCostByOrg_627383212.rb +9 -0
- data/examples/v2/usage-metering/GetUsageApplicationSecurityMonitoring.rb +8 -0
- data/examples/v2/usage-metering/GetUsageLambdaTracedInvocations.rb +8 -0
- data/examples/v2/usage-metering/GetUsageObservabilityPipelines.rb +8 -0
- data/examples/v2/users/GetUser.rb +5 -0
- data/examples/v2/users/ListUserOrganizations.rb +5 -0
- data/lib/datadog_api_client/user_agent.rb +15 -0
- data/lib/datadog_api_client/v1/api/authentication_api.rb +7 -6
- data/lib/datadog_api_client/v1/api/aws_integration_api.rb +60 -67
- data/lib/datadog_api_client/v1/api/aws_logs_integration_api.rb +47 -61
- data/lib/datadog_api_client/v1/api/azure_integration_api.rb +34 -41
- data/lib/datadog_api_client/v1/api/dashboard_lists_api.rb +34 -34
- data/lib/datadog_api_client/v1/api/dashboards_api.rb +47 -53
- data/lib/datadog_api_client/v1/api/downtimes_api.rb +47 -48
- data/lib/datadog_api_client/v1/api/events_api.rb +19 -38
- data/lib/datadog_api_client/v1/api/gcp_integration_api.rb +28 -30
- data/lib/datadog_api_client/v1/api/hosts_api.rb +27 -39
- data/lib/datadog_api_client/v1/api/ip_ranges_api.rb +7 -6
- data/lib/datadog_api_client/v1/api/key_management_api.rb +70 -70
- data/lib/datadog_api_client/v1/api/logs_api.rb +12 -40
- data/lib/datadog_api_client/v1/api/logs_indexes_api.rb +41 -46
- data/lib/datadog_api_client/v1/api/logs_pipelines_api.rb +47 -57
- data/lib/datadog_api_client/v1/api/metrics_api.rb +122 -57
- data/lib/datadog_api_client/v1/api/monitors_api.rb +209 -305
- data/lib/datadog_api_client/v1/api/notebooks_api.rb +35 -46
- data/lib/datadog_api_client/v1/api/organizations_api.rb +113 -55
- data/lib/datadog_api_client/v1/api/pager_duty_integration_api.rb +28 -29
- data/lib/datadog_api_client/v1/api/security_monitoring_api.rb +266 -0
- data/lib/datadog_api_client/v1/api/service_checks_api.rb +6 -10
- data/lib/datadog_api_client/v1/api/service_level_objective_corrections_api.rb +36 -36
- data/lib/datadog_api_client/v1/api/service_level_objectives_api.rb +147 -100
- data/lib/datadog_api_client/v1/api/slack_integration_api.rb +35 -40
- data/lib/datadog_api_client/v1/api/snapshots_api.rb +10 -12
- data/lib/datadog_api_client/v1/api/synthetics_api.rb +189 -202
- data/lib/datadog_api_client/v1/api/tags_api.rb +35 -44
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +295 -322
- data/lib/datadog_api_client/v1/api/users_api.rb +32 -40
- data/lib/datadog_api_client/v1/api/webhooks_integration_api.rb +55 -60
- data/lib/datadog_api_client/v1/api_client.rb +104 -64
- data/lib/datadog_api_client/v1/configuration.rb +52 -18
- data/lib/datadog_api_client/v1/models/add_signal_to_incident_request.rb +142 -0
- data/lib/datadog_api_client/v1/models/alert_graph_widget_definition.rb +0 -17
- data/lib/datadog_api_client/v1/models/alert_value_widget_definition.rb +0 -14
- data/lib/datadog_api_client/v1/models/api_error_response.rb +0 -11
- data/lib/datadog_api_client/v1/models/api_key.rb +0 -14
- data/lib/datadog_api_client/v1/models/api_key_list_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/api_key_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/apm_stats_query_column_type.rb +0 -11
- data/lib/datadog_api_client/v1/models/apm_stats_query_definition.rb +0 -23
- data/lib/datadog_api_client/v1/models/application_key.rb +0 -14
- data/lib/datadog_api_client/v1/models/application_key_list_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/application_key_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/authentication_validation_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/aws_account.rb +0 -8
- data/lib/datadog_api_client/v1/models/aws_account_and_lambda_request.rb +0 -14
- data/lib/datadog_api_client/v1/models/aws_account_create_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/aws_account_delete_request.rb +0 -8
- data/lib/datadog_api_client/v1/models/aws_account_list_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/aws_logs_async_error.rb +0 -8
- data/lib/datadog_api_client/v1/models/aws_logs_async_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/aws_logs_lambda.rb +0 -8
- data/lib/datadog_api_client/v1/models/aws_logs_list_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/aws_logs_list_services_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/aws_logs_services_request.rb +0 -14
- data/lib/datadog_api_client/v1/models/aws_tag_filter.rb +0 -8
- data/lib/datadog_api_client/v1/models/aws_tag_filter_create_request.rb +0 -8
- data/lib/datadog_api_client/v1/models/aws_tag_filter_delete_request.rb +0 -8
- data/lib/datadog_api_client/v1/models/aws_tag_filter_list_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/azure_account.rb +0 -8
- data/lib/datadog_api_client/v1/models/cancel_downtimes_by_scope_request.rb +0 -11
- data/lib/datadog_api_client/v1/models/canceled_downtimes_ids.rb +0 -8
- data/lib/datadog_api_client/v1/models/change_widget_definition.rb +0 -20
- data/lib/datadog_api_client/v1/models/change_widget_request.rb +0 -8
- data/lib/datadog_api_client/v1/models/check_can_delete_monitor_response.rb +0 -11
- data/lib/datadog_api_client/v1/models/check_can_delete_monitor_response_data.rb +0 -8
- data/lib/datadog_api_client/v1/models/check_can_delete_slo_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/check_can_delete_slo_response_data.rb +0 -8
- data/lib/datadog_api_client/v1/models/check_status_widget_definition.rb +0 -17
- data/lib/datadog_api_client/v1/models/creator.rb +0 -8
- data/lib/datadog_api_client/v1/models/dashboard.rb +0 -17
- data/lib/datadog_api_client/v1/models/dashboard_bulk_action_data.rb +0 -14
- data/lib/datadog_api_client/v1/models/dashboard_bulk_delete_request.rb +0 -11
- data/lib/datadog_api_client/v1/models/dashboard_delete_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/dashboard_list.rb +0 -11
- data/lib/datadog_api_client/v1/models/dashboard_list_delete_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/dashboard_list_list_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/dashboard_restore_request.rb +0 -11
- data/lib/datadog_api_client/v1/models/dashboard_summary.rb +0 -8
- data/lib/datadog_api_client/v1/models/dashboard_summary_definition.rb +0 -8
- data/lib/datadog_api_client/v1/models/dashboard_template_variable.rb +0 -11
- data/lib/datadog_api_client/v1/models/dashboard_template_variable_preset.rb +0 -8
- data/lib/datadog_api_client/v1/models/dashboard_template_variable_preset_value.rb +0 -8
- data/lib/datadog_api_client/v1/models/deleted_monitor.rb +0 -8
- data/lib/datadog_api_client/v1/models/distribution_point_item.rb +63 -0
- data/lib/datadog_api_client/v1/models/distribution_points_content_encoding.rb +26 -0
- data/lib/datadog_api_client/v1/models/distribution_points_payload.rb +124 -0
- data/lib/datadog_api_client/v1/models/distribution_points_series.rb +179 -0
- data/lib/datadog_api_client/v1/models/distribution_points_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/distribution_widget_definition.rb +0 -20
- data/lib/datadog_api_client/v1/models/distribution_widget_histogram_request_query.rb +64 -0
- data/lib/datadog_api_client/v1/models/distribution_widget_histogram_request_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/distribution_widget_request.rb +21 -9
- data/lib/datadog_api_client/v1/models/distribution_widget_x_axis.rb +0 -8
- data/lib/datadog_api_client/v1/models/distribution_widget_y_axis.rb +0 -8
- data/lib/datadog_api_client/v1/models/downtime.rb +11 -18
- data/lib/datadog_api_client/v1/models/downtime_child.rb +11 -18
- data/lib/datadog_api_client/v1/models/downtime_recurrence.rb +0 -14
- data/lib/datadog_api_client/v1/models/event.rb +2 -13
- data/lib/datadog_api_client/v1/models/event_create_request.rb +1 -21
- data/lib/datadog_api_client/v1/models/event_create_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/event_list_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/event_query_definition.rb +0 -14
- data/lib/datadog_api_client/v1/models/event_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/event_stream_widget_definition.rb +0 -14
- data/lib/datadog_api_client/v1/models/event_timeline_widget_definition.rb +0 -14
- data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb +0 -29
- data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stat_name.rb +1 -0
- data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_query_definition.rb +0 -23
- data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition.rb +0 -17
- data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition_compute.rb +0 -11
- data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition_search.rb +0 -11
- data/lib/datadog_api_client/v1/models/formula_and_function_event_query_group_by.rb +0 -11
- data/lib/datadog_api_client/v1/models/formula_and_function_event_query_group_by_sort.rb +0 -11
- data/lib/datadog_api_client/v1/models/formula_and_function_metric_query_definition.rb +0 -17
- data/lib/datadog_api_client/v1/models/formula_and_function_process_query_definition.rb +0 -17
- data/lib/datadog_api_client/v1/models/free_text_widget_definition.rb +0 -14
- data/lib/datadog_api_client/v1/models/funnel_query.rb +0 -17
- data/lib/datadog_api_client/v1/models/funnel_step.rb +0 -14
- data/lib/datadog_api_client/v1/models/funnel_widget_definition.rb +0 -20
- data/lib/datadog_api_client/v1/models/funnel_widget_request.rb +0 -14
- data/lib/datadog_api_client/v1/models/gcp_account.rb +0 -8
- data/lib/datadog_api_client/v1/models/geomap_widget_definition.rb +0 -26
- data/lib/datadog_api_client/v1/models/geomap_widget_definition_style.rb +0 -14
- data/lib/datadog_api_client/v1/models/geomap_widget_definition_view.rb +0 -11
- data/lib/datadog_api_client/v1/models/geomap_widget_request.rb +0 -8
- data/lib/datadog_api_client/v1/models/graph_snapshot.rb +0 -8
- data/lib/datadog_api_client/v1/models/group_widget_definition.rb +0 -17
- data/lib/datadog_api_client/v1/models/heat_map_widget_definition.rb +0 -20
- data/lib/datadog_api_client/v1/models/heat_map_widget_request.rb +0 -8
- data/lib/datadog_api_client/v1/models/host.rb +0 -8
- data/lib/datadog_api_client/v1/models/host_list_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/host_map_request.rb +0 -8
- data/lib/datadog_api_client/v1/models/host_map_widget_definition.rb +0 -14
- data/lib/datadog_api_client/v1/models/host_map_widget_definition_requests.rb +0 -8
- data/lib/datadog_api_client/v1/models/host_map_widget_definition_style.rb +0 -8
- data/lib/datadog_api_client/v1/models/host_meta.rb +0 -8
- data/lib/datadog_api_client/v1/models/host_meta_install_method.rb +0 -8
- data/lib/datadog_api_client/v1/models/host_metrics.rb +0 -8
- data/lib/datadog_api_client/v1/models/host_mute_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/host_mute_settings.rb +0 -8
- data/lib/datadog_api_client/v1/models/host_tags.rb +0 -8
- data/lib/datadog_api_client/v1/models/host_totals.rb +0 -8
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_body.rb +0 -8
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_metadata.rb +0 -8
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_pagination.rb +1 -8
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +2 -0
- data/lib/datadog_api_client/v1/models/http_log_error.rb +0 -17
- data/lib/datadog_api_client/v1/models/http_log_item.rb +29 -15
- data/lib/datadog_api_client/v1/models/i_frame_widget_definition.rb +0 -14
- data/lib/datadog_api_client/v1/models/idp_form_data.rb +0 -11
- data/lib/datadog_api_client/v1/models/idp_response.rb +0 -11
- data/lib/datadog_api_client/v1/models/image_widget_definition.rb +0 -14
- data/lib/datadog_api_client/v1/models/intake_payload_accepted.rb +0 -8
- data/lib/datadog_api_client/v1/models/ip_prefixes_agents.rb +0 -8
- data/lib/datadog_api_client/v1/models/ip_prefixes_api.rb +0 -8
- data/lib/datadog_api_client/v1/models/ip_prefixes_apm.rb +0 -8
- data/lib/datadog_api_client/v1/models/ip_prefixes_logs.rb +0 -8
- data/lib/datadog_api_client/v1/models/ip_prefixes_process.rb +0 -8
- data/lib/datadog_api_client/v1/models/ip_prefixes_synthetics.rb +0 -8
- data/lib/datadog_api_client/v1/models/{monitor_group_search_response_counts_type_item.rb → ip_prefixes_synthetics_private_locations.rb} +23 -27
- data/lib/datadog_api_client/v1/models/ip_prefixes_webhooks.rb +0 -8
- data/lib/datadog_api_client/v1/models/ip_ranges.rb +11 -9
- data/lib/datadog_api_client/v1/models/list_stream_column.rb +0 -14
- data/lib/datadog_api_client/v1/models/list_stream_query.rb +1 -15
- data/lib/datadog_api_client/v1/models/list_stream_source.rb +2 -1
- data/lib/datadog_api_client/v1/models/list_stream_widget_definition.rb +0 -20
- data/lib/datadog_api_client/v1/models/list_stream_widget_request.rb +0 -17
- data/lib/datadog_api_client/v1/models/log.rb +0 -8
- data/lib/datadog_api_client/v1/models/log_content.rb +4 -10
- data/lib/datadog_api_client/v1/models/log_query_definition.rb +0 -8
- data/lib/datadog_api_client/v1/models/log_query_definition_group_by.rb +0 -11
- data/lib/datadog_api_client/v1/models/log_query_definition_group_by_sort.rb +0 -14
- data/lib/datadog_api_client/v1/models/log_query_definition_search.rb +0 -11
- data/lib/datadog_api_client/v1/models/log_stream_widget_definition.rb +0 -11
- data/lib/datadog_api_client/v1/models/logs_api_error.rb +0 -8
- data/lib/datadog_api_client/v1/models/logs_api_error_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/logs_arithmetic_processor.rb +0 -17
- data/lib/datadog_api_client/v1/models/logs_attribute_remapper.rb +0 -17
- data/lib/datadog_api_client/v1/models/logs_by_retention.rb +0 -8
- data/lib/datadog_api_client/v1/models/logs_by_retention_monthly_usage.rb +0 -8
- data/lib/datadog_api_client/v1/models/logs_by_retention_org_usage.rb +0 -8
- data/lib/datadog_api_client/v1/models/logs_by_retention_orgs.rb +0 -8
- data/lib/datadog_api_client/v1/models/logs_category_processor.rb +1 -18
- data/lib/datadog_api_client/v1/models/logs_category_processor_category.rb +0 -8
- data/lib/datadog_api_client/v1/models/logs_date_remapper.rb +0 -14
- data/lib/datadog_api_client/v1/models/logs_exclusion.rb +0 -11
- data/lib/datadog_api_client/v1/models/logs_exclusion_filter.rb +0 -11
- data/lib/datadog_api_client/v1/models/logs_filter.rb +0 -8
- data/lib/datadog_api_client/v1/models/logs_geo_ip_parser.rb +0 -17
- data/lib/datadog_api_client/v1/models/logs_grok_parser.rb +0 -20
- data/lib/datadog_api_client/v1/models/logs_grok_parser_rules.rb +0 -11
- data/lib/datadog_api_client/v1/models/logs_index.rb +0 -14
- data/lib/datadog_api_client/v1/models/logs_index_list_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/logs_index_update_request.rb +0 -11
- data/lib/datadog_api_client/v1/models/logs_indexes_order.rb +0 -11
- data/lib/datadog_api_client/v1/models/logs_list_request.rb +1 -15
- data/lib/datadog_api_client/v1/models/logs_list_request_time.rb +0 -14
- data/lib/datadog_api_client/v1/models/logs_list_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/logs_lookup_processor.rb +0 -20
- data/lib/datadog_api_client/v1/models/logs_message_remapper.rb +0 -14
- data/lib/datadog_api_client/v1/models/logs_pipeline.rb +0 -11
- data/lib/datadog_api_client/v1/models/logs_pipeline_processor.rb +0 -11
- data/lib/datadog_api_client/v1/models/logs_pipelines_order.rb +0 -11
- data/lib/datadog_api_client/v1/models/logs_query_compute.rb +0 -11
- data/lib/datadog_api_client/v1/models/logs_retention_agg_sum_usage.rb +0 -8
- data/lib/datadog_api_client/v1/models/logs_retention_sum_usage.rb +0 -8
- data/lib/datadog_api_client/v1/models/logs_service_remapper.rb +0 -14
- data/lib/datadog_api_client/v1/models/logs_sort.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_status_remapper.rb +0 -14
- data/lib/datadog_api_client/v1/models/logs_string_builder_processor.rb +0 -17
- data/lib/datadog_api_client/v1/models/logs_trace_remapper.rb +0 -11
- data/lib/datadog_api_client/v1/models/logs_url_parser.rb +0 -17
- data/lib/datadog_api_client/v1/models/logs_user_agent_parser.rb +0 -17
- data/lib/datadog_api_client/v1/models/metric_metadata.rb +0 -8
- data/lib/datadog_api_client/v1/models/metric_search_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/metric_search_response_results.rb +0 -8
- data/lib/datadog_api_client/v1/models/metrics_list_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/metrics_payload.rb +0 -11
- data/lib/datadog_api_client/v1/models/metrics_query_metadata.rb +0 -14
- data/lib/datadog_api_client/v1/models/metrics_query_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/metrics_query_unit.rb +0 -8
- data/lib/datadog_api_client/v1/models/monitor.rb +1 -21
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition.rb +0 -17
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition_compute.rb +0 -11
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition_search.rb +0 -11
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_group_by.rb +0 -11
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_group_by_sort.rb +0 -11
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_events_data_source.rb +2 -0
- data/lib/datadog_api_client/v1/models/monitor_group_search_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/monitor_group_search_response_counts.rb +2 -10
- data/lib/datadog_api_client/v1/models/monitor_group_search_result.rb +0 -8
- data/lib/datadog_api_client/v1/models/monitor_options.rb +0 -14
- data/lib/datadog_api_client/v1/models/monitor_options_aggregation.rb +0 -8
- data/lib/datadog_api_client/v1/models/{monitor_search_response_counts_tag_item.rb → monitor_search_count_item.rb} +3 -11
- data/lib/datadog_api_client/v1/models/monitor_search_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/monitor_search_response_counts.rb +4 -12
- data/lib/datadog_api_client/v1/models/monitor_search_response_metadata.rb +0 -8
- data/lib/datadog_api_client/v1/models/monitor_search_result.rb +0 -8
- data/lib/datadog_api_client/v1/models/monitor_search_result_notification.rb +0 -8
- data/lib/datadog_api_client/v1/models/monitor_state.rb +0 -8
- data/lib/datadog_api_client/v1/models/monitor_state_group.rb +0 -8
- data/lib/datadog_api_client/v1/models/monitor_summary_widget_definition.rb +0 -14
- data/lib/datadog_api_client/v1/models/monitor_threshold_window_options.rb +0 -8
- data/lib/datadog_api_client/v1/models/monitor_thresholds.rb +0 -8
- data/lib/datadog_api_client/v1/models/monitor_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/monitor_update_request.rb +1 -15
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_body.rb +0 -8
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_metadata.rb +0 -8
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_pagination.rb +1 -8
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_response.rb +1 -9
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +4 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +41 -9
- data/lib/datadog_api_client/v1/models/note_widget_definition.rb +0 -14
- data/lib/datadog_api_client/v1/models/notebook_absolute_time.rb +0 -14
- data/lib/datadog_api_client/v1/models/notebook_author.rb +0 -8
- data/lib/datadog_api_client/v1/models/notebook_cell_create_request.rb +146 -0
- data/lib/datadog_api_client/v1/models/notebook_cell_create_request_attributes.rb +68 -0
- data/lib/datadog_api_client/v1/models/notebook_cell_response.rb +0 -17
- data/lib/datadog_api_client/v1/models/notebook_cell_update_request.rb +0 -17
- data/lib/datadog_api_client/v1/models/notebook_create_data.rb +0 -14
- data/lib/datadog_api_client/v1/models/notebook_create_data_attributes.rb +0 -23
- data/lib/datadog_api_client/v1/models/notebook_create_request.rb +0 -11
- data/lib/datadog_api_client/v1/models/notebook_distribution_cell_attributes.rb +0 -11
- data/lib/datadog_api_client/v1/models/notebook_heat_map_cell_attributes.rb +0 -11
- data/lib/datadog_api_client/v1/models/notebook_log_stream_cell_attributes.rb +0 -11
- data/lib/datadog_api_client/v1/models/notebook_markdown_cell_attributes.rb +0 -11
- data/lib/datadog_api_client/v1/models/notebook_markdown_cell_definition.rb +0 -14
- data/lib/datadog_api_client/v1/models/notebook_metadata.rb +0 -8
- data/lib/datadog_api_client/v1/models/notebook_relative_time.rb +0 -11
- data/lib/datadog_api_client/v1/models/notebook_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/notebook_response_data.rb +0 -17
- data/lib/datadog_api_client/v1/models/notebook_response_data_attributes.rb +0 -23
- data/lib/datadog_api_client/v1/models/notebook_split_by.rb +0 -14
- data/lib/datadog_api_client/v1/models/notebook_timeseries_cell_attributes.rb +0 -11
- data/lib/datadog_api_client/v1/models/notebook_toplist_cell_attributes.rb +0 -11
- data/lib/datadog_api_client/v1/models/notebook_update_data.rb +0 -14
- data/lib/datadog_api_client/v1/models/notebook_update_data_attributes.rb +0 -23
- data/lib/datadog_api_client/v1/models/notebook_update_request.rb +0 -11
- data/lib/datadog_api_client/v1/models/notebooks_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/notebooks_response_data.rb +0 -17
- data/lib/datadog_api_client/v1/models/notebooks_response_data_attributes.rb +0 -17
- data/lib/datadog_api_client/v1/models/notebooks_response_meta.rb +0 -8
- data/lib/datadog_api_client/v1/models/notebooks_response_page.rb +0 -8
- data/lib/datadog_api_client/v1/models/org_downgraded_response.rb +111 -0
- data/lib/datadog_api_client/v1/models/organization.rb +12 -13
- data/lib/datadog_api_client/v1/models/organization_billing.rb +0 -8
- data/lib/datadog_api_client/v1/models/organization_create_body.rb +0 -14
- data/lib/datadog_api_client/v1/models/organization_create_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/organization_list_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/organization_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/organization_settings.rb +0 -8
- data/lib/datadog_api_client/v1/models/organization_settings_saml.rb +0 -8
- data/lib/datadog_api_client/v1/models/organization_settings_saml_autocreate_users_domains.rb +0 -8
- data/lib/datadog_api_client/v1/models/organization_settings_saml_idp_initiated_login.rb +0 -8
- data/lib/datadog_api_client/v1/models/organization_settings_saml_strict_mode.rb +0 -8
- data/lib/datadog_api_client/v1/models/organization_subscription.rb +0 -8
- data/lib/datadog_api_client/v1/models/pager_duty_service.rb +0 -14
- data/lib/datadog_api_client/v1/models/pager_duty_service_key.rb +0 -11
- data/lib/datadog_api_client/v1/models/pager_duty_service_name.rb +0 -11
- data/lib/datadog_api_client/v1/models/pagination.rb +0 -8
- data/lib/datadog_api_client/v1/models/process_query_definition.rb +0 -14
- data/lib/datadog_api_client/v1/models/query_value_widget_definition.rb +11 -21
- data/lib/datadog_api_client/v1/models/query_value_widget_request.rb +0 -8
- data/lib/datadog_api_client/v1/models/response_meta_attributes.rb +0 -8
- data/lib/datadog_api_client/v1/models/scatter_plot_request.rb +0 -8
- data/lib/datadog_api_client/v1/models/scatter_plot_widget_definition.rb +0 -14
- data/lib/datadog_api_client/v1/models/scatter_plot_widget_definition_requests.rb +0 -8
- data/lib/datadog_api_client/v1/models/scatterplot_table_request.rb +0 -8
- data/lib/datadog_api_client/v1/models/scatterplot_widget_formula.rb +0 -14
- data/lib/datadog_api_client/v1/models/search_slo_response.rb +131 -0
- data/lib/datadog_api_client/v1/models/search_slo_response_data.rb +121 -0
- data/lib/datadog_api_client/v1/models/search_slo_response_data_attributes.rb +123 -0
- data/lib/datadog_api_client/v1/models/search_slo_response_data_attributes_facets.rb +197 -0
- data/lib/datadog_api_client/v1/models/{monitor_search_response_counts_type_item.rb → search_slo_response_data_attributes_facets_object_int.rb} +7 -15
- data/lib/datadog_api_client/v1/models/{monitor_search_response_counts_muted_item.rb → search_slo_response_data_attributes_facets_object_string.rb} +7 -15
- data/lib/datadog_api_client/v1/models/search_slo_response_links.rb +151 -0
- data/lib/datadog_api_client/v1/models/search_slo_response_meta.rb +111 -0
- data/lib/datadog_api_client/v1/models/search_slo_response_meta_page.rb +181 -0
- data/lib/datadog_api_client/v1/models/series.rb +2 -16
- data/lib/datadog_api_client/v1/models/service_check.rb +0 -20
- data/lib/datadog_api_client/v1/models/service_level_objective.rb +3 -20
- data/lib/datadog_api_client/v1/models/service_level_objective_query.rb +1 -15
- data/lib/datadog_api_client/v1/models/service_level_objective_request.rb +3 -20
- data/lib/datadog_api_client/v1/models/service_map_widget_definition.rb +0 -20
- data/lib/datadog_api_client/v1/models/service_summary_widget_definition.rb +0 -20
- data/lib/datadog_api_client/v1/models/signal_archive_reason.rb +29 -0
- data/lib/datadog_api_client/v1/models/signal_assignee_update_request.rb +132 -0
- data/lib/datadog_api_client/v1/models/signal_state_update_request.rb +152 -0
- data/lib/datadog_api_client/v1/models/signal_triage_state.rb +28 -0
- data/lib/datadog_api_client/v1/models/slack_integration_channel.rb +0 -8
- data/lib/datadog_api_client/v1/models/slack_integration_channel_display.rb +0 -8
- data/lib/datadog_api_client/v1/models/slo_bulk_delete_error.rb +0 -17
- data/lib/datadog_api_client/v1/models/slo_bulk_delete_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/slo_bulk_delete_response_data.rb +0 -8
- data/lib/datadog_api_client/v1/models/slo_correction.rb +0 -8
- data/lib/datadog_api_client/v1/models/slo_correction_create_data.rb +0 -11
- data/lib/datadog_api_client/v1/models/slo_correction_create_request.rb +0 -8
- data/lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb +1 -18
- data/lib/datadog_api_client/v1/models/slo_correction_list_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/slo_correction_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/slo_correction_response_attributes.rb +4 -12
- data/lib/datadog_api_client/v1/models/slo_correction_response_attributes_modifier.rb +0 -8
- data/lib/datadog_api_client/v1/models/slo_correction_update_data.rb +0 -8
- data/lib/datadog_api_client/v1/models/slo_correction_update_request.rb +0 -8
- data/lib/datadog_api_client/v1/models/slo_correction_update_request_attributes.rb +1 -9
- data/lib/datadog_api_client/v1/models/slo_delete_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/slo_history_metrics.rb +1 -30
- data/lib/datadog_api_client/v1/models/slo_history_metrics_series.rb +0 -17
- data/lib/datadog_api_client/v1/models/slo_history_metrics_series_metadata.rb +0 -8
- data/lib/datadog_api_client/v1/models/slo_history_metrics_series_metadata_unit.rb +0 -8
- data/lib/datadog_api_client/v1/models/slo_history_monitor.rb +0 -8
- data/lib/datadog_api_client/v1/models/slo_history_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/slo_history_response_data.rb +0 -8
- data/lib/datadog_api_client/v1/models/slo_history_response_error.rb +0 -8
- data/lib/datadog_api_client/v1/models/slo_history_response_error_with_type.rb +0 -14
- data/lib/datadog_api_client/v1/models/slo_history_sli_data.rb +0 -8
- data/lib/datadog_api_client/v1/models/slo_list_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/slo_list_response_metadata.rb +0 -8
- data/lib/datadog_api_client/v1/models/slo_list_response_metadata_page.rb +0 -8
- data/lib/datadog_api_client/v1/models/slo_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/slo_response_data.rb +1 -9
- data/lib/datadog_api_client/v1/models/slo_threshold.rb +0 -14
- data/lib/datadog_api_client/v1/models/slo_widget_definition.rb +0 -14
- data/lib/datadog_api_client/v1/models/successful_signal_update_response.rb +111 -0
- data/lib/datadog_api_client/v1/models/sunburst_widget_definition.rb +0 -17
- data/lib/datadog_api_client/v1/models/sunburst_widget_legend_inline_automatic.rb +0 -11
- data/lib/datadog_api_client/v1/models/sunburst_widget_legend_table.rb +0 -11
- data/lib/datadog_api_client/v1/models/sunburst_widget_request.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_api_step.rb +0 -20
- data/lib/datadog_api_client/v1/models/synthetics_api_test.rb +12 -24
- data/lib/datadog_api_client/v1/models/synthetics_api_test_config.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_api_test_result_data.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_api_test_result_failure.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_api_test_result_full.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_api_test_result_full_check.rb +0 -11
- data/lib/datadog_api_client/v1/models/synthetics_api_test_result_short.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_api_test_result_short_result.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_assertion_json_path_target.rb +0 -14
- data/lib/datadog_api_client/v1/models/synthetics_assertion_json_path_target_target.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_assertion_target.rb +0 -17
- data/lib/datadog_api_client/v1/models/synthetics_assertion_type.rb +2 -0
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_ntlm.rb +0 -11
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_sigv4.rb +0 -17
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_web.rb +0 -28
- data/lib/datadog_api_client/v1/models/synthetics_batch_details.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_batch_details_data.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_batch_result.rb +1 -9
- data/lib/datadog_api_client/v1/models/synthetics_browser_error.rb +0 -17
- data/lib/datadog_api_client/v1/models/synthetics_browser_test.rb +11 -23
- data/lib/datadog_api_client/v1/models/synthetics_browser_test_config.rb +0 -14
- data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_data.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_failure.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_full.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_full_check.rb +0 -11
- data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_short.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_short_result.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_browser_test_rum_settings.rb +152 -0
- data/lib/datadog_api_client/v1/models/synthetics_browser_variable.rb +0 -14
- data/lib/datadog_api_client/v1/models/synthetics_ci_batch_metadata.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_ci_batch_metadata_ci.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_ci_batch_metadata_git.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_ci_batch_metadata_pipeline.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_ci_batch_metadata_provider.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_ci_test.rb +0 -11
- data/lib/datadog_api_client/v1/models/synthetics_ci_test_body.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_config_variable.rb +0 -14
- data/lib/datadog_api_client/v1/models/synthetics_core_web_vitals.rb +2 -10
- data/lib/datadog_api_client/v1/models/synthetics_delete_tests_payload.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_delete_tests_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_deleted_test.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_device.rb +0 -20
- data/lib/datadog_api_client/v1/models/synthetics_get_api_test_latest_results_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_get_browser_test_latest_results_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_global_variable.rb +0 -20
- data/lib/datadog_api_client/v1/models/synthetics_global_variable_attributes.rb +1 -9
- data/lib/datadog_api_client/v1/models/synthetics_global_variable_parse_test_options.rb +0 -14
- data/lib/datadog_api_client/v1/models/synthetics_global_variable_value.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_list_global_variables_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_list_tests_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_location.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_locations.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_parsing_options.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_private_location.rb +11 -18
- data/lib/datadog_api_client/v1/models/synthetics_private_location_creation_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_private_location_creation_response_result_encryption.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_private_location_metadata.rb +113 -0
- data/lib/datadog_api_client/v1/models/synthetics_private_location_secrets.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_private_location_secrets_authentication.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_private_location_secrets_config_decryption.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_ssl_certificate.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_ssl_certificate_issuer.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_ssl_certificate_subject.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_step.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_step_detail.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_step_detail_warning.rb +0 -14
- data/lib/datadog_api_client/v1/models/synthetics_test_ci_options.rb +111 -0
- data/lib/datadog_api_client/v1/models/synthetics_test_config.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_test_details.rb +1 -9
- data/lib/datadog_api_client/v1/models/synthetics_test_details_sub_type.rb +2 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_options.rb +43 -21
- data/lib/datadog_api_client/v1/models/synthetics_test_options_monitor_options.rb +0 -14
- data/lib/datadog_api_client/v1/models/synthetics_test_options_retry.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +21 -21
- data/lib/datadog_api_client/v1/models/synthetics_test_request_certificate.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_test_request_certificate_item.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_test_request_proxy.rb +0 -11
- data/lib/datadog_api_client/v1/models/synthetics_timing.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_trigger_body.rb +0 -11
- data/lib/datadog_api_client/v1/models/synthetics_trigger_ci_test_location.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_trigger_ci_test_run_result.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_trigger_ci_tests_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_trigger_test.rb +0 -11
- data/lib/datadog_api_client/v1/models/synthetics_update_test_pause_status_payload.rb +0 -8
- data/lib/datadog_api_client/v1/models/synthetics_variable_parser.rb +0 -11
- data/lib/datadog_api_client/v1/models/table_widget_definition.rb +0 -14
- data/lib/datadog_api_client/v1/models/table_widget_request.rb +0 -8
- data/lib/datadog_api_client/v1/models/tag_to_hosts.rb +0 -8
- data/lib/datadog_api_client/v1/models/{monitor_group_search_response_counts_status_item.rb → timeseries_background.rb} +32 -27
- data/lib/datadog_api_client/v1/models/timeseries_background_type.rb +27 -0
- data/lib/datadog_api_client/v1/models/timeseries_widget_definition.rb +0 -17
- data/lib/datadog_api_client/v1/models/timeseries_widget_expression_alias.rb +0 -11
- data/lib/datadog_api_client/v1/models/timeseries_widget_request.rb +0 -8
- data/lib/datadog_api_client/v1/models/toplist_widget_definition.rb +0 -14
- data/lib/datadog_api_client/v1/models/toplist_widget_request.rb +0 -11
- data/lib/datadog_api_client/v1/models/tree_map_widget_definition.rb +0 -20
- data/lib/datadog_api_client/v1/models/tree_map_widget_request.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_analyzed_logs_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_analyzed_logs_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_attribution_aggregates_body.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_attribution_body.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_attribution_metadata.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_attribution_pagination.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_attribution_response.rb +1 -9
- data/lib/datadog_api_client/v1/models/usage_attribution_sort.rb +4 -2
- data/lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb +4 -2
- data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +41 -33
- data/lib/datadog_api_client/v1/models/usage_audit_logs_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_audit_logs_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_billable_summary_body.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_billable_summary_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_billable_summary_keys.rb +473 -11
- data/lib/datadog_api_client/v1/models/usage_billable_summary_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_ci_visibility_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_ci_visibility_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_cloud_security_posture_management_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_cloud_security_posture_management_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_custom_reports_attributes.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_custom_reports_data.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_custom_reports_meta.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_custom_reports_page.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_custom_reports_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_cws_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_cws_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_dbm_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_dbm_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_fargate_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_fargate_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_host_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_hosts_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_incident_management_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_incident_management_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_indexed_spans_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_indexed_spans_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_ingested_spans_hour.rb +1 -9
- data/lib/datadog_api_client/v1/models/usage_ingested_spans_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/{usage_io_t_hour.rb → usage_iot_hour.rb} +0 -8
- data/lib/datadog_api_client/v1/models/{usage_io_t_response.rb → usage_iot_response.rb} +0 -8
- data/lib/datadog_api_client/v1/models/usage_lambda_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_lambda_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_logs_by_index_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_logs_by_index_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_logs_by_retention_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_logs_by_retention_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_logs_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_logs_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_network_flows_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_network_flows_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_network_hosts_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_network_hosts_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_online_archive_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_online_archive_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_profiling_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_profiling_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_rum_sessions_hour.rb +17 -11
- data/lib/datadog_api_client/v1/models/usage_rum_sessions_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_rum_units_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_rum_units_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_sds_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_sds_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_snmp_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_snmp_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_attributes.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_data.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_meta.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_page.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +22 -10
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +22 -10
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +22 -10
- data/lib/datadog_api_client/v1/models/usage_synthetics_api_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_synthetics_api_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_synthetics_browser_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_synthetics_browser_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_synthetics_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_synthetics_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_timeseries_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_timeseries_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_top_avg_metrics_hour.rb +0 -8
- data/lib/datadog_api_client/v1/models/usage_top_avg_metrics_metadata.rb +1 -9
- data/lib/datadog_api_client/v1/models/usage_top_avg_metrics_pagination.rb +132 -0
- data/lib/datadog_api_client/v1/models/usage_top_avg_metrics_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/user.rb +0 -8
- data/lib/datadog_api_client/v1/models/user_disable_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/user_list_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/user_response.rb +0 -8
- data/lib/datadog_api_client/v1/models/webhooks_integration.rb +0 -14
- data/lib/datadog_api_client/v1/models/webhooks_integration_custom_variable.rb +0 -17
- data/lib/datadog_api_client/v1/models/webhooks_integration_custom_variable_response.rb +0 -14
- data/lib/datadog_api_client/v1/models/webhooks_integration_custom_variable_update_request.rb +0 -8
- data/lib/datadog_api_client/v1/models/webhooks_integration_update_request.rb +0 -8
- data/lib/datadog_api_client/v1/models/widget.rb +0 -11
- data/lib/datadog_api_client/v1/models/widget_axis.rb +0 -8
- data/lib/datadog_api_client/v1/models/widget_conditional_format.rb +0 -17
- data/lib/datadog_api_client/v1/models/widget_custom_link.rb +0 -8
- data/lib/datadog_api_client/v1/models/widget_event.rb +0 -11
- data/lib/datadog_api_client/v1/models/widget_field_sort.rb +0 -14
- data/lib/datadog_api_client/v1/models/widget_formula.rb +0 -11
- data/lib/datadog_api_client/v1/models/widget_formula_limit.rb +0 -8
- data/lib/datadog_api_client/v1/models/widget_layout.rb +0 -32
- data/lib/datadog_api_client/v1/models/widget_marker.rb +0 -11
- data/lib/datadog_api_client/v1/models/widget_request_style.rb +0 -8
- data/lib/datadog_api_client/v1/models/widget_style.rb +0 -8
- data/lib/datadog_api_client/v1/models/widget_time.rb +0 -8
- data/lib/datadog_api_client/v1.rb +37 -8
- data/lib/datadog_api_client/v2/api/audit_api.rb +51 -26
- data/lib/datadog_api_client/v2/api/{auth_n_mappings_api.rb → authn_mappings_api.rb} +88 -95
- data/lib/datadog_api_client/v2/api/cloud_workload_security_api.rb +43 -45
- data/lib/datadog_api_client/v2/api/dashboard_lists_api.rb +28 -31
- data/lib/datadog_api_client/v2/api/incident_services_api.rb +35 -41
- data/lib/datadog_api_client/v2/api/incident_teams_api.rb +35 -41
- data/lib/datadog_api_client/v2/api/incidents_api.rb +54 -39
- data/lib/datadog_api_client/v2/api/key_management_api.rb +96 -119
- data/lib/datadog_api_client/v2/api/logs_api.rb +60 -70
- data/lib/datadog_api_client/v2/api/logs_archives_api.rb +68 -77
- data/lib/datadog_api_client/v2/api/logs_metrics_api.rb +35 -37
- data/lib/datadog_api_client/v2/api/metrics_api.rb +232 -87
- data/lib/datadog_api_client/v2/api/opsgenie_integration_api.rb +395 -0
- data/lib/datadog_api_client/v2/api/organizations_api.rb +100 -0
- data/lib/datadog_api_client/v2/api/processes_api.rb +27 -12
- data/lib/datadog_api_client/v2/api/roles_api.rb +91 -103
- data/lib/datadog_api_client/v2/api/rum_api.rb +133 -29
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +118 -98
- data/lib/datadog_api_client/v2/api/service_accounts_api.rb +34 -45
- data/lib/datadog_api_client/v2/api/usage_metering_api.rb +406 -0
- data/lib/datadog_api_client/v2/api/users_api.rb +70 -81
- data/lib/datadog_api_client/v2/api_client.rb +104 -64
- data/lib/datadog_api_client/v2/configuration.rb +1 -19
- data/lib/datadog_api_client/v2/model_base.rb +1 -1
- data/lib/datadog_api_client/v2/models/api_error_response.rb +0 -11
- data/lib/datadog_api_client/v2/models/api_key_create_attributes.rb +0 -11
- data/lib/datadog_api_client/v2/models/api_key_create_data.rb +0 -14
- data/lib/datadog_api_client/v2/models/api_key_create_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/api_key_relationships.rb +0 -8
- data/lib/datadog_api_client/v2/models/api_key_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/api_key_update_attributes.rb +0 -11
- data/lib/datadog_api_client/v2/models/api_key_update_data.rb +0 -17
- data/lib/datadog_api_client/v2/models/api_key_update_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/api_keys_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/application_key_create_attributes.rb +0 -11
- data/lib/datadog_api_client/v2/models/application_key_create_data.rb +0 -14
- data/lib/datadog_api_client/v2/models/application_key_create_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/application_key_relationships.rb +0 -8
- data/lib/datadog_api_client/v2/models/application_key_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/application_key_update_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/application_key_update_data.rb +0 -17
- data/lib/datadog_api_client/v2/models/application_key_update_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/audit_logs_event.rb +0 -8
- data/lib/datadog_api_client/v2/models/audit_logs_event_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/audit_logs_events_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/audit_logs_query_filter.rb +0 -8
- data/lib/datadog_api_client/v2/models/audit_logs_query_options.rb +0 -8
- data/lib/datadog_api_client/v2/models/audit_logs_query_page_options.rb +0 -11
- data/lib/datadog_api_client/v2/models/audit_logs_response_links.rb +0 -8
- data/lib/datadog_api_client/v2/models/audit_logs_response_metadata.rb +0 -8
- data/lib/datadog_api_client/v2/models/audit_logs_response_page.rb +0 -8
- data/lib/datadog_api_client/v2/models/audit_logs_search_events_request.rb +0 -8
- data/lib/datadog_api_client/v2/models/audit_logs_warning.rb +0 -8
- data/lib/datadog_api_client/v2/models/{auth_n_mapping.rb → authn_mapping.rb} +1 -27
- data/lib/datadog_api_client/v2/models/{auth_n_mapping_attributes.rb → authn_mapping_attributes.rb} +1 -23
- data/lib/datadog_api_client/v2/models/{auth_n_mapping_create_attributes.rb → authn_mapping_create_attributes.rb} +0 -8
- data/lib/datadog_api_client/v2/models/{auth_n_mapping_create_data.rb → authn_mapping_create_data.rb} +0 -11
- data/lib/datadog_api_client/v2/models/{auth_n_mapping_create_relationships.rb → authn_mapping_create_relationships.rb} +0 -8
- data/lib/datadog_api_client/v2/models/{auth_n_mapping_create_request.rb → authn_mapping_create_request.rb} +0 -11
- data/lib/datadog_api_client/v2/models/{auth_n_mapping_included.rb → authn_mapping_included.rb} +0 -0
- data/lib/datadog_api_client/v2/models/{auth_n_mapping_relationships.rb → authn_mapping_relationships.rb} +0 -8
- data/lib/datadog_api_client/v2/models/{auth_n_mapping_response.rb → authn_mapping_response.rb} +15 -11
- data/lib/datadog_api_client/v2/models/{auth_n_mapping_update_attributes.rb → authn_mapping_update_attributes.rb} +0 -8
- data/lib/datadog_api_client/v2/models/{auth_n_mapping_update_data.rb → authn_mapping_update_data.rb} +0 -14
- data/lib/datadog_api_client/v2/models/{auth_n_mapping_update_relationships.rb → authn_mapping_update_relationships.rb} +0 -8
- data/lib/datadog_api_client/v2/models/{auth_n_mapping_update_request.rb → authn_mapping_update_request.rb} +0 -11
- data/lib/datadog_api_client/v2/models/{auth_n_mappings_response.rb → authn_mappings_response.rb} +13 -9
- data/lib/datadog_api_client/v2/models/{auth_n_mappings_sort.rb → authn_mappings_sort.rb} +0 -0
- data/lib/datadog_api_client/v2/models/{auth_n_mappings_type.rb → authn_mappings_type.rb} +0 -0
- data/lib/datadog_api_client/v2/models/chargeback_breakdown.rb +131 -0
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_attributes.rb +0 -14
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_data.rb +0 -14
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_creator_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_data.rb +0 -8
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_data.rb +0 -14
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_updater_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rules_list_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/cost_by_org.rb +133 -0
- data/lib/datadog_api_client/v2/models/cost_by_org_attributes.rb +153 -0
- data/lib/datadog_api_client/v2/models/cost_by_org_response.rb +113 -0
- data/lib/datadog_api_client/v2/models/cost_by_org_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/creator.rb +0 -8
- data/lib/datadog_api_client/v2/models/dashboard_list_add_items_request.rb +0 -8
- data/lib/datadog_api_client/v2/models/dashboard_list_add_items_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/dashboard_list_delete_items_request.rb +0 -8
- data/lib/datadog_api_client/v2/models/dashboard_list_delete_items_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/dashboard_list_item.rb +0 -17
- data/lib/datadog_api_client/v2/models/dashboard_list_item_request.rb +0 -14
- data/lib/datadog_api_client/v2/models/dashboard_list_item_response.rb +0 -14
- data/lib/datadog_api_client/v2/models/dashboard_list_items.rb +0 -11
- data/lib/datadog_api_client/v2/models/dashboard_list_update_items_request.rb +0 -8
- data/lib/datadog_api_client/v2/models/dashboard_list_update_items_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/full_api_key.rb +0 -8
- data/lib/datadog_api_client/v2/models/full_api_key_attributes.rb +0 -14
- data/lib/datadog_api_client/v2/models/full_application_key.rb +0 -8
- data/lib/datadog_api_client/v2/models/full_application_key_attributes.rb +0 -14
- data/lib/datadog_api_client/v2/models/hourly_usage_type.rb +28 -0
- data/lib/datadog_api_client/v2/models/http_log_error.rb +0 -8
- data/lib/datadog_api_client/v2/models/http_log_errors.rb +0 -8
- data/lib/datadog_api_client/v2/models/http_log_item.rb +40 -12
- data/lib/datadog_api_client/v2/models/idp_metadata_form_data.rb +111 -0
- data/lib/datadog_api_client/v2/models/incident_create_attributes.rb +0 -14
- data/lib/datadog_api_client/v2/models/incident_create_data.rb +0 -14
- data/lib/datadog_api_client/v2/models/incident_create_relationships.rb +0 -11
- data/lib/datadog_api_client/v2/models/incident_create_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/incident_field_attributes_multiple_value.rb +0 -8
- data/lib/datadog_api_client/v2/models/incident_field_attributes_single_value.rb +0 -8
- data/lib/datadog_api_client/v2/models/incident_notification_handle.rb +0 -8
- data/lib/datadog_api_client/v2/models/incident_response.rb +0 -11
- data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +0 -11
- data/lib/datadog_api_client/v2/models/incident_response_data.rb +0 -14
- data/lib/datadog_api_client/v2/models/incident_response_meta.rb +0 -8
- data/lib/datadog_api_client/v2/models/incident_response_meta_pagination.rb +0 -8
- data/lib/datadog_api_client/v2/models/incident_response_relationships.rb +0 -8
- data/lib/datadog_api_client/v2/models/incident_service_create_attributes.rb +0 -11
- data/lib/datadog_api_client/v2/models/incident_service_create_data.rb +0 -11
- data/lib/datadog_api_client/v2/models/incident_service_create_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/incident_service_relationships.rb +0 -8
- data/lib/datadog_api_client/v2/models/incident_service_response.rb +0 -11
- data/lib/datadog_api_client/v2/models/incident_service_response_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/incident_service_response_data.rb +0 -14
- data/lib/datadog_api_client/v2/models/incident_service_update_attributes.rb +0 -11
- data/lib/datadog_api_client/v2/models/incident_service_update_data.rb +0 -11
- data/lib/datadog_api_client/v2/models/incident_service_update_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/incident_services_response.rb +0 -11
- data/lib/datadog_api_client/v2/models/incident_team_create_attributes.rb +0 -11
- data/lib/datadog_api_client/v2/models/incident_team_create_data.rb +0 -11
- data/lib/datadog_api_client/v2/models/incident_team_create_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/incident_team_relationships.rb +0 -8
- data/lib/datadog_api_client/v2/models/incident_team_response.rb +0 -11
- data/lib/datadog_api_client/v2/models/incident_team_response_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/incident_team_response_data.rb +0 -8
- data/lib/datadog_api_client/v2/models/incident_team_update_attributes.rb +0 -11
- data/lib/datadog_api_client/v2/models/incident_team_update_data.rb +0 -11
- data/lib/datadog_api_client/v2/models/incident_team_update_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/incident_teams_response.rb +0 -11
- data/lib/datadog_api_client/v2/models/incident_timeline_cell_markdown_create_attributes.rb +0 -14
- data/lib/datadog_api_client/v2/models/incident_timeline_cell_markdown_create_attributes_content.rb +0 -8
- data/lib/datadog_api_client/v2/models/incident_update_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/incident_update_data.rb +0 -14
- data/lib/datadog_api_client/v2/models/incident_update_relationships.rb +0 -8
- data/lib/datadog_api_client/v2/models/incident_update_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/incidents_response.rb +0 -11
- data/lib/datadog_api_client/v2/models/intake_payload_accepted.rb +113 -0
- data/lib/datadog_api_client/v2/models/list_application_keys_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/log.rb +0 -8
- data/lib/datadog_api_client/v2/models/log_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_aggregate_bucket.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_aggregate_bucket_value.rb +3 -3
- data/lib/datadog_api_client/v2/models/logs_aggregate_bucket_value_timeseries_point.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_aggregate_request.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_aggregate_request_page.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_aggregate_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_aggregate_response_data.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_aggregate_sort.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_aggregation_function.rb +1 -0
- data/lib/datadog_api_client/v2/models/logs_archive.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_archive_attributes.rb +12 -15
- data/lib/datadog_api_client/v2/models/logs_archive_create_request.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_archive_create_request_attributes.rb +12 -18
- data/lib/datadog_api_client/v2/models/logs_archive_create_request_definition.rb +0 -11
- data/lib/datadog_api_client/v2/models/logs_archive_definition.rb +0 -11
- data/lib/datadog_api_client/v2/models/logs_archive_destination_azure.rb +0 -20
- data/lib/datadog_api_client/v2/models/logs_archive_destination_gcs.rb +0 -17
- data/lib/datadog_api_client/v2/models/logs_archive_destination_s3.rb +0 -17
- data/lib/datadog_api_client/v2/models/logs_archive_integration_azure.rb +0 -14
- data/lib/datadog_api_client/v2/models/logs_archive_integration_gcs.rb +0 -14
- data/lib/datadog_api_client/v2/models/logs_archive_integration_s3.rb +0 -14
- data/lib/datadog_api_client/v2/models/logs_archive_order.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_archive_order_attributes.rb +0 -11
- data/lib/datadog_api_client/v2/models/logs_archive_order_definition.rb +0 -14
- data/lib/datadog_api_client/v2/models/logs_archives.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_compute.rb +0 -11
- data/lib/datadog_api_client/v2/models/logs_group_by.rb +0 -11
- data/lib/datadog_api_client/v2/models/logs_group_by_histogram.rb +0 -17
- data/lib/datadog_api_client/v2/models/logs_group_by_missing.rb +2 -2
- data/lib/datadog_api_client/v2/models/logs_group_by_total.rb +3 -3
- data/lib/datadog_api_client/v2/models/logs_list_request.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_list_request_page.rb +0 -11
- data/lib/datadog_api_client/v2/models/logs_list_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_list_response_links.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_metric_compute.rb +0 -11
- data/lib/datadog_api_client/v2/models/logs_metric_create_attributes.rb +0 -11
- data/lib/datadog_api_client/v2/models/logs_metric_create_data.rb +0 -17
- data/lib/datadog_api_client/v2/models/logs_metric_create_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/logs_metric_filter.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_metric_group_by.rb +0 -11
- data/lib/datadog_api_client/v2/models/logs_metric_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_metric_response_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_metric_response_compute.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_metric_response_data.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_metric_response_filter.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_metric_response_group_by.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_metric_update_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_metric_update_data.rb +0 -14
- data/lib/datadog_api_client/v2/models/logs_metric_update_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/logs_metrics_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_query_filter.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_query_options.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_response_metadata.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_response_metadata_page.rb +0 -8
- data/lib/datadog_api_client/v2/models/logs_warning.rb +0 -8
- data/lib/datadog_api_client/v2/models/metric.rb +0 -8
- data/lib/datadog_api_client/v2/models/metric_all_tags.rb +0 -8
- data/lib/datadog_api_client/v2/models/metric_all_tags_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/metric_all_tags_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create.rb +0 -14
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_delete.rb +0 -14
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_delete_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_delete_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_status.rb +0 -14
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_status_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/metric_content_encoding.rb +26 -0
- data/lib/datadog_api_client/v2/models/metric_custom_aggregation.rb +0 -14
- data/lib/datadog_api_client/v2/models/metric_distinct_volume.rb +0 -8
- data/lib/datadog_api_client/v2/models/metric_distinct_volume_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/metric_estimate.rb +133 -0
- data/lib/datadog_api_client/v2/models/metric_estimate_attributes.rb +133 -0
- data/lib/datadog_api_client/v2/models/metric_estimate_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/metric_estimate_response.rb +111 -0
- data/lib/datadog_api_client/v2/models/metric_estimate_type.rb +28 -0
- data/lib/datadog_api_client/v2/models/metric_ingested_indexed_volume.rb +0 -8
- data/lib/datadog_api_client/v2/models/metric_ingested_indexed_volume_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/metric_intake_type.rb +30 -0
- data/lib/datadog_api_client/v2/models/metric_metadata.rb +111 -0
- data/lib/datadog_api_client/v2/models/metric_origin.rb +170 -0
- data/lib/datadog_api_client/v2/models/metric_payload.rb +124 -0
- data/lib/datadog_api_client/v2/models/metric_point.rb +122 -0
- data/lib/datadog_api_client/v2/models/metric_resource.rb +121 -0
- data/lib/datadog_api_client/v2/models/metric_series.rb +220 -0
- data/lib/datadog_api_client/v2/models/metric_tag_configuration.rb +0 -8
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb +0 -16
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_data.rb +0 -14
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_attributes.rb +0 -10
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_data.rb +0 -14
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/metric_volumes_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/metrics_and_metric_tag_configurations_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/nullable_relationship_to_user.rb +0 -8
- data/lib/datadog_api_client/v2/models/nullable_relationship_to_user_data.rb +0 -14
- data/lib/datadog_api_client/v2/models/opsgenie_service_create_attributes.rb +174 -0
- data/lib/datadog_api_client/v2/models/opsgenie_service_create_data.rb +145 -0
- data/lib/datadog_api_client/v2/models/opsgenie_service_create_request.rb +122 -0
- data/lib/datadog_api_client/v2/models/opsgenie_service_region_type.rb +28 -0
- data/lib/datadog_api_client/v2/models/opsgenie_service_response.rb +122 -0
- data/lib/datadog_api_client/{v1/models/monitor_search_response_counts_status_item.rb → v2/models/opsgenie_service_response_attributes.rb} +28 -25
- data/lib/datadog_api_client/v2/models/opsgenie_service_response_data.rb +166 -0
- data/lib/datadog_api_client/v2/models/opsgenie_service_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/opsgenie_service_update_attributes.rb +142 -0
- data/lib/datadog_api_client/v2/models/opsgenie_service_update_data.rb +166 -0
- data/lib/datadog_api_client/v2/models/opsgenie_service_update_request.rb +122 -0
- data/lib/datadog_api_client/v2/models/opsgenie_services_response.rb +124 -0
- data/lib/datadog_api_client/v2/models/organization.rb +0 -11
- data/lib/datadog_api_client/v2/models/organization_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/pagination.rb +0 -8
- data/lib/datadog_api_client/v2/models/partial_api_key.rb +0 -8
- data/lib/datadog_api_client/v2/models/partial_api_key_attributes.rb +0 -14
- data/lib/datadog_api_client/v2/models/partial_application_key.rb +0 -8
- data/lib/datadog_api_client/v2/models/partial_application_key_attributes.rb +0 -14
- data/lib/datadog_api_client/v2/models/partial_application_key_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/permission.rb +0 -11
- data/lib/datadog_api_client/v2/models/permission_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/permissions_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/process_summaries_meta.rb +0 -8
- data/lib/datadog_api_client/v2/models/process_summaries_meta_page.rb +0 -14
- data/lib/datadog_api_client/v2/models/process_summaries_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/process_summary.rb +0 -8
- data/lib/datadog_api_client/v2/models/process_summary_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadata_data.rb +0 -14
- data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadatas.rb +0 -11
- data/lib/datadog_api_client/v2/models/relationship_to_incident_postmortem.rb +0 -11
- data/lib/datadog_api_client/v2/models/relationship_to_incident_postmortem_data.rb +0 -14
- data/lib/datadog_api_client/v2/models/relationship_to_organization.rb +0 -11
- data/lib/datadog_api_client/v2/models/relationship_to_organization_data.rb +0 -14
- data/lib/datadog_api_client/v2/models/relationship_to_organizations.rb +0 -11
- data/lib/datadog_api_client/v2/models/relationship_to_permission.rb +0 -8
- data/lib/datadog_api_client/v2/models/relationship_to_permission_data.rb +0 -8
- data/lib/datadog_api_client/v2/models/relationship_to_permissions.rb +0 -8
- data/lib/datadog_api_client/v2/models/relationship_to_role.rb +0 -8
- data/lib/datadog_api_client/v2/models/relationship_to_role_data.rb +0 -8
- data/lib/datadog_api_client/v2/models/relationship_to_roles.rb +0 -8
- data/lib/datadog_api_client/v2/models/relationship_to_saml_assertion_attribute.rb +0 -11
- data/lib/datadog_api_client/v2/models/relationship_to_saml_assertion_attribute_data.rb +1 -22
- data/lib/datadog_api_client/v2/models/relationship_to_user.rb +0 -11
- data/lib/datadog_api_client/v2/models/relationship_to_user_data.rb +0 -14
- data/lib/datadog_api_client/v2/models/relationship_to_users.rb +0 -11
- data/lib/datadog_api_client/v2/models/response_meta_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/role.rb +0 -11
- data/lib/datadog_api_client/v2/models/role_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/role_clone.rb +0 -14
- data/lib/datadog_api_client/v2/models/role_clone_attributes.rb +0 -11
- data/lib/datadog_api_client/v2/models/role_clone_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/role_create_attributes.rb +0 -11
- data/lib/datadog_api_client/v2/models/role_create_data.rb +0 -11
- data/lib/datadog_api_client/v2/models/role_create_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/role_create_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/role_create_response_data.rb +0 -11
- data/lib/datadog_api_client/v2/models/role_relationships.rb +0 -8
- data/lib/datadog_api_client/v2/models/role_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/role_response_relationships.rb +0 -8
- data/lib/datadog_api_client/v2/models/role_update_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/role_update_data.rb +0 -17
- data/lib/datadog_api_client/v2/models/role_update_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/role_update_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/role_update_response_data.rb +0 -11
- data/lib/datadog_api_client/v2/models/roles_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/rum_aggregate_bucket_value.rb +64 -0
- data/lib/datadog_api_client/v2/models/rum_aggregate_bucket_value_timeseries_point.rb +121 -0
- data/lib/datadog_api_client/v2/models/rum_aggregate_request.rb +156 -0
- data/lib/datadog_api_client/v2/models/rum_aggregate_sort.rb +143 -0
- data/lib/datadog_api_client/v2/models/rum_aggregate_sort_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/rum_aggregation_buckets_response.rb +113 -0
- data/lib/datadog_api_client/v2/models/rum_aggregation_function.rb +37 -0
- data/lib/datadog_api_client/v2/models/rum_analytics_aggregate_response.rb +131 -0
- data/lib/datadog_api_client/v2/models/rum_bucket_response.rb +121 -0
- data/lib/datadog_api_client/v2/models/rum_compute.rb +155 -0
- data/lib/datadog_api_client/v2/models/rum_compute_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/rum_event.rb +0 -8
- data/lib/datadog_api_client/v2/models/rum_event_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/rum_events_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/rum_group_by.rb +177 -0
- data/lib/datadog_api_client/v2/models/rum_group_by_histogram.rb +167 -0
- data/lib/datadog_api_client/v2/models/rum_group_by_missing.rb +63 -0
- data/lib/datadog_api_client/v2/models/rum_group_by_total.rb +64 -0
- data/lib/datadog_api_client/v2/models/rum_query_filter.rb +0 -8
- data/lib/datadog_api_client/v2/models/rum_query_options.rb +0 -8
- data/lib/datadog_api_client/v2/models/rum_query_page_options.rb +0 -11
- data/lib/datadog_api_client/v2/models/rum_response_links.rb +0 -8
- data/lib/datadog_api_client/v2/models/rum_response_metadata.rb +0 -8
- data/lib/datadog_api_client/v2/models/rum_response_page.rb +0 -8
- data/lib/datadog_api_client/v2/models/rum_search_events_request.rb +0 -8
- data/lib/datadog_api_client/v2/models/rum_sort_order.rb +27 -0
- data/lib/datadog_api_client/v2/models/rum_warning.rb +0 -8
- data/lib/datadog_api_client/v2/models/saml_assertion_attribute.rb +1 -22
- data/lib/datadog_api_client/v2/models/saml_assertion_attribute_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/security_filter.rb +0 -8
- data/lib/datadog_api_client/v2/models/security_filter_attributes.rb +0 -11
- data/lib/datadog_api_client/v2/models/security_filter_create_attributes.rb +0 -23
- data/lib/datadog_api_client/v2/models/security_filter_create_data.rb +0 -14
- data/lib/datadog_api_client/v2/models/security_filter_create_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/security_filter_exclusion_filter.rb +0 -14
- data/lib/datadog_api_client/v2/models/security_filter_exclusion_filter_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/security_filter_meta.rb +0 -8
- data/lib/datadog_api_client/v2/models/security_filter_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/security_filter_update_attributes.rb +0 -11
- data/lib/datadog_api_client/v2/models/security_filter_update_data.rb +0 -14
- data/lib/datadog_api_client/v2/models/security_filter_update_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/security_filters_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/security_monitoring_filter.rb +0 -8
- data/lib/datadog_api_client/v2/models/security_monitoring_list_rules_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_case.rb +0 -8
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_case_create.rb +0 -11
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_create_payload.rb +0 -26
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_detection_method.rb +1 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_hardcoded_evaluator_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_impossible_travel_options.rb +0 -8
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_new_value_options.rb +29 -11
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_new_value_options_learning_method.rb +27 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_new_value_options_learning_threshold.rb +27 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_options.rb +23 -9
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_query.rb +0 -8
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_query_create.rb +0 -11
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_update_payload.rb +0 -11
- data/lib/datadog_api_client/v2/models/security_monitoring_signal.rb +0 -8
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_attributes.rb +3 -9
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_list_request.rb +0 -8
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_list_request_filter.rb +0 -8
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_list_request_page.rb +0 -11
- data/lib/datadog_api_client/v2/models/security_monitoring_signals_list_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/security_monitoring_signals_list_response_links.rb +0 -8
- data/lib/datadog_api_client/v2/models/security_monitoring_signals_list_response_meta.rb +0 -8
- data/lib/datadog_api_client/v2/models/security_monitoring_signals_list_response_meta_page.rb +0 -8
- data/lib/datadog_api_client/v2/models/service_account_create_attributes.rb +0 -14
- data/lib/datadog_api_client/v2/models/service_account_create_data.rb +0 -14
- data/lib/datadog_api_client/v2/models/service_account_create_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/usage_application_security_monitoring_response.rb +113 -0
- data/lib/datadog_api_client/v2/models/usage_attributes_object.rb +153 -0
- data/lib/datadog_api_client/v2/models/usage_data_object.rb +133 -0
- data/lib/datadog_api_client/v2/models/usage_lambda_traced_invocations_response.rb +113 -0
- data/lib/datadog_api_client/v2/models/usage_observability_pipelines_response.rb +113 -0
- data/lib/datadog_api_client/v2/models/usage_time_series_object.rb +122 -0
- data/lib/datadog_api_client/v2/models/usage_time_series_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/user.rb +0 -8
- data/lib/datadog_api_client/v2/models/user_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/user_create_attributes.rb +0 -11
- data/lib/datadog_api_client/v2/models/user_create_data.rb +0 -14
- data/lib/datadog_api_client/v2/models/user_create_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/user_invitation_data.rb +0 -14
- data/lib/datadog_api_client/v2/models/user_invitation_data_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/user_invitation_relationships.rb +0 -11
- data/lib/datadog_api_client/v2/models/user_invitation_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/user_invitation_response_data.rb +0 -8
- data/lib/datadog_api_client/v2/models/user_invitations_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/user_invitations_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/user_relationships.rb +0 -8
- data/lib/datadog_api_client/v2/models/user_response.rb +0 -8
- data/lib/datadog_api_client/v2/models/user_response_relationships.rb +0 -8
- data/lib/datadog_api_client/v2/models/user_update_attributes.rb +0 -8
- data/lib/datadog_api_client/v2/models/user_update_data.rb +0 -17
- data/lib/datadog_api_client/v2/models/user_update_request.rb +0 -11
- data/lib/datadog_api_client/v2/models/users_response.rb +0 -8
- data/lib/datadog_api_client/v2.rb +80 -17
- data/lib/datadog_api_client/version.rb +1 -11
- data/lib/datadog_api_client.rb +1 -0
- data/spec/v1/api_client_spec.rb +9 -28
- data/spec/v2/api_client_spec.rb +9 -28
- metadata +352 -58
- data/.generator/config/v1.json +0 -9
- data/.generator/config/v2.json +0 -9
- data/examples/generated/v1/logs/SubmitLog.rb +0 -15
- data/examples/generated/v2/authn-mappings/ListAuthNMappings.rb +0 -17
- data/examples/generated/v2/incidents/UpdateIncident.rb +0 -20
- data/examples/generated/v2/roles/AddUserToRole.rb +0 -12
- data/examples/generated/v2/roles/RemoveUserFromRole.rb +0 -12
- data/examples/generated/v2/roles/UpdateRole.rb +0 -12
- data/examples/generated/v2/service-accounts/CreateServiceAccountApplicationKey.rb +0 -12
- data/examples/generated/v2/service-accounts/DeleteServiceAccountApplicationKey.rb +0 -11
- data/examples/generated/v2/service-accounts/GetServiceAccountApplicationKey.rb +0 -12
- data/examples/generated/v2/service-accounts/ListServiceAccountApplicationKeys.rb +0 -19
- data/examples/generated/v2/service-accounts/UpdateServiceAccountApplicationKey.rb +0 -13
- data/examples/generated/v2/users/DisableUser.rb +0 -10
- data/examples/generated/v2/users/GetInvitation.rb +0 -11
- data/examples/generated/v2/users/GetUser.rb +0 -11
- data/examples/generated/v2/users/ListUserOrganizations.rb +0 -11
- data/examples/generated/v2/users/ListUserPermissions.rb +0 -11
- data/examples/generated/v2/users/SendInvitations.rb +0 -11
- data/examples/generated/v2/users/UpdateUser.rb +0 -12
- data/extract-code-blocks.awk +0 -81
- data/extract-code-blocks.sh +0 -12
@@ -0,0 +1,21 @@
|
|
1
|
+
# Get a list of security signals returns "OK" response
|
2
|
+
|
3
|
+
require "datadog_api_client"
|
4
|
+
api_instance = DatadogAPIClient::V2::SecurityMonitoringAPI.new
|
5
|
+
|
6
|
+
body = DatadogAPIClient::V2::SecurityMonitoringSignalListRequest.new({
|
7
|
+
filter: DatadogAPIClient::V2::SecurityMonitoringSignalListRequestFilter.new({
|
8
|
+
from: "2019-01-02T09:42:36.320Z",
|
9
|
+
query: "security:attack status:high",
|
10
|
+
to: "2019-01-03T09:42:36.320Z",
|
11
|
+
}),
|
12
|
+
page: DatadogAPIClient::V2::SecurityMonitoringSignalListRequestPage.new({
|
13
|
+
cursor: "eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ==",
|
14
|
+
limit: 25,
|
15
|
+
}),
|
16
|
+
sort: DatadogAPIClient::V2::SecurityMonitoringSignalsSort::TIMESTAMP_ASCENDING,
|
17
|
+
})
|
18
|
+
opts = {
|
19
|
+
body: body,
|
20
|
+
}
|
21
|
+
p api_instance.search_security_monitoring_signals(opts)
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# Update an existing rule returns "OK" response
|
2
|
+
|
3
|
+
require "datadog_api_client"
|
4
|
+
api_instance = DatadogAPIClient::V2::SecurityMonitoringAPI.new
|
5
|
+
|
6
|
+
body = DatadogAPIClient::V2::SecurityMonitoringRuleUpdatePayload.new({
|
7
|
+
cases: [
|
8
|
+
DatadogAPIClient::V2::SecurityMonitoringRuleCase.new({
|
9
|
+
notifications: [],
|
10
|
+
status: DatadogAPIClient::V2::SecurityMonitoringRuleSeverity::CRITICAL,
|
11
|
+
}),
|
12
|
+
],
|
13
|
+
filters: [
|
14
|
+
DatadogAPIClient::V2::SecurityMonitoringFilter.new({
|
15
|
+
action: DatadogAPIClient::V2::SecurityMonitoringFilterAction::REQUIRE,
|
16
|
+
}),
|
17
|
+
],
|
18
|
+
has_extended_title: true,
|
19
|
+
options: DatadogAPIClient::V2::SecurityMonitoringRuleOptions.new({
|
20
|
+
decrease_criticality_based_on_env: false,
|
21
|
+
detection_method: DatadogAPIClient::V2::SecurityMonitoringRuleDetectionMethod::THRESHOLD,
|
22
|
+
evaluation_window: DatadogAPIClient::V2::SecurityMonitoringRuleEvaluationWindow::ZERO_MINUTES,
|
23
|
+
hardcoded_evaluator_type: DatadogAPIClient::V2::SecurityMonitoringRuleHardcodedEvaluatorType::LOG4SHELL,
|
24
|
+
impossible_travel_options: DatadogAPIClient::V2::SecurityMonitoringRuleImpossibleTravelOptions.new({
|
25
|
+
baseline_user_locations: true,
|
26
|
+
}),
|
27
|
+
keep_alive: DatadogAPIClient::V2::SecurityMonitoringRuleKeepAlive::ZERO_MINUTES,
|
28
|
+
max_signal_duration: DatadogAPIClient::V2::SecurityMonitoringRuleMaxSignalDuration::ZERO_MINUTES,
|
29
|
+
new_value_options: DatadogAPIClient::V2::SecurityMonitoringRuleNewValueOptions.new({
|
30
|
+
forget_after: DatadogAPIClient::V2::SecurityMonitoringRuleNewValueOptionsForgetAfter::ONE_DAY,
|
31
|
+
learning_duration: DatadogAPIClient::V2::SecurityMonitoringRuleNewValueOptionsLearningDuration::ZERO_DAYS,
|
32
|
+
learning_method: DatadogAPIClient::V2::SecurityMonitoringRuleNewValueOptionsLearningMethod::DURATION,
|
33
|
+
learning_threshold: DatadogAPIClient::V2::SecurityMonitoringRuleNewValueOptionsLearningThreshold::ZERO_OCCURRENCES,
|
34
|
+
}),
|
35
|
+
}),
|
36
|
+
queries: [
|
37
|
+
DatadogAPIClient::V2::SecurityMonitoringRuleQuery.new({
|
38
|
+
aggregation: DatadogAPIClient::V2::SecurityMonitoringRuleQueryAggregation::COUNT,
|
39
|
+
distinct_fields: [],
|
40
|
+
group_by_fields: [],
|
41
|
+
}),
|
42
|
+
],
|
43
|
+
tags: [],
|
44
|
+
version: 1,
|
45
|
+
})
|
46
|
+
p api_instance.update_security_monitoring_rule("rule_id", body)
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# Create an application key for this service account returns "Created" response
|
2
|
+
|
3
|
+
require "datadog_api_client"
|
4
|
+
api_instance = DatadogAPIClient::V2::ServiceAccountsAPI.new
|
5
|
+
|
6
|
+
body = DatadogAPIClient::V2::ApplicationKeyCreateRequest.new({
|
7
|
+
data: DatadogAPIClient::V2::ApplicationKeyCreateData.new({
|
8
|
+
attributes: DatadogAPIClient::V2::ApplicationKeyCreateAttributes.new({
|
9
|
+
name: "Application Key for managing dashboards",
|
10
|
+
scopes: [
|
11
|
+
"dashboards_read",
|
12
|
+
"dashboards_write",
|
13
|
+
"dashboards_public_share",
|
14
|
+
],
|
15
|
+
}),
|
16
|
+
type: DatadogAPIClient::V2::ApplicationKeysType::APPLICATION_KEYS,
|
17
|
+
}),
|
18
|
+
})
|
19
|
+
p api_instance.create_service_account_application_key("00000000-0000-1234-0000-000000000000", body)
|
@@ -0,0 +1,5 @@
|
|
1
|
+
# Delete an application key for this service account returns "No Content" response
|
2
|
+
|
3
|
+
require "datadog_api_client"
|
4
|
+
api_instance = DatadogAPIClient::V2::ServiceAccountsAPI.new
|
5
|
+
api_instance.delete_service_account_application_key("00000000-0000-1234-0000-000000000000", "app_key_id")
|
@@ -0,0 +1,5 @@
|
|
1
|
+
# Get one application key for this service account returns "OK" response
|
2
|
+
|
3
|
+
require "datadog_api_client"
|
4
|
+
api_instance = DatadogAPIClient::V2::ServiceAccountsAPI.new
|
5
|
+
p api_instance.get_service_account_application_key("00000000-0000-1234-0000-000000000000", "app_key_id")
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Edit an application key for this service account returns "OK" response
|
2
|
+
|
3
|
+
require "datadog_api_client"
|
4
|
+
api_instance = DatadogAPIClient::V2::ServiceAccountsAPI.new
|
5
|
+
|
6
|
+
body = DatadogAPIClient::V2::ApplicationKeyUpdateRequest.new({
|
7
|
+
data: DatadogAPIClient::V2::ApplicationKeyUpdateData.new({
|
8
|
+
attributes: DatadogAPIClient::V2::ApplicationKeyUpdateAttributes.new({
|
9
|
+
name: "Application Key for managing dashboards",
|
10
|
+
scopes: [
|
11
|
+
"dashboards_read",
|
12
|
+
"dashboards_write",
|
13
|
+
"dashboards_public_share",
|
14
|
+
],
|
15
|
+
}),
|
16
|
+
id: "00112233-4455-6677-8899-aabbccddeeff",
|
17
|
+
type: DatadogAPIClient::V2::ApplicationKeysType::APPLICATION_KEYS,
|
18
|
+
}),
|
19
|
+
})
|
20
|
+
p api_instance.update_service_account_application_key("00000000-0000-1234-0000-000000000000", "app_key_id", body)
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# Get estimated cost across multi-org account with month returns "OK" response
|
2
|
+
|
3
|
+
require "datadog_api_client"
|
4
|
+
api_instance = DatadogAPIClient::V2::UsageMeteringAPI.new
|
5
|
+
opts = {
|
6
|
+
start_month: (Time.now + -5 * 86400),
|
7
|
+
end_month: (Time.now + -3 * 86400),
|
8
|
+
}
|
9
|
+
p api_instance.get_estimated_cost_by_org(opts)
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# Get estimated cost across multi-org account with date returns "OK" response
|
2
|
+
|
3
|
+
require "datadog_api_client"
|
4
|
+
api_instance = DatadogAPIClient::V2::UsageMeteringAPI.new
|
5
|
+
opts = {
|
6
|
+
start_date: (Time.now + -5 * 86400),
|
7
|
+
end_date: (Time.now + -3 * 86400),
|
8
|
+
}
|
9
|
+
p api_instance.get_estimated_cost_by_org(opts)
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Get hourly usage for Application Security returns "OK" response
|
2
|
+
|
3
|
+
require "datadog_api_client"
|
4
|
+
api_instance = DatadogAPIClient::V2::UsageMeteringAPI.new
|
5
|
+
opts = {
|
6
|
+
end_hr: (Time.now + -3 * 86400),
|
7
|
+
}
|
8
|
+
p api_instance.get_usage_application_security_monitoring((Time.now + -5 * 86400), opts)
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Get hourly usage for Lambda Traced Invocations returns "OK" response
|
2
|
+
|
3
|
+
require "datadog_api_client"
|
4
|
+
api_instance = DatadogAPIClient::V2::UsageMeteringAPI.new
|
5
|
+
opts = {
|
6
|
+
end_hr: (Time.now + -3 * 86400),
|
7
|
+
}
|
8
|
+
p api_instance.get_usage_lambda_traced_invocations((Time.now + -5 * 86400), opts)
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Get hourly usage for Observability Pipelines returns "OK" response
|
2
|
+
|
3
|
+
require "datadog_api_client"
|
4
|
+
api_instance = DatadogAPIClient::V2::UsageMeteringAPI.new
|
5
|
+
opts = {
|
6
|
+
end_hr: (Time.now + -3 * 86400),
|
7
|
+
}
|
8
|
+
p api_instance.get_usage_observability_pipelines((Time.now + -5 * 86400), opts)
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# Define user-agent.
|
2
|
+
|
3
|
+
require 'rbconfig'
|
4
|
+
require 'httparty'
|
5
|
+
|
6
|
+
module DatadogAPIClient
|
7
|
+
USER_AGENT = format(
|
8
|
+
'datadog-api-client-ruby/%<version>s (ruby %<ruver>s; os %<os>s; arch %<arch>s; httparty-version %<httparty_version>s)',
|
9
|
+
version: VERSION,
|
10
|
+
ruver: RUBY_VERSION,
|
11
|
+
os: RbConfig::CONFIG['host_os'].downcase,
|
12
|
+
arch: RbConfig::CONFIG['host_cpu'],
|
13
|
+
httparty_version: HTTParty::VERSION
|
14
|
+
)
|
15
|
+
end
|
@@ -23,17 +23,18 @@ module DatadogAPIClient::V1
|
|
23
23
|
@api_client = api_client
|
24
24
|
end
|
25
25
|
|
26
|
-
# Validate API key
|
27
|
-
#
|
28
|
-
# @
|
29
|
-
# @return [AuthenticationValidationResponse]
|
26
|
+
# Validate API key.
|
27
|
+
#
|
28
|
+
# @see #validate_with_http_info
|
30
29
|
def validate(opts = {})
|
31
30
|
data, _status_code, _headers = validate_with_http_info(opts)
|
32
31
|
data
|
33
32
|
end
|
34
33
|
|
35
|
-
# Validate API key
|
34
|
+
# Validate API key.
|
35
|
+
#
|
36
36
|
# Check if the API key (not the APP key) is valid. If invalid, a 403 is returned.
|
37
|
+
#
|
37
38
|
# @param opts [Hash] the optional parameters
|
38
39
|
# @return [Array<(AuthenticationValidationResponse, Integer, Hash)>] AuthenticationValidationResponse data, response status code and response headers
|
39
40
|
def validate_with_http_info(opts = {})
|
@@ -83,7 +84,7 @@ module DatadogAPIClient::V1
|
|
83
84
|
:return_type => return_type
|
84
85
|
)
|
85
86
|
|
86
|
-
data, status_code, headers = @api_client.call_api(
|
87
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
87
88
|
if @api_client.config.debugging
|
88
89
|
@api_client.config.logger.debug "API called: AuthenticationAPI#validate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
89
90
|
end
|
@@ -23,24 +23,21 @@ module DatadogAPIClient::V1
|
|
23
23
|
@api_client = api_client
|
24
24
|
end
|
25
25
|
|
26
|
-
# Create an AWS integration
|
27
|
-
#
|
28
|
-
#
|
29
|
-
# by adding your new configuration to the existing one in your Datadog organization.
|
30
|
-
# A unique AWS Account ID for role based authentication.
|
31
|
-
# @param body [AWSAccount] AWS Request Object
|
32
|
-
# @param opts [Hash] the optional parameters
|
33
|
-
# @return [AWSAccountCreateResponse]
|
26
|
+
# Create an AWS integration.
|
27
|
+
#
|
28
|
+
# @see #create_aws_account_with_http_info
|
34
29
|
def create_aws_account(body, opts = {})
|
35
30
|
data, _status_code, _headers = create_aws_account_with_http_info(body, opts)
|
36
31
|
data
|
37
32
|
end
|
38
33
|
|
39
|
-
# Create an AWS integration
|
34
|
+
# Create an AWS integration.
|
35
|
+
#
|
40
36
|
# Create a Datadog-Amazon Web Services integration.
|
41
37
|
# Using the `POST` method updates your integration configuration
|
42
38
|
# by adding your new configuration to the existing one in your Datadog organization.
|
43
39
|
# A unique AWS Account ID for role based authentication.
|
40
|
+
#
|
44
41
|
# @param body [AWSAccount] AWS Request Object
|
45
42
|
# @param opts [Hash] the optional parameters
|
46
43
|
# @return [Array<(AWSAccountCreateResponse, Integer, Hash)>] AWSAccountCreateResponse data, response status code and response headers
|
@@ -97,25 +94,25 @@ module DatadogAPIClient::V1
|
|
97
94
|
:return_type => return_type
|
98
95
|
)
|
99
96
|
|
100
|
-
data, status_code, headers = @api_client.call_api(
|
97
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
101
98
|
if @api_client.config.debugging
|
102
99
|
@api_client.config.logger.debug "API called: AWSIntegrationAPI#create_aws_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
103
100
|
end
|
104
101
|
return data, status_code, headers
|
105
102
|
end
|
106
103
|
|
107
|
-
# Set an AWS tag filter
|
108
104
|
# Set an AWS tag filter.
|
109
|
-
#
|
110
|
-
# @
|
111
|
-
# @return [Object]
|
105
|
+
#
|
106
|
+
# @see #create_aws_tag_filter_with_http_info
|
112
107
|
def create_aws_tag_filter(body, opts = {})
|
113
108
|
data, _status_code, _headers = create_aws_tag_filter_with_http_info(body, opts)
|
114
109
|
data
|
115
110
|
end
|
116
111
|
|
117
|
-
# Set an AWS tag filter
|
118
112
|
# Set an AWS tag filter.
|
113
|
+
#
|
114
|
+
# Set an AWS tag filter.
|
115
|
+
#
|
119
116
|
# @param body [AWSTagFilterCreateRequest] Set an AWS tag filter using an `aws_account_identifier`, `namespace`, and filtering string. Namespace options are `application_elb`, `elb`, `lambda`, `network_elb`, `rds`, `sqs`, and `custom`.
|
120
117
|
# @param opts [Hash] the optional parameters
|
121
118
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
@@ -172,25 +169,25 @@ module DatadogAPIClient::V1
|
|
172
169
|
:return_type => return_type
|
173
170
|
)
|
174
171
|
|
175
|
-
data, status_code, headers = @api_client.call_api(
|
172
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
176
173
|
if @api_client.config.debugging
|
177
174
|
@api_client.config.logger.debug "API called: AWSIntegrationAPI#create_aws_tag_filter\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
178
175
|
end
|
179
176
|
return data, status_code, headers
|
180
177
|
end
|
181
178
|
|
182
|
-
# Generate a new external ID
|
183
|
-
#
|
184
|
-
# @
|
185
|
-
# @param opts [Hash] the optional parameters
|
186
|
-
# @return [AWSAccountCreateResponse]
|
179
|
+
# Generate a new external ID.
|
180
|
+
#
|
181
|
+
# @see #create_new_aws_external_id_with_http_info
|
187
182
|
def create_new_aws_external_id(body, opts = {})
|
188
183
|
data, _status_code, _headers = create_new_aws_external_id_with_http_info(body, opts)
|
189
184
|
data
|
190
185
|
end
|
191
186
|
|
192
|
-
# Generate a new external ID
|
187
|
+
# Generate a new external ID.
|
188
|
+
#
|
193
189
|
# Generate a new AWS external ID for a given AWS account ID and role name pair.
|
190
|
+
#
|
194
191
|
# @param body [AWSAccount] Your Datadog role delegation name. For more information about your AWS account Role name, see the [Datadog AWS integration configuration info](https://docs.datadoghq.com/integrations/amazon_web_services/#setup).
|
195
192
|
# @param opts [Hash] the optional parameters
|
196
193
|
# @return [Array<(AWSAccountCreateResponse, Integer, Hash)>] AWSAccountCreateResponse data, response status code and response headers
|
@@ -247,25 +244,25 @@ module DatadogAPIClient::V1
|
|
247
244
|
:return_type => return_type
|
248
245
|
)
|
249
246
|
|
250
|
-
data, status_code, headers = @api_client.call_api(
|
247
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Put, local_var_path, new_options)
|
251
248
|
if @api_client.config.debugging
|
252
249
|
@api_client.config.logger.debug "API called: AWSIntegrationAPI#create_new_aws_external_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
253
250
|
end
|
254
251
|
return data, status_code, headers
|
255
252
|
end
|
256
253
|
|
257
|
-
# Delete an AWS integration
|
258
|
-
#
|
259
|
-
# @
|
260
|
-
# @param opts [Hash] the optional parameters
|
261
|
-
# @return [Object]
|
254
|
+
# Delete an AWS integration.
|
255
|
+
#
|
256
|
+
# @see #delete_aws_account_with_http_info
|
262
257
|
def delete_aws_account(body, opts = {})
|
263
258
|
data, _status_code, _headers = delete_aws_account_with_http_info(body, opts)
|
264
259
|
data
|
265
260
|
end
|
266
261
|
|
267
|
-
# Delete an AWS integration
|
262
|
+
# Delete an AWS integration.
|
263
|
+
#
|
268
264
|
# Delete a Datadog-AWS integration matching the specified `account_id` and `role_name parameters`.
|
265
|
+
#
|
269
266
|
# @param body [AWSAccountDeleteRequest] AWS request object
|
270
267
|
# @param opts [Hash] the optional parameters
|
271
268
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
@@ -322,25 +319,25 @@ module DatadogAPIClient::V1
|
|
322
319
|
:return_type => return_type
|
323
320
|
)
|
324
321
|
|
325
|
-
data, status_code, headers = @api_client.call_api(
|
322
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Delete, local_var_path, new_options)
|
326
323
|
if @api_client.config.debugging
|
327
324
|
@api_client.config.logger.debug "API called: AWSIntegrationAPI#delete_aws_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
328
325
|
end
|
329
326
|
return data, status_code, headers
|
330
327
|
end
|
331
328
|
|
332
|
-
# Delete a tag filtering entry
|
333
329
|
# Delete a tag filtering entry.
|
334
|
-
#
|
335
|
-
# @
|
336
|
-
# @return [Object]
|
330
|
+
#
|
331
|
+
# @see #delete_aws_tag_filter_with_http_info
|
337
332
|
def delete_aws_tag_filter(body, opts = {})
|
338
333
|
data, _status_code, _headers = delete_aws_tag_filter_with_http_info(body, opts)
|
339
334
|
data
|
340
335
|
end
|
341
336
|
|
342
|
-
# Delete a tag filtering entry
|
343
337
|
# Delete a tag filtering entry.
|
338
|
+
#
|
339
|
+
# Delete a tag filtering entry.
|
340
|
+
#
|
344
341
|
# @param body [AWSTagFilterDeleteRequest] Delete a tag filtering entry for a given AWS account and `dd-aws` namespace.
|
345
342
|
# @param opts [Hash] the optional parameters
|
346
343
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
@@ -397,24 +394,25 @@ module DatadogAPIClient::V1
|
|
397
394
|
:return_type => return_type
|
398
395
|
)
|
399
396
|
|
400
|
-
data, status_code, headers = @api_client.call_api(
|
397
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Delete, local_var_path, new_options)
|
401
398
|
if @api_client.config.debugging
|
402
399
|
@api_client.config.logger.debug "API called: AWSIntegrationAPI#delete_aws_tag_filter\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
403
400
|
end
|
404
401
|
return data, status_code, headers
|
405
402
|
end
|
406
403
|
|
407
|
-
# List namespace rules
|
408
|
-
#
|
409
|
-
# @
|
410
|
-
# @return [Array<String>]
|
404
|
+
# List namespace rules.
|
405
|
+
#
|
406
|
+
# @see #list_available_aws_namespaces_with_http_info
|
411
407
|
def list_available_aws_namespaces(opts = {})
|
412
408
|
data, _status_code, _headers = list_available_aws_namespaces_with_http_info(opts)
|
413
409
|
data
|
414
410
|
end
|
415
411
|
|
416
|
-
# List namespace rules
|
412
|
+
# List namespace rules.
|
413
|
+
#
|
417
414
|
# List all namespace rules for a given Datadog-AWS integration. This endpoint takes no arguments.
|
415
|
+
#
|
418
416
|
# @param opts [Hash] the optional parameters
|
419
417
|
# @return [Array<(Array<String>, Integer, Hash)>] Array<String> data, response status code and response headers
|
420
418
|
def list_available_aws_namespaces_with_http_info(opts = {})
|
@@ -464,27 +462,25 @@ module DatadogAPIClient::V1
|
|
464
462
|
:return_type => return_type
|
465
463
|
)
|
466
464
|
|
467
|
-
data, status_code, headers = @api_client.call_api(
|
465
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
468
466
|
if @api_client.config.debugging
|
469
467
|
@api_client.config.logger.debug "API called: AWSIntegrationAPI#list_available_aws_namespaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
470
468
|
end
|
471
469
|
return data, status_code, headers
|
472
470
|
end
|
473
471
|
|
474
|
-
# List all AWS integrations
|
475
|
-
#
|
476
|
-
# @
|
477
|
-
# @option opts [String] :account_id Only return AWS accounts that matches this `account_id`.
|
478
|
-
# @option opts [String] :role_name Only return AWS accounts that matches this role_name.
|
479
|
-
# @option opts [String] :access_key_id Only return AWS accounts that matches this `access_key_id`.
|
480
|
-
# @return [AWSAccountListResponse]
|
472
|
+
# List all AWS integrations.
|
473
|
+
#
|
474
|
+
# @see #list_aws_accounts_with_http_info
|
481
475
|
def list_aws_accounts(opts = {})
|
482
476
|
data, _status_code, _headers = list_aws_accounts_with_http_info(opts)
|
483
477
|
data
|
484
478
|
end
|
485
479
|
|
486
|
-
# List all AWS integrations
|
480
|
+
# List all AWS integrations.
|
481
|
+
#
|
487
482
|
# List all Datadog-AWS integrations available in your Datadog organization.
|
483
|
+
#
|
488
484
|
# @param opts [Hash] the optional parameters
|
489
485
|
# @option opts [String] :account_id Only return AWS accounts that matches this `account_id`.
|
490
486
|
# @option opts [String] :role_name Only return AWS accounts that matches this role_name.
|
@@ -540,25 +536,25 @@ module DatadogAPIClient::V1
|
|
540
536
|
:return_type => return_type
|
541
537
|
)
|
542
538
|
|
543
|
-
data, status_code, headers = @api_client.call_api(
|
539
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
544
540
|
if @api_client.config.debugging
|
545
541
|
@api_client.config.logger.debug "API called: AWSIntegrationAPI#list_aws_accounts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
546
542
|
end
|
547
543
|
return data, status_code, headers
|
548
544
|
end
|
549
545
|
|
550
|
-
# Get all AWS tag filters
|
551
546
|
# Get all AWS tag filters.
|
552
|
-
#
|
553
|
-
# @
|
554
|
-
# @return [AWSTagFilterListResponse]
|
547
|
+
#
|
548
|
+
# @see #list_aws_tag_filters_with_http_info
|
555
549
|
def list_aws_tag_filters(account_id, opts = {})
|
556
550
|
data, _status_code, _headers = list_aws_tag_filters_with_http_info(account_id, opts)
|
557
551
|
data
|
558
552
|
end
|
559
553
|
|
560
|
-
# Get all AWS tag filters
|
561
554
|
# Get all AWS tag filters.
|
555
|
+
#
|
556
|
+
# Get all AWS tag filters.
|
557
|
+
#
|
562
558
|
# @param account_id [String] Only return AWS filters that matches this `account_id`.
|
563
559
|
# @param opts [Hash] the optional parameters
|
564
560
|
# @return [Array<(AWSTagFilterListResponse, Integer, Hash)>] AWSTagFilterListResponse data, response status code and response headers
|
@@ -614,28 +610,25 @@ module DatadogAPIClient::V1
|
|
614
610
|
:return_type => return_type
|
615
611
|
)
|
616
612
|
|
617
|
-
data, status_code, headers = @api_client.call_api(
|
613
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
618
614
|
if @api_client.config.debugging
|
619
615
|
@api_client.config.logger.debug "API called: AWSIntegrationAPI#list_aws_tag_filters\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
620
616
|
end
|
621
617
|
return data, status_code, headers
|
622
618
|
end
|
623
619
|
|
624
|
-
# Update an AWS integration
|
625
|
-
#
|
626
|
-
# @
|
627
|
-
# @param opts [Hash] the optional parameters
|
628
|
-
# @option opts [String] :account_id Only return AWS accounts that matches this `account_id`.
|
629
|
-
# @option opts [String] :role_name Only return AWS accounts that match this `role_name`. Required if `account_id` is specified.
|
630
|
-
# @option opts [String] :access_key_id Only return AWS accounts that matches this `access_key_id`. Required if none of the other two options are specified.
|
631
|
-
# @return [Object]
|
620
|
+
# Update an AWS integration.
|
621
|
+
#
|
622
|
+
# @see #update_aws_account_with_http_info
|
632
623
|
def update_aws_account(body, opts = {})
|
633
624
|
data, _status_code, _headers = update_aws_account_with_http_info(body, opts)
|
634
625
|
data
|
635
626
|
end
|
636
627
|
|
637
|
-
# Update an AWS integration
|
628
|
+
# Update an AWS integration.
|
629
|
+
#
|
638
630
|
# Update a Datadog-Amazon Web Services integration.
|
631
|
+
#
|
639
632
|
# @param body [AWSAccount] AWS request object
|
640
633
|
# @param opts [Hash] the optional parameters
|
641
634
|
# @option opts [String] :account_id Only return AWS accounts that matches this `account_id`.
|
@@ -698,7 +691,7 @@ module DatadogAPIClient::V1
|
|
698
691
|
:return_type => return_type
|
699
692
|
)
|
700
693
|
|
701
|
-
data, status_code, headers = @api_client.call_api(
|
694
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Put, local_var_path, new_options)
|
702
695
|
if @api_client.config.debugging
|
703
696
|
@api_client.config.logger.debug "API called: AWSIntegrationAPI#update_aws_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
704
697
|
end
|