Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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/).
Expand Down
1 change: 1 addition & 0 deletions lib/datadog_api_client/v2/api/bits_ai_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 11 additions & 1 deletion lib/datadog_api_client/v2/models/full_api_key_attributes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
12 changes: 11 additions & 1 deletion lib/datadog_api_client/v2/models/partial_api_key_attributes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Loading