Skip to content

Commit 9876a15

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update entity version documentation in Software Catalog (#2680)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 353ebae commit 9876a15

File tree

9 files changed

+28
-12
lines changed

9 files changed

+28
-12
lines changed

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "f2ae7eb",
3-
"generated": "2025-07-17 19:53:31.439"
2+
"spec_repo_commit": "20279f4",
3+
"generated": "2025-07-18 10:23:04.096"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13911,14 +13911,21 @@ components:
1391113911
type: string
1391213912
type: object
1391313913
EntityV3APIVersion:
13914-
description: The schema version of entity type. The field is known as schema-version
13915-
in the previous version.
13914+
description: The version of the schema data that was used to populate this entity's
13915+
data. This could be via the API, Terraform, or YAML file in a repository.
13916+
The field is known as schema-version in the previous version.
1391613917
enum:
1391713918
- v3
13919+
- v2.2
13920+
- v2.1
13921+
- v2
1391813922
example: v3
1391913923
type: string
1392013924
x-enum-varnames:
1392113925
- V3
13926+
- V2_2
13927+
- V2_1
13928+
- V2
1392213929
EntityV3DatadogCodeLocationItem:
1392313930
additionalProperties: false
1392413931
description: Code location item.

src/datadog_api_client/v2/model/entity_v3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def __init__(self, **kwargs):
1515
"""
1616
Entity schema v3.
1717
18-
:param api_version: The schema version of entity type. The field is known as schema-version in the previous version.
18+
:param api_version: The version of the schema data that was used to populate this entity's data. This could be via the API, Terraform, or YAML file in a repository. The field is known as schema-version in the previous version.
1919
:type api_version: EntityV3APIVersion
2020
2121
:param datadog: Datadog product integrations for the service entity.

src/datadog_api_client/v2/model/entity_v3_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def __init__(
8989
"""
9090
Schema for API entities.
9191
92-
:param api_version: The schema version of entity type. The field is known as schema-version in the previous version.
92+
:param api_version: The version of the schema data that was used to populate this entity's data. This could be via the API, Terraform, or YAML file in a repository. The field is known as schema-version in the previous version.
9393
:type api_version: EntityV3APIVersion
9494
9595
:param datadog: Datadog product integrations for the API entity.

src/datadog_api_client/v2/model/entity_v3_api_version.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,22 @@
1414

1515
class EntityV3APIVersion(ModelSimple):
1616
"""
17-
The schema version of entity type. The field is known as schema-version in the previous version.
17+
The version of the schema data that was used to populate this entity's data. This could be via the API, Terraform, or YAML file in a repository. The field is known as schema-version in the previous version.
1818
19-
:param value: If omitted defaults to "v3". Must be one of ["v3"].
19+
:param value: Must be one of ["v3", "v2.2", "v2.1", "v2"].
2020
:type value: str
2121
"""
2222

2323
allowed_values = {
2424
"v3",
25+
"v2.2",
26+
"v2.1",
27+
"v2",
2528
}
2629
V3: ClassVar["EntityV3APIVersion"]
30+
V2_2: ClassVar["EntityV3APIVersion"]
31+
V2_1: ClassVar["EntityV3APIVersion"]
32+
V2: ClassVar["EntityV3APIVersion"]
2733

2834
@cached_property
2935
def openapi_types(_):
@@ -33,3 +39,6 @@ def openapi_types(_):
3339

3440

3541
EntityV3APIVersion.V3 = EntityV3APIVersion("v3")
42+
EntityV3APIVersion.V2_2 = EntityV3APIVersion("v2.2")
43+
EntityV3APIVersion.V2_1 = EntityV3APIVersion("v2.1")
44+
EntityV3APIVersion.V2 = EntityV3APIVersion("v2")

src/datadog_api_client/v2/model/entity_v3_datastore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def __init__(
8989
"""
9090
Schema for datastore entities.
9191
92-
:param api_version: The schema version of entity type. The field is known as schema-version in the previous version.
92+
:param api_version: The version of the schema data that was used to populate this entity's data. This could be via the API, Terraform, or YAML file in a repository. The field is known as schema-version in the previous version.
9393
:type api_version: EntityV3APIVersion
9494
9595
:param datadog: Datadog product integrations for the datastore entity.

src/datadog_api_client/v2/model/entity_v3_queue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def __init__(
8989
"""
9090
Schema for queue entities.
9191
92-
:param api_version: The schema version of entity type. The field is known as schema-version in the previous version.
92+
:param api_version: The version of the schema data that was used to populate this entity's data. This could be via the API, Terraform, or YAML file in a repository. The field is known as schema-version in the previous version.
9393
:type api_version: EntityV3APIVersion
9494
9595
:param datadog: Datadog product integrations for the datastore entity.

src/datadog_api_client/v2/model/entity_v3_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def __init__(
8989
"""
9090
Schema for service entities.
9191
92-
:param api_version: The schema version of entity type. The field is known as schema-version in the previous version.
92+
:param api_version: The version of the schema data that was used to populate this entity's data. This could be via the API, Terraform, or YAML file in a repository. The field is known as schema-version in the previous version.
9393
:type api_version: EntityV3APIVersion
9494
9595
:param datadog: Datadog product integrations for the service entity.

src/datadog_api_client/v2/model/entity_v3_system.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def __init__(
8989
"""
9090
Schema for system entities.
9191
92-
:param api_version: The schema version of entity type. The field is known as schema-version in the previous version.
92+
:param api_version: The version of the schema data that was used to populate this entity's data. This could be via the API, Terraform, or YAML file in a repository. The field is known as schema-version in the previous version.
9393
:type api_version: EntityV3APIVersion
9494
9595
:param datadog: Datadog product integrations for the service entity.

0 commit comments

Comments
 (0)