datadog_api_client 2.16.0 → 2.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.apigentools-info +4 -4
- data/.generator/schemas/v1/openapi.yaml +799 -16
- data/.generator/schemas/v2/openapi.yaml +2732 -409
- data/.generator/src/generator/cli.py +5 -0
- data/.generator/src/generator/formatter.py +4 -0
- data/.generator/src/generator/openapi.py +2 -0
- data/.generator/src/generator/templates/api_client.j2 +3 -0
- data/.generator/src/generator/templates/datadog_api_client.j2 +19 -0
- data/.generator/src/generator/templates/inflector.j2 +1 -1
- data/.generator/src/generator/templates/model_base.j2 +4 -0
- data/.pre-commit-config.yaml +1 -1
- data/CHANGELOG.md +54 -0
- data/Gemfile +1 -0
- data/LICENSE-3rdparty.csv +1 -0
- data/datadog_api_client.gemspec +2 -0
- data/examples/v1/aws-integration/CreateAWSAccount.rb +2 -2
- data/examples/v1/aws-integration/CreateAWSEventBridgeSource.rb +12 -0
- data/examples/v1/aws-integration/CreateAWSTagFilter.rb +1 -1
- data/examples/v1/aws-integration/CreateNewAWSExternalID.rb +1 -1
- data/examples/v1/aws-integration/DeleteAWSAccount.rb +1 -1
- data/examples/v1/aws-integration/DeleteAWSEventBridgeSource.rb +11 -0
- data/examples/v1/aws-integration/ListAWSEventBridgeSources.rb +5 -0
- data/examples/v1/aws-integration/UpdateAWSAccount.rb +6 -6
- data/examples/v1/azure-integration/CreateAzureIntegration.rb +2 -0
- data/examples/v1/azure-integration/DeleteAzureIntegration.rb +2 -0
- data/examples/v1/azure-integration/UpdateAzureHostFilters.rb +2 -0
- data/examples/v1/azure-integration/UpdateAzureIntegration.rb +2 -0
- data/examples/v1/dashboards/CreateDashboard_1213075383.rb +7 -0
- data/examples/v1/dashboards/CreateDashboard_1284514532.rb +3 -0
- data/examples/v1/monitors/CreateMonitor_1539578087.rb +0 -1
- data/examples/v1/synthetics/PatchTest.rb +22 -0
- data/examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent.rb +3 -0
- data/examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent_129899466.rb +3 -0
- data/examples/v2/confluent-cloud/DeleteConfluentAccount.rb +4 -1
- data/examples/v2/confluent-cloud/DeleteConfluentResource.rb +5 -0
- data/examples/v2/container-images/ListContainerImages.rb +0 -3
- data/examples/v2/container-images/ListContainerImages_3088586393.rb +0 -3
- data/examples/v2/container-images/ListContainerImages_3974828736.rb +0 -3
- data/examples/v2/containers/ListContainers.rb +5 -0
- data/examples/v2/containers/ListContainers_2175733917.rb +8 -0
- data/examples/v2/containers/ListContainers_931009654.rb +8 -0
- data/examples/v2/dora-metrics/CreateDORADeployment.rb +23 -0
- data/examples/v2/dora-metrics/CreateDORAIncident.rb +25 -0
- data/examples/v2/downtimes/ListMonitorDowntimes.rb +1 -1
- data/examples/v2/events/ListEvents.rb +0 -3
- data/examples/v2/events/ListEvents_1527584014.rb +0 -3
- data/examples/v2/events/ListEvents_2663715109.rb +0 -3
- data/examples/v2/events/SearchEvents.rb +0 -3
- data/examples/v2/events/SearchEvents_3856995058.rb +0 -3
- data/examples/v2/key-management/CreateCurrentUserApplicationKey.rb +2 -7
- data/examples/v2/key-management/DeleteApplicationKey.rb +4 -1
- data/examples/v2/key-management/DeleteCurrentUserApplicationKey.rb +4 -1
- data/examples/v2/okta-integration/CreateOktaAccount.rb +19 -0
- data/examples/v2/okta-integration/DeleteOktaAccount.rb +5 -0
- data/examples/v2/okta-integration/GetOktaAccount.rb +8 -0
- data/examples/v2/okta-integration/ListOktaAccounts.rb +5 -0
- data/examples/v2/okta-integration/UpdateOktaAccount.rb +20 -0
- data/examples/v2/powerpack/CreatePowerpack.rb +1 -0
- data/examples/v2/powerpack/UpdatePowerpack.rb +1 -0
- data/examples/v2/security-monitoring/MuteFindings.rb +29 -0
- data/examples/v2/service-definition/CreateOrUpdateServiceDefinitions.rb +1 -1
- data/examples/v2/service-scorecards/CreateScorecardOutcomesBatch.rb +27 -0
- data/examples/v2/service-scorecards/CreateScorecardRule.rb +19 -0
- data/examples/v2/service-scorecards/DeleteScorecardRule.rb +11 -0
- data/examples/v2/service-scorecards/ListScorecardOutcomes.rb +8 -0
- data/examples/v2/service-scorecards/ListScorecardOutcomes_2663454275.rb +13 -0
- data/examples/v2/service-scorecards/ListScorecardRules.rb +8 -0
- data/examples/v2/service-scorecards/ListScorecardRules_4057666343.rb +13 -0
- data/examples/v2/synthetics/SetOnDemandConcurrencyCap.rb +3 -1
- data/examples/v2/teams/ListTeams_3429963470.rb +12 -0
- data/examples/v2/usage-metering/GetActiveBillingDimensions.rb +8 -0
- data/examples/v2/usage-metering/GetMonthlyCostAttribution.rb +8 -0
- data/examples/v2/usage-metering/GetProjectedCost.rb +8 -0
- data/examples/v2/usage-metering/GetUsageApplicationSecurityMonitoring.rb +4 -1
- data/examples/v2/usage-metering/GetUsageLambdaTracedInvocations.rb +4 -1
- data/examples/v2/usage-metering/GetUsageObservabilityPipelines.rb +4 -1
- data/examples/v2/users/GetUser.rb +5 -2
- data/lib/datadog_api_client/api_client.rb +3 -0
- data/lib/datadog_api_client/configuration.rb +11 -4
- data/lib/datadog_api_client/inflector.rb +137 -9
- data/lib/datadog_api_client/v1/api/aws_integration_api.rb +194 -0
- data/lib/datadog_api_client/v1/api/hosts_api.rb +1 -1
- data/lib/datadog_api_client/v1/api/monitors_api.rb +5 -1
- data/lib/datadog_api_client/v1/api/synthetics_api.rb +73 -1
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +3 -3
- data/lib/datadog_api_client/v1/model_base.rb +4 -0
- data/lib/datadog_api_client/v1/models/aws_account.rb +2 -1
- data/lib/datadog_api_client/v1/models/aws_event_bridge_account_configuration.rb +105 -0
- data/lib/datadog_api_client/v1/models/aws_event_bridge_create_request.rb +112 -0
- data/lib/datadog_api_client/v1/models/aws_event_bridge_create_response.rb +110 -0
- data/lib/datadog_api_client/v1/models/aws_event_bridge_create_status.rb +26 -0
- data/lib/datadog_api_client/v1/models/aws_event_bridge_delete_request.rb +100 -0
- data/lib/datadog_api_client/v1/models/aws_event_bridge_delete_response.rb +80 -0
- data/lib/datadog_api_client/v1/models/aws_event_bridge_delete_status.rb +26 -0
- data/lib/datadog_api_client/v1/models/aws_event_bridge_list_response.rb +92 -0
- data/lib/datadog_api_client/v1/models/aws_event_bridge_source.rb +90 -0
- data/lib/datadog_api_client/v1/models/azure_account.rb +24 -2
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +21 -0
- data/lib/datadog_api_client/v1/models/monitor_options.rb +1 -1
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +42 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +421 -1
- data/lib/datadog_api_client/v1/models/synthetics_patch_test_body.rb +82 -0
- data/lib/datadog_api_client/v1/models/synthetics_patch_test_operation.rb +100 -0
- data/lib/datadog_api_client/v1/models/synthetics_patch_test_operation_name.rb +31 -0
- data/lib/datadog_api_client/v1/models/toplist_widget_definition.rb +11 -1
- data/lib/datadog_api_client/v1/models/toplist_widget_display.rb +63 -0
- data/lib/datadog_api_client/v1/models/toplist_widget_flat.rb +98 -0
- data/lib/datadog_api_client/v1/models/toplist_widget_flat_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/toplist_widget_legend.rb +28 -0
- data/lib/datadog_api_client/v1/models/toplist_widget_scaling.rb +27 -0
- data/lib/datadog_api_client/v1/models/toplist_widget_stacked.rb +119 -0
- data/lib/datadog_api_client/v1/models/toplist_widget_stacked_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/toplist_widget_style.rb +90 -0
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +11 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +31 -1
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +31 -1
- data/lib/datadog_api_client/v1/models/widget_live_span.rb +2 -0
- data/lib/datadog_api_client/v2/api/ci_visibility_pipelines_api.rb +6 -0
- data/lib/datadog_api_client/v2/api/container_images_api.rb +0 -6
- data/lib/datadog_api_client/v2/api/containers_api.rb +123 -0
- data/lib/datadog_api_client/v2/api/dora_metrics_api.rb +181 -0
- data/lib/datadog_api_client/v2/api/events_api.rb +0 -12
- data/lib/datadog_api_client/v2/api/key_management_api.rb +8 -0
- data/lib/datadog_api_client/v2/api/metrics_api.rb +6 -3
- data/lib/datadog_api_client/v2/api/okta_integration_api.rb +355 -0
- data/lib/datadog_api_client/v2/api/roles_api.rb +2 -0
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +66 -72
- data/lib/datadog_api_client/v2/api/service_scorecards_api.rb +457 -0
- data/lib/datadog_api_client/v2/api/teams_api.rb +2 -0
- data/lib/datadog_api_client/v2/api/usage_metering_api.rb +241 -0
- data/lib/datadog_api_client/v2/model_base.rb +4 -0
- data/lib/datadog_api_client/v2/models/active_billing_dimensions_attributes.rb +92 -0
- data/lib/datadog_api_client/v2/models/active_billing_dimensions_body.rb +100 -0
- data/lib/datadog_api_client/v2/models/active_billing_dimensions_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/active_billing_dimensions_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/api_keys_response.rb +14 -4
- data/lib/datadog_api_client/v2/models/api_keys_response_meta.rb +90 -0
- data/lib/datadog_api_client/v2/models/api_keys_response_meta_page.rb +80 -0
- data/lib/datadog_api_client/v2/models/application_key_response_meta.rb +90 -0
- data/lib/datadog_api_client/v2/models/application_key_response_meta_page.rb +80 -0
- data/lib/datadog_api_client/v2/models/bulk_mute_findings_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/{mute_finding_request_attributes.rb → bulk_mute_findings_request_attributes.rb} +5 -5
- data/lib/datadog_api_client/v2/models/bulk_mute_findings_request_data.rb +161 -0
- data/lib/datadog_api_client/v2/models/bulk_mute_findings_request_meta.rb +82 -0
- data/lib/datadog_api_client/v2/models/bulk_mute_findings_request_meta_findings.rb +80 -0
- data/lib/datadog_api_client/v2/models/{mute_finding_request_properties.rb → bulk_mute_findings_request_properties.rb} +6 -6
- data/lib/datadog_api_client/v2/models/bulk_mute_findings_response.rb +98 -0
- data/lib/datadog_api_client/v2/models/bulk_mute_findings_response_data.rb +90 -0
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_attributes.rb +13 -1
- data/lib/datadog_api_client/v2/models/{mute_finding_response_data.rb → container.rb} +9 -9
- data/lib/datadog_api_client/v2/models/container_attributes.rb +183 -0
- data/lib/datadog_api_client/v2/models/container_group.rb +110 -0
- data/lib/datadog_api_client/v2/models/container_group_attributes.rb +90 -0
- data/lib/datadog_api_client/v2/models/container_group_relationships.rb +80 -0
- data/lib/datadog_api_client/v2/models/container_group_relationships_link.rb +92 -0
- data/lib/datadog_api_client/v2/models/container_group_relationships_links.rb +80 -0
- data/lib/datadog_api_client/v2/models/container_group_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/container_item.rb +63 -0
- data/lib/datadog_api_client/v2/models/container_meta.rb +80 -0
- data/lib/datadog_api_client/v2/models/container_meta_page.rb +160 -0
- data/lib/datadog_api_client/v2/models/container_meta_page_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/container_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/containers_response.rb +102 -0
- data/lib/datadog_api_client/v2/models/containers_response_links.rb +130 -0
- data/lib/datadog_api_client/v2/models/cost_attribution_aggregates_body.rb +100 -0
- data/lib/datadog_api_client/v2/models/cost_attribution_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/create_rule_request.rb +80 -0
- data/lib/datadog_api_client/v2/models/create_rule_request_data.rb +90 -0
- data/lib/datadog_api_client/v2/models/create_rule_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/create_rule_response_data.rb +110 -0
- data/lib/datadog_api_client/v2/models/dora_deployment_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/dora_deployment_request_attributes.rb +170 -0
- data/lib/datadog_api_client/v2/models/dora_deployment_request_data.rb +98 -0
- data/lib/datadog_api_client/v2/models/dora_deployment_response.rb +98 -0
- data/lib/datadog_api_client/v2/models/dora_deployment_response_data.rb +108 -0
- data/lib/datadog_api_client/v2/models/dora_deployment_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/dora_git_info.rb +125 -0
- data/lib/datadog_api_client/v2/models/{mute_finding_response.rb → dora_incident_request.rb} +6 -6
- data/lib/datadog_api_client/v2/models/dora_incident_request_attributes.rb +179 -0
- data/lib/datadog_api_client/v2/models/dora_incident_request_data.rb +98 -0
- data/lib/datadog_api_client/v2/models/dora_incident_response.rb +98 -0
- data/lib/datadog_api_client/v2/models/dora_incident_response_data.rb +108 -0
- data/lib/datadog_api_client/v2/models/dora_incident_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/full_api_key_attributes.rb +24 -4
- data/lib/datadog_api_client/v2/models/incident_attachment_link_attributes.rb +14 -4
- data/lib/datadog_api_client/v2/models/incident_create_relationships.rb +9 -19
- data/lib/datadog_api_client/v2/models/incident_impacts_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_attributes.rb +21 -1
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_response_data.rb +11 -1
- data/lib/datadog_api_client/v2/models/incident_integration_relationships.rb +90 -0
- data/lib/datadog_api_client/v2/models/incident_non_datadog_creator.rb +90 -0
- data/lib/datadog_api_client/v2/models/incident_responders_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +69 -4
- data/lib/datadog_api_client/v2/models/incident_response_relationships.rb +42 -4
- data/lib/datadog_api_client/v2/models/incident_severity.rb +31 -0
- data/lib/datadog_api_client/v2/models/incident_todo_attributes.rb +24 -4
- data/lib/datadog_api_client/v2/models/incident_todo_relationships.rb +90 -0
- data/lib/datadog_api_client/v2/models/incident_todo_response_data.rb +11 -1
- data/lib/datadog_api_client/v2/models/incident_update_relationships.rb +8 -0
- data/lib/datadog_api_client/v2/models/incident_user_defined_field_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/list_application_keys_response.rb +14 -4
- data/lib/datadog_api_client/v2/models/list_rules_response.rb +92 -0
- data/lib/datadog_api_client/v2/models/list_rules_response_data_item.rb +110 -0
- data/lib/datadog_api_client/v2/models/list_rules_response_links.rb +80 -0
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create_attributes.rb +13 -1
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_status_attributes.rb +12 -1
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb +13 -1
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb +13 -1
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_attributes.rb +13 -1
- data/lib/datadog_api_client/v2/models/monthly_cost_attribution_attributes.rb +151 -0
- data/lib/datadog_api_client/v2/models/monthly_cost_attribution_body.rb +100 -0
- data/lib/datadog_api_client/v2/models/monthly_cost_attribution_meta.rb +92 -0
- data/lib/datadog_api_client/v2/models/monthly_cost_attribution_pagination.rb +88 -0
- data/lib/datadog_api_client/v2/models/monthly_cost_attribution_response.rb +92 -0
- data/lib/datadog_api_client/v2/models/okta_account.rb +129 -0
- data/lib/datadog_api_client/v2/models/okta_account_attributes.rb +170 -0
- data/lib/datadog_api_client/v2/models/{mute_finding_request.rb → okta_account_request.rb} +6 -6
- data/lib/datadog_api_client/v2/models/okta_account_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/{mute_finding_request_data.rb → okta_account_response_data.rb} +9 -9
- data/lib/datadog_api_client/v2/models/okta_account_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/okta_account_update_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/okta_account_update_request_attributes.rb +149 -0
- data/lib/datadog_api_client/v2/models/okta_account_update_request_data.rb +90 -0
- data/lib/datadog_api_client/v2/models/okta_accounts_response.rb +82 -0
- data/lib/datadog_api_client/v2/models/outcome_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/outcomes_batch_attributes.rb +82 -0
- data/lib/datadog_api_client/v2/models/outcomes_batch_request.rb +80 -0
- data/lib/datadog_api_client/v2/models/outcomes_batch_request_data.rb +90 -0
- data/lib/datadog_api_client/v2/models/outcomes_batch_request_item.rb +150 -0
- data/lib/datadog_api_client/v2/models/outcomes_batch_response.rb +121 -0
- data/lib/datadog_api_client/v2/models/outcomes_batch_response_attributes.rb +120 -0
- data/lib/datadog_api_client/v2/models/outcomes_batch_response_meta.rb +90 -0
- data/lib/datadog_api_client/v2/models/outcomes_batch_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/outcomes_response.rb +104 -0
- data/lib/datadog_api_client/v2/models/outcomes_response_data_item.rb +110 -0
- data/lib/datadog_api_client/v2/models/outcomes_response_included_item.rb +100 -0
- data/lib/datadog_api_client/v2/models/outcomes_response_included_rule_attributes.rb +90 -0
- data/lib/datadog_api_client/v2/models/outcomes_response_links.rb +80 -0
- data/lib/datadog_api_client/v2/models/partial_api_key_attributes.rb +24 -4
- data/lib/datadog_api_client/v2/models/powerpack_group_widget.rb +14 -4
- data/lib/datadog_api_client/v2/models/powerpack_relationships.rb +2 -2
- data/lib/datadog_api_client/v2/models/powerpacks_response_meta_pagination.rb +8 -0
- data/lib/datadog_api_client/v2/models/projected_cost.rb +100 -0
- data/lib/datadog_api_client/v2/models/projected_cost_attributes.rb +132 -0
- data/lib/datadog_api_client/v2/models/projected_cost_response.rb +82 -0
- data/lib/datadog_api_client/v2/models/projected_cost_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/relationship_to_incident_impact_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/relationship_to_incident_impacts.rb +100 -0
- data/lib/datadog_api_client/v2/models/relationship_to_incident_responder_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/relationship_to_incident_responders.rb +100 -0
- data/lib/datadog_api_client/v2/models/relationship_to_incident_user_defined_field_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/relationship_to_incident_user_defined_fields.rb +100 -0
- data/lib/datadog_api_client/v2/models/relationship_to_outcome.rb +80 -0
- data/lib/datadog_api_client/v2/models/relationship_to_outcome_data.rb +90 -0
- data/lib/datadog_api_client/v2/models/relationship_to_rule.rb +80 -0
- data/lib/datadog_api_client/v2/models/relationship_to_rule_data.rb +80 -0
- data/lib/datadog_api_client/v2/models/relationship_to_rule_data_object.rb +90 -0
- data/lib/datadog_api_client/v2/models/rule_attributes.rb +160 -0
- data/lib/datadog_api_client/v2/models/rule_outcome_relationships.rb +80 -0
- data/lib/datadog_api_client/v2/models/rule_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/scorecard_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_type_create.rb +1 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_attributes.rb +7 -7
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb +11 -1
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_attributes.rb +13 -1
- data/lib/datadog_api_client/v2/models/service_definition_v2_dot2.rb +8 -8
- data/lib/datadog_api_client/v2/models/sort_direction.rb +27 -0
- data/lib/datadog_api_client/v2/models/state.rb +28 -0
- data/lib/datadog_api_client/v2/models/teams_field.rb +40 -0
- data/lib/datadog_api_client/v2/models/user_team_permission_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/widget_live_span.rb +40 -0
- data/lib/datadog_api_client/version.rb +1 -1
- data/lib/datadog_api_client.rb +16 -1
- metadata +186 -25
- data/examples/v2/confluent-cloud/DeleteConfluentAccount_2919241291.rb +0 -8
- data/examples/v2/downtimes/ListMonitorDowntimes_128979780.rb +0 -5
- data/examples/v2/key-management/CreateCurrentUserApplicationKey_1999509896.rb +0 -14
- data/examples/v2/key-management/DeleteApplicationKey_771691550.rb +0 -8
- data/examples/v2/key-management/DeleteCurrentUserApplicationKey_1266687064.rb +0 -8
- data/examples/v2/key-management/GetCurrentUserApplicationKey_1060640890.rb +0 -8
- data/examples/v2/key-management/ListApplicationKeys_2237010090.rb +0 -5
- data/examples/v2/key-management/ListCurrentUserApplicationKeys_1503860964.rb +0 -5
- data/examples/v2/security-monitoring/UpdateFinding.rb +0 -23
- data/examples/v2/synthetics/GetOnDemandConcurrencyCap_2633566918.rb +0 -5
- data/examples/v2/synthetics/SetOnDemandConcurrencyCap_2850884405.rb +0 -9
- data/examples/v2/usage-metering/GetUsageApplicationSecurityMonitoring_3959166796.rb +0 -8
- data/examples/v2/usage-metering/GetUsageLambdaTracedInvocations_1436752065.rb +0 -8
- data/examples/v2/usage-metering/GetUsageObservabilityPipelines_970725512.rb +0 -8
- data/examples/v2/users/GetUser_3047557953.rb +0 -8
- data/lib/datadog_api_client/v2/models/mute_finding_response_attributes.rb +0 -191
- data/lib/datadog_api_client/v2/models/mute_finding_response_properties.rb +0 -114
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V2 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'date'
|
|
17
|
+
require 'time'
|
|
18
|
+
|
|
19
|
+
module DatadogAPIClient::V2
|
|
20
|
+
# The JSON:API type for scorecard.
|
|
21
|
+
class ScorecardType
|
|
22
|
+
include BaseEnumModel
|
|
23
|
+
|
|
24
|
+
SCORECARD = "scorecard".freeze
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -23,7 +23,7 @@ module DatadogAPIClient::V2
|
|
|
23
23
|
include BaseGenericModel
|
|
24
24
|
|
|
25
25
|
# A JSON object of attributes in the security signal.
|
|
26
|
-
attr_accessor :
|
|
26
|
+
attr_accessor :custom
|
|
27
27
|
|
|
28
28
|
# The message in the security signal defined by the rule that generated the signal.
|
|
29
29
|
attr_accessor :message
|
|
@@ -38,7 +38,7 @@ module DatadogAPIClient::V2
|
|
|
38
38
|
# @!visibility private
|
|
39
39
|
def self.attribute_map
|
|
40
40
|
{
|
|
41
|
-
:'
|
|
41
|
+
:'custom' => :'custom',
|
|
42
42
|
:'message' => :'message',
|
|
43
43
|
:'tags' => :'tags',
|
|
44
44
|
:'timestamp' => :'timestamp'
|
|
@@ -49,7 +49,7 @@ module DatadogAPIClient::V2
|
|
|
49
49
|
# @!visibility private
|
|
50
50
|
def self.openapi_types
|
|
51
51
|
{
|
|
52
|
-
:'
|
|
52
|
+
:'custom' => :'Hash<String, Object>',
|
|
53
53
|
:'message' => :'String',
|
|
54
54
|
:'tags' => :'Array<String>',
|
|
55
55
|
:'timestamp' => :'Time'
|
|
@@ -72,8 +72,8 @@ module DatadogAPIClient::V2
|
|
|
72
72
|
h[k.to_sym] = v
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
if attributes.key?(:'
|
|
76
|
-
self.
|
|
75
|
+
if attributes.key?(:'custom')
|
|
76
|
+
self.custom = attributes[:'custom']
|
|
77
77
|
end
|
|
78
78
|
|
|
79
79
|
if attributes.key?(:'message')
|
|
@@ -97,7 +97,7 @@ module DatadogAPIClient::V2
|
|
|
97
97
|
def ==(o)
|
|
98
98
|
return true if self.equal?(o)
|
|
99
99
|
self.class == o.class &&
|
|
100
|
-
|
|
100
|
+
custom == o.custom &&
|
|
101
101
|
message == o.message &&
|
|
102
102
|
tags == o.tags &&
|
|
103
103
|
timestamp == o.timestamp
|
|
@@ -107,7 +107,7 @@ module DatadogAPIClient::V2
|
|
|
107
107
|
# @return [Integer] Hash code
|
|
108
108
|
# @!visibility private
|
|
109
109
|
def hash
|
|
110
|
-
[
|
|
110
|
+
[custom, message, tags, timestamp].hash
|
|
111
111
|
end
|
|
112
112
|
end
|
|
113
113
|
end
|
|
@@ -30,6 +30,9 @@ module DatadogAPIClient::V2
|
|
|
30
30
|
# Fields to group by.
|
|
31
31
|
attr_accessor :group_by_fields
|
|
32
32
|
|
|
33
|
+
# When false, events without a group-by value are ignored by the rule. When true, events with missing group-by fields are processed with `N/A`, replacing the missing values.
|
|
34
|
+
attr_accessor :has_optional_group_by_fields
|
|
35
|
+
|
|
33
36
|
# (Deprecated) The target field to aggregate over when using the sum or max
|
|
34
37
|
# aggregations. `metrics` field should be used instead.
|
|
35
38
|
attr_accessor :metric
|
|
@@ -50,6 +53,7 @@ module DatadogAPIClient::V2
|
|
|
50
53
|
:'aggregation' => :'aggregation',
|
|
51
54
|
:'distinct_fields' => :'distinctFields',
|
|
52
55
|
:'group_by_fields' => :'groupByFields',
|
|
56
|
+
:'has_optional_group_by_fields' => :'hasOptionalGroupByFields',
|
|
53
57
|
:'metric' => :'metric',
|
|
54
58
|
:'metrics' => :'metrics',
|
|
55
59
|
:'name' => :'name',
|
|
@@ -64,6 +68,7 @@ module DatadogAPIClient::V2
|
|
|
64
68
|
:'aggregation' => :'SecurityMonitoringRuleQueryAggregation',
|
|
65
69
|
:'distinct_fields' => :'Array<String>',
|
|
66
70
|
:'group_by_fields' => :'Array<String>',
|
|
71
|
+
:'has_optional_group_by_fields' => :'Boolean',
|
|
67
72
|
:'metric' => :'String',
|
|
68
73
|
:'metrics' => :'Array<String>',
|
|
69
74
|
:'name' => :'String',
|
|
@@ -103,6 +108,10 @@ module DatadogAPIClient::V2
|
|
|
103
108
|
end
|
|
104
109
|
end
|
|
105
110
|
|
|
111
|
+
if attributes.key?(:'has_optional_group_by_fields')
|
|
112
|
+
self.has_optional_group_by_fields = attributes[:'has_optional_group_by_fields']
|
|
113
|
+
end
|
|
114
|
+
|
|
106
115
|
if attributes.key?(:'metric')
|
|
107
116
|
self.metric = attributes[:'metric']
|
|
108
117
|
end
|
|
@@ -131,6 +140,7 @@ module DatadogAPIClient::V2
|
|
|
131
140
|
aggregation == o.aggregation &&
|
|
132
141
|
distinct_fields == o.distinct_fields &&
|
|
133
142
|
group_by_fields == o.group_by_fields &&
|
|
143
|
+
has_optional_group_by_fields == o.has_optional_group_by_fields &&
|
|
134
144
|
metric == o.metric &&
|
|
135
145
|
metrics == o.metrics &&
|
|
136
146
|
name == o.name &&
|
|
@@ -141,7 +151,7 @@ module DatadogAPIClient::V2
|
|
|
141
151
|
# @return [Integer] Hash code
|
|
142
152
|
# @!visibility private
|
|
143
153
|
def hash
|
|
144
|
-
[aggregation, distinct_fields, group_by_fields, metric, metrics, name, query].hash
|
|
154
|
+
[aggregation, distinct_fields, group_by_fields, has_optional_group_by_fields, metric, metrics, name, query].hash
|
|
145
155
|
end
|
|
146
156
|
end
|
|
147
157
|
end
|
|
@@ -24,6 +24,9 @@ module DatadogAPIClient::V2
|
|
|
24
24
|
# Description of the standard pattern.
|
|
25
25
|
attr_accessor :description
|
|
26
26
|
|
|
27
|
+
# List of included keywords.
|
|
28
|
+
attr_accessor :included_keywords
|
|
29
|
+
|
|
27
30
|
# Name of the standard pattern.
|
|
28
31
|
attr_accessor :name
|
|
29
32
|
|
|
@@ -38,6 +41,7 @@ module DatadogAPIClient::V2
|
|
|
38
41
|
def self.attribute_map
|
|
39
42
|
{
|
|
40
43
|
:'description' => :'description',
|
|
44
|
+
:'included_keywords' => :'included_keywords',
|
|
41
45
|
:'name' => :'name',
|
|
42
46
|
:'pattern' => :'pattern',
|
|
43
47
|
:'tags' => :'tags'
|
|
@@ -49,6 +53,7 @@ module DatadogAPIClient::V2
|
|
|
49
53
|
def self.openapi_types
|
|
50
54
|
{
|
|
51
55
|
:'description' => :'String',
|
|
56
|
+
:'included_keywords' => :'Array<String>',
|
|
52
57
|
:'name' => :'String',
|
|
53
58
|
:'pattern' => :'String',
|
|
54
59
|
:'tags' => :'Array<String>'
|
|
@@ -75,6 +80,12 @@ module DatadogAPIClient::V2
|
|
|
75
80
|
self.description = attributes[:'description']
|
|
76
81
|
end
|
|
77
82
|
|
|
83
|
+
if attributes.key?(:'included_keywords')
|
|
84
|
+
if (value = attributes[:'included_keywords']).is_a?(Array)
|
|
85
|
+
self.included_keywords = value
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
78
89
|
if attributes.key?(:'name')
|
|
79
90
|
self.name = attributes[:'name']
|
|
80
91
|
end
|
|
@@ -97,6 +108,7 @@ module DatadogAPIClient::V2
|
|
|
97
108
|
return true if self.equal?(o)
|
|
98
109
|
self.class == o.class &&
|
|
99
110
|
description == o.description &&
|
|
111
|
+
included_keywords == o.included_keywords &&
|
|
100
112
|
name == o.name &&
|
|
101
113
|
pattern == o.pattern &&
|
|
102
114
|
tags == o.tags
|
|
@@ -106,7 +118,7 @@ module DatadogAPIClient::V2
|
|
|
106
118
|
# @return [Integer] Hash code
|
|
107
119
|
# @!visibility private
|
|
108
120
|
def hash
|
|
109
|
-
[description, name, pattern, tags].hash
|
|
121
|
+
[description, included_keywords, name, pattern, tags].hash
|
|
110
122
|
end
|
|
111
123
|
end
|
|
112
124
|
end
|
|
@@ -40,7 +40,7 @@ module DatadogAPIClient::V2
|
|
|
40
40
|
attr_accessor :integrations
|
|
41
41
|
|
|
42
42
|
# The service's programming language. Datadog recognizes the following languages: `dotnet`, `go`, `java`, `js`, `php`, `python`, `ruby`, and `c++`.
|
|
43
|
-
attr_accessor :
|
|
43
|
+
attr_accessor :languages
|
|
44
44
|
|
|
45
45
|
# The current life cycle phase of the service.
|
|
46
46
|
attr_accessor :lifecycle
|
|
@@ -73,7 +73,7 @@ module DatadogAPIClient::V2
|
|
|
73
73
|
:'description' => :'description',
|
|
74
74
|
:'extensions' => :'extensions',
|
|
75
75
|
:'integrations' => :'integrations',
|
|
76
|
-
:'
|
|
76
|
+
:'languages' => :'languages',
|
|
77
77
|
:'lifecycle' => :'lifecycle',
|
|
78
78
|
:'links' => :'links',
|
|
79
79
|
:'schema_version' => :'schema-version',
|
|
@@ -94,7 +94,7 @@ module DatadogAPIClient::V2
|
|
|
94
94
|
:'description' => :'String',
|
|
95
95
|
:'extensions' => :'Hash<String, Object>',
|
|
96
96
|
:'integrations' => :'ServiceDefinitionV2Dot2Integrations',
|
|
97
|
-
:'
|
|
97
|
+
:'languages' => :'Array<String>',
|
|
98
98
|
:'lifecycle' => :'String',
|
|
99
99
|
:'links' => :'Array<ServiceDefinitionV2Dot2Link>',
|
|
100
100
|
:'schema_version' => :'ServiceDefinitionV2Dot2Version',
|
|
@@ -147,9 +147,9 @@ module DatadogAPIClient::V2
|
|
|
147
147
|
self.integrations = attributes[:'integrations']
|
|
148
148
|
end
|
|
149
149
|
|
|
150
|
-
if attributes.key?(:'
|
|
151
|
-
if (value = attributes[:'
|
|
152
|
-
self.
|
|
150
|
+
if attributes.key?(:'languages')
|
|
151
|
+
if (value = attributes[:'languages']).is_a?(Array)
|
|
152
|
+
self.languages = value
|
|
153
153
|
end
|
|
154
154
|
end
|
|
155
155
|
|
|
@@ -227,7 +227,7 @@ module DatadogAPIClient::V2
|
|
|
227
227
|
description == o.description &&
|
|
228
228
|
extensions == o.extensions &&
|
|
229
229
|
integrations == o.integrations &&
|
|
230
|
-
|
|
230
|
+
languages == o.languages &&
|
|
231
231
|
lifecycle == o.lifecycle &&
|
|
232
232
|
links == o.links &&
|
|
233
233
|
schema_version == o.schema_version &&
|
|
@@ -241,7 +241,7 @@ module DatadogAPIClient::V2
|
|
|
241
241
|
# @return [Integer] Hash code
|
|
242
242
|
# @!visibility private
|
|
243
243
|
def hash
|
|
244
|
-
[application, contacts, dd_service, description, extensions, integrations,
|
|
244
|
+
[application, contacts, dd_service, description, extensions, integrations, languages, lifecycle, links, schema_version, tags, team, tier, type].hash
|
|
245
245
|
end
|
|
246
246
|
end
|
|
247
247
|
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V2 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'date'
|
|
17
|
+
require 'time'
|
|
18
|
+
|
|
19
|
+
module DatadogAPIClient::V2
|
|
20
|
+
# The direction to sort by.
|
|
21
|
+
class SortDirection
|
|
22
|
+
include BaseEnumModel
|
|
23
|
+
|
|
24
|
+
DESC = "desc".freeze
|
|
25
|
+
ASC = "asc".freeze
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V2 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'date'
|
|
17
|
+
require 'time'
|
|
18
|
+
|
|
19
|
+
module DatadogAPIClient::V2
|
|
20
|
+
# The state of the rule evaluation.
|
|
21
|
+
class State
|
|
22
|
+
include BaseEnumModel
|
|
23
|
+
|
|
24
|
+
PASS = "pass".freeze
|
|
25
|
+
FAIL = "fail".freeze
|
|
26
|
+
SKIP = "skip".freeze
|
|
27
|
+
end
|
|
28
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V2 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'date'
|
|
17
|
+
require 'time'
|
|
18
|
+
|
|
19
|
+
module DatadogAPIClient::V2
|
|
20
|
+
# Supported teams field.
|
|
21
|
+
class TeamsField
|
|
22
|
+
include BaseEnumModel
|
|
23
|
+
|
|
24
|
+
ID = "id".freeze
|
|
25
|
+
NAME = "name".freeze
|
|
26
|
+
HANDLE = "handle".freeze
|
|
27
|
+
SUMMARY = "summary".freeze
|
|
28
|
+
DESCRIPTION = "description".freeze
|
|
29
|
+
AVATAR = "avatar".freeze
|
|
30
|
+
BANNER = "banner".freeze
|
|
31
|
+
VISIBLE_MODULES = "visible_modules".freeze
|
|
32
|
+
HIDDEN_MODULES = "hidden_modules".freeze
|
|
33
|
+
CREATED_AT = "created_at".freeze
|
|
34
|
+
MODIFIED_AT = "modified_at".freeze
|
|
35
|
+
USER_COUNT = "user_count".freeze
|
|
36
|
+
LINK_COUNT = "link_count".freeze
|
|
37
|
+
TEAM_LINKS = "team_links".freeze
|
|
38
|
+
USER_TEAM_PERMISSIONS = "user_team_permissions".freeze
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -21,7 +21,7 @@ module DatadogAPIClient::V2
|
|
|
21
21
|
class UserTeamPermissionAttributes
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# Object of team permission actions and boolean values
|
|
24
|
+
# Object of team permission actions and boolean values that a logged in user can perform on this team.
|
|
25
25
|
attr_accessor :permissions
|
|
26
26
|
|
|
27
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V2 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'date'
|
|
17
|
+
require 'time'
|
|
18
|
+
|
|
19
|
+
module DatadogAPIClient::V2
|
|
20
|
+
# The available timeframes depend on the widget you are using.
|
|
21
|
+
class WidgetLiveSpan
|
|
22
|
+
include BaseEnumModel
|
|
23
|
+
|
|
24
|
+
PAST_ONE_MINUTE = "1m".freeze
|
|
25
|
+
PAST_FIVE_MINUTES = "5m".freeze
|
|
26
|
+
PAST_TEN_MINUTES = "10m".freeze
|
|
27
|
+
PAST_FIFTEEN_MINUTES = "15m".freeze
|
|
28
|
+
PAST_THIRTY_MINUTES = "30m".freeze
|
|
29
|
+
PAST_ONE_HOUR = "1h".freeze
|
|
30
|
+
PAST_FOUR_HOURS = "4h".freeze
|
|
31
|
+
PAST_ONE_DAY = "1d".freeze
|
|
32
|
+
PAST_TWO_DAYS = "2d".freeze
|
|
33
|
+
PAST_ONE_WEEK = "1w".freeze
|
|
34
|
+
PAST_ONE_MONTH = "1mo".freeze
|
|
35
|
+
PAST_THREE_MONTHS = "3mo".freeze
|
|
36
|
+
PAST_SIX_MONTHS = "6mo".freeze
|
|
37
|
+
PAST_ONE_YEAR = "1y".freeze
|
|
38
|
+
ALERT = "alert".freeze
|
|
39
|
+
end
|
|
40
|
+
end
|
data/lib/datadog_api_client.rb
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V2 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
1
16
|
require 'datadog_api_client/models'
|
|
2
17
|
require_relative 'datadog_api_client/inflector'
|
|
3
18
|
|
|
@@ -10,4 +25,4 @@ loader.push_dir("#{__dir__}/datadog_api_client/v2", namespace: DatadogAPIClient:
|
|
|
10
25
|
# Ignore model_base.rb from being loaded in by zeitwerk as it is loaded in by default
|
|
11
26
|
loader.ignore("#{__dir__}/datadog_api_client/*/model_base.rb")
|
|
12
27
|
loader.inflector = DatadogAPIClient::DatadogAPIClientInflector.new
|
|
13
|
-
loader.setup
|
|
28
|
+
loader.setup
|