datadog_api_client 2.53.0 → 2.54.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/.generator/schemas/v1/openapi.yaml +2514 -18
- data/.generator/schemas/v2/openapi.yaml +17639 -617
- data/CHANGELOG.md +55 -0
- data/examples/v1/azure-integration/UpdateAzureHostFilters.rb +1 -0
- data/examples/v1/azure-integration/UpdateAzureIntegration.rb +1 -0
- data/examples/v1/dashboards/CreateDashboard_2049446128.rb +42 -0
- data/examples/v2/agentless-scanning/CreateAwsScanOptions.rb +1 -0
- data/examples/v2/app-builder/CreatePublishRequest.rb +15 -0
- data/examples/v2/app-builder/ListAppVersions.rb +5 -0
- data/examples/v2/app-builder/RevertApp.rb +5 -0
- data/examples/v2/app-builder/UpdateAppFavorite.rb +14 -0
- data/examples/v2/app-builder/UpdateAppSelfService.rb +14 -0
- data/examples/v2/app-builder/UpdateAppTags.rb +17 -0
- data/examples/v2/app-builder/UpdateAppVersionName.rb +14 -0
- data/examples/v2/app-builder/UpdateProtectionLevel.rb +14 -0
- data/examples/v2/cloud-cost-management/GetCommitmentsCommitmentList.rb +8 -0
- data/examples/v2/cloud-cost-management/GetCommitmentsCoverageScalar.rb +8 -0
- data/examples/v2/cloud-cost-management/GetCommitmentsCoverageTimeseries.rb +8 -0
- data/examples/v2/cloud-cost-management/GetCommitmentsOnDemandHotspotsScalar.rb +8 -0
- data/examples/v2/cloud-cost-management/GetCommitmentsSavingsScalar.rb +8 -0
- data/examples/v2/cloud-cost-management/GetCommitmentsSavingsTimeseries.rb +8 -0
- data/examples/v2/cloud-cost-management/GetCommitmentsUtilizationScalar.rb +8 -0
- data/examples/v2/cloud-cost-management/GetCommitmentsUtilizationTimeseries.rb +8 -0
- data/examples/v2/cloud-cost-management/GetCostAnomaly.rb +8 -0
- data/examples/v2/cloud-cost-management/GetCostTagKey.rb +5 -0
- data/examples/v2/cloud-cost-management/ListCostAnomalies.rb +8 -0
- data/examples/v2/cloud-cost-management/ListCostOCIConfigs.rb +5 -0
- data/examples/v2/cloud-cost-management/ListCostTagDescriptions.rb +5 -0
- data/examples/v2/cloud-cost-management/ListCostTagKeys.rb +5 -0
- data/examples/v2/cloud-cost-management/ListCostTags.rb +5 -0
- data/examples/v2/cloud-cost-management/ListCustomAllocationRulesStatus.rb +5 -0
- data/examples/v2/cloud-cost-management/ListTagPipelinesRulesetsStatus.rb +5 -0
- data/examples/v2/compliance/GetRuleBasedView.rb +8 -0
- data/examples/v2/feature-flags/ListFeatureFlags.rb +4 -1
- data/examples/v2/key-management/Validate.rb +8 -0
- data/examples/v2/key-management/ValidateAPIKey.rb +5 -0
- data/examples/v2/llm-observability/CreateLLMObsAnnotationQueue.rb +23 -1
- data/examples/v2/llm-observability/GetLLMObsAnnotationQueueLabelSchema.rb +8 -0
- data/examples/v2/llm-observability/UpdateLLMObsAnnotationQueue.rb +22 -0
- data/examples/v2/llm-observability/UpdateLLMObsAnnotationQueueLabelSchema.rb +38 -0
- data/examples/v2/logs-archives/CreateLogsArchive.rb +1 -0
- data/examples/v2/logs-archives/UpdateLogsArchive.rb +1 -0
- data/examples/v2/organizations/ListOrgs.rb +5 -0
- data/examples/v2/security-monitoring/BulkDeleteSecurityMonitoringRules.rb +17 -0
- data/examples/v2/security-monitoring/MuteSecurityFindings.rb +33 -0
- data/examples/v2/security-monitoring/MuteSecurityFindings_298521544.rb +31 -0
- data/examples/v2/security-monitoring/MuteSecurityFindings_3830190821.rb +32 -0
- data/examples/v2/security-monitoring/ValidateSecurityMonitoringRule_2609327779.rb +2 -2
- data/examples/v2/status-pages/CreateBackfilledDegradation.rb +53 -0
- data/examples/v2/status-pages/CreateBackfilledMaintenance.rb +42 -0
- data/examples/v2/status-pages/CreateStatusPage.rb +0 -1
- data/examples/v2/status-pages/PublishStatusPage.rb +3 -3
- data/examples/v2/status-pages/UnpublishStatusPage.rb +1 -4
- data/examples/v2/storage-management/UpsertSyncConfig.rb +34 -0
- data/examples/v2/synthetics/AddTestToSyntheticsDowntime.rb +5 -0
- data/examples/v2/synthetics/CreateSyntheticsDowntime.rb +31 -0
- data/examples/v2/synthetics/DeleteSyntheticsDowntime.rb +5 -0
- data/examples/v2/synthetics/GetSyntheticsDowntime.rb +5 -0
- data/examples/v2/synthetics/ListSyntheticsDowntimes.rb +5 -0
- data/examples/v2/synthetics/RemoveTestFromSyntheticsDowntime.rb +5 -0
- data/examples/v2/synthetics/UpdateSyntheticsDowntime.rb +31 -0
- data/examples/v2/test-optimization/DeleteTestOptimizationServiceSettings.rb +0 -3
- data/examples/v2/test-optimization/GetFlakyTestsManagementPolicies.rb +0 -3
- data/examples/v2/test-optimization/GetTestOptimizationServiceSettings.rb +0 -3
- data/examples/v2/test-optimization/SearchFlakyTests.rb +0 -3
- data/examples/v2/test-optimization/SearchFlakyTests_1224086727.rb +0 -3
- data/examples/v2/test-optimization/UpdateFlakyTests.rb +0 -3
- data/examples/v2/test-optimization/UpdateFlakyTestsManagementPolicies.rb +0 -3
- data/examples/v2/test-optimization/UpdateTestOptimizationServiceSettings.rb +0 -3
- data/examples/v2/users/DeleteUserInvitations.rb +5 -0
- data/examples/v2/users/GetCurrentUser.rb +5 -0
- data/examples/v2/users/UpdateCurrentUser.rb +15 -0
- data/examples/v2/web-integrations/CreateWebIntegrationAccount.rb +19 -0
- data/examples/v2/web-integrations/DeleteWebIntegrationAccount.rb +8 -0
- data/examples/v2/web-integrations/GetWebIntegrationAccount.rb +8 -0
- data/examples/v2/web-integrations/ListWebIntegrationAccounts.rb +8 -0
- data/examples/v2/web-integrations/UpdateWebIntegrationAccount.rb +19 -0
- data/lib/datadog_api_client/configuration.rb +20 -12
- data/lib/datadog_api_client/inflector.rb +213 -16
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +3 -3
- data/lib/datadog_api_client/v1/models/azure_account.rb +11 -1
- data/lib/datadog_api_client/v1/models/data_projection_query.rb +166 -0
- data/lib/datadog_api_client/v1/models/data_projection_request_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_query_definition.rb +4 -1
- data/lib/datadog_api_client/v1/models/formula_and_function_events_data_source.rb +1 -0
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +2 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +21 -1
- data/lib/datadog_api_client/v1/models/point_plot_dimension.rb +29 -0
- data/lib/datadog_api_client/v1/models/point_plot_projection.rb +158 -0
- data/lib/datadog_api_client/v1/models/point_plot_projection_dimension.rb +154 -0
- data/lib/datadog_api_client/v1/models/point_plot_projection_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/point_plot_widget_definition.rb +240 -0
- data/lib/datadog_api_client/v1/models/point_plot_widget_definition_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/point_plot_widget_legend.rb +123 -0
- data/lib/datadog_api_client/v1/models/point_plot_widget_legend_type.rb +27 -0
- data/lib/datadog_api_client/v1/models/point_plot_widget_request.rb +175 -0
- data/lib/datadog_api_client/v1/models/sankey_rum_data_source.rb +1 -1
- data/lib/datadog_api_client/v1/models/sankey_rum_query.rb +3 -3
- data/lib/datadog_api_client/v1/models/sankey_rum_query_mode.rb +1 -1
- data/lib/datadog_api_client/v1/models/sankey_rum_request.rb +2 -2
- data/lib/datadog_api_client/v1/models/sunburst_widget_request.rb +11 -1
- data/lib/datadog_api_client/v1/models/tree_map_widget_request.rb +23 -3
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +121 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +121 -1
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +121 -1
- data/lib/datadog_api_client/v1/models/widget_definition.rb +1 -0
- data/lib/datadog_api_client/v2/api/app_builder_api.rb +578 -0
- data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +1580 -173
- data/lib/datadog_api_client/v2/api/compliance_api.rb +111 -0
- data/lib/datadog_api_client/v2/api/key_management_api.rb +129 -0
- data/lib/datadog_api_client/v2/api/llm_observability_api.rb +159 -5
- data/lib/datadog_api_client/v2/api/metrics_api.rb +9 -5
- data/lib/datadog_api_client/v2/api/organizations_api.rb +62 -0
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +143 -0
- data/lib/datadog_api_client/v2/api/status_pages_api.rb +149 -1
- data/lib/datadog_api_client/v2/api/storage_management_api.rb +93 -0
- data/lib/datadog_api_client/v2/api/synthetics_api.rb +473 -0
- data/lib/datadog_api_client/v2/api/test_optimization_api.rb +0 -42
- data/lib/datadog_api_client/v2/api/users_api.rb +201 -0
- data/lib/datadog_api_client/v2/api/web_integrations_api.rb +410 -0
- data/lib/datadog_api_client/v2/api/widgets_api.rb +13 -4
- data/lib/datadog_api_client/v2/models/apm_dependency_stats_query.rb +24 -1
- data/lib/datadog_api_client/v2/models/apm_metrics_query.rb +24 -1
- data/lib/datadog_api_client/v2/models/apm_resource_stats_query.rb +24 -1
- data/lib/datadog_api_client/v2/models/{security_monitoring_rule_new_value_options_forget_after.rb → app_favorite_type.rb} +3 -8
- data/lib/datadog_api_client/v2/models/{security_monitoring_rule_new_value_options_learning_duration.rb → app_protection_level.rb} +4 -6
- data/lib/datadog_api_client/v2/models/app_protection_level_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/app_self_service_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/{incident_team_type.rb → app_tags_type.rb} +3 -3
- data/lib/datadog_api_client/v2/models/{incident_team_response_data.rb → app_version.rb} +10 -20
- data/lib/datadog_api_client/v2/models/app_version_attributes.rb +185 -0
- data/lib/datadog_api_client/v2/models/app_version_name_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/app_version_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/arbitrary_rule_status_response_array.rb +125 -0
- data/lib/datadog_api_client/v2/models/arbitrary_rule_status_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/arbitrary_rule_status_response_data_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/arbitrary_rule_status_response_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/aws_scan_options_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/aws_scan_options_create_attributes.rb +22 -1
- data/lib/datadog_api_client/v2/models/aws_scan_options_update_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/azure_scan_options_data_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/azure_scan_options_input_update_data_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/cloud_inventory_cloud_provider_id.rb +28 -0
- data/lib/datadog_api_client/v2/models/cloud_inventory_cloud_provider_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/cloud_inventory_sync_config_attributes.rb +396 -0
- data/lib/datadog_api_client/v2/models/cloud_inventory_sync_config_aws_request_attributes.rb +175 -0
- data/lib/datadog_api_client/v2/models/cloud_inventory_sync_config_azure_request_attributes.rb +228 -0
- data/lib/datadog_api_client/v2/models/cloud_inventory_sync_config_gcp_request_attributes.rb +186 -0
- data/lib/datadog_api_client/v2/models/cloud_inventory_sync_config_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/cloud_inventory_sync_config_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/cloud_inventory_sync_config_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/commitments_aws_ec2_ri_commitment.rb +298 -0
- data/lib/datadog_api_client/v2/models/commitments_aws_elasticache_ri_commitment.rb +267 -0
- data/lib/datadog_api_client/v2/models/commitments_aws_rdsri_commitment.rb +277 -0
- data/lib/datadog_api_client/v2/models/commitments_aws_sp_commitment.rb +215 -0
- data/lib/datadog_api_client/v2/models/commitments_azure_compute_sp_commitment.rb +194 -0
- data/lib/datadog_api_client/v2/models/commitments_azure_vmri_commitment.rb +268 -0
- data/lib/datadog_api_client/v2/models/commitments_azure_vmri_status.rb +28 -0
- data/lib/datadog_api_client/v2/models/commitments_commitment_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/commitments_coverage_scalar_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/commitments_coverage_timeseries_response.rb +144 -0
- data/lib/datadog_api_client/v2/models/{incident_team_included_items.rb → commitments_list_item.rb} +8 -3
- data/lib/datadog_api_client/v2/models/commitments_list_meta.rb +105 -0
- data/lib/datadog_api_client/v2/models/commitments_list_response.rb +135 -0
- data/lib/datadog_api_client/v2/models/commitments_on_demand_hotspots_scalar_meta.rb +123 -0
- data/lib/datadog_api_client/v2/models/commitments_on_demand_hotspots_scalar_response.rb +158 -0
- data/lib/datadog_api_client/v2/models/commitments_provider.rb +27 -0
- data/lib/datadog_api_client/v2/models/commitments_savings_scalar_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/commitments_savings_timeseries_response.rb +186 -0
- data/lib/datadog_api_client/v2/models/commitments_scalar_column.rb +177 -0
- data/lib/datadog_api_client/v2/models/commitments_scalar_column_meta.rb +123 -0
- data/lib/datadog_api_client/v2/models/commitments_scalar_column_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/commitments_timeseries_metric.rb +156 -0
- data/lib/datadog_api_client/v2/models/commitments_unit.rb +228 -0
- data/lib/datadog_api_client/v2/models/commitments_utilization_scalar_product_breakdown_entry.rb +144 -0
- data/lib/datadog_api_client/v2/models/{incident_teams_response.rb → commitments_utilization_scalar_response.rb} +26 -36
- data/lib/datadog_api_client/v2/models/commitments_utilization_timeseries_response.rb +156 -0
- data/lib/datadog_api_client/v2/models/container_scalar_query.rb +24 -1
- data/lib/datadog_api_client/v2/models/container_timeseries_query.rb +24 -1
- data/lib/datadog_api_client/v2/models/cost_anomalies_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/cost_anomalies_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/cost_anomalies_response_data_attributes.rb +209 -0
- data/lib/datadog_api_client/v2/models/cost_anomalies_response_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/cost_anomaly.rb +319 -0
- data/lib/datadog_api_client/v2/models/cost_anomaly_dismissal.rb +207 -0
- data/lib/datadog_api_client/v2/models/cost_anomaly_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/cost_anomaly_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/cost_tag.rb +165 -0
- data/lib/datadog_api_client/v2/models/cost_tag_attributes.rb +146 -0
- data/lib/datadog_api_client/v2/models/cost_tag_description.rb +165 -0
- data/lib/datadog_api_client/v2/models/cost_tag_description_attributes.rb +228 -0
- data/lib/datadog_api_client/v2/models/cost_tag_description_source.rb +28 -0
- data/lib/datadog_api_client/v2/models/cost_tag_description_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/cost_tag_descriptions_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/cost_tag_key.rb +165 -0
- data/lib/datadog_api_client/v2/models/cost_tag_key_attributes.rb +156 -0
- data/lib/datadog_api_client/v2/models/cost_tag_key_details.rb +146 -0
- data/lib/datadog_api_client/v2/models/{incident_team_create_request.rb → cost_tag_key_response.rb} +5 -5
- data/lib/datadog_api_client/v2/models/cost_tag_key_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/cost_tag_keys_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/cost_tag_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/cost_tags_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/create_backfilled_degradation_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/{incident_team_create_data.rb → create_backfilled_degradation_request_data.rb} +8 -18
- data/lib/datadog_api_client/v2/models/create_backfilled_degradation_request_data_attributes.rb +146 -0
- data/lib/datadog_api_client/v2/models/create_backfilled_degradation_request_data_attributes_updates_items.rb +166 -0
- data/lib/datadog_api_client/v2/models/create_backfilled_maintenance_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/{incident_team_update_data.rb → create_backfilled_maintenance_request_data.rb} +8 -28
- data/lib/datadog_api_client/v2/models/create_backfilled_maintenance_request_data_attributes.rb +154 -0
- data/lib/datadog_api_client/v2/models/create_backfilled_maintenance_request_data_attributes_updates_items.rb +188 -0
- data/lib/datadog_api_client/v2/models/create_degradation_request_data_attributes.rb +15 -3
- data/lib/datadog_api_client/v2/models/create_degradation_request_data_attributes_updates_items.rb +188 -0
- data/lib/datadog_api_client/v2/models/create_degradation_request_data_attributes_updates_items_components_affected_items.rb +154 -0
- data/lib/datadog_api_client/v2/models/create_maintenance_request_data_attributes.rb +15 -3
- data/lib/datadog_api_client/v2/models/create_maintenance_request_data_attributes_updates_items.rb +188 -0
- data/lib/datadog_api_client/v2/models/create_maintenance_request_data_attributes_updates_items_components_affected_items.rb +154 -0
- data/lib/datadog_api_client/v2/models/create_maintenance_request_data_attributes_updates_items_status.rb +27 -0
- data/lib/datadog_api_client/v2/models/create_publish_request_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/{incident_team_relationships.rb → create_publish_request_request_data.rb} +18 -18
- data/lib/datadog_api_client/v2/models/create_publish_request_request_data_attributes.rb +133 -0
- data/lib/datadog_api_client/v2/models/create_status_page_request_data_attributes.rb +1 -22
- data/lib/datadog_api_client/v2/models/events_scalar_query.rb +24 -1
- data/lib/datadog_api_client/v2/models/events_timeseries_query.rb +24 -1
- data/lib/datadog_api_client/v2/models/feature_flag_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/feature_flag_environment.rb +1 -38
- data/lib/datadog_api_client/v2/models/feature_flag_environment_list_item.rb +246 -0
- data/lib/datadog_api_client/v2/models/feature_flag_list_item.rb +165 -0
- data/lib/datadog_api_client/v2/models/feature_flag_list_item_attributes.rb +332 -0
- data/lib/datadog_api_client/v2/models/gcp_scan_options_data_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/gcp_scan_options_input_update_data_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_attributes.rb +1 -0
- data/lib/datadog_api_client/v2/models/issue_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/issue_regression.rb +154 -0
- data/lib/datadog_api_client/v2/models/issues_search_request_data_attributes.rb +24 -1
- data/lib/datadog_api_client/v2/models/list_app_versions_response.rb +117 -0
- data/lib/datadog_api_client/v2/models/list_feature_flags_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_annotated_interaction_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_data_attributes_request.rb +11 -1
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_data_attributes_response.rb +11 -1
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_interaction_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_interaction_response_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_label_schema_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_label_schema_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_label_schema_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_label_schema_update_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_label_schema_update_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_label_schema_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_queue_update_data_attributes_request.rb +11 -1
- data/lib/datadog_api_client/v2/models/llm_obs_annotation_schema.rb +125 -0
- data/lib/datadog_api_client/v2/models/llm_obs_interaction_type.rb +1 -0
- data/lib/datadog_api_client/v2/models/llm_obs_label_schema.rb +246 -0
- data/lib/datadog_api_client/v2/models/llm_obs_label_schema_type.rb +29 -0
- data/lib/datadog_api_client/v2/models/logs_archive_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/logs_archive_attributes_compression_method.rb +27 -0
- data/lib/datadog_api_client/v2/models/logs_archive_create_request_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/managed_orgs_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/{incident_team_update_request.rb → managed_orgs_relationship_to_org.rb} +5 -5
- data/lib/datadog_api_client/v2/models/managed_orgs_relationship_to_orgs.rb +125 -0
- data/lib/datadog_api_client/v2/models/managed_orgs_relationships.rb +144 -0
- data/lib/datadog_api_client/v2/models/{incident_team_response.rb → managed_orgs_response.rb} +19 -8
- data/lib/datadog_api_client/v2/models/managed_orgs_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/metrics_scalar_query.rb +24 -1
- data/lib/datadog_api_client/v2/models/metrics_timeseries_query.rb +24 -1
- data/lib/datadog_api_client/v2/models/mute_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/mute_findings_mute_attributes.rb +164 -0
- data/lib/datadog_api_client/v2/models/mute_findings_reason.rb +34 -0
- data/lib/datadog_api_client/v2/models/mute_findings_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/mute_findings_request_data.rb +175 -0
- data/lib/datadog_api_client/v2/models/mute_findings_request_data_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/mute_findings_request_data_relationships.rb +123 -0
- data/lib/datadog_api_client/v2/models/mute_findings_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/mute_findings_response_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_config_destination_item.rb +1 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_databricks_zerobus_destination.rb +263 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_databricks_zerobus_destination_auth.rb +133 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_databricks_zerobus_destination_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/oci_config.rb +165 -0
- data/lib/datadog_api_client/v2/models/oci_config_attributes.rb +227 -0
- data/lib/datadog_api_client/v2/models/oci_config_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/oci_configs_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/org_attributes.rb +270 -0
- data/lib/datadog_api_client/v2/models/org_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/org_group_list_response.rb +12 -2
- data/lib/datadog_api_client/v2/models/org_group_membership_list_response.rb +12 -2
- data/lib/datadog_api_client/v2/models/org_group_pagination_links.rb +154 -0
- data/lib/datadog_api_client/v2/models/org_group_pagination_meta.rb +3 -21
- data/lib/datadog_api_client/v2/models/org_group_pagination_meta_page.rb +86 -24
- data/lib/datadog_api_client/v2/models/org_group_policy_list_response.rb +12 -2
- data/lib/datadog_api_client/v2/models/org_group_policy_override_list_response.rb +12 -2
- data/lib/datadog_api_client/v2/models/org_relationship_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/org_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/process_scalar_query.rb +24 -1
- data/lib/datadog_api_client/v2/models/process_timeseries_query.rb +24 -1
- data/lib/datadog_api_client/v2/models/publish_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/routing_rule_action.rb +2 -1
- data/lib/datadog_api_client/v2/models/rule_based_view_attributes.rb +146 -0
- data/lib/datadog_api_client/v2/models/rule_based_view_compliance_framework.rb +155 -0
- data/lib/datadog_api_client/v2/models/rule_based_view_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/rule_based_view_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/rule_based_view_rule.rb +339 -0
- data/lib/datadog_api_client/v2/models/rule_based_view_rule_category.rb +28 -0
- data/lib/datadog_api_client/v2/models/rule_based_view_rule_stats.rb +165 -0
- data/lib/datadog_api_client/v2/models/rule_based_view_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/ruleset_status_resp_array.rb +125 -0
- data/lib/datadog_api_client/v2/models/ruleset_status_resp_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/ruleset_status_resp_data_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/ruleset_status_resp_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/security_entity_risk_score_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_bulk_delete_attributes.rb +129 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_bulk_delete_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_bulk_delete_payload.rb +123 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_bulk_delete_request_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_bulk_delete_response.rb +119 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_new_value_options.rb +41 -4
- data/lib/datadog_api_client/v2/models/slo_query.rb +24 -1
- data/lib/datadog_api_client/v2/models/synthetics_downtime_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtime_data_attributes_request.rb +212 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtime_data_attributes_response.rb +360 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtime_data_request.rb +144 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtime_frequency.rb +29 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtime_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtime_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtime_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtime_time_slot_date.rb +207 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtime_time_slot_recurrence_request.rb +155 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtime_time_slot_recurrence_response.rb +177 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtime_time_slot_request.rb +185 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtime_time_slot_response.rb +206 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtime_weekday.rb +32 -0
- data/lib/datadog_api_client/v2/models/synthetics_downtimes_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/trigger_workflow_automation_action.rb +144 -0
- data/lib/datadog_api_client/v2/models/trigger_workflow_automation_action_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/update_app_favorite_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/update_app_favorite_request_data.rb +115 -0
- data/lib/datadog_api_client/v2/models/update_app_favorite_request_data_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/update_app_protection_level_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/update_app_protection_level_request_data.rb +115 -0
- data/lib/datadog_api_client/v2/models/update_app_protection_level_request_data_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/update_app_self_service_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/update_app_self_service_request_data.rb +115 -0
- data/lib/datadog_api_client/v2/models/update_app_self_service_request_data_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/update_app_tags_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/update_app_tags_request_data.rb +115 -0
- data/lib/datadog_api_client/v2/models/update_app_tags_request_data_attributes.rb +125 -0
- data/lib/datadog_api_client/v2/models/update_app_version_name_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/update_app_version_name_request_data.rb +115 -0
- data/lib/datadog_api_client/v2/models/{incident_team_create_attributes.rb → update_app_version_name_request_data_attributes.rb} +4 -4
- data/lib/datadog_api_client/v2/models/upsert_cloud_inventory_sync_config_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/upsert_cloud_inventory_sync_config_request_attributes.rb +125 -0
- data/lib/datadog_api_client/v2/models/upsert_cloud_inventory_sync_config_request_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/user_attributes.rb +15 -14
- data/lib/datadog_api_client/v2/models/user_update_attributes.rb +27 -6
- data/lib/datadog_api_client/v2/models/validate_api_key_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/validate_api_key_status.rb +26 -0
- data/lib/datadog_api_client/v2/models/validate_v2_attributes.rb +167 -0
- data/lib/datadog_api_client/v2/models/validate_v2_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/validate_v2_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/validate_v2_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/web_integration_account_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/web_integration_account_create_request_attributes.rb +166 -0
- data/lib/datadog_api_client/v2/models/web_integration_account_create_request_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/web_integration_account_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/{incident_team_update_attributes.rb → web_integration_account_response_attributes.rb} +17 -7
- data/lib/datadog_api_client/v2/models/web_integration_account_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/web_integration_account_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/web_integration_account_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/{incident_team_response_attributes.rb → web_integration_account_update_request_attributes.rb} +25 -24
- data/lib/datadog_api_client/v2/models/web_integration_account_update_request_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/web_integration_accounts_response.rb +107 -0
- data/lib/datadog_api_client/v2/models/widget_attributes.rb +5 -1
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +268 -22
- data/examples/v2/incident-teams/CreateIncidentTeam.rb +0 -17
- data/examples/v2/incident-teams/DeleteIncidentTeam.rb +0 -11
- data/examples/v2/incident-teams/GetIncidentTeam.rb +0 -11
- data/examples/v2/incident-teams/ListIncidentTeams.rb +0 -14
- data/examples/v2/incident-teams/UpdateIncidentTeam.rb +0 -21
- data/lib/datadog_api_client/v2/api/incident_teams_api.rb +0 -419
data/lib/datadog_api_client/v2/models/observability_pipeline_databricks_zerobus_destination_auth.rb
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
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
|
+
# OAuth credentials for authenticating with the Databricks Zerobus ingestion API.
|
|
21
|
+
class ObservabilityPipelineDatabricksZerobusDestinationAuth
|
|
22
|
+
include BaseGenericModel
|
|
23
|
+
|
|
24
|
+
# Your service principal application ID (UUID).
|
|
25
|
+
attr_reader :client_id
|
|
26
|
+
|
|
27
|
+
# Name of the environment variable or secret that holds the OAuth client secret used to authenticate with the Databricks ingestion endpoint.
|
|
28
|
+
attr_accessor :client_secret_key
|
|
29
|
+
|
|
30
|
+
attr_accessor :additional_properties
|
|
31
|
+
|
|
32
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
33
|
+
# @!visibility private
|
|
34
|
+
def self.attribute_map
|
|
35
|
+
{
|
|
36
|
+
:'client_id' => :'client_id',
|
|
37
|
+
:'client_secret_key' => :'client_secret_key'
|
|
38
|
+
}
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# Attribute type mapping.
|
|
42
|
+
# @!visibility private
|
|
43
|
+
def self.openapi_types
|
|
44
|
+
{
|
|
45
|
+
:'client_id' => :'String',
|
|
46
|
+
:'client_secret_key' => :'String'
|
|
47
|
+
}
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Initializes the object
|
|
51
|
+
# @param attributes [Hash] Model attributes in the form of hash
|
|
52
|
+
# @!visibility private
|
|
53
|
+
def initialize(attributes = {})
|
|
54
|
+
if (!attributes.is_a?(Hash))
|
|
55
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::ObservabilityPipelineDatabricksZerobusDestinationAuth` initialize method"
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
self.additional_properties = {}
|
|
59
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
60
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
61
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
62
|
+
self.additional_properties[k.to_sym] = v
|
|
63
|
+
else
|
|
64
|
+
h[k.to_sym] = v
|
|
65
|
+
end
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
if attributes.key?(:'client_id')
|
|
69
|
+
self.client_id = attributes[:'client_id']
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
if attributes.key?(:'client_secret_key')
|
|
73
|
+
self.client_secret_key = attributes[:'client_secret_key']
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# Check to see if the all the properties in the model are valid
|
|
78
|
+
# @return true if the model is valid
|
|
79
|
+
# @!visibility private
|
|
80
|
+
def valid?
|
|
81
|
+
return false if @client_id.nil?
|
|
82
|
+
true
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# Custom attribute writer method with validation
|
|
86
|
+
# @param client_id [Object] Object to be assigned
|
|
87
|
+
# @!visibility private
|
|
88
|
+
def client_id=(client_id)
|
|
89
|
+
if client_id.nil?
|
|
90
|
+
fail ArgumentError, 'invalid value for "client_id", client_id cannot be nil.'
|
|
91
|
+
end
|
|
92
|
+
@client_id = client_id
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
# Returns the object in the form of hash, with additionalProperties support.
|
|
96
|
+
# @return [Hash] Returns the object in the form of hash
|
|
97
|
+
# @!visibility private
|
|
98
|
+
def to_hash
|
|
99
|
+
hash = {}
|
|
100
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
101
|
+
value = self.send(attr)
|
|
102
|
+
if value.nil?
|
|
103
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
104
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
hash[param] = _to_hash(value)
|
|
108
|
+
end
|
|
109
|
+
self.additional_properties.each_pair do |attr, value|
|
|
110
|
+
hash[attr] = value
|
|
111
|
+
end
|
|
112
|
+
hash
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
# Checks equality by comparing each attribute.
|
|
116
|
+
# @param o [Object] Object to be compared
|
|
117
|
+
# @!visibility private
|
|
118
|
+
def ==(o)
|
|
119
|
+
return true if self.equal?(o)
|
|
120
|
+
self.class == o.class &&
|
|
121
|
+
client_id == o.client_id &&
|
|
122
|
+
client_secret_key == o.client_secret_key &&
|
|
123
|
+
additional_properties == o.additional_properties
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
# Calculates hash code according to all attributes.
|
|
127
|
+
# @return [Integer] Hash code
|
|
128
|
+
# @!visibility private
|
|
129
|
+
def hash
|
|
130
|
+
[client_id, client_secret_key, additional_properties].hash
|
|
131
|
+
end
|
|
132
|
+
end
|
|
133
|
+
end
|
data/lib/datadog_api_client/v2/models/observability_pipeline_databricks_zerobus_destination_type.rb
ADDED
|
@@ -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 destination type. The value must be `databricks_zerobus`.
|
|
21
|
+
class ObservabilityPipelineDatabricksZerobusDestinationType
|
|
22
|
+
include BaseEnumModel
|
|
23
|
+
|
|
24
|
+
DATABRICKS_ZEROBUS = "databricks_zerobus".freeze
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,165 @@
|
|
|
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
|
+
# OCI config.
|
|
21
|
+
class OCIConfig
|
|
22
|
+
include BaseGenericModel
|
|
23
|
+
|
|
24
|
+
# Attributes for an OCI config.
|
|
25
|
+
attr_reader :attributes
|
|
26
|
+
|
|
27
|
+
# The ID of the OCI config.
|
|
28
|
+
attr_reader :id
|
|
29
|
+
|
|
30
|
+
# Type of OCI config.
|
|
31
|
+
attr_reader :type
|
|
32
|
+
|
|
33
|
+
attr_accessor :additional_properties
|
|
34
|
+
|
|
35
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
36
|
+
# @!visibility private
|
|
37
|
+
def self.attribute_map
|
|
38
|
+
{
|
|
39
|
+
:'attributes' => :'attributes',
|
|
40
|
+
:'id' => :'id',
|
|
41
|
+
:'type' => :'type'
|
|
42
|
+
}
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Attribute type mapping.
|
|
46
|
+
# @!visibility private
|
|
47
|
+
def self.openapi_types
|
|
48
|
+
{
|
|
49
|
+
:'attributes' => :'OCIConfigAttributes',
|
|
50
|
+
:'id' => :'String',
|
|
51
|
+
:'type' => :'OCIConfigType'
|
|
52
|
+
}
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# Initializes the object
|
|
56
|
+
# @param attributes [Hash] Model attributes in the form of hash
|
|
57
|
+
# @!visibility private
|
|
58
|
+
def initialize(attributes = {})
|
|
59
|
+
if (!attributes.is_a?(Hash))
|
|
60
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::OCIConfig` initialize method"
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
self.additional_properties = {}
|
|
64
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
65
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
66
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
67
|
+
self.additional_properties[k.to_sym] = v
|
|
68
|
+
else
|
|
69
|
+
h[k.to_sym] = v
|
|
70
|
+
end
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
if attributes.key?(:'attributes')
|
|
74
|
+
self.attributes = attributes[:'attributes']
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
if attributes.key?(:'id')
|
|
78
|
+
self.id = attributes[:'id']
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
if attributes.key?(:'type')
|
|
82
|
+
self.type = attributes[:'type']
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
# Check to see if the all the properties in the model are valid
|
|
87
|
+
# @return true if the model is valid
|
|
88
|
+
# @!visibility private
|
|
89
|
+
def valid?
|
|
90
|
+
return false if @attributes.nil?
|
|
91
|
+
return false if @id.nil?
|
|
92
|
+
return false if @type.nil?
|
|
93
|
+
true
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
# Custom attribute writer method with validation
|
|
97
|
+
# @param attributes [Object] Object to be assigned
|
|
98
|
+
# @!visibility private
|
|
99
|
+
def attributes=(attributes)
|
|
100
|
+
if attributes.nil?
|
|
101
|
+
fail ArgumentError, 'invalid value for "attributes", attributes cannot be nil.'
|
|
102
|
+
end
|
|
103
|
+
@attributes = attributes
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
# Custom attribute writer method with validation
|
|
107
|
+
# @param id [Object] Object to be assigned
|
|
108
|
+
# @!visibility private
|
|
109
|
+
def id=(id)
|
|
110
|
+
if id.nil?
|
|
111
|
+
fail ArgumentError, 'invalid value for "id", id cannot be nil.'
|
|
112
|
+
end
|
|
113
|
+
@id = id
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
# Custom attribute writer method with validation
|
|
117
|
+
# @param type [Object] Object to be assigned
|
|
118
|
+
# @!visibility private
|
|
119
|
+
def type=(type)
|
|
120
|
+
if type.nil?
|
|
121
|
+
fail ArgumentError, 'invalid value for "type", type cannot be nil.'
|
|
122
|
+
end
|
|
123
|
+
@type = type
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
# Returns the object in the form of hash, with additionalProperties support.
|
|
127
|
+
# @return [Hash] Returns the object in the form of hash
|
|
128
|
+
# @!visibility private
|
|
129
|
+
def to_hash
|
|
130
|
+
hash = {}
|
|
131
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
132
|
+
value = self.send(attr)
|
|
133
|
+
if value.nil?
|
|
134
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
135
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
hash[param] = _to_hash(value)
|
|
139
|
+
end
|
|
140
|
+
self.additional_properties.each_pair do |attr, value|
|
|
141
|
+
hash[attr] = value
|
|
142
|
+
end
|
|
143
|
+
hash
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
# Checks equality by comparing each attribute.
|
|
147
|
+
# @param o [Object] Object to be compared
|
|
148
|
+
# @!visibility private
|
|
149
|
+
def ==(o)
|
|
150
|
+
return true if self.equal?(o)
|
|
151
|
+
self.class == o.class &&
|
|
152
|
+
attributes == o.attributes &&
|
|
153
|
+
id == o.id &&
|
|
154
|
+
type == o.type &&
|
|
155
|
+
additional_properties == o.additional_properties
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
# Calculates hash code according to all attributes.
|
|
159
|
+
# @return [Integer] Hash code
|
|
160
|
+
# @!visibility private
|
|
161
|
+
def hash
|
|
162
|
+
[attributes, id, type, additional_properties].hash
|
|
163
|
+
end
|
|
164
|
+
end
|
|
165
|
+
end
|
|
@@ -0,0 +1,227 @@
|
|
|
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
|
+
# Attributes for an OCI config.
|
|
21
|
+
class OCIConfigAttributes
|
|
22
|
+
include BaseGenericModel
|
|
23
|
+
|
|
24
|
+
# The OCID of the OCI tenancy.
|
|
25
|
+
attr_reader :account_id
|
|
26
|
+
|
|
27
|
+
# The timestamp when the OCI config was created.
|
|
28
|
+
attr_reader :created_at
|
|
29
|
+
|
|
30
|
+
# The error messages for the OCI config.
|
|
31
|
+
attr_accessor :error_messages
|
|
32
|
+
|
|
33
|
+
# The status of the OCI config.
|
|
34
|
+
attr_reader :status
|
|
35
|
+
|
|
36
|
+
# The timestamp when the OCI config status was last updated.
|
|
37
|
+
attr_reader :status_updated_at
|
|
38
|
+
|
|
39
|
+
# The timestamp when the OCI config was last updated.
|
|
40
|
+
attr_reader :updated_at
|
|
41
|
+
|
|
42
|
+
attr_accessor :additional_properties
|
|
43
|
+
|
|
44
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
45
|
+
# @!visibility private
|
|
46
|
+
def self.attribute_map
|
|
47
|
+
{
|
|
48
|
+
:'account_id' => :'account_id',
|
|
49
|
+
:'created_at' => :'created_at',
|
|
50
|
+
:'error_messages' => :'error_messages',
|
|
51
|
+
:'status' => :'status',
|
|
52
|
+
:'status_updated_at' => :'status_updated_at',
|
|
53
|
+
:'updated_at' => :'updated_at'
|
|
54
|
+
}
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
# Attribute type mapping.
|
|
58
|
+
# @!visibility private
|
|
59
|
+
def self.openapi_types
|
|
60
|
+
{
|
|
61
|
+
:'account_id' => :'String',
|
|
62
|
+
:'created_at' => :'String',
|
|
63
|
+
:'error_messages' => :'Array<String>',
|
|
64
|
+
:'status' => :'String',
|
|
65
|
+
:'status_updated_at' => :'String',
|
|
66
|
+
:'updated_at' => :'String'
|
|
67
|
+
}
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# List of attributes with nullable: true
|
|
71
|
+
# @!visibility private
|
|
72
|
+
def self.openapi_nullable
|
|
73
|
+
Set.new([
|
|
74
|
+
:'error_messages',
|
|
75
|
+
])
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
# Initializes the object
|
|
79
|
+
# @param attributes [Hash] Model attributes in the form of hash
|
|
80
|
+
# @!visibility private
|
|
81
|
+
def initialize(attributes = {})
|
|
82
|
+
if (!attributes.is_a?(Hash))
|
|
83
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::OCIConfigAttributes` initialize method"
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
self.additional_properties = {}
|
|
87
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
88
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
89
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
90
|
+
self.additional_properties[k.to_sym] = v
|
|
91
|
+
else
|
|
92
|
+
h[k.to_sym] = v
|
|
93
|
+
end
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
if attributes.key?(:'account_id')
|
|
97
|
+
self.account_id = attributes[:'account_id']
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
if attributes.key?(:'created_at')
|
|
101
|
+
self.created_at = attributes[:'created_at']
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
if attributes.key?(:'error_messages')
|
|
105
|
+
if (value = attributes[:'error_messages']).is_a?(Array)
|
|
106
|
+
self.error_messages = value
|
|
107
|
+
end
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
if attributes.key?(:'status')
|
|
111
|
+
self.status = attributes[:'status']
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
if attributes.key?(:'status_updated_at')
|
|
115
|
+
self.status_updated_at = attributes[:'status_updated_at']
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
if attributes.key?(:'updated_at')
|
|
119
|
+
self.updated_at = attributes[:'updated_at']
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
# Check to see if the all the properties in the model are valid
|
|
124
|
+
# @return true if the model is valid
|
|
125
|
+
# @!visibility private
|
|
126
|
+
def valid?
|
|
127
|
+
return false if @account_id.nil?
|
|
128
|
+
return false if @created_at.nil?
|
|
129
|
+
return false if @status.nil?
|
|
130
|
+
return false if @status_updated_at.nil?
|
|
131
|
+
return false if @updated_at.nil?
|
|
132
|
+
true
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
# Custom attribute writer method with validation
|
|
136
|
+
# @param account_id [Object] Object to be assigned
|
|
137
|
+
# @!visibility private
|
|
138
|
+
def account_id=(account_id)
|
|
139
|
+
if account_id.nil?
|
|
140
|
+
fail ArgumentError, 'invalid value for "account_id", account_id cannot be nil.'
|
|
141
|
+
end
|
|
142
|
+
@account_id = account_id
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
# Custom attribute writer method with validation
|
|
146
|
+
# @param created_at [Object] Object to be assigned
|
|
147
|
+
# @!visibility private
|
|
148
|
+
def created_at=(created_at)
|
|
149
|
+
if created_at.nil?
|
|
150
|
+
fail ArgumentError, 'invalid value for "created_at", created_at cannot be nil.'
|
|
151
|
+
end
|
|
152
|
+
@created_at = created_at
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
# Custom attribute writer method with validation
|
|
156
|
+
# @param status [Object] Object to be assigned
|
|
157
|
+
# @!visibility private
|
|
158
|
+
def status=(status)
|
|
159
|
+
if status.nil?
|
|
160
|
+
fail ArgumentError, 'invalid value for "status", status cannot be nil.'
|
|
161
|
+
end
|
|
162
|
+
@status = status
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
# Custom attribute writer method with validation
|
|
166
|
+
# @param status_updated_at [Object] Object to be assigned
|
|
167
|
+
# @!visibility private
|
|
168
|
+
def status_updated_at=(status_updated_at)
|
|
169
|
+
if status_updated_at.nil?
|
|
170
|
+
fail ArgumentError, 'invalid value for "status_updated_at", status_updated_at cannot be nil.'
|
|
171
|
+
end
|
|
172
|
+
@status_updated_at = status_updated_at
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
# Custom attribute writer method with validation
|
|
176
|
+
# @param updated_at [Object] Object to be assigned
|
|
177
|
+
# @!visibility private
|
|
178
|
+
def updated_at=(updated_at)
|
|
179
|
+
if updated_at.nil?
|
|
180
|
+
fail ArgumentError, 'invalid value for "updated_at", updated_at cannot be nil.'
|
|
181
|
+
end
|
|
182
|
+
@updated_at = updated_at
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
# Returns the object in the form of hash, with additionalProperties support.
|
|
186
|
+
# @return [Hash] Returns the object in the form of hash
|
|
187
|
+
# @!visibility private
|
|
188
|
+
def to_hash
|
|
189
|
+
hash = {}
|
|
190
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
191
|
+
value = self.send(attr)
|
|
192
|
+
if value.nil?
|
|
193
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
194
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
hash[param] = _to_hash(value)
|
|
198
|
+
end
|
|
199
|
+
self.additional_properties.each_pair do |attr, value|
|
|
200
|
+
hash[attr] = value
|
|
201
|
+
end
|
|
202
|
+
hash
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
# Checks equality by comparing each attribute.
|
|
206
|
+
# @param o [Object] Object to be compared
|
|
207
|
+
# @!visibility private
|
|
208
|
+
def ==(o)
|
|
209
|
+
return true if self.equal?(o)
|
|
210
|
+
self.class == o.class &&
|
|
211
|
+
account_id == o.account_id &&
|
|
212
|
+
created_at == o.created_at &&
|
|
213
|
+
error_messages == o.error_messages &&
|
|
214
|
+
status == o.status &&
|
|
215
|
+
status_updated_at == o.status_updated_at &&
|
|
216
|
+
updated_at == o.updated_at &&
|
|
217
|
+
additional_properties == o.additional_properties
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
# Calculates hash code according to all attributes.
|
|
221
|
+
# @return [Integer] Hash code
|
|
222
|
+
# @!visibility private
|
|
223
|
+
def hash
|
|
224
|
+
[account_id, created_at, error_messages, status, status_updated_at, updated_at, additional_properties].hash
|
|
225
|
+
end
|
|
226
|
+
end
|
|
227
|
+
end
|
|
@@ -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
|
+
# Type of OCI config.
|
|
21
|
+
class OCIConfigType
|
|
22
|
+
include BaseEnumModel
|
|
23
|
+
|
|
24
|
+
OCI_CONFIG = "oci_config".freeze
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,125 @@
|
|
|
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
|
+
# List of OCI configs.
|
|
21
|
+
class OCIConfigsResponse
|
|
22
|
+
include BaseGenericModel
|
|
23
|
+
|
|
24
|
+
# An OCI config.
|
|
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' => :'Array<OCIConfig>'
|
|
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::OCIConfigsResponse` 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
|
+
if (value = attributes[:'data']).is_a?(Array)
|
|
65
|
+
self.data = value
|
|
66
|
+
end
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# Check to see if the all the properties in the model are valid
|
|
71
|
+
# @return true if the model is valid
|
|
72
|
+
# @!visibility private
|
|
73
|
+
def valid?
|
|
74
|
+
return false if @data.nil?
|
|
75
|
+
true
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
# Custom attribute writer method with validation
|
|
79
|
+
# @param data [Object] Object to be assigned
|
|
80
|
+
# @!visibility private
|
|
81
|
+
def data=(data)
|
|
82
|
+
if data.nil?
|
|
83
|
+
fail ArgumentError, 'invalid value for "data", data cannot be nil.'
|
|
84
|
+
end
|
|
85
|
+
@data = data
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# Returns the object in the form of hash, with additionalProperties support.
|
|
89
|
+
# @return [Hash] Returns the object in the form of hash
|
|
90
|
+
# @!visibility private
|
|
91
|
+
def to_hash
|
|
92
|
+
hash = {}
|
|
93
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
94
|
+
value = self.send(attr)
|
|
95
|
+
if value.nil?
|
|
96
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
97
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
hash[param] = _to_hash(value)
|
|
101
|
+
end
|
|
102
|
+
self.additional_properties.each_pair do |attr, value|
|
|
103
|
+
hash[attr] = value
|
|
104
|
+
end
|
|
105
|
+
hash
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
# Checks equality by comparing each attribute.
|
|
109
|
+
# @param o [Object] Object to be compared
|
|
110
|
+
# @!visibility private
|
|
111
|
+
def ==(o)
|
|
112
|
+
return true if self.equal?(o)
|
|
113
|
+
self.class == o.class &&
|
|
114
|
+
data == o.data &&
|
|
115
|
+
additional_properties == o.additional_properties
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
# Calculates hash code according to all attributes.
|
|
119
|
+
# @return [Integer] Hash code
|
|
120
|
+
# @!visibility private
|
|
121
|
+
def hash
|
|
122
|
+
[data, additional_properties].hash
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
end
|