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 src/datadog_api_client/v2/api/bits_ai_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ def trigger_investigation(
"""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: Trigger investigation request body.
:type body: TriggerInvestigationRequest
Expand Down
8 changes: 8 additions & 0 deletions src/datadog_api_client/v2/model/full_api_key_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def openapi_types(_):
"last4": (str,),
"modified_at": (datetime,),
"name": (str,),
"private_action_runner_enroll_enabled": (bool,),
"remote_config_read_enabled": (bool,),
}

Expand All @@ -44,6 +45,7 @@ def openapi_types(_):
"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",
}
read_only_vars = {
Expand All @@ -63,6 +65,7 @@ def __init__(
last4: Union[str, UnsetType] = unset,
modified_at: Union[datetime, UnsetType] = unset,
name: Union[str, UnsetType] = unset,
private_action_runner_enroll_enabled: Union[bool, UnsetType] = unset,
remote_config_read_enabled: Union[bool, UnsetType] = unset,
**kwargs,
):
Expand Down Expand Up @@ -90,6 +93,9 @@ def __init__(
:param name: Name of the API key.
:type name: str, optional

:param private_action_runner_enroll_enabled: Whether the API key can enroll a Private Action Runner.
:type private_action_runner_enroll_enabled: bool, optional

:param remote_config_read_enabled: The remote config read enabled status.
:type remote_config_read_enabled: bool, optional
"""
Expand All @@ -107,6 +113,8 @@ def __init__(
kwargs["modified_at"] = modified_at
if name is not unset:
kwargs["name"] = name
if private_action_runner_enroll_enabled is not unset:
kwargs["private_action_runner_enroll_enabled"] = private_action_runner_enroll_enabled
if remote_config_read_enabled is not unset:
kwargs["remote_config_read_enabled"] = remote_config_read_enabled
super().__init__(kwargs)
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def openapi_types(_):
"last4": (str,),
"modified_at": (str,),
"name": (str,),
"private_action_runner_enroll_enabled": (bool,),
"remote_config_read_enabled": (bool,),
}

Expand All @@ -42,6 +43,7 @@ def openapi_types(_):
"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",
}
read_only_vars = {
Expand All @@ -59,6 +61,7 @@ def __init__(
last4: Union[str, UnsetType] = unset,
modified_at: Union[str, UnsetType] = unset,
name: Union[str, UnsetType] = unset,
private_action_runner_enroll_enabled: Union[bool, UnsetType] = unset,
remote_config_read_enabled: Union[bool, UnsetType] = unset,
**kwargs,
):
Expand All @@ -83,6 +86,9 @@ def __init__(
:param name: Name of the API key.
:type name: str, optional

:param private_action_runner_enroll_enabled: Whether the API key can enroll a Private Action Runner.
:type private_action_runner_enroll_enabled: bool, optional

:param remote_config_read_enabled: The remote config read enabled status.
:type remote_config_read_enabled: bool, optional
"""
Expand All @@ -98,6 +104,8 @@ def __init__(
kwargs["modified_at"] = modified_at
if name is not unset:
kwargs["name"] = name
if private_action_runner_enroll_enabled is not unset:
kwargs["private_action_runner_enroll_enabled"] = private_action_runner_enroll_enabled
if remote_config_read_enabled is not unset:
kwargs["remote_config_read_enabled"] = remote_config_read_enabled
super().__init__(kwargs)
Loading