Skip to content

Commit 978cfbc

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit a603c17 of spec repo
1 parent ad898f4 commit 978cfbc

4 files changed

Lines changed: 29 additions & 2 deletions

File tree

‎.generator/schemas/v2/openapi.yaml‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44920,6 +44920,9 @@ components:
4492044920
description: Name of the API key.
4492144921
example: "API Key for submitting metrics"
4492244922
type: string
44923+
private_action_runner_enroll_enabled:
44924+
description: Whether the API key can enroll a Private Action Runner.
44925+
type: boolean
4492344926
remote_config_read_enabled:
4492444927
description: The remote config read enabled status.
4492544928
type: boolean
@@ -84281,6 +84284,9 @@ components:
8428184284
description: Name of the API key.
8428284285
example: "API Key for submitting metrics"
8428384286
type: string
84287+
private_action_runner_enroll_enabled:
84288+
description: Whether the API key can enroll a Private Action Runner.
84289+
type: boolean
8428484290
remote_config_read_enabled:
8428584291
description: The remote config read enabled status.
8428684292
type: boolean
@@ -136793,7 +136799,9 @@ paths:
136793136799
**Note**: This endpoint is in preview and is subject to change.
136794136800
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
136795136801
post:
136796-
description: Trigger a new Bits AI investigation based on a monitor alert.
136802+
description: |-
136803+
Trigger a new Bits AI investigation based on a monitor alert.
136804+
The `monitors_read` permission is required when the trigger type is `monitor_alert_trigger`.
136797136805
operationId: TriggerInvestigation
136798136806
requestBody:
136799136807
content:
@@ -136842,14 +136850,16 @@ paths:
136842136850
appKeyAuth: []
136843136851
- AuthZ:
136844136852
- bits_investigations_write
136853+
- monitors_read
136845136854
summary: Trigger a Bits AI investigation
136846136855
tags:
136847136856
- Bits AI
136848136857
x-codegen-request-body-name: body
136849136858
"x-permission":
136850-
operator: OR
136859+
operator: AND
136851136860
permissions:
136852136861
- bits_investigations_write
136862+
- monitors_read
136853136863
x-unstable: |-
136854136864
**Note**: This endpoint is in preview and is subject to change.
136855136865
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).

‎src/datadog_api_client/v2/api/bits_ai_api.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ def trigger_investigation(
207207
"""Trigger a Bits AI investigation.
208208
209209
Trigger a new Bits AI investigation based on a monitor alert.
210+
The ``monitors_read`` permission is required when the trigger type is ``monitor_alert_trigger``.
210211
211212
:param body: Trigger investigation request body.
212213
:type body: TriggerInvestigationRequest

‎src/datadog_api_client/v2/model/full_api_key_attributes.py‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def openapi_types(_):
3333
"last4": (str,),
3434
"modified_at": (datetime,),
3535
"name": (str,),
36+
"private_action_runner_enroll_enabled": (bool,),
3637
"remote_config_read_enabled": (bool,),
3738
}
3839

@@ -44,6 +45,7 @@ def openapi_types(_):
4445
"last4": "last4",
4546
"modified_at": "modified_at",
4647
"name": "name",
48+
"private_action_runner_enroll_enabled": "private_action_runner_enroll_enabled",
4749
"remote_config_read_enabled": "remote_config_read_enabled",
4850
}
4951
read_only_vars = {
@@ -63,6 +65,7 @@ def __init__(
6365
last4: Union[str, UnsetType] = unset,
6466
modified_at: Union[datetime, UnsetType] = unset,
6567
name: Union[str, UnsetType] = unset,
68+
private_action_runner_enroll_enabled: Union[bool, UnsetType] = unset,
6669
remote_config_read_enabled: Union[bool, UnsetType] = unset,
6770
**kwargs,
6871
):
@@ -90,6 +93,9 @@ def __init__(
9093
:param name: Name of the API key.
9194
:type name: str, optional
9295
96+
:param private_action_runner_enroll_enabled: Whether the API key can enroll a Private Action Runner.
97+
:type private_action_runner_enroll_enabled: bool, optional
98+
9399
:param remote_config_read_enabled: The remote config read enabled status.
94100
:type remote_config_read_enabled: bool, optional
95101
"""
@@ -107,6 +113,8 @@ def __init__(
107113
kwargs["modified_at"] = modified_at
108114
if name is not unset:
109115
kwargs["name"] = name
116+
if private_action_runner_enroll_enabled is not unset:
117+
kwargs["private_action_runner_enroll_enabled"] = private_action_runner_enroll_enabled
110118
if remote_config_read_enabled is not unset:
111119
kwargs["remote_config_read_enabled"] = remote_config_read_enabled
112120
super().__init__(kwargs)

‎src/datadog_api_client/v2/model/partial_api_key_attributes.py‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def openapi_types(_):
3232
"last4": (str,),
3333
"modified_at": (str,),
3434
"name": (str,),
35+
"private_action_runner_enroll_enabled": (bool,),
3536
"remote_config_read_enabled": (bool,),
3637
}
3738

@@ -42,6 +43,7 @@ def openapi_types(_):
4243
"last4": "last4",
4344
"modified_at": "modified_at",
4445
"name": "name",
46+
"private_action_runner_enroll_enabled": "private_action_runner_enroll_enabled",
4547
"remote_config_read_enabled": "remote_config_read_enabled",
4648
}
4749
read_only_vars = {
@@ -59,6 +61,7 @@ def __init__(
5961
last4: Union[str, UnsetType] = unset,
6062
modified_at: Union[str, UnsetType] = unset,
6163
name: Union[str, UnsetType] = unset,
64+
private_action_runner_enroll_enabled: Union[bool, UnsetType] = unset,
6265
remote_config_read_enabled: Union[bool, UnsetType] = unset,
6366
**kwargs,
6467
):
@@ -83,6 +86,9 @@ def __init__(
8386
:param name: Name of the API key.
8487
:type name: str, optional
8588
89+
:param private_action_runner_enroll_enabled: Whether the API key can enroll a Private Action Runner.
90+
:type private_action_runner_enroll_enabled: bool, optional
91+
8692
:param remote_config_read_enabled: The remote config read enabled status.
8793
:type remote_config_read_enabled: bool, optional
8894
"""
@@ -98,6 +104,8 @@ def __init__(
98104
kwargs["modified_at"] = modified_at
99105
if name is not unset:
100106
kwargs["name"] = name
107+
if private_action_runner_enroll_enabled is not unset:
108+
kwargs["private_action_runner_enroll_enabled"] = private_action_runner_enroll_enabled
101109
if remote_config_read_enabled is not unset:
102110
kwargs["remote_config_read_enabled"] = remote_config_read_enabled
103111
super().__init__(kwargs)

0 commit comments

Comments
 (0)