datadog_api_client 2.27.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 +385 -616
- data/.generator/schemas/v2/openapi.yaml +1498 -386
- data/.generator/src/generator/formatter.py +2 -43
- 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/CHANGELOG.md +39 -0
- data/examples/v1/dashboards/CreateDashboard_1413226400.rb +66 -0
- data/examples/v1/dashboards/CreateDashboard_3298564989.rb +65 -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/CreateSyntheticsMobileTest.rb +1 -1
- data/examples/v1/synthetics/UpdateBrowserTest.rb +3 -1
- data/examples/v1/synthetics/UpdateMobileTest.rb +1 -1
- 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/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/{CreateApiHandle_1540689753.rb → CreateTenantBasedHandle_1540689753.rb} +5 -5
- 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/GetTenantBasedHandle.rb +5 -0
- data/examples/v2/microsoft-teams-integration/GetTenantBasedHandle_2883785101.rb +8 -0
- data/examples/v2/microsoft-teams-integration/{ListApiHandles.rb → ListTenantBasedHandles.rb} +2 -2
- data/examples/v2/microsoft-teams-integration/{ListApiHandles_769592979.rb → ListTenantBasedHandles_769592979.rb} +1 -1
- 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/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 +81 -28
- data/lib/datadog_api_client/v1/api/monitors_api.rb +6 -3
- data/lib/datadog_api_client/v1/api/synthetics_api.rb +2 -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 +1 -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 +2 -6
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +11 -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_mobile_step.rb +32 -6
- 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_test_initial_application_arguments.rb → synthetics_mobile_step_params_positions_items.rb} +21 -11
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_value.rb +63 -0
- data/lib/datadog_api_client/v1/models/{synthetics_mobile_test_ci_options.rb → synthetics_mobile_step_params_variable.rb} +38 -17
- data/lib/datadog_api_client/v1/models/synthetics_mobile_test.rb +2 -2
- data/lib/datadog_api_client/v1/models/synthetics_mobile_test_config.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_mobile_test_options.rb +42 -16
- data/lib/datadog_api_client/v1/models/synthetics_mobile_tests_mobile_application.rb +24 -5
- 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_mobile_test_options_monitor_options_notification_preset_name.rb → synthetics_test_options_monitor_options_notification_preset_name.rb} +2 -2
- 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_mobile_test_binding_items.rb → synthetics_test_restriction_policy_binding.rb} +11 -11
- data/lib/datadog_api_client/v1/models/{synthetics_mobile_test_binding_items_role.rb → synthetics_test_restriction_policy_binding_relation.rb} +2 -2
- data/lib/datadog_api_client/v1/models/toplist_widget_stacked.rb +1 -12
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +21 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +21 -1
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +21 -1
- 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 +361 -0
- data/lib/datadog_api_client/v2/api/metrics_api.rb +1 -13
- data/lib/datadog_api_client/v2/api/microsoft_teams_integration_api.rb +98 -161
- 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/{aws_related_account_attributes.rb → domain_allowlist_attributes.rb} +20 -18
- data/lib/datadog_api_client/v2/models/domain_allowlist_request.rb +123 -0
- data/lib/datadog_api_client/{v1/models/synthetics_mobile_test_binding.rb → v2/models/domain_allowlist_response.rb} +13 -13
- 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/{microsoft_teams_api_handle_type.rb → domain_allowlist_type.rb} +3 -3
- 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/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_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/{microsoft_teams_api_handle_request_data.rb → incident_type_create_data.rb} +7 -7
- data/lib/datadog_api_client/v2/models/{microsoft_teams_create_api_handle_request.rb → incident_type_create_request.rb} +5 -5
- data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handles_response.rb → incident_type_list_response.rb} +5 -5
- 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/{microsoft_teams_create_api_handle_response.rb → incident_type_patch_request.rb} +5 -5
- data/lib/datadog_api_client/v2/models/{microsoft_teams_update_api_handle_request.rb → incident_type_response.rb} +5 -5
- 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/microsoft_teams_create_tenant_based_handle_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_attributes.rb → microsoft_teams_tenant_based_handle_attributes.rb} +4 -4
- data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_info_response_attributes.rb → microsoft_teams_tenant_based_handle_info_response_attributes.rb} +4 -4
- data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_response_data.rb → microsoft_teams_tenant_based_handle_info_response_data.rb} +8 -8
- 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_api_handle_request_attributes.rb → microsoft_teams_tenant_based_handle_request_attributes.rb} +4 -4
- data/lib/datadog_api_client/v2/models/{microsoft_teams_update_api_handle_request_data.rb → microsoft_teams_tenant_based_handle_request_data.rb} +7 -7
- 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_api_handle_info_response_data.rb → microsoft_teams_tenant_based_handle_response_data.rb} +8 -8
- 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/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/{microsoft_teams_api_handle_info_response.rb → rum_metric_response.rb} +5 -5
- 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/{v1/models/synthetics_mobile_test_initial_application_arguments_property_names.rb → v2/models/rum_metric_response_filter.rb} +13 -13
- data/lib/datadog_api_client/v2/models/rum_metric_response_group_by.rb +115 -0
- data/lib/datadog_api_client/v2/models/rum_metric_response_uniqueness.rb +105 -0
- data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_info_type.rb → rum_metric_type.rb} +3 -3
- 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/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/upsert_catalog_entity_request.rb +1 -1
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +110 -43
- data/examples/v2/cloud-cost-management/ListAWSRelatedAccounts.rb +0 -5
- data/examples/v2/microsoft-teams-integration/CreateApiHandle.rb +0 -17
- data/examples/v2/microsoft-teams-integration/DeleteApiHandle.rb +0 -5
- data/examples/v2/microsoft-teams-integration/DeleteApiHandle_377884154.rb +0 -8
- data/examples/v2/microsoft-teams-integration/GetApiHandle.rb +0 -5
- data/examples/v2/microsoft-teams-integration/GetApiHandleByName.rb +0 -5
- data/examples/v2/microsoft-teams-integration/GetApiHandleByName_1103107145.rb +0 -8
- data/examples/v2/microsoft-teams-integration/GetApiHandle_2883785101.rb +0 -8
- data/examples/v2/microsoft-teams-integration/UpdateApiHandle.rb +0 -17
- data/examples/v2/microsoft-teams-integration/UpdateApiHandle_419892746.rb +0 -18
- data/lib/datadog_api_client/v1/models/synthetics_mobile_device_id.rb +0 -251
- data/lib/datadog_api_client/v1/models/synthetics_mobile_test_options_monitor_options.rb +0 -155
@@ -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
|
@@ -44,15 +44,13 @@ module DatadogAPIClient::V1
|
|
44
44
|
CWS_CONTAINERS_USAGE = "cws_containers_usage".freeze
|
45
45
|
CWS_HOSTS_USAGE = "cws_hosts_usage".freeze
|
46
46
|
DATA_JOBS_MONITORING_USAGE = "data_jobs_monitoring_usage".freeze
|
47
|
+
DATA_STREAM_MONITORING_USAGE = "data_stream_monitoring_usage".freeze
|
47
48
|
DBM_HOSTS_USAGE = "dbm_hosts_usage".freeze
|
48
49
|
DBM_QUERIES_USAGE = "dbm_queries_usage".freeze
|
49
50
|
ERROR_TRACKING_USAGE = "error_tracking_usage".freeze
|
50
51
|
ERROR_TRACKING_PERCENTAGE = "error_tracking_percentage".freeze
|
51
|
-
ESTIMATED_INDEXED_LOGS_USAGE = "estimated_indexed_logs_usage".freeze
|
52
52
|
ESTIMATED_INDEXED_SPANS_USAGE = "estimated_indexed_spans_usage".freeze
|
53
|
-
ESTIMATED_INGESTED_LOGS_USAGE = "estimated_ingested_logs_usage".freeze
|
54
53
|
ESTIMATED_INGESTED_SPANS_USAGE = "estimated_ingested_spans_usage".freeze
|
55
|
-
ESTIMATED_RUM_SESSIONS_USAGE = "estimated_rum_sessions_usage".freeze
|
56
54
|
FARGATE_USAGE = "fargate_usage".freeze
|
57
55
|
FUNCTIONS_USAGE = "functions_usage".freeze
|
58
56
|
INCIDENT_MANAGEMENT_MONTHLY_ACTIVE_USERS_USAGE = "incident_management_monthly_active_users_usage".freeze
|
@@ -59,16 +59,14 @@ module DatadogAPIClient::V1
|
|
59
59
|
CWS_HOSTS_USAGE = "cws_hosts_usage".freeze
|
60
60
|
DATA_JOBS_MONITORING_USAGE = "data_jobs_monitoring_usage".freeze
|
61
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
|
62
64
|
DBM_HOSTS_PERCENTAGE = "dbm_hosts_percentage".freeze
|
63
65
|
DBM_HOSTS_USAGE = "dbm_hosts_usage".freeze
|
64
66
|
DBM_QUERIES_PERCENTAGE = "dbm_queries_percentage".freeze
|
65
67
|
DBM_QUERIES_USAGE = "dbm_queries_usage".freeze
|
66
68
|
ERROR_TRACKING_USAGE = "error_tracking_usage".freeze
|
67
69
|
ERROR_TRACKING_PERCENTAGE = "error_tracking_percentage".freeze
|
68
|
-
ESTIMATED_INDEXED_LOGS_USAGE = "estimated_indexed_logs_usage".freeze
|
69
|
-
ESTIMATED_INDEXED_LOGS_PERCENTAGE = "estimated_indexed_logs_percentage".freeze
|
70
|
-
ESTIMATED_INGESTED_LOGS_USAGE = "estimated_ingested_logs_usage".freeze
|
71
|
-
ESTIMATED_INGESTED_LOGS_PERCENTAGE = "estimated_ingested_logs_percentage".freeze
|
72
70
|
ESTIMATED_INDEXED_SPANS_USAGE = "estimated_indexed_spans_usage".freeze
|
73
71
|
ESTIMATED_INDEXED_SPANS_PERCENTAGE = "estimated_indexed_spans_percentage".freeze
|
74
72
|
ESTIMATED_INGESTED_SPANS_USAGE = "estimated_ingested_spans_usage".freeze
|
@@ -107,8 +105,6 @@ module DatadogAPIClient::V1
|
|
107
105
|
SERVERLESS_APPS_PERCENTAGE = "serverless_apps_percentage".freeze
|
108
106
|
SNMP_USAGE = "snmp_usage".freeze
|
109
107
|
SNMP_PERCENTAGE = "snmp_percentage".freeze
|
110
|
-
ESTIMATED_RUM_SESSIONS_USAGE = "estimated_rum_sessions_usage".freeze
|
111
|
-
ESTIMATED_RUM_SESSIONS_PERCENTAGE = "estimated_rum_sessions_percentage".freeze
|
112
108
|
UNIVERSAL_SERVICE_MONITORING_USAGE = "universal_service_monitoring_usage".freeze
|
113
109
|
UNIVERSAL_SERVICE_MONITORING_PERCENTAGE = "universal_service_monitoring_percentage".freeze
|
114
110
|
VULN_MANAGEMENT_HOSTS_USAGE = "vuln_management_hosts_usage".freeze
|
@@ -150,6 +150,9 @@ module DatadogAPIClient::V1
|
|
150
150
|
# The Data Jobs Monitoring usage by tag(s).
|
151
151
|
attr_accessor :data_jobs_monitoring_usage
|
152
152
|
|
153
|
+
# The Data Stream Monitoring usage by tag(s).
|
154
|
+
attr_accessor :data_stream_monitoring_usage
|
155
|
+
|
153
156
|
# The percentage of Database Monitoring host usage by tag(s).
|
154
157
|
attr_accessor :dbm_hosts_percentage
|
155
158
|
|
@@ -168,36 +171,18 @@ module DatadogAPIClient::V1
|
|
168
171
|
# The error tracking events usage by tag(s).
|
169
172
|
attr_accessor :error_tracking_usage
|
170
173
|
|
171
|
-
# The percentage of estimated live indexed logs usage by tag(s).
|
172
|
-
attr_accessor :estimated_indexed_logs_percentage
|
173
|
-
|
174
|
-
# The estimated live indexed logs usage by tag(s).
|
175
|
-
attr_accessor :estimated_indexed_logs_usage
|
176
|
-
|
177
174
|
# The percentage of estimated indexed spans usage by tag(s).
|
178
175
|
attr_accessor :estimated_indexed_spans_percentage
|
179
176
|
|
180
177
|
# The estimated indexed spans usage by tag(s).
|
181
178
|
attr_accessor :estimated_indexed_spans_usage
|
182
179
|
|
183
|
-
# The percentage of estimated live ingested logs usage by tag(s).
|
184
|
-
attr_accessor :estimated_ingested_logs_percentage
|
185
|
-
|
186
|
-
# The estimated live ingested logs usage by tag(s).
|
187
|
-
attr_accessor :estimated_ingested_logs_usage
|
188
|
-
|
189
180
|
# The percentage of estimated ingested spans usage by tag(s).
|
190
181
|
attr_accessor :estimated_ingested_spans_percentage
|
191
182
|
|
192
183
|
# The estimated ingested spans usage by tag(s).
|
193
184
|
attr_accessor :estimated_ingested_spans_usage
|
194
185
|
|
195
|
-
# The percentage of estimated rum sessions usage by tag(s).
|
196
|
-
attr_accessor :estimated_rum_sessions_percentage
|
197
|
-
|
198
|
-
# The estimated rum sessions usage by tag(s).
|
199
|
-
attr_accessor :estimated_rum_sessions_usage
|
200
|
-
|
201
186
|
# The percentage of Fargate usage by tags.
|
202
187
|
attr_accessor :fargate_percentage
|
203
188
|
|
@@ -487,22 +472,17 @@ module DatadogAPIClient::V1
|
|
487
472
|
:'cws_hosts_percentage' => :'cws_hosts_percentage',
|
488
473
|
:'cws_hosts_usage' => :'cws_hosts_usage',
|
489
474
|
:'data_jobs_monitoring_usage' => :'data_jobs_monitoring_usage',
|
475
|
+
:'data_stream_monitoring_usage' => :'data_stream_monitoring_usage',
|
490
476
|
:'dbm_hosts_percentage' => :'dbm_hosts_percentage',
|
491
477
|
:'dbm_hosts_usage' => :'dbm_hosts_usage',
|
492
478
|
:'dbm_queries_percentage' => :'dbm_queries_percentage',
|
493
479
|
:'dbm_queries_usage' => :'dbm_queries_usage',
|
494
480
|
:'error_tracking_percentage' => :'error_tracking_percentage',
|
495
481
|
:'error_tracking_usage' => :'error_tracking_usage',
|
496
|
-
:'estimated_indexed_logs_percentage' => :'estimated_indexed_logs_percentage',
|
497
|
-
:'estimated_indexed_logs_usage' => :'estimated_indexed_logs_usage',
|
498
482
|
:'estimated_indexed_spans_percentage' => :'estimated_indexed_spans_percentage',
|
499
483
|
:'estimated_indexed_spans_usage' => :'estimated_indexed_spans_usage',
|
500
|
-
:'estimated_ingested_logs_percentage' => :'estimated_ingested_logs_percentage',
|
501
|
-
:'estimated_ingested_logs_usage' => :'estimated_ingested_logs_usage',
|
502
484
|
:'estimated_ingested_spans_percentage' => :'estimated_ingested_spans_percentage',
|
503
485
|
:'estimated_ingested_spans_usage' => :'estimated_ingested_spans_usage',
|
504
|
-
:'estimated_rum_sessions_percentage' => :'estimated_rum_sessions_percentage',
|
505
|
-
:'estimated_rum_sessions_usage' => :'estimated_rum_sessions_usage',
|
506
486
|
:'fargate_percentage' => :'fargate_percentage',
|
507
487
|
:'fargate_usage' => :'fargate_usage',
|
508
488
|
:'functions_percentage' => :'functions_percentage',
|
@@ -633,22 +613,17 @@ module DatadogAPIClient::V1
|
|
633
613
|
:'cws_hosts_percentage' => :'Float',
|
634
614
|
:'cws_hosts_usage' => :'Float',
|
635
615
|
:'data_jobs_monitoring_usage' => :'Float',
|
616
|
+
:'data_stream_monitoring_usage' => :'Float',
|
636
617
|
:'dbm_hosts_percentage' => :'Float',
|
637
618
|
:'dbm_hosts_usage' => :'Float',
|
638
619
|
:'dbm_queries_percentage' => :'Float',
|
639
620
|
:'dbm_queries_usage' => :'Float',
|
640
621
|
:'error_tracking_percentage' => :'Float',
|
641
622
|
:'error_tracking_usage' => :'Float',
|
642
|
-
:'estimated_indexed_logs_percentage' => :'Float',
|
643
|
-
:'estimated_indexed_logs_usage' => :'Float',
|
644
623
|
:'estimated_indexed_spans_percentage' => :'Float',
|
645
624
|
:'estimated_indexed_spans_usage' => :'Float',
|
646
|
-
:'estimated_ingested_logs_percentage' => :'Float',
|
647
|
-
:'estimated_ingested_logs_usage' => :'Float',
|
648
625
|
:'estimated_ingested_spans_percentage' => :'Float',
|
649
626
|
:'estimated_ingested_spans_usage' => :'Float',
|
650
|
-
:'estimated_rum_sessions_percentage' => :'Float',
|
651
|
-
:'estimated_rum_sessions_usage' => :'Float',
|
652
627
|
:'fargate_percentage' => :'Float',
|
653
628
|
:'fargate_usage' => :'Float',
|
654
629
|
:'functions_percentage' => :'Float',
|
@@ -922,6 +897,10 @@ module DatadogAPIClient::V1
|
|
922
897
|
self.data_jobs_monitoring_usage = attributes[:'data_jobs_monitoring_usage']
|
923
898
|
end
|
924
899
|
|
900
|
+
if attributes.key?(:'data_stream_monitoring_usage')
|
901
|
+
self.data_stream_monitoring_usage = attributes[:'data_stream_monitoring_usage']
|
902
|
+
end
|
903
|
+
|
925
904
|
if attributes.key?(:'dbm_hosts_percentage')
|
926
905
|
self.dbm_hosts_percentage = attributes[:'dbm_hosts_percentage']
|
927
906
|
end
|
@@ -946,14 +925,6 @@ module DatadogAPIClient::V1
|
|
946
925
|
self.error_tracking_usage = attributes[:'error_tracking_usage']
|
947
926
|
end
|
948
927
|
|
949
|
-
if attributes.key?(:'estimated_indexed_logs_percentage')
|
950
|
-
self.estimated_indexed_logs_percentage = attributes[:'estimated_indexed_logs_percentage']
|
951
|
-
end
|
952
|
-
|
953
|
-
if attributes.key?(:'estimated_indexed_logs_usage')
|
954
|
-
self.estimated_indexed_logs_usage = attributes[:'estimated_indexed_logs_usage']
|
955
|
-
end
|
956
|
-
|
957
928
|
if attributes.key?(:'estimated_indexed_spans_percentage')
|
958
929
|
self.estimated_indexed_spans_percentage = attributes[:'estimated_indexed_spans_percentage']
|
959
930
|
end
|
@@ -962,14 +933,6 @@ module DatadogAPIClient::V1
|
|
962
933
|
self.estimated_indexed_spans_usage = attributes[:'estimated_indexed_spans_usage']
|
963
934
|
end
|
964
935
|
|
965
|
-
if attributes.key?(:'estimated_ingested_logs_percentage')
|
966
|
-
self.estimated_ingested_logs_percentage = attributes[:'estimated_ingested_logs_percentage']
|
967
|
-
end
|
968
|
-
|
969
|
-
if attributes.key?(:'estimated_ingested_logs_usage')
|
970
|
-
self.estimated_ingested_logs_usage = attributes[:'estimated_ingested_logs_usage']
|
971
|
-
end
|
972
|
-
|
973
936
|
if attributes.key?(:'estimated_ingested_spans_percentage')
|
974
937
|
self.estimated_ingested_spans_percentage = attributes[:'estimated_ingested_spans_percentage']
|
975
938
|
end
|
@@ -978,14 +941,6 @@ module DatadogAPIClient::V1
|
|
978
941
|
self.estimated_ingested_spans_usage = attributes[:'estimated_ingested_spans_usage']
|
979
942
|
end
|
980
943
|
|
981
|
-
if attributes.key?(:'estimated_rum_sessions_percentage')
|
982
|
-
self.estimated_rum_sessions_percentage = attributes[:'estimated_rum_sessions_percentage']
|
983
|
-
end
|
984
|
-
|
985
|
-
if attributes.key?(:'estimated_rum_sessions_usage')
|
986
|
-
self.estimated_rum_sessions_usage = attributes[:'estimated_rum_sessions_usage']
|
987
|
-
end
|
988
|
-
|
989
944
|
if attributes.key?(:'fargate_percentage')
|
990
945
|
self.fargate_percentage = attributes[:'fargate_percentage']
|
991
946
|
end
|
@@ -1376,22 +1331,17 @@ module DatadogAPIClient::V1
|
|
1376
1331
|
cws_hosts_percentage == o.cws_hosts_percentage &&
|
1377
1332
|
cws_hosts_usage == o.cws_hosts_usage &&
|
1378
1333
|
data_jobs_monitoring_usage == o.data_jobs_monitoring_usage &&
|
1334
|
+
data_stream_monitoring_usage == o.data_stream_monitoring_usage &&
|
1379
1335
|
dbm_hosts_percentage == o.dbm_hosts_percentage &&
|
1380
1336
|
dbm_hosts_usage == o.dbm_hosts_usage &&
|
1381
1337
|
dbm_queries_percentage == o.dbm_queries_percentage &&
|
1382
1338
|
dbm_queries_usage == o.dbm_queries_usage &&
|
1383
1339
|
error_tracking_percentage == o.error_tracking_percentage &&
|
1384
1340
|
error_tracking_usage == o.error_tracking_usage &&
|
1385
|
-
estimated_indexed_logs_percentage == o.estimated_indexed_logs_percentage &&
|
1386
|
-
estimated_indexed_logs_usage == o.estimated_indexed_logs_usage &&
|
1387
1341
|
estimated_indexed_spans_percentage == o.estimated_indexed_spans_percentage &&
|
1388
1342
|
estimated_indexed_spans_usage == o.estimated_indexed_spans_usage &&
|
1389
|
-
estimated_ingested_logs_percentage == o.estimated_ingested_logs_percentage &&
|
1390
|
-
estimated_ingested_logs_usage == o.estimated_ingested_logs_usage &&
|
1391
1343
|
estimated_ingested_spans_percentage == o.estimated_ingested_spans_percentage &&
|
1392
1344
|
estimated_ingested_spans_usage == o.estimated_ingested_spans_usage &&
|
1393
|
-
estimated_rum_sessions_percentage == o.estimated_rum_sessions_percentage &&
|
1394
|
-
estimated_rum_sessions_usage == o.estimated_rum_sessions_usage &&
|
1395
1345
|
fargate_percentage == o.fargate_percentage &&
|
1396
1346
|
fargate_usage == o.fargate_usage &&
|
1397
1347
|
functions_percentage == o.functions_percentage &&
|
@@ -1479,7 +1429,7 @@ module DatadogAPIClient::V1
|
|
1479
1429
|
# @return [Integer] Hash code
|
1480
1430
|
# @!visibility private
|
1481
1431
|
def hash
|
1482
|
-
[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, 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
|
1483
1433
|
end
|
1484
1434
|
end
|
1485
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
|
@@ -36,8 +36,8 @@ module DatadogAPIClient::V1
|
|
36
36
|
# A boolean set to not take a screenshot for the step.
|
37
37
|
attr_accessor :no_screenshot
|
38
38
|
|
39
|
-
# The parameters of
|
40
|
-
|
39
|
+
# The parameters of a mobile step.
|
40
|
+
attr_reader :params
|
41
41
|
|
42
42
|
# The public ID of the step.
|
43
43
|
attr_accessor :public_id
|
@@ -46,7 +46,7 @@ module DatadogAPIClient::V1
|
|
46
46
|
attr_accessor :timeout
|
47
47
|
|
48
48
|
# Step type used in your mobile Synthetic test.
|
49
|
-
|
49
|
+
attr_reader :type
|
50
50
|
|
51
51
|
attr_accessor :additional_properties
|
52
52
|
|
@@ -75,7 +75,7 @@ module DatadogAPIClient::V1
|
|
75
75
|
:'is_critical' => :'Boolean',
|
76
76
|
:'name' => :'String',
|
77
77
|
:'no_screenshot' => :'Boolean',
|
78
|
-
:'params' => :'
|
78
|
+
:'params' => :'SyntheticsMobileStepParams',
|
79
79
|
:'public_id' => :'String',
|
80
80
|
:'timeout' => :'Integer',
|
81
81
|
:'type' => :'SyntheticsMobileStepType'
|
@@ -141,7 +141,10 @@ module DatadogAPIClient::V1
|
|
141
141
|
# @return true if the model is valid
|
142
142
|
# @!visibility private
|
143
143
|
def valid?
|
144
|
-
return false if
|
144
|
+
return false if @name.nil?
|
145
|
+
return false if @name.to_s.length > 1500
|
146
|
+
return false if @params.nil?
|
147
|
+
return false if @type.nil?
|
145
148
|
true
|
146
149
|
end
|
147
150
|
|
@@ -149,12 +152,35 @@ module DatadogAPIClient::V1
|
|
149
152
|
# @param name [Object] Object to be assigned
|
150
153
|
# @!visibility private
|
151
154
|
def name=(name)
|
152
|
-
if
|
155
|
+
if name.nil?
|
156
|
+
fail ArgumentError, 'invalid value for "name", name cannot be nil.'
|
157
|
+
end
|
158
|
+
if name.to_s.length > 1500
|
153
159
|
fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 1500.'
|
154
160
|
end
|
155
161
|
@name = name
|
156
162
|
end
|
157
163
|
|
164
|
+
# Custom attribute writer method with validation
|
165
|
+
# @param params [Object] Object to be assigned
|
166
|
+
# @!visibility private
|
167
|
+
def params=(params)
|
168
|
+
if params.nil?
|
169
|
+
fail ArgumentError, 'invalid value for "params", params cannot be nil.'
|
170
|
+
end
|
171
|
+
@params = params
|
172
|
+
end
|
173
|
+
|
174
|
+
# Custom attribute writer method with validation
|
175
|
+
# @param type [Object] Object to be assigned
|
176
|
+
# @!visibility private
|
177
|
+
def type=(type)
|
178
|
+
if type.nil?
|
179
|
+
fail ArgumentError, 'invalid value for "type", type cannot be nil.'
|
180
|
+
end
|
181
|
+
@type = type
|
182
|
+
end
|
183
|
+
|
158
184
|
# Returns the object in the form of hash, with additionalProperties support.
|
159
185
|
# @return [Hash] Returns the object in the form of hash
|
160
186
|
# @!visibility private
|