Skip to content

Commit 198cfc7

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update the summary name for get a tag pipeline ruleset. (#3188)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 33b1c01 commit 198cfc7

File tree

7 files changed

+45
-47
lines changed

7 files changed

+45
-47
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75610,7 +75610,7 @@ paths:
7561075610
appKeyAuth: []
7561175611
- AuthZ:
7561275612
- cloud_cost_management_read
75613-
summary: Get ruleset
75613+
summary: Get a tag pipeline ruleset
7561475614
tags:
7561575615
- Cloud Cost Management
7561675616
patch:

examples/v2/cloud-cost-management/GetTagPipelinesRuleset.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Get ruleset returns "OK" response
1+
// Get a tag pipeline ruleset returns "OK" response
22

33
import com.datadog.api.client.ApiClient;
44
import com.datadog.api.client.ApiException;
@@ -11,7 +11,8 @@ public static void main(String[] args) {
1111
CloudCostManagementApi apiInstance = new CloudCostManagementApi(defaultClient);
1212

1313
try {
14-
RulesetResp result = apiInstance.getTagPipelinesRuleset("ruleset_id");
14+
RulesetResp result =
15+
apiInstance.getTagPipelinesRuleset("a1e9de9b-b88e-41c6-a0cd-cc0ebd7092de");
1516
System.out.println(result);
1617
} catch (ApiException e) {
1718
System.err.println("Exception when calling CloudCostManagementApi#getTagPipelinesRuleset");

examples/v2/cloud-cost-management/GetTagPipelinesRuleset_2339377367.java

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/main/java/com/datadog/api/client/v2/api/CloudCostManagementApi.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2524,7 +2524,7 @@ public ApiResponse<CustomCostsFileGetResponse> getCustomCostsFileWithHttpInfo(St
25242524
}
25252525

25262526
/**
2527-
* Get ruleset.
2527+
* Get a tag pipeline ruleset.
25282528
*
25292529
* <p>See {@link #getTagPipelinesRulesetWithHttpInfo}.
25302530
*
@@ -2537,7 +2537,7 @@ public RulesetResp getTagPipelinesRuleset(String rulesetId) throws ApiException
25372537
}
25382538

25392539
/**
2540-
* Get ruleset.
2540+
* Get a tag pipeline ruleset.
25412541
*
25422542
* <p>See {@link #getTagPipelinesRulesetWithHttpInfoAsync}.
25432543
*
@@ -2603,7 +2603,7 @@ public ApiResponse<RulesetResp> getTagPipelinesRulesetWithHttpInfo(String rulese
26032603
}
26042604

26052605
/**
2606-
* Get ruleset.
2606+
* Get a tag pipeline ruleset.
26072607
*
26082608
* <p>See {@link #getTagPipelinesRulesetWithHttpInfo}.
26092609
*
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2025-10-14T20:06:56.512Z
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
[
2+
{
3+
"httpRequest": {
4+
"headers": {},
5+
"method": "GET",
6+
"path": "/api/v2/tags/enrichment/a1e9de9b-b88e-41c6-a0cd-cc0ebd7092de",
7+
"keepAlive": false,
8+
"secure": true
9+
},
10+
"httpResponse": {
11+
"body": "{\"data\":{\"id\":\"a1e9de9b-b88e-41c6-a0cd-cc0ebd7092de\",\"type\":\"ruleset\",\"attributes\":{\"created\":{\"seconds\":1753803214,\"nanos\":75009000},\"enabled\":false,\"last_modified_user_uuid\":\"4acae75b-78ac-11ef-9c0d-e6936f49688e\",\"modified\":{\"seconds\":1753803214,\"nanos\":75009000},\"name\":\"EVP Cost Tags\",\"position\":1,\"processing_status\":\"done\",\"rules\":[{\"name\":\"EVP Cost Tags\",\"enabled\":true,\"query\":null,\"mapping\":null,\"reference_table\":{\"table_name\":\"evp_cost_tags\",\"source_keys\":[\"pod_name\"],\"field_pairs\":[{\"input_column\":\"cost_service\",\"output_key\":\"cost_service\"},{\"input_column\":\"cogs\",\"output_key\":\"cogs\"},{\"input_column\":\"cost_team\",\"output_key\":\"cost_team\"},{\"input_column\":\"cost_product\",\"output_key\":\"cost_product\"},{\"input_column\":\"subscription\",\"output_key\":\"subscription\"},{\"input_column\":\"cost_group\",\"output_key\":\"cost_group\"},{\"input_column\":\"cost_subservice\",\"output_key\":\"cost_subservice\"},{\"input_column\":\"cost_customer\",\"output_key\":\"cost_customer\"},{\"input_column\":\"cost_isolation_id\",\"output_key\":\"cost_isolation_id\"}],\"case_insensitivity\":false,\"if_not_exists\":false},\"metadata\":null},{\"name\":\"Load balancer runtimecosts-team\",\"enabled\":true,\"query\":{\"query\":\"dd-frontend-service:evp_* OR dd-frontend-service:logs_*\",\"addition\":{\"key\":\"runtimecosts-team\",\"value\":\"event-platform\"},\"if_not_exists\":true,\"case_insensitivity\":false},\"mapping\":null,\"reference_table\":null,\"metadata\":null}],\"version\":3588223}}}",
12+
"headers": {
13+
"Content-Type": [
14+
"application/vnd.api+json"
15+
]
16+
},
17+
"statusCode": 200,
18+
"reasonPhrase": "OK"
19+
},
20+
"times": {
21+
"remainingTimes": 1
22+
},
23+
"timeToLive": {
24+
"unlimited": true
25+
},
26+
"id": "d502db10-e146-bbbf-5c75-7d491d382757"
27+
}
28+
]

src/test/resources/com/datadog/api/client/v2/api/cloud_cost_management.feature

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,15 @@ Feature: Cloud Cost Management
262262
When the request is sent
263263
Then the response status is 200 OK
264264

265+
@replay-only @team:DataDog/cloud-cost-management
266+
Scenario: Get a tag pipeline ruleset returns "OK" response
267+
Given new "GetTagPipelinesRuleset" request
268+
And request contains "ruleset_id" parameter with value "a1e9de9b-b88e-41c6-a0cd-cc0ebd7092de"
269+
When the request is sent
270+
Then the response status is 200 OK
271+
And the response "data.type" is equal to "ruleset"
272+
And the response "data.attributes.name" is equal to "EVP Cost Tags"
273+
265274
@replay-only @team:DataDog/cloud-cost-management
266275
Scenario: Get cost AWS CUR config returns "OK" response
267276
Given new "GetCostAWSCURConfig" request
@@ -288,22 +297,6 @@ Feature: Cloud Cost Management
288297
When the request is sent
289298
Then the response status is 200 OK
290299

291-
@generated @skip @team:DataDog/cloud-cost-management
292-
Scenario: Get ruleset returns "OK" response
293-
Given new "GetTagPipelinesRuleset" request
294-
And request contains "ruleset_id" parameter from "REPLACE.ME"
295-
When the request is sent
296-
Then the response status is 200 OK
297-
298-
@replay-only @team:DataDog/cloud-cost-management
299-
Scenario: Get tag pipeline ruleset returns "OK" response
300-
Given new "GetTagPipelinesRuleset" request
301-
And request contains "ruleset_id" parameter with value "ee10c3ff-312f-464c-b4f6-46adaa6d00a1"
302-
When the request is sent
303-
Then the response status is 200 OK
304-
And the response "data.type" is equal to "ruleset"
305-
And the response "data.attributes.name" is equal to "New Ruleset"
306-
307300
@replay-only @team:DataDog/cloud-cost-management
308301
Scenario: List Cloud Cost Management AWS CUR configs returns "OK" response
309302
Given new "ListCostAWSCURConfigs" request

0 commit comments

Comments
 (0)