Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -197924,7 +197924,7 @@ paths:
operator: OR
permissions:
- synthetics_global_variable_write
/api/v2/tag-policies:
/api/v2/tag_policies:
get:
description: |-
Retrieve all tag policies for the organization. Optionally include disabled or deleted
Expand Down Expand Up @@ -198135,7 +198135,7 @@ paths:
x-unstable: |-
**Note**: This endpoint is in preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
/api/v2/tag-policies/{policy_id}:
/api/v2/tag_policies/{policy_id}:
delete:
description: |-
Delete a tag policy. By default the policy is soft-deleted so it can be recovered later
Expand Down Expand Up @@ -198395,7 +198395,7 @@ paths:
x-unstable: |-
**Note**: This endpoint is in preview and is subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
/api/v2/tag-policies/{policy_id}/score:
/api/v2/tag_policies/{policy_id}/score:
get:
description: |-
Retrieve the compliance score for a single tag policy. The score is computed over the
Expand Down
24 changes: 12 additions & 12 deletions src/main/java/com/datadog/api/client/v2/api/TagPoliciesApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public ApiResponse<TagPolicyResponse> createTagPolicyWithHttpInfo(TagPolicyCreat
400, "Missing the required parameter 'body' when calling createTagPolicy");
}
// create path and map variables
String localVarPath = "/api/v2/tag-policies";
String localVarPath = "/api/v2/tag_policies";

Map<String, String> localVarHeaderParams = new HashMap<String, String>();

Expand Down Expand Up @@ -172,7 +172,7 @@ public CompletableFuture<ApiResponse<TagPolicyResponse>> createTagPolicyWithHttp
return result;
}
// create path and map variables
String localVarPath = "/api/v2/tag-policies";
String localVarPath = "/api/v2/tag_policies";

Map<String, String> localVarHeaderParams = new HashMap<String, String>();

Expand Down Expand Up @@ -320,7 +320,7 @@ public ApiResponse<Void> deleteTagPolicyWithHttpInfo(
Boolean hardDelete = parameters.hardDelete;
// create path and map variables
String localVarPath =
"/api/v2/tag-policies/{policy_id}"
"/api/v2/tag_policies/{policy_id}"
.replaceAll("\\{" + "policy_id" + "\\}", apiClient.escapeString(policyId.toString()));

List<Pair> localVarQueryParams = new ArrayList<Pair>();
Expand Down Expand Up @@ -382,7 +382,7 @@ public CompletableFuture<ApiResponse<Void>> deleteTagPolicyWithHttpInfoAsync(
Boolean hardDelete = parameters.hardDelete;
// create path and map variables
String localVarPath =
"/api/v2/tag-policies/{policy_id}"
"/api/v2/tag_policies/{policy_id}"
.replaceAll("\\{" + "policy_id" + "\\}", apiClient.escapeString(policyId.toString()));

List<Pair> localVarQueryParams = new ArrayList<Pair>();
Expand Down Expand Up @@ -565,7 +565,7 @@ public ApiResponse<TagPolicyResponse> getTagPolicyWithHttpInfo(
Long tsEnd = parameters.tsEnd;
// create path and map variables
String localVarPath =
"/api/v2/tag-policies/{policy_id}"
"/api/v2/tag_policies/{policy_id}"
.replaceAll("\\{" + "policy_id" + "\\}", apiClient.escapeString(policyId.toString()));

List<Pair> localVarQueryParams = new ArrayList<Pair>();
Expand Down Expand Up @@ -631,7 +631,7 @@ public CompletableFuture<ApiResponse<TagPolicyResponse>> getTagPolicyWithHttpInf
Long tsEnd = parameters.tsEnd;
// create path and map variables
String localVarPath =
"/api/v2/tag-policies/{policy_id}"
"/api/v2/tag_policies/{policy_id}"
.replaceAll("\\{" + "policy_id" + "\\}", apiClient.escapeString(policyId.toString()));

List<Pair> localVarQueryParams = new ArrayList<Pair>();
Expand Down Expand Up @@ -804,7 +804,7 @@ public ApiResponse<TagPolicyScoreResponse> getTagPolicyScoreWithHttpInfo(
Long tsEnd = parameters.tsEnd;
// create path and map variables
String localVarPath =
"/api/v2/tag-policies/{policy_id}/score"
"/api/v2/tag_policies/{policy_id}/score"
.replaceAll("\\{" + "policy_id" + "\\}", apiClient.escapeString(policyId.toString()));

List<Pair> localVarQueryParams = new ArrayList<Pair>();
Expand Down Expand Up @@ -868,7 +868,7 @@ public CompletableFuture<ApiResponse<TagPolicyScoreResponse>> getTagPolicyScoreW
Long tsEnd = parameters.tsEnd;
// create path and map variables
String localVarPath =
"/api/v2/tag-policies/{policy_id}/score"
"/api/v2/tag_policies/{policy_id}/score"
.replaceAll("\\{" + "policy_id" + "\\}", apiClient.escapeString(policyId.toString()));

List<Pair> localVarQueryParams = new ArrayList<Pair>();
Expand Down Expand Up @@ -1082,7 +1082,7 @@ public ApiResponse<TagPoliciesListResponse> listTagPoliciesWithHttpInfo(
Long tsStart = parameters.tsStart;
Long tsEnd = parameters.tsEnd;
// create path and map variables
String localVarPath = "/api/v2/tag-policies";
String localVarPath = "/api/v2/tag_policies";

List<Pair> localVarQueryParams = new ArrayList<Pair>();
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
Expand Down Expand Up @@ -1142,7 +1142,7 @@ public CompletableFuture<ApiResponse<TagPoliciesListResponse>> listTagPoliciesWi
Long tsStart = parameters.tsStart;
Long tsEnd = parameters.tsEnd;
// create path and map variables
String localVarPath = "/api/v2/tag-policies";
String localVarPath = "/api/v2/tag_policies";

List<Pair> localVarQueryParams = new ArrayList<Pair>();
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
Expand Down Expand Up @@ -1259,7 +1259,7 @@ public ApiResponse<TagPolicyResponse> updateTagPolicyWithHttpInfo(
}
// create path and map variables
String localVarPath =
"/api/v2/tag-policies/{policy_id}"
"/api/v2/tag_policies/{policy_id}"
.replaceAll("\\{" + "policy_id" + "\\}", apiClient.escapeString(policyId.toString()));

Map<String, String> localVarHeaderParams = new HashMap<String, String>();
Expand Down Expand Up @@ -1326,7 +1326,7 @@ public CompletableFuture<ApiResponse<TagPolicyResponse>> updateTagPolicyWithHttp
}
// create path and map variables
String localVarPath =
"/api/v2/tag-policies/{policy_id}"
"/api/v2/tag_policies/{policy_id}"
.replaceAll("\\{" + "policy_id" + "\\}", apiClient.escapeString(policyId.toString()));

Map<String, String> localVarHeaderParams = new HashMap<String, String>();
Expand Down
Loading