Skip to content

Commit

Permalink
Regenerate client from commit 3c2c49f2 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Aug 26, 2024
1 parent e1f5665 commit 2b5bfff
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 20 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-08-23 21:03:25.532490",
"spec_repo_commit": "f3d81376"
"regenerated": "2024-08-26 07:37:38.605831",
"spec_repo_commit": "3c2c49f2"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-08-23 21:03:25.550714",
"spec_repo_commit": "f3d81376"
"regenerated": "2024-08-26 07:37:38.628043",
"spec_repo_commit": "3c2c49f2"
}
}
}
8 changes: 6 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ components:
type: string
ResourceID:
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
`dashboard`, `notebook`, `security-rule`, `slo`.'
`dashboard`, `notebook`, `security-rule`, `slo`, `suppression-rule`.'
example: dashboard:abc-def-ghi
in: path
name: resource_id
Expand Down Expand Up @@ -32720,6 +32720,8 @@ paths:

- Monitors: `monitor`

- Suppression Rules: `suppression-rule`


#### Supported relations for resources

Expand All @@ -32743,7 +32745,9 @@ paths:

Synthetic Private Locations | `viewer`, `editor`

Monitors | `viewer`, `editor`'
Monitors | `viewer`, `editor`

Suppression Rules | `viewer`, `editor`'
operationId: UpdateRestrictionPolicy
parameters:
- $ref: '#/components/parameters/ResourceID'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void setApiClient(ApiClient apiClient) {
*
* @param resourceId Identifier, formatted as <code>type:id</code>. Supported types: <code>
* connection</code>, <code>dashboard</code>, <code>notebook</code>, <code>security-rule
* </code>, <code>slo</code>. (required)
* </code>, <code>slo</code>, <code>suppression-rule</code>. (required)
* @throws ApiException if fails to make API call
*/
public void deleteRestrictionPolicy(String resourceId) throws ApiException {
Expand All @@ -65,7 +65,7 @@ public void deleteRestrictionPolicy(String resourceId) throws ApiException {
*
* @param resourceId Identifier, formatted as <code>type:id</code>. Supported types: <code>
* connection</code>, <code>dashboard</code>, <code>notebook</code>, <code>security-rule
* </code>, <code>slo</code>. (required)
* </code>, <code>slo</code>, <code>suppression-rule</code>. (required)
* @return CompletableFuture
*/
public CompletableFuture<Void> deleteRestrictionPolicyAsync(String resourceId) {
Expand All @@ -81,7 +81,7 @@ public CompletableFuture<Void> deleteRestrictionPolicyAsync(String resourceId) {
*
* @param resourceId Identifier, formatted as <code>type:id</code>. Supported types: <code>
* connection</code>, <code>dashboard</code>, <code>notebook</code>, <code>security-rule
* </code>, <code>slo</code>. (required)
* </code>, <code>slo</code>, <code>suppression-rule</code>. (required)
* @return ApiResponse&lt;Void&gt;
* @throws ApiException if fails to make API call
* @http.response.details
Expand Down Expand Up @@ -138,7 +138,7 @@ public ApiResponse<Void> deleteRestrictionPolicyWithHttpInfo(String resourceId)
*
* @param resourceId Identifier, formatted as <code>type:id</code>. Supported types: <code>
* connection</code>, <code>dashboard</code>, <code>notebook</code>, <code>security-rule
* </code>, <code>slo</code>. (required)
* </code>, <code>slo</code>, <code>suppression-rule</code>. (required)
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
*/
public CompletableFuture<ApiResponse<Void>> deleteRestrictionPolicyWithHttpInfoAsync(
Expand Down Expand Up @@ -196,7 +196,7 @@ public CompletableFuture<ApiResponse<Void>> deleteRestrictionPolicyWithHttpInfoA
*
* @param resourceId Identifier, formatted as <code>type:id</code>. Supported types: <code>
* connection</code>, <code>dashboard</code>, <code>notebook</code>, <code>security-rule
* </code>, <code>slo</code>. (required)
* </code>, <code>slo</code>, <code>suppression-rule</code>. (required)
* @return RestrictionPolicyResponse
* @throws ApiException if fails to make API call
*/
Expand All @@ -211,7 +211,7 @@ public RestrictionPolicyResponse getRestrictionPolicy(String resourceId) throws
*
* @param resourceId Identifier, formatted as <code>type:id</code>. Supported types: <code>
* connection</code>, <code>dashboard</code>, <code>notebook</code>, <code>security-rule
* </code>, <code>slo</code>. (required)
* </code>, <code>slo</code>, <code>suppression-rule</code>. (required)
* @return CompletableFuture&lt;RestrictionPolicyResponse&gt;
*/
public CompletableFuture<RestrictionPolicyResponse> getRestrictionPolicyAsync(String resourceId) {
Expand All @@ -227,7 +227,7 @@ public CompletableFuture<RestrictionPolicyResponse> getRestrictionPolicyAsync(St
*
* @param resourceId Identifier, formatted as <code>type:id</code>. Supported types: <code>
* connection</code>, <code>dashboard</code>, <code>notebook</code>, <code>security-rule
* </code>, <code>slo</code>. (required)
* </code>, <code>slo</code>, <code>suppression-rule</code>. (required)
* @return ApiResponse&lt;RestrictionPolicyResponse&gt;
* @throws ApiException if fails to make API call
* @http.response.details
Expand Down Expand Up @@ -284,7 +284,7 @@ public ApiResponse<RestrictionPolicyResponse> getRestrictionPolicyWithHttpInfo(S
*
* @param resourceId Identifier, formatted as <code>type:id</code>. Supported types: <code>
* connection</code>, <code>dashboard</code>, <code>notebook</code>, <code>security-rule
* </code>, <code>slo</code>. (required)
* </code>, <code>slo</code>, <code>suppression-rule</code>. (required)
* @return CompletableFuture&lt;ApiResponse&lt;RestrictionPolicyResponse&gt;&gt;
*/
public CompletableFuture<ApiResponse<RestrictionPolicyResponse>>
Expand Down Expand Up @@ -342,7 +342,7 @@ public ApiResponse<RestrictionPolicyResponse> getRestrictionPolicyWithHttpInfo(S
*
* @param resourceId Identifier, formatted as <code>type:id</code>. Supported types: <code>
* connection</code>, <code>dashboard</code>, <code>notebook</code>, <code>security-rule
* </code>, <code>slo</code>. (required)
* </code>, <code>slo</code>, <code>suppression-rule</code>. (required)
* @param body Restriction policy payload (required)
* @return RestrictionPolicyResponse
* @throws ApiException if fails to make API call
Expand All @@ -359,7 +359,7 @@ public RestrictionPolicyResponse updateRestrictionPolicy(
*
* @param resourceId Identifier, formatted as <code>type:id</code>. Supported types: <code>
* connection</code>, <code>dashboard</code>, <code>notebook</code>, <code>security-rule
* </code>, <code>slo</code>. (required)
* </code>, <code>slo</code>, <code>suppression-rule</code>. (required)
* @param body Restriction policy payload (required)
* @return CompletableFuture&lt;RestrictionPolicyResponse&gt;
*/
Expand All @@ -382,7 +382,7 @@ public CompletableFuture<RestrictionPolicyResponse> updateRestrictionPolicyAsync
* Security Rules: <code>security-rule</code> - Service Level Objectives: <code>slo</code> -
* Synthetic Global Variables: <code>synthetics-global-variable</code> - Synthetic Tests: <code>
* synthetics-test</code> - Synthetic Private Locations: <code>synthetics-private-location</code>
* - Monitors: <code>monitor</code>
* - Monitors: <code>monitor</code> - Suppression Rules: <code>suppression-rule</code>
*
* <h3>Supported relations for resources</h3>
*
Expand All @@ -392,11 +392,12 @@ public CompletableFuture<RestrictionPolicyResponse> updateRestrictionPolicyAsync
* viewer</code>, <code>editor</code> Service Level Objectives | <code>viewer</code>, <code>editor
* </code> Synthetic Global Variables | <code>viewer</code>, <code>editor</code> Synthetic Tests |
* <code>viewer</code>, <code>editor</code> Synthetic Private Locations | <code>viewer</code>,
* <code>editor</code> Monitors | <code>viewer</code>, <code>editor</code>
* <code>editor</code> Monitors | <code>viewer</code>, <code>editor</code> Suppression Rules |
* <code>viewer</code>, <code>editor</code>
*
* @param resourceId Identifier, formatted as <code>type:id</code>. Supported types: <code>
* connection</code>, <code>dashboard</code>, <code>notebook</code>, <code>security-rule
* </code>, <code>slo</code>. (required)
* </code>, <code>slo</code>, <code>suppression-rule</code>. (required)
* @param body Restriction policy payload (required)
* @return ApiResponse&lt;RestrictionPolicyResponse&gt;
* @throws ApiException if fails to make API call
Expand Down Expand Up @@ -460,7 +461,7 @@ public ApiResponse<RestrictionPolicyResponse> updateRestrictionPolicyWithHttpInf
*
* @param resourceId Identifier, formatted as <code>type:id</code>. Supported types: <code>
* connection</code>, <code>dashboard</code>, <code>notebook</code>, <code>security-rule
* </code>, <code>slo</code>. (required)
* </code>, <code>slo</code>, <code>suppression-rule</code>. (required)
* @param body Restriction policy payload (required)
* @return CompletableFuture&lt;ApiResponse&lt;RestrictionPolicyResponse&gt;&gt;
*/
Expand Down

0 comments on commit 2b5bfff

Please sign in to comment.