Skip to content
Closed
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
6 changes: 6 additions & 0 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
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