From 30ae8bf24e60eab2a52ad6a84bf2bfd7f10bc4fc Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 27 Mar 2026 13:54:03 +0000 Subject: [PATCH] Regenerate client from commit 176b391 of spec repo --- .generator/schemas/v1/openapi.yaml | 26 +++++++++++-------- .../v1/models/free_text_widget_definition.rb | 14 ++++++++-- .../v1/models/group_widget_definition.rb | 4 +-- .../v1/models/i_frame_widget_definition.rb | 2 +- .../v1/models/image_widget_definition.rb | 2 +- .../v1/models/log_stream_widget_definition.rb | 2 +- .../monitor_summary_widget_definition.rb | 2 +- .../notebook_log_stream_cell_attributes.rb | 2 +- .../service_summary_widget_definition.rb | 2 +- .../v1/models/slo_widget_definition.rb | 2 +- .../v1/models/table_widget_definition.rb | 2 +- 11 files changed, 37 insertions(+), 23 deletions(-) diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 79b0341e984e..737ab6bffde6 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -3368,8 +3368,10 @@ components: x-enum-varnames: - FORMULA FreeTextWidgetDefinition: - description: Free text is a widget that allows you to add headings to your screenboard. Commonly used to state the overall purpose of the dashboard. Only available on FREE layout dashboards. + description: Free text is a widget that allows you to add headings to your dashboard. Commonly used to state the overall purpose of the dashboard. properties: + background_color: + $ref: "#/components/schemas/WidgetBackgroundColor" color: description: Color of the text. type: string @@ -3810,11 +3812,10 @@ components: x-enum-varnames: - GROUP GroupWidgetDefinition: - description: The groups widget allows you to keep similar graphs together on your timeboard. Each group has a custom header, can hold one to many graphs, and is collapsible. + description: The group widget allows you to keep similar graphs together on your dashboard. Each group has a custom header, can hold one to many graphs, and is collapsible. properties: background_color: - description: Background color of the group title. - type: string + $ref: "#/components/schemas/WidgetBackgroundColor" banner_img: description: URL of image to display as a banner for the group. type: string @@ -4672,7 +4673,7 @@ components: - VULN_MANAGEMENT_HOSTS_USAGE - WORKFLOW_EXECUTIONS_USAGE IFrameWidgetDefinition: - description: The iframe widget allows you to embed a portion of any other web page on your dashboard. Only available on FREE layout dashboards. + description: The iframe widget allows you to embed a portion of any other web page on your dashboard. properties: type: $ref: "#/components/schemas/IFrameWidgetDefinitionType" @@ -4944,7 +4945,7 @@ components: - message type: object ImageWidgetDefinition: - description: The image widget allows you to embed an image on your dashboard. An image can be a PNG, JPG, or animated GIF. Only available on FREE layout dashboards. + description: The image widget allows you to embed an image on your dashboard. An image can be a PNG, JPG, or animated GIF. properties: has_background: default: true @@ -5345,7 +5346,7 @@ components: - query type: object LogStreamWidgetDefinition: - description: The Log Stream displays a log flow matching the defined query. Only available on FREE layout dashboards. + description: The Log Stream displays a log flow matching the defined query. properties: columns: description: Which columns to display on the widget. @@ -8766,7 +8767,7 @@ components: $ref: "#/components/schemas/MonitorOverallStates" type: object MonitorSummaryWidgetDefinition: - description: The monitor summary widget displays a summary view of all your Datadog monitors, or a subset based on a query. Only available on FREE layout dashboards. + description: The monitor summary widget displays a summary view of all your Datadog monitors, or a subset based on a query. properties: color_preference: $ref: "#/components/schemas/WidgetColorPreference" @@ -12897,7 +12898,7 @@ components: - METRIC - TIME_SLICE SLOWidgetDefinition: - description: Use the SLO and uptime widget to track your SLOs (Service Level Objectives) and uptime on screenboards and timeboards. + description: Use the SLO and uptime widget to track your SLOs (Service Level Objectives) and uptime on dashboards. properties: additional_query_filters: description: Additional filters applied to the SLO query. @@ -14108,7 +14109,7 @@ components: x-enum-varnames: - SERVICEMAP ServiceSummaryWidgetDefinition: - description: The service summary displays the graphs of a chosen service in your screenboard. Only available on FREE layout dashboards. + description: The service summary displays the graphs of a chosen service in your dashboard. properties: description: description: The description of the widget. @@ -18657,7 +18658,7 @@ components: - BAR - TREND TableWidgetDefinition: - description: The table visualization is available on timeboards and screenboards. It displays columns of metrics grouped by tag key. + description: The table visualization is available on dashboards. It displays columns of metrics grouped by tag key. properties: custom_links: description: List of custom links. @@ -24139,6 +24140,9 @@ components: description: Specifies the scale type. Possible values are `linear`, `log`, `sqrt`, and `pow##` (for example `pow2` or `pow0.5`). type: string type: object + WidgetBackgroundColor: + description: "Background color of the widget. Supported values are `white`, `blue`, `purple`, `pink`, `orange`, `yellow`, `green`, `gray`, `vivid_blue`, `vivid_purple`, `vivid_pink`, `vivid_orange`, `vivid_yellow`, `vivid_green`, and `transparent`." + type: string WidgetChangeType: description: Show the absolute or the relative change. enum: diff --git a/lib/datadog_api_client/v1/models/free_text_widget_definition.rb b/lib/datadog_api_client/v1/models/free_text_widget_definition.rb index ec1dfc3e4739..46c7fc918a8b 100644 --- a/lib/datadog_api_client/v1/models/free_text_widget_definition.rb +++ b/lib/datadog_api_client/v1/models/free_text_widget_definition.rb @@ -17,10 +17,13 @@ require 'time' module DatadogAPIClient::V1 - # Free text is a widget that allows you to add headings to your screenboard. Commonly used to state the overall purpose of the dashboard. Only available on FREE layout dashboards. + # Free text is a widget that allows you to add headings to your dashboard. Commonly used to state the overall purpose of the dashboard. class FreeTextWidgetDefinition include BaseGenericModel + # Background color of the widget. Supported values are `white`, `blue`, `purple`, `pink`, `orange`, `yellow`, `green`, `gray`, `vivid_blue`, `vivid_purple`, `vivid_pink`, `vivid_orange`, `vivid_yellow`, `vivid_green`, and `transparent`. + attr_accessor :background_color + # Color of the text. attr_accessor :color @@ -42,6 +45,7 @@ class FreeTextWidgetDefinition # @!visibility private def self.attribute_map { + :'background_color' => :'background_color', :'color' => :'color', :'font_size' => :'font_size', :'text' => :'text', @@ -54,6 +58,7 @@ def self.attribute_map # @!visibility private def self.openapi_types { + :'background_color' => :'String', :'color' => :'String', :'font_size' => :'String', :'text' => :'String', @@ -80,6 +85,10 @@ def initialize(attributes = {}) end } + if attributes.key?(:'background_color') + self.background_color = attributes[:'background_color'] + end + if attributes.key?(:'color') self.color = attributes[:'color'] end @@ -156,6 +165,7 @@ def to_hash def ==(o) return true if self.equal?(o) self.class == o.class && + background_color == o.background_color && color == o.color && font_size == o.font_size && text == o.text && @@ -168,7 +178,7 @@ def ==(o) # @return [Integer] Hash code # @!visibility private def hash - [color, font_size, text, text_align, type, additional_properties].hash + [background_color, color, font_size, text, text_align, type, additional_properties].hash end end end diff --git a/lib/datadog_api_client/v1/models/group_widget_definition.rb b/lib/datadog_api_client/v1/models/group_widget_definition.rb index 12a56d31663e..b5619e6a4384 100644 --- a/lib/datadog_api_client/v1/models/group_widget_definition.rb +++ b/lib/datadog_api_client/v1/models/group_widget_definition.rb @@ -17,11 +17,11 @@ require 'time' module DatadogAPIClient::V1 - # The groups widget allows you to keep similar graphs together on your timeboard. Each group has a custom header, can hold one to many graphs, and is collapsible. + # The group widget allows you to keep similar graphs together on your dashboard. Each group has a custom header, can hold one to many graphs, and is collapsible. class GroupWidgetDefinition include BaseGenericModel - # Background color of the group title. + # Background color of the widget. Supported values are `white`, `blue`, `purple`, `pink`, `orange`, `yellow`, `green`, `gray`, `vivid_blue`, `vivid_purple`, `vivid_pink`, `vivid_orange`, `vivid_yellow`, `vivid_green`, and `transparent`. attr_accessor :background_color # URL of image to display as a banner for the group. diff --git a/lib/datadog_api_client/v1/models/i_frame_widget_definition.rb b/lib/datadog_api_client/v1/models/i_frame_widget_definition.rb index 922645affb78..4fa77d1302f1 100644 --- a/lib/datadog_api_client/v1/models/i_frame_widget_definition.rb +++ b/lib/datadog_api_client/v1/models/i_frame_widget_definition.rb @@ -17,7 +17,7 @@ require 'time' module DatadogAPIClient::V1 - # The iframe widget allows you to embed a portion of any other web page on your dashboard. Only available on FREE layout dashboards. + # The iframe widget allows you to embed a portion of any other web page on your dashboard. class IFrameWidgetDefinition include BaseGenericModel diff --git a/lib/datadog_api_client/v1/models/image_widget_definition.rb b/lib/datadog_api_client/v1/models/image_widget_definition.rb index ec97b1f83616..e798da4e838e 100644 --- a/lib/datadog_api_client/v1/models/image_widget_definition.rb +++ b/lib/datadog_api_client/v1/models/image_widget_definition.rb @@ -17,7 +17,7 @@ require 'time' module DatadogAPIClient::V1 - # The image widget allows you to embed an image on your dashboard. An image can be a PNG, JPG, or animated GIF. Only available on FREE layout dashboards. + # The image widget allows you to embed an image on your dashboard. An image can be a PNG, JPG, or animated GIF. class ImageWidgetDefinition include BaseGenericModel diff --git a/lib/datadog_api_client/v1/models/log_stream_widget_definition.rb b/lib/datadog_api_client/v1/models/log_stream_widget_definition.rb index d87a5f53be1a..767528d8875c 100644 --- a/lib/datadog_api_client/v1/models/log_stream_widget_definition.rb +++ b/lib/datadog_api_client/v1/models/log_stream_widget_definition.rb @@ -17,7 +17,7 @@ require 'time' module DatadogAPIClient::V1 - # The Log Stream displays a log flow matching the defined query. Only available on FREE layout dashboards. + # The Log Stream displays a log flow matching the defined query. class LogStreamWidgetDefinition include BaseGenericModel diff --git a/lib/datadog_api_client/v1/models/monitor_summary_widget_definition.rb b/lib/datadog_api_client/v1/models/monitor_summary_widget_definition.rb index ab8e0f5dae9e..221adf075e45 100644 --- a/lib/datadog_api_client/v1/models/monitor_summary_widget_definition.rb +++ b/lib/datadog_api_client/v1/models/monitor_summary_widget_definition.rb @@ -17,7 +17,7 @@ require 'time' module DatadogAPIClient::V1 - # The monitor summary widget displays a summary view of all your Datadog monitors, or a subset based on a query. Only available on FREE layout dashboards. + # The monitor summary widget displays a summary view of all your Datadog monitors, or a subset based on a query. class MonitorSummaryWidgetDefinition include BaseGenericModel diff --git a/lib/datadog_api_client/v1/models/notebook_log_stream_cell_attributes.rb b/lib/datadog_api_client/v1/models/notebook_log_stream_cell_attributes.rb index 35808b8ba726..2c3323c945f2 100644 --- a/lib/datadog_api_client/v1/models/notebook_log_stream_cell_attributes.rb +++ b/lib/datadog_api_client/v1/models/notebook_log_stream_cell_attributes.rb @@ -21,7 +21,7 @@ module DatadogAPIClient::V1 class NotebookLogStreamCellAttributes include BaseGenericModel - # The Log Stream displays a log flow matching the defined query. Only available on FREE layout dashboards. + # The Log Stream displays a log flow matching the defined query. attr_reader :definition # The size of the graph. diff --git a/lib/datadog_api_client/v1/models/service_summary_widget_definition.rb b/lib/datadog_api_client/v1/models/service_summary_widget_definition.rb index 0182fa0e530e..4fcb3db0882f 100644 --- a/lib/datadog_api_client/v1/models/service_summary_widget_definition.rb +++ b/lib/datadog_api_client/v1/models/service_summary_widget_definition.rb @@ -17,7 +17,7 @@ require 'time' module DatadogAPIClient::V1 - # The service summary displays the graphs of a chosen service in your screenboard. Only available on FREE layout dashboards. + # The service summary displays the graphs of a chosen service in your dashboard. class ServiceSummaryWidgetDefinition include BaseGenericModel diff --git a/lib/datadog_api_client/v1/models/slo_widget_definition.rb b/lib/datadog_api_client/v1/models/slo_widget_definition.rb index ce649f648b21..e0ebae954fb0 100644 --- a/lib/datadog_api_client/v1/models/slo_widget_definition.rb +++ b/lib/datadog_api_client/v1/models/slo_widget_definition.rb @@ -17,7 +17,7 @@ require 'time' module DatadogAPIClient::V1 - # Use the SLO and uptime widget to track your SLOs (Service Level Objectives) and uptime on screenboards and timeboards. + # Use the SLO and uptime widget to track your SLOs (Service Level Objectives) and uptime on dashboards. class SLOWidgetDefinition include BaseGenericModel diff --git a/lib/datadog_api_client/v1/models/table_widget_definition.rb b/lib/datadog_api_client/v1/models/table_widget_definition.rb index 621a5dd82f05..04c4ad612af4 100644 --- a/lib/datadog_api_client/v1/models/table_widget_definition.rb +++ b/lib/datadog_api_client/v1/models/table_widget_definition.rb @@ -17,7 +17,7 @@ require 'time' module DatadogAPIClient::V1 - # The table visualization is available on timeboards and screenboards. It displays columns of metrics grouped by tag key. + # The table visualization is available on dashboards. It displays columns of metrics grouped by tag key. class TableWidgetDefinition include BaseGenericModel