datadog_api_client 2.26.1 → 2.28.1
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 +0 -3
- data/.generator/schemas/v1/openapi.yaml +2123 -212
- data/.generator/schemas/v2/openapi.yaml +3082 -240
- data/.generator/src/generator/formatter.py +3 -44
- data/.generator/src/generator/keywords.json +43 -0
- data/.generator/src/generator/templates/api.j2 +4 -0
- data/.generator/src/generator/templates/api_client.j2 +1 -0
- data/.github/workflows/approved_status.yml +4 -0
- data/.github/workflows/changelog.yml +5 -0
- data/.github/workflows/codeql-analysis.yml +4 -0
- data/.github/workflows/docs.yml +3 -0
- data/.github/workflows/labeler.yml +5 -0
- data/.github/workflows/prepare_release.yml +4 -0
- data/.github/workflows/publish.yml +5 -0
- data/.github/workflows/release.yml +4 -0
- data/.github/workflows/stale.yml +6 -0
- data/.github/workflows/test.yml +3 -0
- data/.github/workflows/test_integration.yml +3 -0
- data/CHANGELOG.md +66 -0
- data/examples/v1/dashboards/CreateDashboard_1413226400.rb +66 -0
- data/examples/v1/dashboards/CreateDashboard_1433408735.rb +44 -0
- data/examples/v1/dashboards/CreateDashboard_3298564989.rb +65 -0
- data/examples/v1/dashboards/CreateDashboard_794302680.rb +152 -0
- data/examples/v1/gcp-integration/CreateGCPIntegration.rb +1 -0
- data/examples/v1/gcp-integration/UpdateGCPIntegration.rb +1 -0
- data/examples/v1/gcp-integration/UpdateGCPIntegration_3544259255.rb +1 -0
- data/examples/v1/monitors/ValidateExistingMonitor.rb +0 -1
- data/examples/v1/monitors/ValidateMonitor.rb +0 -1
- data/examples/v1/monitors/ValidateMonitor_4247196452.rb +0 -1
- data/examples/v1/synthetics/CreateSyntheticsAPITest.rb +3 -1
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1072503741.rb +1 -1
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.rb +1 -1
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1402674167.rb +1 -1
- data/examples/v1/synthetics/CreateSyntheticsAPITest_3829801148.rb +1 -1
- data/examples/v1/synthetics/CreateSyntheticsMobileTest.rb +27 -0
- data/examples/v1/synthetics/FetchUptimes.rb +13 -0
- data/examples/v1/synthetics/GetMobileTest.rb +8 -0
- data/examples/v1/synthetics/UpdateBrowserTest.rb +3 -1
- data/examples/v1/synthetics/UpdateMobileTest.rb +30 -0
- data/examples/v2/domain-allowlist/GetDomainAllowlist.rb +5 -0
- data/examples/v2/domain-allowlist/PatchDomainAllowlist.rb +17 -0
- data/examples/v2/gcp-integration/CreateGCPSTSAccount_2597004741.rb +1 -0
- data/examples/v2/incidents/CreateIncidentType.rb +19 -0
- data/examples/v2/incidents/DeleteIncidentType.rb +11 -0
- data/examples/v2/incidents/GetIncidentType.rb +8 -0
- data/examples/v2/incidents/ListIncidentTypes.rb +8 -0
- data/examples/v2/incidents/UpdateIncidentType.rb +22 -0
- data/examples/v2/logs/AggregateLogs_2955613758.rb +0 -1
- data/examples/v2/metrics/QueryScalarData.rb +0 -3
- data/examples/v2/metrics/QueryScalarData_3112571352.rb +0 -3
- data/examples/v2/metrics/QueryTimeseriesData.rb +0 -3
- data/examples/v2/metrics/QueryTimeseriesData_301142940.rb +0 -3
- data/examples/v2/microsoft-teams-integration/CreateTenantBasedHandle.rb +17 -0
- data/examples/v2/microsoft-teams-integration/CreateTenantBasedHandle_1540689753.rb +17 -0
- data/examples/v2/microsoft-teams-integration/DeleteTenantBasedHandle.rb +5 -0
- data/examples/v2/microsoft-teams-integration/DeleteTenantBasedHandle_377884154.rb +8 -0
- data/examples/v2/microsoft-teams-integration/GetChannelByName.rb +5 -0
- data/examples/v2/microsoft-teams-integration/GetTenantBasedHandle.rb +5 -0
- data/examples/v2/microsoft-teams-integration/GetTenantBasedHandle_2883785101.rb +8 -0
- data/examples/v2/microsoft-teams-integration/ListTenantBasedHandles.rb +5 -0
- data/examples/v2/microsoft-teams-integration/ListTenantBasedHandles_769592979.rb +5 -0
- data/examples/v2/microsoft-teams-integration/UpdateTenantBasedHandle.rb +17 -0
- data/examples/v2/microsoft-teams-integration/UpdateTenantBasedHandle_419892746.rb +18 -0
- data/examples/v2/rum-metrics/CreateRumMetric.rb +32 -0
- data/examples/v2/rum-metrics/DeleteRumMetric.rb +8 -0
- data/examples/v2/rum-metrics/GetRumMetric.rb +8 -0
- data/examples/v2/rum-metrics/ListRumMetrics.rb +5 -0
- data/examples/v2/rum-metrics/UpdateRumMetric.rb +29 -0
- data/examples/v2/security-monitoring/CreateSecurityMonitoringRule.rb +9 -0
- data/examples/v2/security-monitoring/ListFindings_1668290866.rb +14 -0
- data/examples/v2/usage-metering/GetBillingDimensionMapping.rb +8 -0
- data/examples/v2/usage-metering/GetMonthlyCostAttribution.rb +4 -1
- data/lib/datadog_api_client/api_client.rb +1 -0
- data/lib/datadog_api_client/configuration.rb +6 -2
- data/lib/datadog_api_client/inflector.rb +109 -5
- data/lib/datadog_api_client/v1/api/monitors_api.rb +6 -3
- data/lib/datadog_api_client/v1/api/synthetics_api.rb +274 -0
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +5 -3
- data/lib/datadog_api_client/v1/models/gcp_account.rb +11 -1
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +2 -3
- data/lib/datadog_api_client/v1/models/list_stream_source.rb +1 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +4 -6
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +21 -61
- data/lib/datadog_api_client/v1/models/slo_history_monitor.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_batch_details_data.rb +2 -2
- data/lib/datadog_api_client/v1/models/synthetics_batch_result.rb +2 -2
- data/lib/datadog_api_client/v1/models/{synthetics_status.rb → synthetics_batch_status.rb} +4 -4
- data/lib/datadog_api_client/v1/models/synthetics_config_variable_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/synthetics_fetch_uptimes_payload.rb +167 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step.rb +229 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params.rb +249 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_direction.rb +29 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element.rb +175 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_context_type.rb +27 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_relative_position.rb +115 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_user_locator.rb +117 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_user_locator_values_items.rb +115 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_user_locator_values_items_type.rb +30 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_positions_items.rb +115 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_value.rb +63 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_variable.rb +144 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step_type.rb +42 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_test.rb +263 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_test_config.rb +117 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_test_options.rb +380 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_test_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_tests_mobile_application.rb +173 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_tests_mobile_application_reference_type.rb +27 -0
- data/lib/datadog_api_client/v1/models/synthetics_step.rb +22 -2
- data/lib/datadog_api_client/v1/models/synthetics_step_detail.rb +21 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_ci_options.rb +19 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_details_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/synthetics_test_options_monitor_options.rb +34 -4
- data/lib/datadog_api_client/v1/models/synthetics_test_options_monitor_options_notification_preset_name.rb +29 -0
- data/lib/datadog_api_client/v1/models/synthetics_test_options_scheduling.rb +31 -2
- data/lib/datadog_api_client/v1/models/synthetics_test_options_scheduling_timeframe.rb +32 -6
- data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_request_port.rb +63 -0
- data/lib/datadog_api_client/v1/models/synthetics_test_restriction_policy_binding.rb +117 -0
- data/lib/datadog_api_client/v1/models/synthetics_test_restriction_policy_binding_relation.rb +27 -0
- data/lib/datadog_api_client/v1/models/synthetics_test_uptime.rb +135 -0
- data/lib/datadog_api_client/v1/models/synthetics_uptime.rb +161 -0
- data/lib/datadog_api_client/v1/models/table_widget_request.rb +16 -4
- data/lib/datadog_api_client/v1/models/table_widget_text_format_match.rb +144 -0
- data/lib/datadog_api_client/v1/models/table_widget_text_format_match_type.rb +31 -0
- data/lib/datadog_api_client/v1/models/table_widget_text_format_palette.rb +36 -0
- data/lib/datadog_api_client/v1/models/table_widget_text_format_replace.rb +63 -0
- data/lib/datadog_api_client/v1/models/table_widget_text_format_replace_all.rb +144 -0
- data/lib/datadog_api_client/v1/models/table_widget_text_format_replace_all_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/table_widget_text_format_replace_substring.rb +165 -0
- data/lib/datadog_api_client/v1/models/table_widget_text_format_replace_substring_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/table_widget_text_format_rule.rb +163 -0
- data/lib/datadog_api_client/v1/models/toplist_widget_stacked.rb +1 -12
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +51 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +51 -1
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +51 -1
- data/lib/datadog_api_client/v2/api/authn_mappings_api.rb +3 -3
- data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +3 -69
- data/lib/datadog_api_client/v2/api/domain_allowlist_api.rb +153 -0
- data/lib/datadog_api_client/v2/api/incidents_api.rb +362 -1
- data/lib/datadog_api_client/v2/api/metrics_api.rb +5 -17
- data/lib/datadog_api_client/v2/api/microsoft_teams_integration_api.rb +434 -0
- data/lib/datadog_api_client/v2/api/restriction_policies_api.rb +3 -3
- data/lib/datadog_api_client/v2/api/rum_metrics_api.rb +357 -0
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +3 -0
- data/lib/datadog_api_client/v2/api/software_catalog_api.rb +19 -19
- data/lib/datadog_api_client/v2/api/teams_api.rb +1 -0
- data/lib/datadog_api_client/v2/api/usage_metering_api.rb +79 -10
- data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item.rb +125 -0
- data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item_attributes.rb +127 -0
- data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item_attributes_endpoints_items.rb +127 -0
- data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item_attributes_endpoints_items_status.rb +27 -0
- data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_response.rb +107 -0
- data/lib/datadog_api_client/v2/models/cloudflare_account_create_request_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/cloudflare_account_response_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/cloudflare_account_update_request_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/domain_allowlist.rb +151 -0
- data/lib/datadog_api_client/v2/models/domain_allowlist_attributes.rb +117 -0
- data/lib/datadog_api_client/v2/models/domain_allowlist_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/domain_allowlist_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/domain_allowlist_response_data.rb +151 -0
- data/lib/datadog_api_client/v2/models/domain_allowlist_response_data_attributes.rb +117 -0
- data/lib/datadog_api_client/v2/models/domain_allowlist_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/dora_deployment_request_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/entity_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/entity_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/entity_response_included_incident.rb +1 -1
- data/lib/datadog_api_client/v2/models/entity_response_included_raw_schema.rb +1 -1
- data/lib/datadog_api_client/v2/models/entity_response_included_related_oncall_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/entity_response_included_related_oncall_escalation_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/entity_response_included_schema.rb +1 -1
- data/lib/datadog_api_client/v2/models/entity_v3_api_version.rb +1 -1
- data/lib/datadog_api_client/v2/models/entity_v3_datadog_code_location_item.rb +3 -3
- data/lib/datadog_api_client/v2/models/entity_v3_datadog_event_item.rb +2 -2
- data/lib/datadog_api_client/v2/models/entity_v3_datadog_integration_opsgenie.rb +2 -2
- data/lib/datadog_api_client/v2/models/entity_v3_datadog_integration_pagerduty.rb +2 -2
- data/lib/datadog_api_client/v2/models/entity_v3_datadog_log_item.rb +3 -3
- data/lib/datadog_api_client/v2/models/entity_v3_datadog_performance.rb +2 -2
- data/lib/datadog_api_client/v2/models/entity_v3_datadog_pipelines.rb +2 -2
- data/lib/datadog_api_client/v2/models/entity_v3_datastore.rb +4 -4
- data/lib/datadog_api_client/v2/models/entity_v3_datastore_datadog.rb +4 -4
- data/lib/datadog_api_client/v2/models/entity_v3_datastore_spec.rb +2 -2
- data/lib/datadog_api_client/v2/models/entity_v3_integrations.rb +3 -3
- data/lib/datadog_api_client/v2/models/entity_v3_metadata.rb +9 -9
- data/lib/datadog_api_client/v2/models/entity_v3_metadata_additional_owners_items.rb +2 -2
- data/lib/datadog_api_client/v2/models/entity_v3_metadata_contacts_items.rb +2 -2
- data/lib/datadog_api_client/v2/models/entity_v3_metadata_links_items.rb +2 -2
- data/lib/datadog_api_client/v2/models/entity_v3_metadata_owner.rb +2 -2
- data/lib/datadog_api_client/v2/models/entity_v3_queue.rb +5 -5
- data/lib/datadog_api_client/v2/models/entity_v3_queue_datadog.rb +4 -4
- data/lib/datadog_api_client/v2/models/entity_v3_queue_spec.rb +2 -2
- data/lib/datadog_api_client/v2/models/entity_v3_service.rb +5 -5
- data/lib/datadog_api_client/v2/models/entity_v3_service_datadog.rb +6 -6
- data/lib/datadog_api_client/v2/models/entity_v3_service_spec.rb +3 -3
- data/lib/datadog_api_client/v2/models/entity_v3_system.rb +5 -5
- data/lib/datadog_api_client/v2/models/entity_v3_system_datadog.rb +5 -5
- data/lib/datadog_api_client/v2/models/fastly_services_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/finding_attributes.rb +14 -4
- data/lib/datadog_api_client/v2/models/finding_vulnerability_type.rb +29 -0
- data/lib/datadog_api_client/v2/models/gcp_metric_namespace_config.rb +115 -0
- data/lib/datadog_api_client/v2/models/gcpsts_service_account_attributes.rb +23 -1
- data/lib/datadog_api_client/v2/models/incident_create_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_metadata.rb +2 -1
- data/lib/datadog_api_client/v2/models/incident_notification_handle.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/incident_response_included_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_type_attributes.rb +193 -0
- data/lib/datadog_api_client/v2/models/incident_type_create_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/incident_type_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/incident_type_list_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/{aws_related_account.rb → incident_type_object.rb} +8 -8
- data/lib/datadog_api_client/v2/models/incident_type_patch_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/incident_type_patch_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/incident_type_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/{aws_related_account_type.rb → incident_type_type.rb} +3 -3
- data/lib/datadog_api_client/v2/models/incident_type_update_attributes.rb +175 -0
- data/lib/datadog_api_client/v2/models/incident_user_attributes.rb +153 -0
- data/lib/datadog_api_client/v2/models/incident_user_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/include_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/list_entity_catalog_response_links.rb +3 -3
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_metric_type_category.rb +27 -0
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/microsoft_teams_channel_info_response_attributes.rb +165 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_channel_info_response_data.rb +147 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_channel_info_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_create_tenant_based_handle_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_get_channel_by_name_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_attributes.rb +186 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_info_response_attributes.rb +249 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_info_response_data.rb +147 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_info_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_request_attributes.rb +202 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_request_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_response_data.rb +147 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handles_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_update_tenant_based_handle_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_update_tenant_based_handle_request_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/ms_teams_integration_metadata.rb +125 -0
- data/lib/datadog_api_client/v2/models/ms_teams_integration_metadata_teams_item.rb +186 -0
- data/lib/datadog_api_client/v2/models/powerpack_template_variable.rb +35 -4
- data/lib/datadog_api_client/v2/models/relation_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/relationship_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/rum_metric_compute.rb +145 -0
- data/lib/datadog_api_client/v2/models/rum_metric_compute_aggregation_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/rum_metric_create_attributes.rb +176 -0
- data/lib/datadog_api_client/v2/models/rum_metric_create_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/rum_metric_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/rum_metric_event_type.rb +32 -0
- data/lib/datadog_api_client/v2/models/rum_metric_filter.rb +123 -0
- data/lib/datadog_api_client/v2/models/rum_metric_group_by.rb +133 -0
- data/lib/datadog_api_client/v2/models/rum_metric_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/rum_metric_response_attributes.rb +147 -0
- data/lib/datadog_api_client/v2/models/rum_metric_response_compute.rb +127 -0
- data/lib/datadog_api_client/v2/models/rum_metric_response_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/rum_metric_response_filter.rb +105 -0
- data/lib/datadog_api_client/v2/models/rum_metric_response_group_by.rb +115 -0
- data/lib/datadog_api_client/v2/models/{aws_related_account_attributes.rb → rum_metric_response_uniqueness.rb} +11 -21
- data/lib/datadog_api_client/v2/models/rum_metric_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/rum_metric_uniqueness.rb +123 -0
- data/lib/datadog_api_client/v2/models/rum_metric_uniqueness_when.rb +27 -0
- data/lib/datadog_api_client/v2/models/rum_metric_update_attributes.rb +127 -0
- data/lib/datadog_api_client/v2/models/rum_metric_update_compute.rb +106 -0
- data/lib/datadog_api_client/v2/models/rum_metric_update_data.rb +154 -0
- data/lib/datadog_api_client/v2/models/rum_metric_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/{aws_related_accounts_response.rb → rum_metrics_response.rb} +5 -5
- data/lib/datadog_api_client/v2/models/security_monitoring_reference_table.rb +145 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_update_payload.rb +13 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_create_payload.rb +13 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_payload.rb +13 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb +13 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_test_payload.rb +13 -1
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_included_keyword_configuration.rb +15 -4
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_meta.rb +2 -2
- data/lib/datadog_api_client/v2/models/team_update_attributes.rb +1 -26
- data/lib/datadog_api_client/v2/models/upsert_catalog_entity_request.rb +1 -1
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +145 -8
- data/examples/v2/cloud-cost-management/ListAWSRelatedAccounts.rb +0 -5
@@ -152,7 +152,7 @@ module DatadogAPIClient::V1
|
|
152
152
|
fail ArgumentError, "Missing the required parameter 'usage_type' when calling UsageMeteringAPI.get_hourly_usage_attribution"
|
153
153
|
end
|
154
154
|
# verify enum value
|
155
|
-
allowable_values = ['api_usage', 'apm_fargate_usage', 'apm_host_usage', 'apm_usm_usage', 'appsec_fargate_usage', 'appsec_usage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'ci_pipeline_indexed_spans_usage', 'ci_test_indexed_spans_usage', 'ci_visibility_itr_usage', 'cloud_siem_usage', 'container_excl_agent_usage', 'container_usage', 'cspm_containers_usage', 'cspm_hosts_usage', 'custom_event_usage', 'custom_ingested_timeseries_usage', 'custom_timeseries_usage', 'cws_containers_usage', 'cws_hosts_usage', '
|
155
|
+
allowable_values = ['api_usage', 'apm_fargate_usage', 'apm_host_usage', 'apm_usm_usage', 'appsec_fargate_usage', 'appsec_usage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'ci_pipeline_indexed_spans_usage', 'ci_test_indexed_spans_usage', 'ci_visibility_itr_usage', 'cloud_siem_usage', 'container_excl_agent_usage', 'container_usage', 'cspm_containers_usage', 'cspm_hosts_usage', 'custom_event_usage', 'custom_ingested_timeseries_usage', 'custom_timeseries_usage', 'cws_containers_usage', 'cws_hosts_usage', 'data_jobs_monitoring_usage', 'data_stream_monitoring_usage', 'dbm_hosts_usage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_spans_usage', 'estimated_ingested_spans_usage', 'fargate_usage', 'functions_usage', 'incident_management_monthly_active_users_usage', 'indexed_spans_usage', 'infra_host_usage', 'ingested_logs_bytes_usage', 'ingested_spans_bytes_usage', 'invocations_usage', 'lambda_traced_invocations_usage', 'logs_indexed_15day_usage', 'logs_indexed_180day_usage', 'logs_indexed_1day_usage', 'logs_indexed_30day_usage', 'logs_indexed_360day_usage', 'logs_indexed_3day_usage', 'logs_indexed_45day_usage', 'logs_indexed_60day_usage', 'logs_indexed_7day_usage', 'logs_indexed_90day_usage', 'logs_indexed_custom_retention_usage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'npm_host_usage', 'obs_pipeline_bytes_usage', 'obs_pipelines_vcpu_usage', 'online_archive_usage', 'profiled_container_usage', 'profiled_fargate_usage', 'profiled_host_usage', 'rum_browser_mobile_sessions_usage', 'rum_replay_sessions_usage', 'sca_fargate_usage', 'sds_scanned_bytes_usage', 'serverless_apps_usage', 'siem_analyzed_logs_add_on_usage', 'siem_ingested_bytes_usage', 'snmp_usage', 'universal_service_monitoring_usage', 'vuln_management_hosts_usage', 'workflow_executions_usage']
|
156
156
|
if @api_client.config.client_side_validation && !allowable_values.include?(usage_type)
|
157
157
|
fail ArgumentError, "invalid value for \"usage_type\", must be one of #{allowable_values}"
|
158
158
|
end
|
@@ -478,7 +478,7 @@ module DatadogAPIClient::V1
|
|
478
478
|
fail ArgumentError, "Missing the required parameter 'fields' when calling UsageMeteringAPI.get_monthly_usage_attribution"
|
479
479
|
end
|
480
480
|
# verify enum value
|
481
|
-
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'apm_usm_usage', 'apm_usm_percentage', 'appsec_usage', 'appsec_percentage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'cloud_siem_usage', 'cloud_siem_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', '
|
481
|
+
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'apm_usm_usage', 'apm_usm_percentage', 'appsec_usage', 'appsec_percentage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'cloud_siem_usage', 'cloud_siem_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'data_jobs_monitoring_usage', 'data_jobs_monitoring_percentage', 'data_stream_monitoring_usage', 'data_stream_monitoring_percentage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'incident_management_monthly_active_users_usage', 'incident_management_monthly_active_users_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'lambda_traced_invocations_usage', 'lambda_traced_invocations_percentage', 'mobile_app_testing_percentage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'ndm_netflow_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'obs_pipelines_vcpu_usage', 'obs_pipelines_vcpu_percentage', 'online_archive_usage', 'online_archive_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'serverless_apps_usage', 'serverless_apps_percentage', 'snmp_usage', 'snmp_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', 'sds_scanned_bytes_usage', 'sds_scanned_bytes_percentage', 'ci_test_indexed_spans_usage', 'ci_test_indexed_spans_percentage', 'ingested_logs_bytes_usage', 'ingested_logs_bytes_percentage', 'ci_pipeline_indexed_spans_usage', 'ci_pipeline_indexed_spans_percentage', 'indexed_spans_usage', 'indexed_spans_percentage', 'custom_event_usage', 'custom_event_percentage', 'logs_indexed_custom_retention_usage', 'logs_indexed_custom_retention_percentage', 'logs_indexed_360day_usage', 'logs_indexed_360day_percentage', 'logs_indexed_180day_usage', 'logs_indexed_180day_percentage', 'logs_indexed_90day_usage', 'logs_indexed_90day_percentage', 'logs_indexed_60day_usage', 'logs_indexed_60day_percentage', 'logs_indexed_45day_usage', 'logs_indexed_45day_percentage', 'logs_indexed_30day_usage', 'logs_indexed_30day_percentage', 'logs_indexed_15day_usage', 'logs_indexed_15day_percentage', 'logs_indexed_7day_usage', 'logs_indexed_7day_percentage', 'logs_indexed_3day_usage', 'logs_indexed_3day_percentage', 'logs_indexed_1day_usage', 'logs_indexed_1day_percentage', 'rum_replay_sessions_usage', 'rum_replay_sessions_percentage', 'rum_browser_mobile_sessions_usage', 'rum_browser_mobile_sessions_percentage', 'ingested_spans_bytes_usage', 'ingested_spans_bytes_percentage', 'siem_analyzed_logs_add_on_usage', 'siem_analyzed_logs_add_on_percentage', 'siem_ingested_bytes_usage', 'siem_ingested_bytes_percentage', 'workflow_executions_usage', 'workflow_executions_percentage', 'sca_fargate_usage', 'sca_fargate_percentage', '*']
|
482
482
|
if @api_client.config.client_side_validation && !allowable_values.include?(fields)
|
483
483
|
fail ArgumentError, "invalid value for \"fields\", must be one of #{allowable_values}"
|
484
484
|
end
|
@@ -486,7 +486,7 @@ module DatadogAPIClient::V1
|
|
486
486
|
if @api_client.config.client_side_validation && opts[:'sort_direction'] && !allowable_values.include?(opts[:'sort_direction'])
|
487
487
|
fail ArgumentError, "invalid value for \"sort_direction\", must be one of #{allowable_values}"
|
488
488
|
end
|
489
|
-
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'apm_usm_usage', 'apm_usm_percentage', 'appsec_usage', 'appsec_percentage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'cloud_siem_usage', 'cloud_siem_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', '
|
489
|
+
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'apm_usm_usage', 'apm_usm_percentage', 'appsec_usage', 'appsec_percentage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'cloud_siem_usage', 'cloud_siem_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'data_jobs_monitoring_usage', 'data_jobs_monitoring_percentage', 'data_stream_monitoring_usage', 'data_stream_monitoring_percentage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'incident_management_monthly_active_users_usage', 'incident_management_monthly_active_users_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'lambda_traced_invocations_usage', 'lambda_traced_invocations_percentage', 'mobile_app_testing_percentage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'ndm_netflow_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'obs_pipelines_vcpu_usage', 'obs_pipelines_vcpu_percentage', 'online_archive_usage', 'online_archive_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'serverless_apps_usage', 'serverless_apps_percentage', 'snmp_usage', 'snmp_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', 'sds_scanned_bytes_usage', 'sds_scanned_bytes_percentage', 'ci_test_indexed_spans_usage', 'ci_test_indexed_spans_percentage', 'ingested_logs_bytes_usage', 'ingested_logs_bytes_percentage', 'ci_pipeline_indexed_spans_usage', 'ci_pipeline_indexed_spans_percentage', 'indexed_spans_usage', 'indexed_spans_percentage', 'custom_event_usage', 'custom_event_percentage', 'logs_indexed_custom_retention_usage', 'logs_indexed_custom_retention_percentage', 'logs_indexed_360day_usage', 'logs_indexed_360day_percentage', 'logs_indexed_180day_usage', 'logs_indexed_180day_percentage', 'logs_indexed_90day_usage', 'logs_indexed_90day_percentage', 'logs_indexed_60day_usage', 'logs_indexed_60day_percentage', 'logs_indexed_45day_usage', 'logs_indexed_45day_percentage', 'logs_indexed_30day_usage', 'logs_indexed_30day_percentage', 'logs_indexed_15day_usage', 'logs_indexed_15day_percentage', 'logs_indexed_7day_usage', 'logs_indexed_7day_percentage', 'logs_indexed_3day_usage', 'logs_indexed_3day_percentage', 'logs_indexed_1day_usage', 'logs_indexed_1day_percentage', 'rum_replay_sessions_usage', 'rum_replay_sessions_percentage', 'rum_browser_mobile_sessions_usage', 'rum_browser_mobile_sessions_percentage', 'ingested_spans_bytes_usage', 'ingested_spans_bytes_percentage', 'siem_analyzed_logs_add_on_usage', 'siem_analyzed_logs_add_on_percentage', 'siem_ingested_bytes_usage', 'siem_ingested_bytes_percentage', 'workflow_executions_usage', 'workflow_executions_percentage', 'sca_fargate_usage', 'sca_fargate_percentage', '*']
|
490
490
|
if @api_client.config.client_side_validation && opts[:'sort_name'] && !allowable_values.include?(opts[:'sort_name'])
|
491
491
|
fail ArgumentError, "invalid value for \"sort_name\", must be one of #{allowable_values}"
|
492
492
|
end
|
@@ -1671,6 +1671,7 @@ module DatadogAPIClient::V1
|
|
1671
1671
|
:return_type => return_type,
|
1672
1672
|
:api_version => "V1"
|
1673
1673
|
)
|
1674
|
+
new_options[:query_string_normalizer] = HTTParty::Request::NON_RAILS_QUERY_STRING_NORMALIZER
|
1674
1675
|
|
1675
1676
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
1676
1677
|
if @api_client.config.debugging
|
@@ -2759,6 +2760,7 @@ module DatadogAPIClient::V1
|
|
2759
2760
|
:return_type => return_type,
|
2760
2761
|
:api_version => "V1"
|
2761
2762
|
)
|
2763
|
+
new_options[:query_string_normalizer] = HTTParty::Request::NON_RAILS_QUERY_STRING_NORMALIZER
|
2762
2764
|
|
2763
2765
|
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
2764
2766
|
if @api_client.config.debugging
|
@@ -54,6 +54,9 @@ module DatadogAPIClient::V1
|
|
54
54
|
# When enabled, Datadog will activate the Cloud Security Monitoring product for this service account. Note: This requires resource_collection_enabled to be set to true.
|
55
55
|
attr_accessor :is_cspm_enabled
|
56
56
|
|
57
|
+
# When enabled, Datadog scans for all resource change data in your Google Cloud environment.
|
58
|
+
attr_accessor :is_resource_change_collection_enabled
|
59
|
+
|
57
60
|
# When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account.
|
58
61
|
attr_accessor :is_security_command_center_enabled
|
59
62
|
|
@@ -91,6 +94,7 @@ module DatadogAPIClient::V1
|
|
91
94
|
:'errors' => :'errors',
|
92
95
|
:'host_filters' => :'host_filters',
|
93
96
|
:'is_cspm_enabled' => :'is_cspm_enabled',
|
97
|
+
:'is_resource_change_collection_enabled' => :'is_resource_change_collection_enabled',
|
94
98
|
:'is_security_command_center_enabled' => :'is_security_command_center_enabled',
|
95
99
|
:'private_key' => :'private_key',
|
96
100
|
:'private_key_id' => :'private_key_id',
|
@@ -115,6 +119,7 @@ module DatadogAPIClient::V1
|
|
115
119
|
:'errors' => :'Array<String>',
|
116
120
|
:'host_filters' => :'String',
|
117
121
|
:'is_cspm_enabled' => :'Boolean',
|
122
|
+
:'is_resource_change_collection_enabled' => :'Boolean',
|
118
123
|
:'is_security_command_center_enabled' => :'Boolean',
|
119
124
|
:'private_key' => :'String',
|
120
125
|
:'private_key_id' => :'String',
|
@@ -187,6 +192,10 @@ module DatadogAPIClient::V1
|
|
187
192
|
self.is_cspm_enabled = attributes[:'is_cspm_enabled']
|
188
193
|
end
|
189
194
|
|
195
|
+
if attributes.key?(:'is_resource_change_collection_enabled')
|
196
|
+
self.is_resource_change_collection_enabled = attributes[:'is_resource_change_collection_enabled']
|
197
|
+
end
|
198
|
+
|
190
199
|
if attributes.key?(:'is_security_command_center_enabled')
|
191
200
|
self.is_security_command_center_enabled = attributes[:'is_security_command_center_enabled']
|
192
201
|
end
|
@@ -252,6 +261,7 @@ module DatadogAPIClient::V1
|
|
252
261
|
errors == o.errors &&
|
253
262
|
host_filters == o.host_filters &&
|
254
263
|
is_cspm_enabled == o.is_cspm_enabled &&
|
264
|
+
is_resource_change_collection_enabled == o.is_resource_change_collection_enabled &&
|
255
265
|
is_security_command_center_enabled == o.is_security_command_center_enabled &&
|
256
266
|
private_key == o.private_key &&
|
257
267
|
private_key_id == o.private_key_id &&
|
@@ -266,7 +276,7 @@ module DatadogAPIClient::V1
|
|
266
276
|
# @return [Integer] Hash code
|
267
277
|
# @!visibility private
|
268
278
|
def hash
|
269
|
-
[auth_provider_x509_cert_url, auth_uri, automute, client_email, client_id, client_x509_cert_url, cloud_run_revision_filters, errors, host_filters, is_cspm_enabled, is_security_command_center_enabled, private_key, private_key_id, project_id, resource_collection_enabled, token_uri, type].hash
|
279
|
+
[auth_provider_x509_cert_url, auth_uri, automute, client_email, client_id, client_x509_cert_url, cloud_run_revision_filters, errors, host_filters, is_cspm_enabled, is_resource_change_collection_enabled, is_security_command_center_enabled, private_key, private_key_id, project_id, resource_collection_enabled, token_uri, type].hash
|
270
280
|
end
|
271
281
|
end
|
272
282
|
end
|
@@ -43,15 +43,14 @@ module DatadogAPIClient::V1
|
|
43
43
|
CUSTOM_TIMESERIES_USAGE = "custom_timeseries_usage".freeze
|
44
44
|
CWS_CONTAINERS_USAGE = "cws_containers_usage".freeze
|
45
45
|
CWS_HOSTS_USAGE = "cws_hosts_usage".freeze
|
46
|
+
DATA_JOBS_MONITORING_USAGE = "data_jobs_monitoring_usage".freeze
|
47
|
+
DATA_STREAM_MONITORING_USAGE = "data_stream_monitoring_usage".freeze
|
46
48
|
DBM_HOSTS_USAGE = "dbm_hosts_usage".freeze
|
47
49
|
DBM_QUERIES_USAGE = "dbm_queries_usage".freeze
|
48
50
|
ERROR_TRACKING_USAGE = "error_tracking_usage".freeze
|
49
51
|
ERROR_TRACKING_PERCENTAGE = "error_tracking_percentage".freeze
|
50
|
-
ESTIMATED_INDEXED_LOGS_USAGE = "estimated_indexed_logs_usage".freeze
|
51
52
|
ESTIMATED_INDEXED_SPANS_USAGE = "estimated_indexed_spans_usage".freeze
|
52
|
-
ESTIMATED_INGESTED_LOGS_USAGE = "estimated_ingested_logs_usage".freeze
|
53
53
|
ESTIMATED_INGESTED_SPANS_USAGE = "estimated_ingested_spans_usage".freeze
|
54
|
-
ESTIMATED_RUM_SESSIONS_USAGE = "estimated_rum_sessions_usage".freeze
|
55
54
|
FARGATE_USAGE = "fargate_usage".freeze
|
56
55
|
FUNCTIONS_USAGE = "functions_usage".freeze
|
57
56
|
INCIDENT_MANAGEMENT_MONTHLY_ACTIVE_USERS_USAGE = "incident_management_monthly_active_users_usage".freeze
|
@@ -57,16 +57,16 @@ module DatadogAPIClient::V1
|
|
57
57
|
CWS_CONTAINERS_USAGE = "cws_containers_usage".freeze
|
58
58
|
CWS_HOSTS_PERCENTAGE = "cws_hosts_percentage".freeze
|
59
59
|
CWS_HOSTS_USAGE = "cws_hosts_usage".freeze
|
60
|
+
DATA_JOBS_MONITORING_USAGE = "data_jobs_monitoring_usage".freeze
|
61
|
+
DATA_JOBS_MONITORING_PERCENTAGE = "data_jobs_monitoring_percentage".freeze
|
62
|
+
DATA_STREAM_MONITORING_USAGE = "data_stream_monitoring_usage".freeze
|
63
|
+
DATA_STREAM_MONITORING_PERCENTAGE = "data_stream_monitoring_percentage".freeze
|
60
64
|
DBM_HOSTS_PERCENTAGE = "dbm_hosts_percentage".freeze
|
61
65
|
DBM_HOSTS_USAGE = "dbm_hosts_usage".freeze
|
62
66
|
DBM_QUERIES_PERCENTAGE = "dbm_queries_percentage".freeze
|
63
67
|
DBM_QUERIES_USAGE = "dbm_queries_usage".freeze
|
64
68
|
ERROR_TRACKING_USAGE = "error_tracking_usage".freeze
|
65
69
|
ERROR_TRACKING_PERCENTAGE = "error_tracking_percentage".freeze
|
66
|
-
ESTIMATED_INDEXED_LOGS_USAGE = "estimated_indexed_logs_usage".freeze
|
67
|
-
ESTIMATED_INDEXED_LOGS_PERCENTAGE = "estimated_indexed_logs_percentage".freeze
|
68
|
-
ESTIMATED_INGESTED_LOGS_USAGE = "estimated_ingested_logs_usage".freeze
|
69
|
-
ESTIMATED_INGESTED_LOGS_PERCENTAGE = "estimated_ingested_logs_percentage".freeze
|
70
70
|
ESTIMATED_INDEXED_SPANS_USAGE = "estimated_indexed_spans_usage".freeze
|
71
71
|
ESTIMATED_INDEXED_SPANS_PERCENTAGE = "estimated_indexed_spans_percentage".freeze
|
72
72
|
ESTIMATED_INGESTED_SPANS_USAGE = "estimated_ingested_spans_usage".freeze
|
@@ -105,8 +105,6 @@ module DatadogAPIClient::V1
|
|
105
105
|
SERVERLESS_APPS_PERCENTAGE = "serverless_apps_percentage".freeze
|
106
106
|
SNMP_USAGE = "snmp_usage".freeze
|
107
107
|
SNMP_PERCENTAGE = "snmp_percentage".freeze
|
108
|
-
ESTIMATED_RUM_SESSIONS_USAGE = "estimated_rum_sessions_usage".freeze
|
109
|
-
ESTIMATED_RUM_SESSIONS_PERCENTAGE = "estimated_rum_sessions_percentage".freeze
|
110
108
|
UNIVERSAL_SERVICE_MONITORING_USAGE = "universal_service_monitoring_usage".freeze
|
111
109
|
UNIVERSAL_SERVICE_MONITORING_PERCENTAGE = "universal_service_monitoring_percentage".freeze
|
112
110
|
VULN_MANAGEMENT_HOSTS_USAGE = "vuln_management_hosts_usage".freeze
|
@@ -147,6 +147,12 @@ module DatadogAPIClient::V1
|
|
147
147
|
# The Cloud Workload Security host usage by tag(s).
|
148
148
|
attr_accessor :cws_hosts_usage
|
149
149
|
|
150
|
+
# The Data Jobs Monitoring usage by tag(s).
|
151
|
+
attr_accessor :data_jobs_monitoring_usage
|
152
|
+
|
153
|
+
# The Data Stream Monitoring usage by tag(s).
|
154
|
+
attr_accessor :data_stream_monitoring_usage
|
155
|
+
|
150
156
|
# The percentage of Database Monitoring host usage by tag(s).
|
151
157
|
attr_accessor :dbm_hosts_percentage
|
152
158
|
|
@@ -165,36 +171,18 @@ module DatadogAPIClient::V1
|
|
165
171
|
# The error tracking events usage by tag(s).
|
166
172
|
attr_accessor :error_tracking_usage
|
167
173
|
|
168
|
-
# The percentage of estimated live indexed logs usage by tag(s).
|
169
|
-
attr_accessor :estimated_indexed_logs_percentage
|
170
|
-
|
171
|
-
# The estimated live indexed logs usage by tag(s).
|
172
|
-
attr_accessor :estimated_indexed_logs_usage
|
173
|
-
|
174
174
|
# The percentage of estimated indexed spans usage by tag(s).
|
175
175
|
attr_accessor :estimated_indexed_spans_percentage
|
176
176
|
|
177
177
|
# The estimated indexed spans usage by tag(s).
|
178
178
|
attr_accessor :estimated_indexed_spans_usage
|
179
179
|
|
180
|
-
# The percentage of estimated live ingested logs usage by tag(s).
|
181
|
-
attr_accessor :estimated_ingested_logs_percentage
|
182
|
-
|
183
|
-
# The estimated live ingested logs usage by tag(s).
|
184
|
-
attr_accessor :estimated_ingested_logs_usage
|
185
|
-
|
186
180
|
# The percentage of estimated ingested spans usage by tag(s).
|
187
181
|
attr_accessor :estimated_ingested_spans_percentage
|
188
182
|
|
189
183
|
# The estimated ingested spans usage by tag(s).
|
190
184
|
attr_accessor :estimated_ingested_spans_usage
|
191
185
|
|
192
|
-
# The percentage of estimated rum sessions usage by tag(s).
|
193
|
-
attr_accessor :estimated_rum_sessions_percentage
|
194
|
-
|
195
|
-
# The estimated rum sessions usage by tag(s).
|
196
|
-
attr_accessor :estimated_rum_sessions_usage
|
197
|
-
|
198
186
|
# The percentage of Fargate usage by tags.
|
199
187
|
attr_accessor :fargate_percentage
|
200
188
|
|
@@ -483,22 +471,18 @@ module DatadogAPIClient::V1
|
|
483
471
|
:'cws_containers_usage' => :'cws_containers_usage',
|
484
472
|
:'cws_hosts_percentage' => :'cws_hosts_percentage',
|
485
473
|
:'cws_hosts_usage' => :'cws_hosts_usage',
|
474
|
+
:'data_jobs_monitoring_usage' => :'data_jobs_monitoring_usage',
|
475
|
+
:'data_stream_monitoring_usage' => :'data_stream_monitoring_usage',
|
486
476
|
:'dbm_hosts_percentage' => :'dbm_hosts_percentage',
|
487
477
|
:'dbm_hosts_usage' => :'dbm_hosts_usage',
|
488
478
|
:'dbm_queries_percentage' => :'dbm_queries_percentage',
|
489
479
|
:'dbm_queries_usage' => :'dbm_queries_usage',
|
490
480
|
:'error_tracking_percentage' => :'error_tracking_percentage',
|
491
481
|
:'error_tracking_usage' => :'error_tracking_usage',
|
492
|
-
:'estimated_indexed_logs_percentage' => :'estimated_indexed_logs_percentage',
|
493
|
-
:'estimated_indexed_logs_usage' => :'estimated_indexed_logs_usage',
|
494
482
|
:'estimated_indexed_spans_percentage' => :'estimated_indexed_spans_percentage',
|
495
483
|
:'estimated_indexed_spans_usage' => :'estimated_indexed_spans_usage',
|
496
|
-
:'estimated_ingested_logs_percentage' => :'estimated_ingested_logs_percentage',
|
497
|
-
:'estimated_ingested_logs_usage' => :'estimated_ingested_logs_usage',
|
498
484
|
:'estimated_ingested_spans_percentage' => :'estimated_ingested_spans_percentage',
|
499
485
|
:'estimated_ingested_spans_usage' => :'estimated_ingested_spans_usage',
|
500
|
-
:'estimated_rum_sessions_percentage' => :'estimated_rum_sessions_percentage',
|
501
|
-
:'estimated_rum_sessions_usage' => :'estimated_rum_sessions_usage',
|
502
486
|
:'fargate_percentage' => :'fargate_percentage',
|
503
487
|
:'fargate_usage' => :'fargate_usage',
|
504
488
|
:'functions_percentage' => :'functions_percentage',
|
@@ -628,22 +612,18 @@ module DatadogAPIClient::V1
|
|
628
612
|
:'cws_containers_usage' => :'Float',
|
629
613
|
:'cws_hosts_percentage' => :'Float',
|
630
614
|
:'cws_hosts_usage' => :'Float',
|
615
|
+
:'data_jobs_monitoring_usage' => :'Float',
|
616
|
+
:'data_stream_monitoring_usage' => :'Float',
|
631
617
|
:'dbm_hosts_percentage' => :'Float',
|
632
618
|
:'dbm_hosts_usage' => :'Float',
|
633
619
|
:'dbm_queries_percentage' => :'Float',
|
634
620
|
:'dbm_queries_usage' => :'Float',
|
635
621
|
:'error_tracking_percentage' => :'Float',
|
636
622
|
:'error_tracking_usage' => :'Float',
|
637
|
-
:'estimated_indexed_logs_percentage' => :'Float',
|
638
|
-
:'estimated_indexed_logs_usage' => :'Float',
|
639
623
|
:'estimated_indexed_spans_percentage' => :'Float',
|
640
624
|
:'estimated_indexed_spans_usage' => :'Float',
|
641
|
-
:'estimated_ingested_logs_percentage' => :'Float',
|
642
|
-
:'estimated_ingested_logs_usage' => :'Float',
|
643
625
|
:'estimated_ingested_spans_percentage' => :'Float',
|
644
626
|
:'estimated_ingested_spans_usage' => :'Float',
|
645
|
-
:'estimated_rum_sessions_percentage' => :'Float',
|
646
|
-
:'estimated_rum_sessions_usage' => :'Float',
|
647
627
|
:'fargate_percentage' => :'Float',
|
648
628
|
:'fargate_usage' => :'Float',
|
649
629
|
:'functions_percentage' => :'Float',
|
@@ -913,6 +893,14 @@ module DatadogAPIClient::V1
|
|
913
893
|
self.cws_hosts_usage = attributes[:'cws_hosts_usage']
|
914
894
|
end
|
915
895
|
|
896
|
+
if attributes.key?(:'data_jobs_monitoring_usage')
|
897
|
+
self.data_jobs_monitoring_usage = attributes[:'data_jobs_monitoring_usage']
|
898
|
+
end
|
899
|
+
|
900
|
+
if attributes.key?(:'data_stream_monitoring_usage')
|
901
|
+
self.data_stream_monitoring_usage = attributes[:'data_stream_monitoring_usage']
|
902
|
+
end
|
903
|
+
|
916
904
|
if attributes.key?(:'dbm_hosts_percentage')
|
917
905
|
self.dbm_hosts_percentage = attributes[:'dbm_hosts_percentage']
|
918
906
|
end
|
@@ -937,14 +925,6 @@ module DatadogAPIClient::V1
|
|
937
925
|
self.error_tracking_usage = attributes[:'error_tracking_usage']
|
938
926
|
end
|
939
927
|
|
940
|
-
if attributes.key?(:'estimated_indexed_logs_percentage')
|
941
|
-
self.estimated_indexed_logs_percentage = attributes[:'estimated_indexed_logs_percentage']
|
942
|
-
end
|
943
|
-
|
944
|
-
if attributes.key?(:'estimated_indexed_logs_usage')
|
945
|
-
self.estimated_indexed_logs_usage = attributes[:'estimated_indexed_logs_usage']
|
946
|
-
end
|
947
|
-
|
948
928
|
if attributes.key?(:'estimated_indexed_spans_percentage')
|
949
929
|
self.estimated_indexed_spans_percentage = attributes[:'estimated_indexed_spans_percentage']
|
950
930
|
end
|
@@ -953,14 +933,6 @@ module DatadogAPIClient::V1
|
|
953
933
|
self.estimated_indexed_spans_usage = attributes[:'estimated_indexed_spans_usage']
|
954
934
|
end
|
955
935
|
|
956
|
-
if attributes.key?(:'estimated_ingested_logs_percentage')
|
957
|
-
self.estimated_ingested_logs_percentage = attributes[:'estimated_ingested_logs_percentage']
|
958
|
-
end
|
959
|
-
|
960
|
-
if attributes.key?(:'estimated_ingested_logs_usage')
|
961
|
-
self.estimated_ingested_logs_usage = attributes[:'estimated_ingested_logs_usage']
|
962
|
-
end
|
963
|
-
|
964
936
|
if attributes.key?(:'estimated_ingested_spans_percentage')
|
965
937
|
self.estimated_ingested_spans_percentage = attributes[:'estimated_ingested_spans_percentage']
|
966
938
|
end
|
@@ -969,14 +941,6 @@ module DatadogAPIClient::V1
|
|
969
941
|
self.estimated_ingested_spans_usage = attributes[:'estimated_ingested_spans_usage']
|
970
942
|
end
|
971
943
|
|
972
|
-
if attributes.key?(:'estimated_rum_sessions_percentage')
|
973
|
-
self.estimated_rum_sessions_percentage = attributes[:'estimated_rum_sessions_percentage']
|
974
|
-
end
|
975
|
-
|
976
|
-
if attributes.key?(:'estimated_rum_sessions_usage')
|
977
|
-
self.estimated_rum_sessions_usage = attributes[:'estimated_rum_sessions_usage']
|
978
|
-
end
|
979
|
-
|
980
944
|
if attributes.key?(:'fargate_percentage')
|
981
945
|
self.fargate_percentage = attributes[:'fargate_percentage']
|
982
946
|
end
|
@@ -1366,22 +1330,18 @@ module DatadogAPIClient::V1
|
|
1366
1330
|
cws_containers_usage == o.cws_containers_usage &&
|
1367
1331
|
cws_hosts_percentage == o.cws_hosts_percentage &&
|
1368
1332
|
cws_hosts_usage == o.cws_hosts_usage &&
|
1333
|
+
data_jobs_monitoring_usage == o.data_jobs_monitoring_usage &&
|
1334
|
+
data_stream_monitoring_usage == o.data_stream_monitoring_usage &&
|
1369
1335
|
dbm_hosts_percentage == o.dbm_hosts_percentage &&
|
1370
1336
|
dbm_hosts_usage == o.dbm_hosts_usage &&
|
1371
1337
|
dbm_queries_percentage == o.dbm_queries_percentage &&
|
1372
1338
|
dbm_queries_usage == o.dbm_queries_usage &&
|
1373
1339
|
error_tracking_percentage == o.error_tracking_percentage &&
|
1374
1340
|
error_tracking_usage == o.error_tracking_usage &&
|
1375
|
-
estimated_indexed_logs_percentage == o.estimated_indexed_logs_percentage &&
|
1376
|
-
estimated_indexed_logs_usage == o.estimated_indexed_logs_usage &&
|
1377
1341
|
estimated_indexed_spans_percentage == o.estimated_indexed_spans_percentage &&
|
1378
1342
|
estimated_indexed_spans_usage == o.estimated_indexed_spans_usage &&
|
1379
|
-
estimated_ingested_logs_percentage == o.estimated_ingested_logs_percentage &&
|
1380
|
-
estimated_ingested_logs_usage == o.estimated_ingested_logs_usage &&
|
1381
1343
|
estimated_ingested_spans_percentage == o.estimated_ingested_spans_percentage &&
|
1382
1344
|
estimated_ingested_spans_usage == o.estimated_ingested_spans_usage &&
|
1383
|
-
estimated_rum_sessions_percentage == o.estimated_rum_sessions_percentage &&
|
1384
|
-
estimated_rum_sessions_usage == o.estimated_rum_sessions_usage &&
|
1385
1345
|
fargate_percentage == o.fargate_percentage &&
|
1386
1346
|
fargate_usage == o.fargate_usage &&
|
1387
1347
|
functions_percentage == o.functions_percentage &&
|
@@ -1469,7 +1429,7 @@ module DatadogAPIClient::V1
|
|
1469
1429
|
# @return [Integer] Hash code
|
1470
1430
|
# @!visibility private
|
1471
1431
|
def hash
|
1472
|
-
[api_percentage, api_usage, apm_fargate_percentage, apm_fargate_usage, apm_host_percentage, apm_host_usage, apm_usm_percentage, apm_usm_usage, appsec_fargate_percentage, appsec_fargate_usage, appsec_percentage, appsec_usage, asm_serverless_traced_invocations_percentage, asm_serverless_traced_invocations_usage, browser_percentage, browser_usage, ci_pipeline_indexed_spans_percentage, ci_pipeline_indexed_spans_usage, ci_test_indexed_spans_percentage, ci_test_indexed_spans_usage, ci_visibility_itr_percentage, ci_visibility_itr_usage, cloud_siem_percentage, cloud_siem_usage, container_excl_agent_percentage, container_excl_agent_usage, container_percentage, container_usage, cspm_containers_percentage, cspm_containers_usage, cspm_hosts_percentage, cspm_hosts_usage, custom_event_percentage, custom_event_usage, custom_ingested_timeseries_percentage, custom_ingested_timeseries_usage, custom_timeseries_percentage, custom_timeseries_usage, cws_containers_percentage, cws_containers_usage, cws_hosts_percentage, cws_hosts_usage, dbm_hosts_percentage, dbm_hosts_usage, dbm_queries_percentage, dbm_queries_usage, error_tracking_percentage, error_tracking_usage,
|
1432
|
+
[api_percentage, api_usage, apm_fargate_percentage, apm_fargate_usage, apm_host_percentage, apm_host_usage, apm_usm_percentage, apm_usm_usage, appsec_fargate_percentage, appsec_fargate_usage, appsec_percentage, appsec_usage, asm_serverless_traced_invocations_percentage, asm_serverless_traced_invocations_usage, browser_percentage, browser_usage, ci_pipeline_indexed_spans_percentage, ci_pipeline_indexed_spans_usage, ci_test_indexed_spans_percentage, ci_test_indexed_spans_usage, ci_visibility_itr_percentage, ci_visibility_itr_usage, cloud_siem_percentage, cloud_siem_usage, container_excl_agent_percentage, container_excl_agent_usage, container_percentage, container_usage, cspm_containers_percentage, cspm_containers_usage, cspm_hosts_percentage, cspm_hosts_usage, custom_event_percentage, custom_event_usage, custom_ingested_timeseries_percentage, custom_ingested_timeseries_usage, custom_timeseries_percentage, custom_timeseries_usage, cws_containers_percentage, cws_containers_usage, cws_hosts_percentage, cws_hosts_usage, data_jobs_monitoring_usage, data_stream_monitoring_usage, dbm_hosts_percentage, dbm_hosts_usage, dbm_queries_percentage, dbm_queries_usage, error_tracking_percentage, error_tracking_usage, estimated_indexed_spans_percentage, estimated_indexed_spans_usage, estimated_ingested_spans_percentage, estimated_ingested_spans_usage, fargate_percentage, fargate_usage, functions_percentage, functions_usage, incident_management_monthly_active_users_percentage, incident_management_monthly_active_users_usage, indexed_spans_percentage, indexed_spans_usage, infra_host_percentage, infra_host_usage, ingested_logs_bytes_percentage, ingested_logs_bytes_usage, ingested_spans_bytes_percentage, ingested_spans_bytes_usage, invocations_percentage, invocations_usage, lambda_traced_invocations_percentage, lambda_traced_invocations_usage, logs_indexed_15day_percentage, logs_indexed_15day_usage, logs_indexed_180day_percentage, logs_indexed_180day_usage, logs_indexed_1day_percentage, logs_indexed_1day_usage, logs_indexed_30day_percentage, logs_indexed_30day_usage, logs_indexed_360day_percentage, logs_indexed_360day_usage, logs_indexed_3day_percentage, logs_indexed_3day_usage, logs_indexed_45day_percentage, logs_indexed_45day_usage, logs_indexed_60day_percentage, logs_indexed_60day_usage, logs_indexed_7day_percentage, logs_indexed_7day_usage, logs_indexed_90day_percentage, logs_indexed_90day_usage, logs_indexed_custom_retention_percentage, logs_indexed_custom_retention_usage, mobile_app_testing_percentage, mobile_app_testing_usage, ndm_netflow_percentage, ndm_netflow_usage, npm_host_percentage, npm_host_usage, obs_pipeline_bytes_percentage, obs_pipeline_bytes_usage, obs_pipelines_vcpu_percentage, obs_pipelines_vcpu_usage, online_archive_percentage, online_archive_usage, profiled_container_percentage, profiled_container_usage, profiled_fargate_percentage, profiled_fargate_usage, profiled_host_percentage, profiled_host_usage, rum_browser_mobile_sessions_percentage, rum_browser_mobile_sessions_usage, rum_replay_sessions_percentage, rum_replay_sessions_usage, sca_fargate_percentage, sca_fargate_usage, sds_scanned_bytes_percentage, sds_scanned_bytes_usage, serverless_apps_percentage, serverless_apps_usage, siem_analyzed_logs_add_on_percentage, siem_analyzed_logs_add_on_usage, siem_ingested_bytes_percentage, siem_ingested_bytes_usage, snmp_percentage, snmp_usage, universal_service_monitoring_percentage, universal_service_monitoring_usage, vuln_management_hosts_percentage, vuln_management_hosts_usage, workflow_executions_percentage, workflow_executions_usage].hash
|
1473
1433
|
end
|
1474
1434
|
end
|
1475
1435
|
end
|
@@ -36,7 +36,7 @@ module DatadogAPIClient::V1
|
|
36
36
|
# as an integer in Unix epoch format in the first element, and the state as an integer in the
|
37
37
|
# second element. An integer value of `0` for state means uptime, `1` means downtime, and `2` means no data.
|
38
38
|
# Periods of no data are counted either as uptime or downtime depending on monitor settings.
|
39
|
-
# See [SLO
|
39
|
+
# See [SLO documentation](https://docs.datadoghq.com/service_management/service_level_objectives/monitor/#missing-data)
|
40
40
|
# for detailed information.
|
41
41
|
attr_accessor :history
|
42
42
|
|
@@ -27,7 +27,7 @@ module DatadogAPIClient::V1
|
|
27
27
|
# List of results for the batch.
|
28
28
|
attr_accessor :results
|
29
29
|
|
30
|
-
# Determines whether
|
30
|
+
# Determines whether the batch has passed, failed, or is in progress.
|
31
31
|
attr_accessor :status
|
32
32
|
|
33
33
|
attr_accessor :additional_properties
|
@@ -48,7 +48,7 @@ module DatadogAPIClient::V1
|
|
48
48
|
{
|
49
49
|
:'metadata' => :'SyntheticsCIBatchMetadata',
|
50
50
|
:'results' => :'Array<SyntheticsBatchResult>',
|
51
|
-
:'status' => :'
|
51
|
+
:'status' => :'SyntheticsBatchStatus'
|
52
52
|
}
|
53
53
|
end
|
54
54
|
|
@@ -39,7 +39,7 @@ module DatadogAPIClient::V1
|
|
39
39
|
# Number of times this result has been retried.
|
40
40
|
attr_accessor :retries
|
41
41
|
|
42
|
-
# Determines whether
|
42
|
+
# Determines whether the batch has passed, failed, or is in progress.
|
43
43
|
attr_accessor :status
|
44
44
|
|
45
45
|
# Name of the test.
|
@@ -80,7 +80,7 @@ module DatadogAPIClient::V1
|
|
80
80
|
:'location' => :'String',
|
81
81
|
:'result_id' => :'String',
|
82
82
|
:'retries' => :'Float',
|
83
|
-
:'status' => :'
|
83
|
+
:'status' => :'SyntheticsBatchStatus',
|
84
84
|
:'test_name' => :'String',
|
85
85
|
:'test_public_id' => :'String',
|
86
86
|
:'test_type' => :'SyntheticsTestDetailsType'
|
@@ -17,12 +17,12 @@ require 'date'
|
|
17
17
|
require 'time'
|
18
18
|
|
19
19
|
module DatadogAPIClient::V1
|
20
|
-
# Determines whether
|
21
|
-
class
|
20
|
+
# Determines whether the batch has passed, failed, or is in progress.
|
21
|
+
class SyntheticsBatchStatus
|
22
22
|
include BaseEnumModel
|
23
23
|
|
24
24
|
PASSED = "passed".freeze
|
25
|
-
|
26
|
-
|
25
|
+
SKIPPED = "skipped".freeze
|
26
|
+
FAILED = "failed".freeze
|
27
27
|
end
|
28
28
|
end
|