From 4d539e8d6b6b1eae4b288755c5bdf184fbdd3046 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 15 Sep 2026 10:23:56 +0000 Subject: [PATCH] Regenerate client from commit 95a7cf5 of spec repo --- .generator/schemas/v2/openapi.yaml | 61 ++++++++++++++++++- .../v2/api/feature_flags_api.py | 44 ++++++------- .../v2/model/rum_cross_product_sampling.py | 2 +- .../model/rum_retention_filter_attributes.py | 2 +- .../rum_retention_filter_create_attributes.py | 2 +- .../rum_retention_filter_update_attributes.py | 2 +- 6 files changed, 85 insertions(+), 28 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 44f90ebdfe..0743b28d78 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -95787,7 +95787,7 @@ components: example: true type: boolean trace_sample_rate: - description: The sample rate for the APM cross-product retention filter, between 0 and 100. + description: The sample rate for the APM cross-product retention filter, between 0 and 100. Values returned by the API are rounded to two decimal places. example: 25.0 format: double maximum: 100 @@ -96438,7 +96438,7 @@ components: $ref: "#/components/schemas/RumRetentionFilterData" type: object RumRetentionFilterSampleRate: - description: The sample rate for a RUM retention filter, between 0.1 and 100. + description: The sample rate for a RUM retention filter, between 0.1 and 100. Values are truncated to one decimal place. example: 50.5 format: double maximum: 100 @@ -129136,6 +129136,11 @@ components: event_correlation_config_read: View event correlation configurations. event_correlation_config_write: Create and update event correlation configurations. events_read: Read Events data. + feature_flag_approvals_override: Override Feature Flag Approvals. + feature_flag_config_read: View Feature Flag Configurations. + feature_flag_config_write: Edit Feature Flag Configurations. + feature_flag_environment_config_read: View Feature Flag Environment settings. + feature_flag_environment_config_write: Modify Feature Flag Environment settings. hosts_read: List hosts and their attributes. incident_notification_settings_read: View Incident Notification Rule Settings. incident_notification_settings_write: Configure Incidents Notification Rule settings. @@ -153811,6 +153816,9 @@ paths: security: - apiKeyAuth: [] appKeyAuth: [] + - AuthZ: + - feature_flag_config_read + - feature_flag_environment_config_read summary: List feature flags tags: - Feature Flags @@ -153904,6 +153912,9 @@ paths: security: - apiKeyAuth: [] appKeyAuth: [] + - AuthZ: + - feature_flag_config_write + - feature_flag_environment_config_read summary: Create a feature flag tags: - Feature Flags @@ -153978,6 +153989,8 @@ paths: security: - apiKeyAuth: [] appKeyAuth: [] + - AuthZ: + - feature_flag_environment_config_read summary: List environments tags: - Feature Flags @@ -154050,6 +154063,8 @@ paths: security: - apiKeyAuth: [] appKeyAuth: [] + - AuthZ: + - feature_flag_environment_config_write summary: Create an environment tags: - Feature Flags @@ -154084,6 +154099,8 @@ paths: security: - apiKeyAuth: [] appKeyAuth: [] + - AuthZ: + - feature_flag_environment_config_write summary: Delete an environment tags: - Feature Flags @@ -154136,6 +154153,8 @@ paths: security: - apiKeyAuth: [] appKeyAuth: [] + - AuthZ: + - feature_flag_environment_config_read summary: Get an environment tags: - Feature Flags @@ -154211,6 +154230,8 @@ paths: security: - apiKeyAuth: [] appKeyAuth: [] + - AuthZ: + - feature_flag_environment_config_write summary: Update an environment tags: - Feature Flags @@ -154277,6 +154298,8 @@ paths: security: - apiKeyAuth: [] appKeyAuth: [] + - AuthZ: + - feature_flag_config_write summary: Pause a progressive rollout tags: - Feature Flags @@ -154343,6 +154366,8 @@ paths: security: - apiKeyAuth: [] appKeyAuth: [] + - AuthZ: + - feature_flag_config_write summary: Resume a progressive rollout tags: - Feature Flags @@ -154409,6 +154434,8 @@ paths: security: - apiKeyAuth: [] appKeyAuth: [] + - AuthZ: + - feature_flag_config_write summary: Start a progressive rollout tags: - Feature Flags @@ -154475,6 +154502,8 @@ paths: security: - apiKeyAuth: [] appKeyAuth: [] + - AuthZ: + - feature_flag_config_write summary: Stop a progressive rollout tags: - Feature Flags @@ -154536,6 +154565,9 @@ paths: security: - apiKeyAuth: [] appKeyAuth: [] + - AuthZ: + - feature_flag_config_read + - feature_flag_environment_config_read summary: Get a feature flag tags: - Feature Flags @@ -154618,6 +154650,9 @@ paths: security: - apiKeyAuth: [] appKeyAuth: [] + - AuthZ: + - feature_flag_config_write + - feature_flag_environment_config_read summary: Update a feature flag tags: - Feature Flags @@ -154686,6 +154721,9 @@ paths: security: - apiKeyAuth: [] appKeyAuth: [] + - AuthZ: + - feature_flag_config_write + - feature_flag_environment_config_read summary: Archive a feature flag tags: - Feature Flags @@ -154806,6 +154844,8 @@ paths: security: - apiKeyAuth: [] appKeyAuth: [] + - AuthZ: + - feature_flag_config_write summary: Create targeting rules for a flag env tags: - Feature Flags @@ -154908,6 +154948,8 @@ paths: security: - apiKeyAuth: [] appKeyAuth: [] + - AuthZ: + - feature_flag_config_write summary: Update targeting rules for a flag tags: - Feature Flags @@ -154945,6 +154987,9 @@ paths: security: - apiKeyAuth: [] appKeyAuth: [] + - AuthZ: + - feature_flag_config_write + - feature_flag_environment_config_read summary: Disable a feature flag in an environment tags: - Feature Flags @@ -154983,6 +155028,9 @@ paths: security: - apiKeyAuth: [] appKeyAuth: [] + - AuthZ: + - feature_flag_config_write + - feature_flag_environment_config_read summary: Enable a feature flag in an environment tags: - Feature Flags @@ -155050,6 +155098,9 @@ paths: security: - apiKeyAuth: [] appKeyAuth: [] + - AuthZ: + - feature_flag_config_write + - feature_flag_environment_config_read summary: Unarchive a feature flag tags: - Feature Flags @@ -155134,6 +155185,8 @@ paths: security: - apiKeyAuth: [] appKeyAuth: [] + - AuthZ: + - feature_flag_config_write summary: Add a variant to a feature flag tags: - Feature Flags @@ -155183,6 +155236,8 @@ paths: security: - apiKeyAuth: [] appKeyAuth: [] + - AuthZ: + - feature_flag_config_write summary: Delete a variant tags: - Feature Flags @@ -155262,6 +155317,8 @@ paths: security: - apiKeyAuth: [] appKeyAuth: [] + - AuthZ: + - feature_flag_config_write summary: Update a variant tags: - Feature Flags diff --git a/src/datadog_api_client/v2/api/feature_flags_api.py b/src/datadog_api_client/v2/api/feature_flags_api.py index 611336ffde..3d5b41d2b5 100644 --- a/src/datadog_api_client/v2/api/feature_flags_api.py +++ b/src/datadog_api_client/v2/api/feature_flags_api.py @@ -43,7 +43,7 @@ def __init__(self, api_client=None): self._archive_feature_flag_endpoint = _Endpoint( settings={ "response_type": (FeatureFlagResponse,), - "auth": ["apiKeyAuth", "appKeyAuth"], + "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], "endpoint_path": "/api/v2/feature-flags/{feature_flag_id}/archive", "operation_id": "archive_feature_flag", "http_method": "POST", @@ -66,7 +66,7 @@ def __init__(self, api_client=None): self._create_allocations_for_feature_flag_in_environment_endpoint = _Endpoint( settings={ "response_type": (AllocationResponse,), - "auth": ["apiKeyAuth", "appKeyAuth"], + "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], "endpoint_path": "/api/v2/feature-flags/{feature_flag_id}/environments/{environment_id}/allocations", "operation_id": "create_allocations_for_feature_flag_in_environment", "http_method": "POST", @@ -98,7 +98,7 @@ def __init__(self, api_client=None): self._create_feature_flag_endpoint = _Endpoint( settings={ "response_type": (FeatureFlagResponse,), - "auth": ["apiKeyAuth", "appKeyAuth"], + "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], "endpoint_path": "/api/v2/feature-flags", "operation_id": "create_feature_flag", "http_method": "POST", @@ -118,7 +118,7 @@ def __init__(self, api_client=None): self._create_feature_flags_environment_endpoint = _Endpoint( settings={ "response_type": (EnvironmentResponse,), - "auth": ["apiKeyAuth", "appKeyAuth"], + "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], "endpoint_path": "/api/v2/feature-flags/environments", "operation_id": "create_feature_flags_environment", "http_method": "POST", @@ -138,7 +138,7 @@ def __init__(self, api_client=None): self._create_variant_for_feature_flag_endpoint = _Endpoint( settings={ "response_type": (Variant,), - "auth": ["apiKeyAuth", "appKeyAuth"], + "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], "endpoint_path": "/api/v2/feature-flags/{feature_flag_id}/variants", "operation_id": "create_variant_for_feature_flag", "http_method": "POST", @@ -164,7 +164,7 @@ def __init__(self, api_client=None): self._delete_feature_flags_environment_endpoint = _Endpoint( settings={ "response_type": None, - "auth": ["apiKeyAuth", "appKeyAuth"], + "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], "endpoint_path": "/api/v2/feature-flags/environments/{environment_id}", "operation_id": "delete_feature_flags_environment", "http_method": "DELETE", @@ -187,7 +187,7 @@ def __init__(self, api_client=None): self._delete_variant_from_feature_flag_endpoint = _Endpoint( settings={ "response_type": None, - "auth": ["apiKeyAuth", "appKeyAuth"], + "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], "endpoint_path": "/api/v2/feature-flags/{feature_flag_id}/variants/{variant_id}", "operation_id": "delete_variant_from_feature_flag", "http_method": "DELETE", @@ -216,7 +216,7 @@ def __init__(self, api_client=None): self._disable_feature_flag_environment_endpoint = _Endpoint( settings={ "response_type": None, - "auth": ["apiKeyAuth", "appKeyAuth"], + "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], "endpoint_path": "/api/v2/feature-flags/{feature_flag_id}/environments/{environment_id}/disable", "operation_id": "disable_feature_flag_environment", "http_method": "POST", @@ -245,7 +245,7 @@ def __init__(self, api_client=None): self._enable_feature_flag_environment_endpoint = _Endpoint( settings={ "response_type": None, - "auth": ["apiKeyAuth", "appKeyAuth"], + "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], "endpoint_path": "/api/v2/feature-flags/{feature_flag_id}/environments/{environment_id}/enable", "operation_id": "enable_feature_flag_environment", "http_method": "POST", @@ -274,7 +274,7 @@ def __init__(self, api_client=None): self._get_feature_flag_endpoint = _Endpoint( settings={ "response_type": (FeatureFlagResponse,), - "auth": ["apiKeyAuth", "appKeyAuth"], + "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], "endpoint_path": "/api/v2/feature-flags/{feature_flag_id}", "operation_id": "get_feature_flag", "http_method": "GET", @@ -297,7 +297,7 @@ def __init__(self, api_client=None): self._get_feature_flags_environment_endpoint = _Endpoint( settings={ "response_type": (EnvironmentResponse,), - "auth": ["apiKeyAuth", "appKeyAuth"], + "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], "endpoint_path": "/api/v2/feature-flags/environments/{environment_id}", "operation_id": "get_feature_flags_environment", "http_method": "GET", @@ -320,7 +320,7 @@ def __init__(self, api_client=None): self._list_feature_flags_endpoint = _Endpoint( settings={ "response_type": (ListFeatureFlagsResponse,), - "auth": ["apiKeyAuth", "appKeyAuth"], + "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], "endpoint_path": "/api/v2/feature-flags", "operation_id": "list_feature_flags", "http_method": "GET", @@ -364,7 +364,7 @@ def __init__(self, api_client=None): self._list_feature_flags_environments_endpoint = _Endpoint( settings={ "response_type": (ListEnvironmentsResponse,), - "auth": ["apiKeyAuth", "appKeyAuth"], + "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], "endpoint_path": "/api/v2/feature-flags/environments", "operation_id": "list_feature_flags_environments", "http_method": "GET", @@ -413,7 +413,7 @@ def __init__(self, api_client=None): self._pause_exposure_schedule_endpoint = _Endpoint( settings={ "response_type": (AllocationExposureScheduleResponse,), - "auth": ["apiKeyAuth", "appKeyAuth"], + "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], "endpoint_path": "/api/v2/feature-flags/exposure-schedules/{exposure_schedule_id}/pause", "operation_id": "pause_exposure_schedule", "http_method": "POST", @@ -436,7 +436,7 @@ def __init__(self, api_client=None): self._resume_exposure_schedule_endpoint = _Endpoint( settings={ "response_type": (AllocationExposureScheduleResponse,), - "auth": ["apiKeyAuth", "appKeyAuth"], + "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], "endpoint_path": "/api/v2/feature-flags/exposure-schedules/{exposure_schedule_id}/resume", "operation_id": "resume_exposure_schedule", "http_method": "POST", @@ -459,7 +459,7 @@ def __init__(self, api_client=None): self._start_exposure_schedule_endpoint = _Endpoint( settings={ "response_type": (AllocationExposureScheduleResponse,), - "auth": ["apiKeyAuth", "appKeyAuth"], + "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], "endpoint_path": "/api/v2/feature-flags/exposure-schedules/{exposure_schedule_id}/start", "operation_id": "start_exposure_schedule", "http_method": "POST", @@ -482,7 +482,7 @@ def __init__(self, api_client=None): self._stop_exposure_schedule_endpoint = _Endpoint( settings={ "response_type": (AllocationExposureScheduleResponse,), - "auth": ["apiKeyAuth", "appKeyAuth"], + "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], "endpoint_path": "/api/v2/feature-flags/exposure-schedules/{exposure_schedule_id}/stop", "operation_id": "stop_exposure_schedule", "http_method": "POST", @@ -505,7 +505,7 @@ def __init__(self, api_client=None): self._unarchive_feature_flag_endpoint = _Endpoint( settings={ "response_type": (FeatureFlagResponse,), - "auth": ["apiKeyAuth", "appKeyAuth"], + "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], "endpoint_path": "/api/v2/feature-flags/{feature_flag_id}/unarchive", "operation_id": "unarchive_feature_flag", "http_method": "POST", @@ -528,7 +528,7 @@ def __init__(self, api_client=None): self._update_allocations_for_feature_flag_in_environment_endpoint = _Endpoint( settings={ "response_type": (ListAllocationsResponse,), - "auth": ["apiKeyAuth", "appKeyAuth"], + "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], "endpoint_path": "/api/v2/feature-flags/{feature_flag_id}/environments/{environment_id}/allocations", "operation_id": "update_allocations_for_feature_flag_in_environment", "http_method": "PUT", @@ -560,7 +560,7 @@ def __init__(self, api_client=None): self._update_feature_flag_endpoint = _Endpoint( settings={ "response_type": (FeatureFlagResponse,), - "auth": ["apiKeyAuth", "appKeyAuth"], + "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], "endpoint_path": "/api/v2/feature-flags/{feature_flag_id}", "operation_id": "update_feature_flag", "http_method": "PUT", @@ -586,7 +586,7 @@ def __init__(self, api_client=None): self._update_feature_flags_environment_endpoint = _Endpoint( settings={ "response_type": (EnvironmentResponse,), - "auth": ["apiKeyAuth", "appKeyAuth"], + "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], "endpoint_path": "/api/v2/feature-flags/environments/{environment_id}", "operation_id": "update_feature_flags_environment", "http_method": "PUT", @@ -612,7 +612,7 @@ def __init__(self, api_client=None): self._update_variant_for_feature_flag_endpoint = _Endpoint( settings={ "response_type": (Variant,), - "auth": ["apiKeyAuth", "appKeyAuth"], + "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], "endpoint_path": "/api/v2/feature-flags/{feature_flag_id}/variants/{variant_id}", "operation_id": "update_variant_for_feature_flag", "http_method": "PUT", diff --git a/src/datadog_api_client/v2/model/rum_cross_product_sampling.py b/src/datadog_api_client/v2/model/rum_cross_product_sampling.py index 60dbfde5eb..2f24a17e96 100644 --- a/src/datadog_api_client/v2/model/rum_cross_product_sampling.py +++ b/src/datadog_api_client/v2/model/rum_cross_product_sampling.py @@ -45,7 +45,7 @@ def __init__( :param trace_enabled: Whether the cross-product retention filter for APM traces is enabled. :type trace_enabled: bool, optional - :param trace_sample_rate: The sample rate for the APM cross-product retention filter, between 0 and 100. + :param trace_sample_rate: The sample rate for the APM cross-product retention filter, between 0 and 100. Values returned by the API are rounded to two decimal places. :type trace_sample_rate: float, optional """ if trace_enabled is not unset: diff --git a/src/datadog_api_client/v2/model/rum_retention_filter_attributes.py b/src/datadog_api_client/v2/model/rum_retention_filter_attributes.py index 1b9260bb13..0a1c8a59c5 100644 --- a/src/datadog_api_client/v2/model/rum_retention_filter_attributes.py +++ b/src/datadog_api_client/v2/model/rum_retention_filter_attributes.py @@ -77,7 +77,7 @@ def __init__( :param query: The query string for a RUM retention filter. :type query: str, optional - :param sample_rate: The sample rate for a RUM retention filter, between 0.1 and 100. + :param sample_rate: The sample rate for a RUM retention filter, between 0.1 and 100. Values are truncated to one decimal place. :type sample_rate: float, optional """ if cross_product_sampling is not unset: diff --git a/src/datadog_api_client/v2/model/rum_retention_filter_create_attributes.py b/src/datadog_api_client/v2/model/rum_retention_filter_create_attributes.py index ff5a06f7d4..2a6d20b445 100644 --- a/src/datadog_api_client/v2/model/rum_retention_filter_create_attributes.py +++ b/src/datadog_api_client/v2/model/rum_retention_filter_create_attributes.py @@ -77,7 +77,7 @@ def __init__( :param query: The query string for a RUM retention filter. :type query: str, optional - :param sample_rate: The sample rate for a RUM retention filter, between 0.1 and 100. + :param sample_rate: The sample rate for a RUM retention filter, between 0.1 and 100. Values are truncated to one decimal place. :type sample_rate: float """ if cross_product_sampling is not unset: diff --git a/src/datadog_api_client/v2/model/rum_retention_filter_update_attributes.py b/src/datadog_api_client/v2/model/rum_retention_filter_update_attributes.py index 9245b021d0..085372d216 100644 --- a/src/datadog_api_client/v2/model/rum_retention_filter_update_attributes.py +++ b/src/datadog_api_client/v2/model/rum_retention_filter_update_attributes.py @@ -77,7 +77,7 @@ def __init__( :param query: The query string for a RUM retention filter. :type query: str, optional - :param sample_rate: The sample rate for a RUM retention filter, between 0.1 and 100. + :param sample_rate: The sample rate for a RUM retention filter, between 0.1 and 100. Values are truncated to one decimal place. :type sample_rate: float, optional """ if cross_product_sampling is not unset: