datadog_api_client 2.29.1 → 2.30.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 +591 -464
- data/.generator/schemas/v2/openapi.yaml +4175 -744
- data/.github/CODEOWNERS +5 -5
- data/.github/workflows/docs.yml +2 -2
- data/.github/workflows/prepare_release.yml +1 -1
- data/.github/workflows/test.yml +4 -1
- data/CHANGELOG.md +42 -0
- data/Gemfile +1 -1
- data/LICENSE-3rdparty.csv +1 -1
- data/RELEASING.md +1 -1
- data/examples/v1/azure-integration/UpdateAzureHostFilters.rb +9 -6
- data/examples/v1/azure-integration/UpdateAzureIntegration.rb +0 -6
- data/examples/v1/logs-pipelines/CreateLogsPipeline.rb +1 -0
- data/examples/v1/logs-pipelines/UpdateLogsPipeline.rb +1 -0
- data/examples/v1/monitors/CreateMonitor_1303514967.rb +32 -0
- data/examples/v1/monitors/ListMonitors.rb +1 -1
- data/examples/v1/monitors/{ListMonitors_3448441939.rb → ListMonitors_2154432960.rb} +1 -1
- data/examples/v1/monitors/{ListMonitors_2966492814.rb → ListMonitors_463213563.rb} +1 -1
- data/examples/v2/action-connection/CreateActionConnection.rb +22 -0
- data/examples/v2/action-connection/DeleteActionConnection.rb +5 -0
- data/examples/v2/action-connection/DeleteActionConnection_2142905164.rb +8 -0
- data/examples/v2/action-connection/GetActionConnection.rb +5 -0
- data/examples/v2/action-connection/UpdateActionConnection.rb +22 -0
- data/examples/v2/agentless-scanning/ListAwsScanOptions.rb +5 -0
- data/examples/v2/{apps → app-builder}/CreateApp.rb +4 -4
- data/examples/v2/{apps → app-builder}/DeleteApp.rb +1 -1
- data/examples/v2/{apps → app-builder}/DeleteApps.rb +2 -2
- data/examples/v2/{apps → app-builder}/GetApp.rb +1 -1
- data/examples/v2/{apps → app-builder}/ListApps.rb +1 -1
- data/examples/v2/app-builder/PublishApp.rb +11 -0
- data/examples/v2/app-builder/UnpublishApp.rb +11 -0
- data/examples/v2/{apps → app-builder}/UpdateApp.rb +2 -2
- data/examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent_819339921.rb +29 -0
- data/examples/v2/csm-coverage-analysis/GetCSMCloudAccountsCoverageAnalysis.rb +5 -0
- data/examples/v2/csm-coverage-analysis/GetCSMHostsAndContainersCoverageAnalysis.rb +5 -0
- data/examples/v2/csm-coverage-analysis/GetCSMServerlessCoverageAnalysis.rb +5 -0
- data/examples/v2/data-deletion/CreateDataDeletionRequest.rb +1 -0
- data/examples/v2/events/CreateEvent.rb +1 -1
- data/examples/v2/logs/ListLogs.rb +12 -6
- data/examples/v2/logs/ListLogsGet.rb +1 -1
- data/examples/v2/logs/ListLogsGet_175182691.rb +5 -0
- data/examples/v2/logs/ListLogs_3400928236.rb +23 -0
- data/examples/v2/logs/ListLogs_534975433.rb +29 -0
- data/examples/v2/microsoft-teams-integration/CreateWorkflowsWebhookHandle.rb +15 -0
- data/examples/v2/microsoft-teams-integration/CreateWorkflowsWebhookHandle_1716851881.rb +15 -0
- data/examples/v2/microsoft-teams-integration/DeleteWorkflowsWebhookHandle.rb +5 -0
- data/examples/v2/microsoft-teams-integration/DeleteWorkflowsWebhookHandle_107549514.rb +8 -0
- data/examples/v2/microsoft-teams-integration/GetWorkflowsWebhookHandle.rb +5 -0
- data/examples/v2/microsoft-teams-integration/GetWorkflowsWebhookHandle_3421443805.rb +8 -0
- data/examples/v2/microsoft-teams-integration/ListWorkflowsWebhookHandles.rb +5 -0
- data/examples/v2/microsoft-teams-integration/ListWorkflowsWebhookHandles_620762083.rb +5 -0
- data/examples/v2/microsoft-teams-integration/UpdateWorkflowsWebhookHandle.rb +15 -0
- data/examples/v2/microsoft-teams-integration/UpdateWorkflowsWebhookHandle_163189594.rb +18 -0
- data/examples/v2/security-monitoring/CreateSecurityMonitoringSuppression.rb +1 -0
- data/examples/v2/security-monitoring/CreateSecurityMonitoringSuppression_3192265332.rb +1 -0
- data/examples/v2/security-monitoring/CreateSignalNotificationRule.rb +30 -0
- data/examples/v2/security-monitoring/CreateVulnerabilityNotificationRule.rb +30 -0
- data/examples/v2/security-monitoring/DeleteSignalNotificationRule.rb +8 -0
- data/examples/v2/security-monitoring/DeleteVulnerabilityNotificationRule.rb +8 -0
- data/examples/v2/security-monitoring/GetSBOM.rb +5 -0
- data/examples/v2/security-monitoring/GetSignalNotificationRule.rb +8 -0
- data/examples/v2/security-monitoring/GetSignalNotificationRules.rb +5 -0
- data/examples/v2/security-monitoring/GetVulnerabilityNotificationRule.rb +8 -0
- data/examples/v2/security-monitoring/GetVulnerabilityNotificationRules.rb +5 -0
- data/examples/v2/security-monitoring/ListVulnerabilities.rb +10 -0
- data/examples/v2/security-monitoring/ListVulnerableAssets.rb +10 -0
- data/examples/v2/security-monitoring/PatchSignalNotificationRule.rb +35 -0
- data/examples/v2/security-monitoring/PatchVulnerabilityNotificationRule.rb +35 -0
- data/examples/v2/security-monitoring/RunHistoricalJob.rb +2 -2
- data/examples/v2/usage-metering/GetActiveBillingDimensions.rb +0 -3
- data/examples/v2/usage-metering/GetBillingDimensionMapping.rb +0 -3
- data/examples/v2/usage-metering/GetMonthlyCostAttribution.rb +0 -3
- data/lib/datadog_api_client/configuration.rb +2 -5
- data/lib/datadog_api_client/inflector.rb +145 -44
- data/lib/datadog_api_client/v1/api/monitors_api.rb +28 -4
- data/lib/datadog_api_client/v1/models/azure_account.rb +42 -13
- data/lib/datadog_api_client/v1/models/dashboard.rb +0 -2
- data/lib/datadog_api_client/v1/models/logs_pipeline.rb +23 -1
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_cost_aggregator.rb +34 -0
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_cost_data_source.rb +28 -0
- data/lib/datadog_api_client/v1/models/{azure_account_metrics_config.rb → monitor_formula_and_function_cost_query_definition.rb} +81 -16
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_query_definition.rb +2 -1
- data/lib/datadog_api_client/v1/models/monitor_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/monitor_update_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/resource_provider_config.rb +115 -0
- data/lib/datadog_api_client/v1/models/synthetics_step.rb +11 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +184 -4
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +183 -3
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +183 -3
- data/lib/datadog_api_client/v2/api/action_connection_api.rb +295 -0
- data/lib/datadog_api_client/v2/api/agentless_scanning_api.rb +86 -0
- data/lib/datadog_api_client/v2/api/{apps_api.rb → app_builder_api.rb} +184 -38
- data/lib/datadog_api_client/v2/api/csm_coverage_analysis_api.rb +212 -0
- data/lib/datadog_api_client/v2/api/logs_api.rb +8 -8
- data/lib/datadog_api_client/v2/api/metrics_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/microsoft_teams_integration_api.rb +331 -0
- data/lib/datadog_api_client/v2/api/restriction_policies_api.rb +13 -3
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +1123 -1
- data/lib/datadog_api_client/v2/api/usage_metering_api.rb +1 -19
- data/lib/datadog_api_client/v2/models/action_connection_attributes.rb +144 -0
- data/lib/datadog_api_client/v2/models/{app_builder_error_errors_items.rb → action_connection_attributes_update.rb} +18 -18
- data/lib/datadog_api_client/v2/models/action_connection_data.rb +154 -0
- data/lib/datadog_api_client/v2/models/{delete_app_response_data_type.rb → action_connection_data_type.rb} +3 -3
- data/lib/datadog_api_client/v2/models/action_connection_data_update.rb +144 -0
- data/lib/datadog_api_client/v2/models/action_connection_integration.rb +63 -0
- data/lib/datadog_api_client/v2/models/action_connection_integration_update.rb +63 -0
- data/lib/datadog_api_client/v2/models/advisory.rb +154 -0
- data/lib/datadog_api_client/v2/models/app_builder_event.rb +1 -1
- data/lib/datadog_api_client/v2/models/{get_app_response_data_type.rb → app_definition_type.rb} +2 -2
- data/lib/datadog_api_client/v2/models/{deployment_included_type.rb → app_deployment_type.rb} +2 -2
- data/lib/datadog_api_client/v2/models/app_meta.rb +15 -25
- data/lib/datadog_api_client/v2/models/{get_app_response_relationship.rb → app_relationship.rb} +5 -5
- data/lib/datadog_api_client/v2/models/asset.rb +165 -0
- data/lib/datadog_api_client/v2/models/asset_attributes.rb +218 -0
- data/lib/datadog_api_client/v2/models/{script_data_type.rb → asset_entity_type.rb} +3 -3
- data/lib/datadog_api_client/v2/models/asset_operating_system.rb +133 -0
- data/lib/datadog_api_client/v2/models/asset_risks.rb +163 -0
- data/lib/datadog_api_client/v2/models/asset_type.rb +30 -0
- data/lib/datadog_api_client/v2/models/{disable_app_response_data_attributes.rb → asset_version.rb} +21 -11
- data/lib/datadog_api_client/v2/models/aws_assume_role.rb +191 -0
- data/lib/datadog_api_client/v2/models/{input_schema_data_type.rb → aws_assume_role_type.rb} +3 -3
- data/lib/datadog_api_client/v2/models/aws_assume_role_update.rb +166 -0
- data/lib/datadog_api_client/v2/models/aws_credentials.rb +62 -0
- data/lib/datadog_api_client/v2/models/aws_credentials_update.rb +62 -0
- data/lib/datadog_api_client/v2/models/aws_integration.rb +144 -0
- data/lib/datadog_api_client/v2/models/{deploy_app_response_data_type.rb → aws_integration_type.rb} +3 -3
- data/lib/datadog_api_client/v2/models/aws_integration_update.rb +133 -0
- data/lib/datadog_api_client/v2/models/aws_scan_options_attributes.rb +135 -0
- data/lib/datadog_api_client/v2/models/{input_schema_data.rb → aws_scan_options_data.rb} +8 -8
- data/lib/datadog_api_client/v2/models/aws_scan_options_response.rb +107 -0
- data/lib/datadog_api_client/v2/models/{delete_apps_request_data_items_type.rb → aws_scan_options_type.rb} +3 -3
- data/lib/datadog_api_client/v2/models/change_event_custom_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/change_event_custom_attributes_changed_resource.rb +1 -1
- data/lib/datadog_api_client/v2/models/change_event_custom_attributes_changed_resource_type.rb +1 -0
- data/lib/datadog_api_client/v2/models/ci_app_create_pipeline_event_request_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/{deployment_included_meta.rb → code_location.rb} +41 -33
- data/lib/datadog_api_client/v2/models/component.rb +6 -6
- data/lib/datadog_api_client/v2/models/component_grid.rb +6 -6
- data/lib/datadog_api_client/v2/models/component_grid_properties.rb +4 -4
- data/lib/datadog_api_client/v2/models/component_grid_properties_is_visible.rb +1 -1
- data/lib/datadog_api_client/v2/models/component_grid_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/component_properties.rb +3 -3
- data/lib/datadog_api_client/v2/models/component_properties_is_visible.rb +1 -1
- data/lib/datadog_api_client/v2/models/component_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/create_action_connection_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/{script.rb → create_action_connection_response.rb} +5 -5
- data/lib/datadog_api_client/v2/models/create_app_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/create_app_request_data.rb +4 -4
- data/lib/datadog_api_client/v2/models/create_app_request_data_attributes.rb +19 -41
- data/lib/datadog_api_client/v2/models/create_app_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/create_app_response_data.rb +5 -5
- data/lib/datadog_api_client/v2/models/create_data_deletion_request_body_data.rb +24 -3
- data/lib/datadog_api_client/v2/models/{disable_app_response_data_type.rb → create_data_deletion_request_body_data_type.rb} +3 -3
- data/lib/datadog_api_client/v2/models/create_notification_rule_parameters.rb +105 -0
- data/lib/datadog_api_client/v2/models/create_notification_rule_parameters_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/create_notification_rule_parameters_data_attributes.rb +195 -0
- data/lib/datadog_api_client/v2/models/csm_cloud_accounts_coverage_analysis_attributes.rb +145 -0
- data/lib/datadog_api_client/v2/models/{disable_app_response_data.rb → csm_cloud_accounts_coverage_analysis_data.rb} +9 -19
- data/lib/datadog_api_client/v2/models/csm_cloud_accounts_coverage_analysis_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/csm_coverage_analysis.rb +135 -0
- data/lib/datadog_api_client/v2/models/csm_hosts_and_containers_coverage_analysis_attributes.rb +145 -0
- data/lib/datadog_api_client/v2/models/csm_hosts_and_containers_coverage_analysis_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/csm_hosts_and_containers_coverage_analysis_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/csm_serverless_coverage_analysis_attributes.rb +125 -0
- data/lib/datadog_api_client/v2/models/csm_serverless_coverage_analysis_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/csm_serverless_coverage_analysis_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/custom_connection.rb +5 -5
- data/lib/datadog_api_client/v2/models/custom_connection_attributes.rb +3 -3
- data/lib/datadog_api_client/v2/models/custom_connection_attributes_on_prem_runner.rb +3 -3
- data/lib/datadog_api_client/v2/models/custom_connection_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/cvss.rb +165 -0
- data/lib/datadog_api_client/v2/models/delete_app_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/delete_app_response_data.rb +4 -4
- data/lib/datadog_api_client/v2/models/delete_apps_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/delete_apps_request_data_items.rb +5 -5
- data/lib/datadog_api_client/v2/models/delete_apps_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/delete_apps_response_data_items.rb +5 -5
- data/lib/datadog_api_client/v2/models/dependency_location.rb +207 -0
- data/lib/datadog_api_client/v2/models/{deploy_app_response_data.rb → deployment.rb} +11 -11
- data/lib/datadog_api_client/v2/models/{deploy_app_response_data_attributes.rb → deployment_attributes.rb} +5 -5
- data/lib/datadog_api_client/v2/models/{deployment_relationship_meta.rb → deployment_metadata.rb} +9 -9
- data/lib/datadog_api_client/v2/models/deployment_relationship.rb +4 -4
- data/lib/datadog_api_client/v2/models/deployment_relationship_data.rb +5 -5
- data/lib/datadog_api_client/v2/models/entity_v3.rb +2 -1
- data/lib/datadog_api_client/v2/models/entity_v3_api.rb +180 -0
- data/lib/datadog_api_client/v2/models/entity_v3_api_datadog.rb +126 -0
- data/lib/datadog_api_client/v2/models/entity_v3_api_kind.rb +26 -0
- data/lib/datadog_api_client/v2/models/entity_v3_api_spec.rb +151 -0
- data/lib/datadog_api_client/v2/models/entity_v3_api_spec_interface_definition.rb +80 -0
- data/lib/datadog_api_client/v2/models/{entity_v3_metadata_owner.rb → entity_v3_api_spec_interface_file_ref.rb} +12 -12
- data/lib/datadog_api_client/v2/models/entity_v3_metadata.rb +1 -1
- data/lib/datadog_api_client/v2/models/epss.rb +144 -0
- data/lib/datadog_api_client/v2/models/{input_schema.rb → get_action_connection_response.rb} +5 -5
- data/lib/datadog_api_client/v2/models/get_app_response.rb +7 -7
- data/lib/datadog_api_client/v2/models/get_app_response_data.rb +6 -6
- data/lib/datadog_api_client/v2/models/get_app_response_data_attributes.rb +20 -42
- data/lib/datadog_api_client/v2/models/get_sbom_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/historical_job_options.rb +168 -0
- data/lib/datadog_api_client/v2/models/historical_job_query.rb +171 -0
- data/lib/datadog_api_client/v2/models/{app_builder_error.rb → http_body.rb} +21 -13
- data/lib/datadog_api_client/v2/models/http_credentials.rb +62 -0
- data/lib/datadog_api_client/v2/models/http_credentials_update.rb +62 -0
- data/lib/datadog_api_client/v2/models/http_header.rb +150 -0
- data/lib/datadog_api_client/v2/models/http_header_update.rb +149 -0
- data/lib/datadog_api_client/v2/models/http_integration.rb +171 -0
- data/lib/datadog_api_client/v2/models/http_integration_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/http_integration_update.rb +156 -0
- data/lib/datadog_api_client/v2/models/http_token.rb +171 -0
- data/lib/datadog_api_client/v2/models/http_token_auth.rb +169 -0
- data/lib/datadog_api_client/v2/models/http_token_auth_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/http_token_auth_update.rb +169 -0
- data/lib/datadog_api_client/v2/models/http_token_update.rb +181 -0
- data/lib/datadog_api_client/v2/models/job_definition.rb +6 -18
- data/lib/datadog_api_client/v2/models/jsonapi_error_item.rb +21 -1
- data/lib/datadog_api_client/v2/models/{app_builder_error_errors_items_source.rb → jsonapi_error_item_source.rb} +16 -6
- data/lib/datadog_api_client/v2/models/library.rb +133 -0
- data/lib/datadog_api_client/v2/models/links.rb +185 -0
- data/lib/datadog_api_client/v2/models/list_apps_response.rb +5 -5
- data/lib/datadog_api_client/v2/models/list_apps_response_data_items.rb +8 -8
- data/lib/datadog_api_client/v2/models/list_apps_response_data_items_attributes.rb +6 -6
- data/lib/datadog_api_client/v2/models/list_apps_response_data_items_relationships.rb +2 -2
- data/lib/datadog_api_client/v2/models/list_apps_response_meta.rb +2 -2
- data/lib/datadog_api_client/v2/models/list_apps_response_meta_page.rb +3 -3
- data/lib/datadog_api_client/v2/models/list_vulnerabilities_response.rb +145 -0
- data/lib/datadog_api_client/v2/models/list_vulnerable_assets_response.rb +145 -0
- data/lib/datadog_api_client/v2/models/logs_archive_destination_s3.rb +11 -1
- data/lib/datadog_api_client/v2/models/logs_archive_encryption_s3.rb +133 -0
- data/lib/datadog_api_client/v2/models/logs_archive_encryption_s3_type.rb +28 -0
- data/lib/datadog_api_client/v2/models/metadata.rb +165 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_create_workflows_webhook_handle_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_update_workflows_webhook_handle_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_update_workflows_webhook_handle_request_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_workflows_webhook_handle_attributes.rb +144 -0
- data/lib/datadog_api_client/v2/models/{input_schema_data_attributes_parameters_items_data_attributes.rb → microsoft_teams_workflows_webhook_handle_request_attributes.rb} +46 -51
- data/lib/datadog_api_client/v2/models/microsoft_teams_workflows_webhook_handle_request_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_workflows_webhook_handle_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_workflows_webhook_handle_response_data.rb +147 -0
- data/lib/datadog_api_client/v2/models/{create_app_response_data_type.rb → microsoft_teams_workflows_webhook_handle_type.rb} +3 -3
- data/lib/datadog_api_client/v2/models/microsoft_teams_workflows_webhook_handles_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_workflows_webhook_response_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/notification_rule.rb +168 -0
- data/lib/datadog_api_client/v2/models/notification_rule_attributes.rb +311 -0
- data/lib/datadog_api_client/v2/models/{input_schema_data_attributes_parameters_items.rb → notification_rule_response.rb} +9 -5
- data/lib/datadog_api_client/v2/models/{create_app_request_data_type.rb → notification_rules_type.rb} +3 -3
- data/lib/datadog_api_client/v2/models/patch_notification_rule_parameters.rb +105 -0
- data/lib/datadog_api_client/v2/models/patch_notification_rule_parameters_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/patch_notification_rule_parameters_data_attributes.rb +165 -0
- data/lib/datadog_api_client/v2/models/{disable_app_response.rb → publish_app_response.rb} +5 -5
- data/lib/datadog_api_client/v2/models/query.rb +7 -7
- data/lib/datadog_api_client/v2/models/query_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/remediation.rb +278 -0
- data/lib/datadog_api_client/v2/models/rule_severity.rb +31 -0
- data/lib/datadog_api_client/v2/models/rule_types_items.rb +42 -0
- data/lib/datadog_api_client/v2/models/{deployment_included_attributes.rb → rule_user.rb} +21 -11
- data/lib/datadog_api_client/v2/models/{script_data.rb → sbom.rb} +8 -8
- data/lib/datadog_api_client/v2/models/sbom_attributes.rb +230 -0
- data/lib/datadog_api_client/v2/models/sbom_component.rb +185 -0
- data/lib/datadog_api_client/v2/models/sbom_component_type.rb +37 -0
- data/lib/datadog_api_client/v2/models/sbom_metadata.rb +105 -0
- data/lib/datadog_api_client/v2/models/{script_data_attributes.rb → sbom_metadata_component.rb} +6 -16
- data/lib/datadog_api_client/v2/models/sbom_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_reference_table.rb +2 -2
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_case_create.rb +2 -2
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_evaluation_window.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_impossible_travel_options.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_keep_alive.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_new_value_options.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_options.rb +6 -6
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_third_party_options.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_update_payload.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_create_payload.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_payload.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_create_payload.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_payload.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_test_payload.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_create_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_update_attributes.rb +12 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_third_party_rule_case_create.rb +1 -1
- data/lib/datadog_api_client/v2/models/selectors.rb +160 -0
- data/lib/datadog_api_client/v2/models/spec_version.rb +31 -0
- data/lib/datadog_api_client/v2/models/token_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/trigger_source.rb +28 -0
- data/lib/datadog_api_client/v2/models/unpublish_app_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/update_action_connection_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/{deploy_app_response.rb → update_action_connection_response.rb} +5 -5
- data/lib/datadog_api_client/v2/models/update_app_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/update_app_request_data.rb +6 -6
- data/lib/datadog_api_client/v2/models/update_app_request_data_attributes.rb +19 -41
- data/lib/datadog_api_client/v2/models/update_app_response.rb +7 -7
- data/lib/datadog_api_client/v2/models/update_app_response_data.rb +6 -6
- data/lib/datadog_api_client/v2/models/update_app_response_data_attributes.rb +20 -42
- data/lib/datadog_api_client/v2/models/url_param.rb +150 -0
- data/lib/datadog_api_client/v2/models/url_param_update.rb +149 -0
- data/lib/datadog_api_client/v2/models/vulnerabilities_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/vulnerability.rb +186 -0
- data/lib/datadog_api_client/v2/models/vulnerability_attributes.rb +462 -0
- data/lib/datadog_api_client/v2/models/{deployment_meta.rb → vulnerability_cvss.rb} +43 -34
- data/lib/datadog_api_client/v2/models/vulnerability_dependency_locations.rb +143 -0
- data/lib/datadog_api_client/v2/models/vulnerability_ecosystem.rb +36 -0
- data/lib/datadog_api_client/v2/models/vulnerability_relationships.rb +123 -0
- data/lib/datadog_api_client/v2/models/vulnerability_relationships_affects.rb +123 -0
- data/lib/datadog_api_client/v2/models/{deployment_included.rb → vulnerability_relationships_affects_data.rb} +38 -29
- data/lib/datadog_api_client/v2/models/vulnerability_risks.rb +198 -0
- data/lib/datadog_api_client/v2/models/vulnerability_severity.rb +31 -0
- data/lib/datadog_api_client/v2/models/vulnerability_status.rb +30 -0
- data/lib/datadog_api_client/v2/models/vulnerability_tool.rb +28 -0
- data/lib/datadog_api_client/v2/models/vulnerability_type.rb +67 -0
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +194 -56
- data/examples/v2/app-deployment/DeployApp.rb +0 -11
- data/examples/v2/app-deployment/DisableApp.rb +0 -11
- data/lib/datadog_api_client/v2/api/app_deployment_api.rb +0 -168
- data/lib/datadog_api_client/v2/models/delete_apps_response_data_items_type.rb +0 -26
- data/lib/datadog_api_client/v2/models/deployment_relationship_data_type.rb +0 -26
- data/lib/datadog_api_client/v2/models/input_schema_data_attributes.rb +0 -107
- data/lib/datadog_api_client/v2/models/input_schema_data_attributes_parameters_items_data.rb +0 -105
- data/lib/datadog_api_client/v2/models/list_apps_response_data_items_type.rb +0 -26
- data/lib/datadog_api_client/v2/models/update_app_request_data_type.rb +0 -26
- data/lib/datadog_api_client/v2/models/update_app_response_data_type.rb +0 -26
- data/lib/datadog_api_client/v2/models/update_app_response_relationship.rb +0 -117
|
@@ -17,23 +17,23 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
# The
|
|
20
|
+
# A grid component. The grid component is the root canvas for an app and contains all other components.
|
|
21
21
|
class ComponentGrid
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
#
|
|
24
|
+
# Events to listen for on the grid component.
|
|
25
25
|
attr_accessor :events
|
|
26
26
|
|
|
27
|
-
# The `
|
|
27
|
+
# The ID of the grid component. This property is deprecated; use `name` to identify individual components instead.
|
|
28
28
|
attr_accessor :id
|
|
29
29
|
|
|
30
|
-
#
|
|
30
|
+
# A unique identifier for this grid component. This name is also visible in the app editor.
|
|
31
31
|
attr_reader :name
|
|
32
32
|
|
|
33
|
-
#
|
|
33
|
+
# Properties of a grid component.
|
|
34
34
|
attr_reader :properties
|
|
35
35
|
|
|
36
|
-
# The
|
|
36
|
+
# The grid component type.
|
|
37
37
|
attr_reader :type
|
|
38
38
|
|
|
39
39
|
attr_accessor :additional_properties
|
|
@@ -17,17 +17,17 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
#
|
|
20
|
+
# Properties of a grid component.
|
|
21
21
|
class ComponentGridProperties
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# The
|
|
24
|
+
# The background color of the grid.
|
|
25
25
|
attr_accessor :background_color
|
|
26
26
|
|
|
27
|
-
# The
|
|
27
|
+
# The child components of the grid.
|
|
28
28
|
attr_accessor :children
|
|
29
29
|
|
|
30
|
-
#
|
|
30
|
+
# Whether the grid component and its children are visible. If a string, it must be a valid JavaScript expression that evaluates to a boolean.
|
|
31
31
|
attr_accessor :is_visible
|
|
32
32
|
|
|
33
33
|
attr_accessor :additional_properties
|
|
@@ -17,7 +17,7 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
#
|
|
20
|
+
# Whether the grid component and its children are visible. If a string, it must be a valid JavaScript expression that evaluates to a boolean.
|
|
21
21
|
module ComponentGridPropertiesIsVisible
|
|
22
22
|
class << self
|
|
23
23
|
include BaseOneOfModel
|
|
@@ -17,14 +17,14 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
#
|
|
20
|
+
# Properties of a UI component. Different component types can have their own additional unique properties. See the [components documentation](https://docs.datadoghq.com/service_management/app_builder/components/) for more detail on each component type and its properties.
|
|
21
21
|
class ComponentProperties
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# The
|
|
24
|
+
# The child components of the UI component.
|
|
25
25
|
attr_accessor :children
|
|
26
26
|
|
|
27
|
-
#
|
|
27
|
+
# Whether the UI component is visible. If this is a string, it must be a valid JavaScript expression that evaluates to a boolean.
|
|
28
28
|
attr_accessor :is_visible
|
|
29
29
|
|
|
30
30
|
attr_accessor :additional_properties
|
|
@@ -17,7 +17,7 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
#
|
|
20
|
+
# Whether the UI component is visible. If this is a string, it must be a valid JavaScript expression that evaluates to a boolean.
|
|
21
21
|
module ComponentPropertiesIsVisible
|
|
22
22
|
class << self
|
|
23
23
|
include BaseOneOfModel
|
|
@@ -0,0 +1,123 @@
|
|
|
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
|
+
# Request used to create an action connection.
|
|
21
|
+
class CreateActionConnectionRequest
|
|
22
|
+
include BaseGenericModel
|
|
23
|
+
|
|
24
|
+
# Data related to the connection.
|
|
25
|
+
attr_reader :data
|
|
26
|
+
|
|
27
|
+
attr_accessor :additional_properties
|
|
28
|
+
|
|
29
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
30
|
+
# @!visibility private
|
|
31
|
+
def self.attribute_map
|
|
32
|
+
{
|
|
33
|
+
:'data' => :'data'
|
|
34
|
+
}
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# Attribute type mapping.
|
|
38
|
+
# @!visibility private
|
|
39
|
+
def self.openapi_types
|
|
40
|
+
{
|
|
41
|
+
:'data' => :'ActionConnectionData'
|
|
42
|
+
}
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Initializes the object
|
|
46
|
+
# @param attributes [Hash] Model attributes in the form of hash
|
|
47
|
+
# @!visibility private
|
|
48
|
+
def initialize(attributes = {})
|
|
49
|
+
if (!attributes.is_a?(Hash))
|
|
50
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CreateActionConnectionRequest` initialize method"
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
self.additional_properties = {}
|
|
54
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
55
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
56
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
57
|
+
self.additional_properties[k.to_sym] = v
|
|
58
|
+
else
|
|
59
|
+
h[k.to_sym] = v
|
|
60
|
+
end
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
if attributes.key?(:'data')
|
|
64
|
+
self.data = attributes[:'data']
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# Check to see if the all the properties in the model are valid
|
|
69
|
+
# @return true if the model is valid
|
|
70
|
+
# @!visibility private
|
|
71
|
+
def valid?
|
|
72
|
+
return false if @data.nil?
|
|
73
|
+
true
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
# Custom attribute writer method with validation
|
|
77
|
+
# @param data [Object] Object to be assigned
|
|
78
|
+
# @!visibility private
|
|
79
|
+
def data=(data)
|
|
80
|
+
if data.nil?
|
|
81
|
+
fail ArgumentError, 'invalid value for "data", data cannot be nil.'
|
|
82
|
+
end
|
|
83
|
+
@data = data
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
# Returns the object in the form of hash, with additionalProperties support.
|
|
87
|
+
# @return [Hash] Returns the object in the form of hash
|
|
88
|
+
# @!visibility private
|
|
89
|
+
def to_hash
|
|
90
|
+
hash = {}
|
|
91
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
92
|
+
value = self.send(attr)
|
|
93
|
+
if value.nil?
|
|
94
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
95
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
hash[param] = _to_hash(value)
|
|
99
|
+
end
|
|
100
|
+
self.additional_properties.each_pair do |attr, value|
|
|
101
|
+
hash[attr] = value
|
|
102
|
+
end
|
|
103
|
+
hash
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
# Checks equality by comparing each attribute.
|
|
107
|
+
# @param o [Object] Object to be compared
|
|
108
|
+
# @!visibility private
|
|
109
|
+
def ==(o)
|
|
110
|
+
return true if self.equal?(o)
|
|
111
|
+
self.class == o.class &&
|
|
112
|
+
data == o.data &&
|
|
113
|
+
additional_properties == o.additional_properties
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
# Calculates hash code according to all attributes.
|
|
117
|
+
# @return [Integer] Hash code
|
|
118
|
+
# @!visibility private
|
|
119
|
+
def hash
|
|
120
|
+
[data, additional_properties].hash
|
|
121
|
+
end
|
|
122
|
+
end
|
|
123
|
+
end
|
|
@@ -17,11 +17,11 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
# The
|
|
21
|
-
class
|
|
20
|
+
# The response for a created connection
|
|
21
|
+
class CreateActionConnectionResponse
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
#
|
|
24
|
+
# Data related to the connection.
|
|
25
25
|
attr_accessor :data
|
|
26
26
|
|
|
27
27
|
attr_accessor :additional_properties
|
|
@@ -38,7 +38,7 @@ module DatadogAPIClient::V2
|
|
|
38
38
|
# @!visibility private
|
|
39
39
|
def self.openapi_types
|
|
40
40
|
{
|
|
41
|
-
:'data' => :'
|
|
41
|
+
:'data' => :'ActionConnectionData'
|
|
42
42
|
}
|
|
43
43
|
end
|
|
44
44
|
|
|
@@ -47,7 +47,7 @@ module DatadogAPIClient::V2
|
|
|
47
47
|
# @!visibility private
|
|
48
48
|
def initialize(attributes = {})
|
|
49
49
|
if (!attributes.is_a?(Hash))
|
|
50
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::
|
|
50
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::CreateActionConnectionResponse` initialize method"
|
|
51
51
|
end
|
|
52
52
|
|
|
53
53
|
self.additional_properties = {}
|
|
@@ -17,11 +17,11 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
#
|
|
20
|
+
# A request object for creating a new app.
|
|
21
21
|
class CreateAppRequest
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# The
|
|
24
|
+
# The data object containing the app definition.
|
|
25
25
|
attr_accessor :data
|
|
26
26
|
|
|
27
27
|
attr_accessor :additional_properties
|
|
@@ -17,14 +17,14 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
# The
|
|
20
|
+
# The data object containing the app definition.
|
|
21
21
|
class CreateAppRequestData
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
#
|
|
24
|
+
# App definition attributes such as name, description, and components.
|
|
25
25
|
attr_accessor :attributes
|
|
26
26
|
|
|
27
|
-
# The definition
|
|
27
|
+
# The app definition type.
|
|
28
28
|
attr_reader :type
|
|
29
29
|
|
|
30
30
|
attr_accessor :additional_properties
|
|
@@ -43,7 +43,7 @@ module DatadogAPIClient::V2
|
|
|
43
43
|
def self.openapi_types
|
|
44
44
|
{
|
|
45
45
|
:'attributes' => :'CreateAppRequestDataAttributes',
|
|
46
|
-
:'type' => :'
|
|
46
|
+
:'type' => :'AppDefinitionType'
|
|
47
47
|
}
|
|
48
48
|
end
|
|
49
49
|
|
|
@@ -17,32 +17,26 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
#
|
|
20
|
+
# App definition attributes such as name, description, and components.
|
|
21
21
|
class CreateAppRequestDataAttributes
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# The
|
|
24
|
+
# The UI components that make up the app.
|
|
25
25
|
attr_accessor :components
|
|
26
26
|
|
|
27
|
-
#
|
|
27
|
+
# A human-readable description for the app.
|
|
28
28
|
attr_accessor :description
|
|
29
29
|
|
|
30
|
-
# The
|
|
31
|
-
attr_accessor :embedded_queries
|
|
32
|
-
|
|
33
|
-
# The definition of `InputSchema` object.
|
|
34
|
-
attr_accessor :input_schema
|
|
35
|
-
|
|
36
|
-
# The `attributes` `name`.
|
|
30
|
+
# The name of the app.
|
|
37
31
|
attr_accessor :name
|
|
38
32
|
|
|
39
|
-
#
|
|
40
|
-
attr_accessor :
|
|
33
|
+
# An array of queries, such as external actions and state variables, that the app uses.
|
|
34
|
+
attr_accessor :queries
|
|
41
35
|
|
|
42
|
-
# The `
|
|
43
|
-
attr_accessor :
|
|
36
|
+
# The name of the root component of the app. This must be a `grid` component that contains all other components.
|
|
37
|
+
attr_accessor :root_instance_name
|
|
44
38
|
|
|
45
|
-
#
|
|
39
|
+
# A list of tags for the app, which can be used to filter apps.
|
|
46
40
|
attr_accessor :tags
|
|
47
41
|
|
|
48
42
|
attr_accessor :additional_properties
|
|
@@ -53,11 +47,9 @@ module DatadogAPIClient::V2
|
|
|
53
47
|
{
|
|
54
48
|
:'components' => :'components',
|
|
55
49
|
:'description' => :'description',
|
|
56
|
-
:'embedded_queries' => :'embeddedQueries',
|
|
57
|
-
:'input_schema' => :'inputSchema',
|
|
58
50
|
:'name' => :'name',
|
|
51
|
+
:'queries' => :'queries',
|
|
59
52
|
:'root_instance_name' => :'rootInstanceName',
|
|
60
|
-
:'scripts' => :'scripts',
|
|
61
53
|
:'tags' => :'tags'
|
|
62
54
|
}
|
|
63
55
|
end
|
|
@@ -68,11 +60,9 @@ module DatadogAPIClient::V2
|
|
|
68
60
|
{
|
|
69
61
|
:'components' => :'Array<ComponentGrid>',
|
|
70
62
|
:'description' => :'String',
|
|
71
|
-
:'embedded_queries' => :'Array<Query>',
|
|
72
|
-
:'input_schema' => :'InputSchema',
|
|
73
63
|
:'name' => :'String',
|
|
64
|
+
:'queries' => :'Array<Query>',
|
|
74
65
|
:'root_instance_name' => :'String',
|
|
75
|
-
:'scripts' => :'Array<Script>',
|
|
76
66
|
:'tags' => :'Array<String>'
|
|
77
67
|
}
|
|
78
68
|
end
|
|
@@ -105,28 +95,18 @@ module DatadogAPIClient::V2
|
|
|
105
95
|
self.description = attributes[:'description']
|
|
106
96
|
end
|
|
107
97
|
|
|
108
|
-
if attributes.key?(:'embedded_queries')
|
|
109
|
-
if (value = attributes[:'embedded_queries']).is_a?(Array)
|
|
110
|
-
self.embedded_queries = value
|
|
111
|
-
end
|
|
112
|
-
end
|
|
113
|
-
|
|
114
|
-
if attributes.key?(:'input_schema')
|
|
115
|
-
self.input_schema = attributes[:'input_schema']
|
|
116
|
-
end
|
|
117
|
-
|
|
118
98
|
if attributes.key?(:'name')
|
|
119
99
|
self.name = attributes[:'name']
|
|
120
100
|
end
|
|
121
101
|
|
|
122
|
-
if attributes.key?(:'
|
|
123
|
-
|
|
102
|
+
if attributes.key?(:'queries')
|
|
103
|
+
if (value = attributes[:'queries']).is_a?(Array)
|
|
104
|
+
self.queries = value
|
|
105
|
+
end
|
|
124
106
|
end
|
|
125
107
|
|
|
126
|
-
if attributes.key?(:'
|
|
127
|
-
|
|
128
|
-
self.scripts = value
|
|
129
|
-
end
|
|
108
|
+
if attributes.key?(:'root_instance_name')
|
|
109
|
+
self.root_instance_name = attributes[:'root_instance_name']
|
|
130
110
|
end
|
|
131
111
|
|
|
132
112
|
if attributes.key?(:'tags')
|
|
@@ -164,11 +144,9 @@ module DatadogAPIClient::V2
|
|
|
164
144
|
self.class == o.class &&
|
|
165
145
|
components == o.components &&
|
|
166
146
|
description == o.description &&
|
|
167
|
-
embedded_queries == o.embedded_queries &&
|
|
168
|
-
input_schema == o.input_schema &&
|
|
169
147
|
name == o.name &&
|
|
148
|
+
queries == o.queries &&
|
|
170
149
|
root_instance_name == o.root_instance_name &&
|
|
171
|
-
scripts == o.scripts &&
|
|
172
150
|
tags == o.tags &&
|
|
173
151
|
additional_properties == o.additional_properties
|
|
174
152
|
end
|
|
@@ -177,7 +155,7 @@ module DatadogAPIClient::V2
|
|
|
177
155
|
# @return [Integer] Hash code
|
|
178
156
|
# @!visibility private
|
|
179
157
|
def hash
|
|
180
|
-
[components, description,
|
|
158
|
+
[components, description, name, queries, root_instance_name, tags, additional_properties].hash
|
|
181
159
|
end
|
|
182
160
|
end
|
|
183
161
|
end
|
|
@@ -17,11 +17,11 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
# The
|
|
20
|
+
# The response object after a new app is successfully created, with the app ID.
|
|
21
21
|
class CreateAppResponse
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# The
|
|
24
|
+
# The data object containing the app ID.
|
|
25
25
|
attr_accessor :data
|
|
26
26
|
|
|
27
27
|
attr_accessor :additional_properties
|
|
@@ -17,14 +17,14 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
# The
|
|
20
|
+
# The data object containing the app ID.
|
|
21
21
|
class CreateAppResponseData
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# The
|
|
24
|
+
# The ID of the created app.
|
|
25
25
|
attr_reader :id
|
|
26
26
|
|
|
27
|
-
# The definition
|
|
27
|
+
# The app definition type.
|
|
28
28
|
attr_reader :type
|
|
29
29
|
|
|
30
30
|
attr_accessor :additional_properties
|
|
@@ -42,8 +42,8 @@ module DatadogAPIClient::V2
|
|
|
42
42
|
# @!visibility private
|
|
43
43
|
def self.openapi_types
|
|
44
44
|
{
|
|
45
|
-
:'id' => :'
|
|
46
|
-
:'type' => :'
|
|
45
|
+
:'id' => :'UUID',
|
|
46
|
+
:'type' => :'AppDefinitionType'
|
|
47
47
|
}
|
|
48
48
|
end
|
|
49
49
|
|
|
@@ -24,13 +24,17 @@ module DatadogAPIClient::V2
|
|
|
24
24
|
# Attributes for creating a data deletion request.
|
|
25
25
|
attr_reader :attributes
|
|
26
26
|
|
|
27
|
+
# The deletion request type.
|
|
28
|
+
attr_reader :type
|
|
29
|
+
|
|
27
30
|
attr_accessor :additional_properties
|
|
28
31
|
|
|
29
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
30
33
|
# @!visibility private
|
|
31
34
|
def self.attribute_map
|
|
32
35
|
{
|
|
33
|
-
:'attributes' => :'attributes'
|
|
36
|
+
:'attributes' => :'attributes',
|
|
37
|
+
:'type' => :'type'
|
|
34
38
|
}
|
|
35
39
|
end
|
|
36
40
|
|
|
@@ -38,7 +42,8 @@ module DatadogAPIClient::V2
|
|
|
38
42
|
# @!visibility private
|
|
39
43
|
def self.openapi_types
|
|
40
44
|
{
|
|
41
|
-
:'attributes' => :'CreateDataDeletionRequestBodyAttributes'
|
|
45
|
+
:'attributes' => :'CreateDataDeletionRequestBodyAttributes',
|
|
46
|
+
:'type' => :'CreateDataDeletionRequestBodyDataType'
|
|
42
47
|
}
|
|
43
48
|
end
|
|
44
49
|
|
|
@@ -63,6 +68,10 @@ module DatadogAPIClient::V2
|
|
|
63
68
|
if attributes.key?(:'attributes')
|
|
64
69
|
self.attributes = attributes[:'attributes']
|
|
65
70
|
end
|
|
71
|
+
|
|
72
|
+
if attributes.key?(:'type')
|
|
73
|
+
self.type = attributes[:'type']
|
|
74
|
+
end
|
|
66
75
|
end
|
|
67
76
|
|
|
68
77
|
# Check to see if the all the properties in the model are valid
|
|
@@ -70,6 +79,7 @@ module DatadogAPIClient::V2
|
|
|
70
79
|
# @!visibility private
|
|
71
80
|
def valid?
|
|
72
81
|
return false if @attributes.nil?
|
|
82
|
+
return false if @type.nil?
|
|
73
83
|
true
|
|
74
84
|
end
|
|
75
85
|
|
|
@@ -83,6 +93,16 @@ module DatadogAPIClient::V2
|
|
|
83
93
|
@attributes = attributes
|
|
84
94
|
end
|
|
85
95
|
|
|
96
|
+
# Custom attribute writer method with validation
|
|
97
|
+
# @param type [Object] Object to be assigned
|
|
98
|
+
# @!visibility private
|
|
99
|
+
def type=(type)
|
|
100
|
+
if type.nil?
|
|
101
|
+
fail ArgumentError, 'invalid value for "type", type cannot be nil.'
|
|
102
|
+
end
|
|
103
|
+
@type = type
|
|
104
|
+
end
|
|
105
|
+
|
|
86
106
|
# Returns the object in the form of hash, with additionalProperties support.
|
|
87
107
|
# @return [Hash] Returns the object in the form of hash
|
|
88
108
|
# @!visibility private
|
|
@@ -110,6 +130,7 @@ module DatadogAPIClient::V2
|
|
|
110
130
|
return true if self.equal?(o)
|
|
111
131
|
self.class == o.class &&
|
|
112
132
|
attributes == o.attributes &&
|
|
133
|
+
type == o.type &&
|
|
113
134
|
additional_properties == o.additional_properties
|
|
114
135
|
end
|
|
115
136
|
|
|
@@ -117,7 +138,7 @@ module DatadogAPIClient::V2
|
|
|
117
138
|
# @return [Integer] Hash code
|
|
118
139
|
# @!visibility private
|
|
119
140
|
def hash
|
|
120
|
-
[attributes, additional_properties].hash
|
|
141
|
+
[attributes, type, additional_properties].hash
|
|
121
142
|
end
|
|
122
143
|
end
|
|
123
144
|
end
|
|
@@ -17,10 +17,10 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
# The
|
|
21
|
-
class
|
|
20
|
+
# The deletion request type.
|
|
21
|
+
class CreateDataDeletionRequestBodyDataType
|
|
22
22
|
include BaseEnumModel
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
CREATE_DELETION_REQ = "create_deletion_req".freeze
|
|
25
25
|
end
|
|
26
26
|
end
|