diff --git a/.apigentools-info b/.apigentools-info index 6416aa99a0..16923e2d5f 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-01-28 14:57:16.722951", - "spec_repo_commit": "f832f43e" + "regenerated": "2025-01-28 19:47:55.520587", + "spec_repo_commit": "df95b91b" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-01-28 14:57:16.737270", - "spec_repo_commit": "f832f43e" + "regenerated": "2025-01-28 19:47:55.536158", + "spec_repo_commit": "df95b91b" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index ec0661fe20..d081688680 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -5363,8 +5363,7 @@ components: - USER - SYSTEM ChangeEventCustomAttributesChangedResource: - description: Object representing a uniquely identified resource. Only the resource - type `feature_flag` is supported. + description: Object representing a uniquely identified resource. properties: name: description: Resource's name. @@ -5380,10 +5379,12 @@ components: description: Resource's type. enum: - feature_flag + - configuration example: feature_flag type: string x-enum-varnames: - FEATURE_FLAG + - CONFIGURATION ChangeEventCustomAttributesImpactedResourcesItems: description: Object representing a uniquely identified resource. Only the resource type `service` is supported. diff --git a/src/datadog_api_client/v2/model/change_event_custom_attributes.py b/src/datadog_api_client/v2/model/change_event_custom_attributes.py index 44b113a49b..757e9c641f 100644 --- a/src/datadog_api_client/v2/model/change_event_custom_attributes.py +++ b/src/datadog_api_client/v2/model/change_event_custom_attributes.py @@ -120,7 +120,7 @@ def __init__( :param change_metadata: Free form object with information related to the ``change`` event. Can be arbitrarily nested and contain any valid JSON. :type change_metadata: {str: (bool, date, datetime, dict, float, int, list, str, UUID, none_type,)}, optional - :param changed_resource: Object representing a uniquely identified resource. Only the resource type ``feature_flag`` is supported. + :param changed_resource: Object representing a uniquely identified resource. :type changed_resource: ChangeEventCustomAttributesChangedResource :param impacted_resources: A list of resources impacted by this change. It is recommended to provide an impacted resource to display diff --git a/src/datadog_api_client/v2/model/change_event_custom_attributes_changed_resource.py b/src/datadog_api_client/v2/model/change_event_custom_attributes_changed_resource.py index 4137566eef..f0d39cb4f9 100644 --- a/src/datadog_api_client/v2/model/change_event_custom_attributes_changed_resource.py +++ b/src/datadog_api_client/v2/model/change_event_custom_attributes_changed_resource.py @@ -36,7 +36,7 @@ def openapi_types(_): def __init__(self_, name: str, type: ChangeEventCustomAttributesChangedResourceType, **kwargs): """ - Object representing a uniquely identified resource. Only the resource type ``feature_flag`` is supported. + Object representing a uniquely identified resource. :param name: Resource's name. :type name: str diff --git a/src/datadog_api_client/v2/model/change_event_custom_attributes_changed_resource_type.py b/src/datadog_api_client/v2/model/change_event_custom_attributes_changed_resource_type.py index 1d0d4aa6bc..06de45b414 100644 --- a/src/datadog_api_client/v2/model/change_event_custom_attributes_changed_resource_type.py +++ b/src/datadog_api_client/v2/model/change_event_custom_attributes_changed_resource_type.py @@ -16,14 +16,16 @@ class ChangeEventCustomAttributesChangedResourceType(ModelSimple): """ Resource's type. - :param value: If omitted defaults to "feature_flag". Must be one of ["feature_flag"]. + :param value: Must be one of ["feature_flag", "configuration"]. :type value: str """ allowed_values = { "feature_flag", + "configuration", } FEATURE_FLAG: ClassVar["ChangeEventCustomAttributesChangedResourceType"] + CONFIGURATION: ClassVar["ChangeEventCustomAttributesChangedResourceType"] @cached_property def openapi_types(_): @@ -35,3 +37,6 @@ def openapi_types(_): ChangeEventCustomAttributesChangedResourceType.FEATURE_FLAG = ChangeEventCustomAttributesChangedResourceType( "feature_flag" ) +ChangeEventCustomAttributesChangedResourceType.CONFIGURATION = ChangeEventCustomAttributesChangedResourceType( + "configuration" +) diff --git a/src/datadog_api_client/v2/model/event_payload_attributes.py b/src/datadog_api_client/v2/model/event_payload_attributes.py index 9286a05618..18836e1630 100644 --- a/src/datadog_api_client/v2/model/event_payload_attributes.py +++ b/src/datadog_api_client/v2/model/event_payload_attributes.py @@ -21,7 +21,7 @@ def __init__(self, **kwargs): :param change_metadata: Free form object with information related to the `change` event. Can be arbitrarily nested and contain any valid JSON. :type change_metadata: {str: (bool, date, datetime, dict, float, int, list, str, UUID, none_type,)}, optional - :param changed_resource: Object representing a uniquely identified resource. Only the resource type `feature_flag` is supported. + :param changed_resource: Object representing a uniquely identified resource. :type changed_resource: ChangeEventCustomAttributesChangedResource :param impacted_resources: A list of resources impacted by this change. It is recommended to provide an impacted resource to display