From 57dc21ca86ce055b89c1c075ebfa01e143200222 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 23 Sep 2026 08:15:09 +0000 Subject: [PATCH] Regenerate client from commit a603c17 of spec repo --- .generator/schemas/v2/openapi.yaml | 14 ++++++++++++-- lib/datadog_api_client/v2/api/bits_ai_api.rb | 1 + .../v2/models/full_api_key_attributes.rb | 12 +++++++++++- .../v2/models/partial_api_key_attributes.rb | 12 +++++++++++- 4 files changed, 35 insertions(+), 4 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 8444b52dbdac..fdafbd6b9d51 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -44920,6 +44920,9 @@ components: description: Name of the API key. example: "API Key for submitting metrics" type: string + private_action_runner_enroll_enabled: + description: Whether the API key can enroll a Private Action Runner. + type: boolean remote_config_read_enabled: description: The remote config read enabled status. type: boolean @@ -84281,6 +84284,9 @@ components: description: Name of the API key. example: "API Key for submitting metrics" type: string + private_action_runner_enroll_enabled: + description: Whether the API key can enroll a Private Action Runner. + type: boolean remote_config_read_enabled: description: The remote config read enabled status. type: boolean @@ -136793,7 +136799,9 @@ paths: **Note**: This endpoint is in preview and is subject to change. If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: - description: Trigger a new Bits AI investigation based on a monitor alert. + description: |- + Trigger a new Bits AI investigation based on a monitor alert. + The `monitors_read` permission is required when the trigger type is `monitor_alert_trigger`. operationId: TriggerInvestigation requestBody: content: @@ -136842,14 +136850,16 @@ paths: appKeyAuth: [] - AuthZ: - bits_investigations_write + - monitors_read summary: Trigger a Bits AI investigation tags: - Bits AI x-codegen-request-body-name: body "x-permission": - operator: OR + operator: AND permissions: - bits_investigations_write + - monitors_read x-unstable: |- **Note**: This endpoint is in preview and is subject to change. If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). diff --git a/lib/datadog_api_client/v2/api/bits_ai_api.rb b/lib/datadog_api_client/v2/api/bits_ai_api.rb index 07fde84a7ac4..6247c9bf7aeb 100644 --- a/lib/datadog_api_client/v2/api/bits_ai_api.rb +++ b/lib/datadog_api_client/v2/api/bits_ai_api.rb @@ -201,6 +201,7 @@ def trigger_investigation(body, opts = {}) # Trigger a Bits AI investigation. # # Trigger a new Bits AI investigation based on a monitor alert. + # The `monitors_read` permission is required when the trigger type is `monitor_alert_trigger`. # # @param body [TriggerInvestigationRequest] Trigger investigation request body. # @param opts [Hash] the optional parameters diff --git a/lib/datadog_api_client/v2/models/full_api_key_attributes.rb b/lib/datadog_api_client/v2/models/full_api_key_attributes.rb index da3f67360928..a9d11261660b 100644 --- a/lib/datadog_api_client/v2/models/full_api_key_attributes.rb +++ b/lib/datadog_api_client/v2/models/full_api_key_attributes.rb @@ -42,6 +42,9 @@ class FullAPIKeyAttributes # Name of the API key. attr_accessor :name + # Whether the API key can enroll a Private Action Runner. + attr_accessor :private_action_runner_enroll_enabled + # The remote config read enabled status. attr_accessor :remote_config_read_enabled @@ -58,6 +61,7 @@ def self.attribute_map :'last4' => :'last4', :'modified_at' => :'modified_at', :'name' => :'name', + :'private_action_runner_enroll_enabled' => :'private_action_runner_enroll_enabled', :'remote_config_read_enabled' => :'remote_config_read_enabled' } end @@ -73,6 +77,7 @@ def self.openapi_types :'last4' => :'String', :'modified_at' => :'Time', :'name' => :'String', + :'private_action_runner_enroll_enabled' => :'Boolean', :'remote_config_read_enabled' => :'Boolean' } end @@ -131,6 +136,10 @@ def initialize(attributes = {}) self.name = attributes[:'name'] end + if attributes.key?(:'private_action_runner_enroll_enabled') + self.private_action_runner_enroll_enabled = attributes[:'private_action_runner_enroll_enabled'] + end + if attributes.key?(:'remote_config_read_enabled') self.remote_config_read_enabled = attributes[:'remote_config_read_enabled'] end @@ -191,6 +200,7 @@ def ==(o) last4 == o.last4 && modified_at == o.modified_at && name == o.name && + private_action_runner_enroll_enabled == o.private_action_runner_enroll_enabled && remote_config_read_enabled == o.remote_config_read_enabled && additional_properties == o.additional_properties end @@ -199,7 +209,7 @@ def ==(o) # @return [Integer] Hash code # @!visibility private def hash - [category, created_at, date_last_used, key, last4, modified_at, name, remote_config_read_enabled, additional_properties].hash + [category, created_at, date_last_used, key, last4, modified_at, name, private_action_runner_enroll_enabled, remote_config_read_enabled, additional_properties].hash end end end diff --git a/lib/datadog_api_client/v2/models/partial_api_key_attributes.rb b/lib/datadog_api_client/v2/models/partial_api_key_attributes.rb index 73cf8e6196fa..ce9367aa838e 100644 --- a/lib/datadog_api_client/v2/models/partial_api_key_attributes.rb +++ b/lib/datadog_api_client/v2/models/partial_api_key_attributes.rb @@ -39,6 +39,9 @@ class PartialAPIKeyAttributes # Name of the API key. attr_accessor :name + # Whether the API key can enroll a Private Action Runner. + attr_accessor :private_action_runner_enroll_enabled + # The remote config read enabled status. attr_accessor :remote_config_read_enabled @@ -54,6 +57,7 @@ def self.attribute_map :'last4' => :'last4', :'modified_at' => :'modified_at', :'name' => :'name', + :'private_action_runner_enroll_enabled' => :'private_action_runner_enroll_enabled', :'remote_config_read_enabled' => :'remote_config_read_enabled' } end @@ -68,6 +72,7 @@ def self.openapi_types :'last4' => :'String', :'modified_at' => :'String', :'name' => :'String', + :'private_action_runner_enroll_enabled' => :'Boolean', :'remote_config_read_enabled' => :'Boolean' } end @@ -122,6 +127,10 @@ def initialize(attributes = {}) self.name = attributes[:'name'] end + if attributes.key?(:'private_action_runner_enroll_enabled') + self.private_action_runner_enroll_enabled = attributes[:'private_action_runner_enroll_enabled'] + end + if attributes.key?(:'remote_config_read_enabled') self.remote_config_read_enabled = attributes[:'remote_config_read_enabled'] end @@ -181,6 +190,7 @@ def ==(o) last4 == o.last4 && modified_at == o.modified_at && name == o.name && + private_action_runner_enroll_enabled == o.private_action_runner_enroll_enabled && remote_config_read_enabled == o.remote_config_read_enabled && additional_properties == o.additional_properties end @@ -189,7 +199,7 @@ def ==(o) # @return [Integer] Hash code # @!visibility private def hash - [category, created_at, date_last_used, last4, modified_at, name, remote_config_read_enabled, additional_properties].hash + [category, created_at, date_last_used, last4, modified_at, name, private_action_runner_enroll_enabled, remote_config_read_enabled, additional_properties].hash end end end