From a7734b598317709c6bbc3aaa03997852e5668e6a Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Wed, 8 Apr 2026 14:52:41 +0200 Subject: [PATCH 1/2] Regenerate client from commit cc34657 of spec repo (#3199) Co-authored-by: ci.datadog-api-spec --- .generator/schemas/v1/openapi.yaml | 24 +++++++++++++++++++ .generator/schemas/v2/openapi.yaml | 2 ++ ...uct_analytics_audience_account_subquery.rb | 4 ++-- .../product_analytics_audience_filters.rb | 2 +- ...ct_analytics_audience_occurrence_filter.rb | 6 ++--- ...uct_analytics_audience_segment_subquery.rb | 4 ++-- ...roduct_analytics_audience_user_subquery.rb | 4 ++-- .../v1/models/sankey_rum_query.rb | 2 +- ...ount_definition_with_bad_events_formula.rb | 2 +- ...nt_definition_with_total_events_formula.rb | 2 +- 10 files changed, 39 insertions(+), 13 deletions(-) diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 5f6006a6baaf..2562b6db95b1 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -2782,6 +2782,7 @@ components: peer_tags: description: Tags to query for a specific downstream entity (peer.service, peer.db_instance, peer.s3, peer.s3.bucket, etc.). items: + description: "A tag identifying a specific downstream entity (for example: peer.service, peer.db_instance)." example: "peer.service:my-service" type: string type: array @@ -6647,6 +6648,7 @@ components: sources: additionalProperties: items: + description: A fallback source attribute name. type: string type: array description: Fallback sources used to populate value of field. @@ -6695,6 +6697,7 @@ components: description: Optional list of profiles to modify the schema. example: ["security_control", "host"] items: + description: A profile name that modifies the schema behavior. type: string type: array schema_type: @@ -7808,6 +7811,7 @@ components: description: Columns to group results by. example: ["col1", "col2"] items: + description: A column name to group results by. type: string type: array model_type_override: @@ -7827,6 +7831,7 @@ components: description: Optional grouping fields for aggregation. example: ["entity_id"] items: + description: A field name to group results by. type: string type: array measure: @@ -11161,8 +11166,10 @@ components: description: Product Analytics audience account subquery. properties: name: + description: The name of the account subquery. type: string query: + description: The query string for the account subquery. type: string type: object ProductAnalyticsAudienceFilters: @@ -11173,6 +11180,7 @@ components: $ref: "#/components/schemas/ProductAnalyticsAudienceAccountSubquery" type: array filter_condition: + description: An optional filter condition applied to the audience subquery. type: string segments: items: @@ -11184,26 +11192,33 @@ components: type: array type: object ProductAnalyticsAudienceOccurrenceFilter: + description: Filter applied to occurrence counts when building a Product Analytics audience. properties: operator: + description: "The comparison operator used for the occurrence filter (for example: `gt`, `lt`, `eq`)." type: string value: + description: The threshold value to compare occurrence counts against. type: string type: object ProductAnalyticsAudienceSegmentSubquery: description: Product Analytics audience segment subquery. properties: name: + description: The name of the segment subquery. type: string segment_id: + description: The unique identifier of the segment. type: string type: object ProductAnalyticsAudienceUserSubquery: description: Product Analytics audience user subquery. properties: name: + description: The name of the user subquery. type: string query: + description: The query string for the user subquery. type: string type: object QuerySortOrder: @@ -11772,6 +11787,7 @@ components: - $ref: "#/components/schemas/SLOCountDefinitionWithBadEventsFormula" SLOCountDefinitionWithBadEventsFormula: additionalProperties: false + description: SLO count definition using a bad events formula alongside a good events formula. properties: bad_events_formula: $ref: "#/components/schemas/SLOFormula" @@ -11798,6 +11814,7 @@ components: type: object SLOCountDefinitionWithTotalEventsFormula: additionalProperties: false + description: SLO count definition using a total events formula alongside a good events formula. properties: good_events_formula: $ref: "#/components/schemas/SLOFormula" @@ -13004,6 +13021,7 @@ components: description: Fields to group by. example: ["source", "destination"] items: + description: A field name to group by. type: string type: array limit: @@ -13626,6 +13644,7 @@ components: Always included in service level objective responses (but may be empty). example: ["env:prod", "app:core"] items: + description: A tag associated with the service level objective. type: string type: array created_at: @@ -13649,6 +13668,7 @@ components: env_tags: description: Tags with the `env` tag key. items: + description: A tag with the `env` tag key. type: string type: array groups: @@ -13693,6 +13713,7 @@ components: service_tags: description: Tags with the `service` tag key. items: + description: A tag with the `service` tag key. type: string type: array slo_type: @@ -13702,6 +13723,7 @@ components: team_tags: description: Tags with the `team` tag key. items: + description: A tag with the `team` tag key. type: string type: array thresholds: @@ -14712,6 +14734,7 @@ components: description: The tag values. example: ["env"] items: + description: A tag value string. minLength: 1 type: string type: array @@ -17989,6 +18012,7 @@ components: blockedRequestPatterns: description: Array of URL patterns to block. items: + description: A URL pattern to block during the Synthetic test. type: string type: array checkCertificateRevocation: diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 45c7a5c59097..a3552282a2ae 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -25792,6 +25792,7 @@ components: description: Tags associated with the feature flag. example: [] items: + description: A tag associated with the feature flag. type: string type: array updated_at: @@ -25845,6 +25846,7 @@ components: - "test-feature-flag" - "env-search-term" items: + description: A query string targeting the environment. type: string type: array is_production: diff --git a/lib/datadog_api_client/v1/models/product_analytics_audience_account_subquery.rb b/lib/datadog_api_client/v1/models/product_analytics_audience_account_subquery.rb index d112a42c07f9..3d368c8ae3fb 100644 --- a/lib/datadog_api_client/v1/models/product_analytics_audience_account_subquery.rb +++ b/lib/datadog_api_client/v1/models/product_analytics_audience_account_subquery.rb @@ -21,10 +21,10 @@ module DatadogAPIClient::V1 class ProductAnalyticsAudienceAccountSubquery include BaseGenericModel - # + # The name of the account subquery. attr_accessor :name - # + # The query string for the account subquery. attr_accessor :query attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v1/models/product_analytics_audience_filters.rb b/lib/datadog_api_client/v1/models/product_analytics_audience_filters.rb index 65132499059f..3b52b5b44650 100644 --- a/lib/datadog_api_client/v1/models/product_analytics_audience_filters.rb +++ b/lib/datadog_api_client/v1/models/product_analytics_audience_filters.rb @@ -24,7 +24,7 @@ class ProductAnalyticsAudienceFilters # attr_accessor :accounts - # + # An optional filter condition applied to the audience subquery. attr_accessor :filter_condition # diff --git a/lib/datadog_api_client/v1/models/product_analytics_audience_occurrence_filter.rb b/lib/datadog_api_client/v1/models/product_analytics_audience_occurrence_filter.rb index dd05a1aef74c..454f5646ee28 100644 --- a/lib/datadog_api_client/v1/models/product_analytics_audience_occurrence_filter.rb +++ b/lib/datadog_api_client/v1/models/product_analytics_audience_occurrence_filter.rb @@ -17,14 +17,14 @@ require 'time' module DatadogAPIClient::V1 - # + # Filter applied to occurrence counts when building a Product Analytics audience. class ProductAnalyticsAudienceOccurrenceFilter include BaseGenericModel - # + # The comparison operator used for the occurrence filter (for example: `gt`, `lt`, `eq`). attr_accessor :operator - # + # The threshold value to compare occurrence counts against. attr_accessor :value attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v1/models/product_analytics_audience_segment_subquery.rb b/lib/datadog_api_client/v1/models/product_analytics_audience_segment_subquery.rb index d1bed71c20d8..4788ea102e85 100644 --- a/lib/datadog_api_client/v1/models/product_analytics_audience_segment_subquery.rb +++ b/lib/datadog_api_client/v1/models/product_analytics_audience_segment_subquery.rb @@ -21,10 +21,10 @@ module DatadogAPIClient::V1 class ProductAnalyticsAudienceSegmentSubquery include BaseGenericModel - # + # The name of the segment subquery. attr_accessor :name - # + # The unique identifier of the segment. attr_accessor :segment_id attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v1/models/product_analytics_audience_user_subquery.rb b/lib/datadog_api_client/v1/models/product_analytics_audience_user_subquery.rb index e73df00e5c87..6b0628e1637c 100644 --- a/lib/datadog_api_client/v1/models/product_analytics_audience_user_subquery.rb +++ b/lib/datadog_api_client/v1/models/product_analytics_audience_user_subquery.rb @@ -21,10 +21,10 @@ module DatadogAPIClient::V1 class ProductAnalyticsAudienceUserSubquery include BaseGenericModel - # + # The name of the user subquery. attr_accessor :name - # + # The query string for the user subquery. attr_accessor :query attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v1/models/sankey_rum_query.rb b/lib/datadog_api_client/v1/models/sankey_rum_query.rb index b0b96020dadf..da33641462d7 100644 --- a/lib/datadog_api_client/v1/models/sankey_rum_query.rb +++ b/lib/datadog_api_client/v1/models/sankey_rum_query.rb @@ -39,7 +39,7 @@ class SankeyRumQuery # Number of steps. attr_accessor :number_of_steps - # + # Filter applied to occurrence counts when building a Product Analytics audience. attr_accessor :occurrences # Query string. diff --git a/lib/datadog_api_client/v1/models/slo_count_definition_with_bad_events_formula.rb b/lib/datadog_api_client/v1/models/slo_count_definition_with_bad_events_formula.rb index 4edd168b210d..0cf8b2a1b70c 100644 --- a/lib/datadog_api_client/v1/models/slo_count_definition_with_bad_events_formula.rb +++ b/lib/datadog_api_client/v1/models/slo_count_definition_with_bad_events_formula.rb @@ -17,7 +17,7 @@ require 'time' module DatadogAPIClient::V1 - # + # SLO count definition using a bad events formula alongside a good events formula. class SLOCountDefinitionWithBadEventsFormula include BaseGenericModel diff --git a/lib/datadog_api_client/v1/models/slo_count_definition_with_total_events_formula.rb b/lib/datadog_api_client/v1/models/slo_count_definition_with_total_events_formula.rb index 25e3054dc1fb..32aa82bb20a1 100644 --- a/lib/datadog_api_client/v1/models/slo_count_definition_with_total_events_formula.rb +++ b/lib/datadog_api_client/v1/models/slo_count_definition_with_total_events_formula.rb @@ -17,7 +17,7 @@ require 'time' module DatadogAPIClient::V1 - # + # SLO count definition using a total events formula alongside a good events formula. class SLOCountDefinitionWithTotalEventsFormula include BaseGenericModel From af4cea8a39e777a2ba1793d012d4e2cf0a786567 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Wed, 8 Apr 2026 15:41:07 +0200 Subject: [PATCH 2/2] Regenerate client from commit cf43e6e of spec repo (#3198) Co-authored-by: ci.datadog-api-spec --- .generator/schemas/v2/openapi.yaml | 77 ++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index a3552282a2ae..c1ace36c385d 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -2095,6 +2095,13 @@ components: properties: data: $ref: "#/components/schemas/AWSCloudAuthPersonaMappingsData" + example: + - attributes: + account_identifier: "test@test.com" + account_uuid: "12bbdc5c-5966-47e0-8733-285f9e44bcf4" + arn_pattern: "arn:aws:iam::123456789012:user/testuser" + id: "c5c758c6-18c2-4484-ae3f-46b84128404a" + type: aws_cloud_auth_config required: - data type: object @@ -31068,6 +31075,11 @@ components: properties: data: $ref: "#/components/schemas/IncidentHandlesResponseData" + example: + - attributes: + name: "@incident-sev-1" + id: "12ceee6d-a7c0-4407-bc54-30e54140d7f0" + type: incident_handles included: $ref: "#/components/schemas/IncidentHandleIncludedResponse" required: @@ -35460,6 +35472,12 @@ components: properties: data: $ref: "#/components/schemas/JiraAccountsData" + example: + - attributes: + consumer_key: "consumer-key-1" + instance_url: "https://example.atlassian.net" + id: "account-1" + type: jira-account meta: $ref: "#/components/schemas/JiraAccountsMeta" required: @@ -35781,6 +35799,17 @@ components: properties: data: $ref: "#/components/schemas/JiraIssueTemplatesData" + example: + - attributes: + fields: + description: + payload: "Test Description" + type: "json" + issue_type_id: "10001" + name: "Bug Report Template" + project_id: "PROJECT-1" + id: "65b3341b-0680-47f9-a6d4-134db45c603e" + type: jira-issue-template included: $ref: "#/components/schemas/JiraAccountsData" required: @@ -37850,6 +37879,14 @@ components: properties: data: $ref: "#/components/schemas/ListFindingsData" + example: + - attributes: + evaluation: fail + resource: "arn:aws:s3:::my-bucket" + resource_type: aws_s3_bucket + status: open + id: "abc-123-xyz" + type: finding meta: $ref: "#/components/schemas/ListFindingsMeta" required: @@ -48487,6 +48524,12 @@ components: properties: data: $ref: "#/components/schemas/OutcomesBatchResponseData" + example: + - attributes: + service_name: my-service + state: pass + id: "outcome-abc123" + type: rule-outcome meta: $ref: "#/components/schemas/OutcomesBatchResponseMeta" required: @@ -62799,6 +62842,13 @@ components: properties: data: $ref: "#/components/schemas/ServiceNowAssignmentGroupsData" + example: + - attributes: + group_name: "IT Operations" + group_sys_id: "abc123def456" + instance_id: "65b3341b-0680-47f9-a6d4-134db45c603e" + id: "65b3341b-0680-47f9-a6d4-134db45c603e" + type: assignment_groups required: - data type: object @@ -62906,6 +62956,13 @@ components: properties: data: $ref: "#/components/schemas/ServiceNowBusinessServicesData" + example: + - attributes: + instance_id: "65b3341b-0680-47f9-a6d4-134db45c603e" + service_name: "IT Support" + service_sys_id: "abc123def456" + id: "65b3341b-0680-47f9-a6d4-134db45c603e" + type: business_services required: - data type: object @@ -62962,6 +63019,11 @@ components: properties: data: $ref: "#/components/schemas/ServiceNowInstancesData" + example: + - attributes: + instance_name: "my-servicenow-instance" + id: "65b3341b-0680-47f9-a6d4-134db45c603e" + type: instance required: - data type: object @@ -63207,6 +63269,13 @@ components: properties: data: $ref: "#/components/schemas/ServiceNowTemplatesData" + example: + - attributes: + handle_name: "incident-template" + instance_id: "65b3341b-0680-47f9-a6d4-134db45c603e" + servicenow_tablename: "incident" + id: "65b3341b-0680-47f9-a6d4-134db45c603e" + type: servicenow_templates required: - data type: object @@ -63333,6 +63402,14 @@ components: properties: data: $ref: "#/components/schemas/ServiceNowUsersData" + example: + - attributes: + email: "john.doe@example.com" + instance_id: "65b3341b-0680-47f9-a6d4-134db45c603e" + user_name: "john.doe" + user_sys_id: "abc123def456" + id: "65b3341b-0680-47f9-a6d4-134db45c603e" + type: users required: - data type: object