diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index ed984a56d0e..05026970bb5 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -1527,7 +1527,7 @@ components: type: string ResourceID: description: |- - Identifier, formatted as `type:id`. Supported types: `dashboard`, `integration-service`, `integration-webhook`, `notebook`, `powerpack`, `reference-table`, `security-rule`, `slo`, `synthetics-global-variable`, `synthetics-test`, `synthetics-private-location`, `monitor`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`, `spreadsheet`, `on-call-schedule`, `on-call-escalation-policy`, `on-call-team-routing-rules`, `logs-pipeline`, `case-management-project`, `monitor-notification-rule`, `status-page`. + Identifier, formatted as `type:id`. Supported types: `dashboard`, `integration-service`, `integration-webhook`, `notebook`, `powerpack`, `reference-table`, `security-rule`, `slo`, `synthetics-global-variable`, `synthetics-test`, `synthetics-private-location`, `monitor`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`, `spreadsheet`, `on-call-schedule`, `on-call-escalation-policy`, `on-call-team-routing-rules`, `logs-pipeline`, `case-management-project`, `monitor-notification-rule`, `status-page`, `feature-flag`. example: "dashboard:abc-def-ghi" in: path name: resource_id @@ -171124,6 +171124,7 @@ paths: - Case Management Projects: `case-management-project` - Monitor Notification Rules: `monitor-notification-rule` - Status Pages: `status-page` + - Feature Flags: `feature-flag` #### Supported relations for resources Resource Type | Supported Relations @@ -171154,6 +171155,7 @@ paths: Case Management Projects | `viewer`, `contributor`, `manager` Monitor Notification Rules | `viewer`, `editor` Status Pages | `viewer`, `responder`, `manager` + Feature Flags | `viewer`, `contributor`, `editor` operationId: UpdateRestrictionPolicy parameters: - $ref: "#/components/parameters/ResourceID" diff --git a/src/main/java/com/datadog/api/client/v2/api/RestrictionPoliciesApi.java b/src/main/java/com/datadog/api/client/v2/api/RestrictionPoliciesApi.java index 555b19375c0..3cfefd631c7 100644 --- a/src/main/java/com/datadog/api/client/v2/api/RestrictionPoliciesApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/RestrictionPoliciesApi.java @@ -60,7 +60,7 @@ public void setApiClient(ApiClient apiClient) { * spreadsheet, on-call-schedule, on-call-escalation-policy * , on-call-team-routing-rules, logs-pipeline, * case-management-project, monitor-notification-rule, status-page - * . (required) + * , feature-flag. (required) * @throws ApiException if fails to make API call */ public void deleteRestrictionPolicy(String resourceId) throws ApiException { @@ -82,7 +82,7 @@ public void deleteRestrictionPolicy(String resourceId) throws ApiException { * spreadsheet, on-call-schedule, on-call-escalation-policy * , on-call-team-routing-rules, logs-pipeline, * case-management-project, monitor-notification-rule, status-page - * . (required) + * , feature-flag. (required) * @return CompletableFuture */ public CompletableFuture deleteRestrictionPolicyAsync(String resourceId) { @@ -106,7 +106,7 @@ public CompletableFuture deleteRestrictionPolicyAsync(String resourceId) { * spreadsheet, on-call-schedule, on-call-escalation-policy * , on-call-team-routing-rules, logs-pipeline, * case-management-project, monitor-notification-rule, status-page - * . (required) + * , feature-flag. (required) * @return ApiResponse<Void> * @throws ApiException if fails to make API call * @http.response.details @@ -171,7 +171,7 @@ public ApiResponse deleteRestrictionPolicyWithHttpInfo(String resourceId) * spreadsheet, on-call-schedule, on-call-escalation-policy * , on-call-team-routing-rules, logs-pipeline, * case-management-project, monitor-notification-rule, status-page - * . (required) + * , feature-flag. (required) * @return CompletableFuture<ApiResponse<Void>> */ public CompletableFuture> deleteRestrictionPolicyWithHttpInfoAsync( @@ -237,7 +237,7 @@ public CompletableFuture> deleteRestrictionPolicyWithHttpInfoA * spreadsheet, on-call-schedule, on-call-escalation-policy * , on-call-team-routing-rules, logs-pipeline, * case-management-project, monitor-notification-rule, status-page - * . (required) + * , feature-flag. (required) * @return RestrictionPolicyResponse * @throws ApiException if fails to make API call */ @@ -260,7 +260,7 @@ public RestrictionPolicyResponse getRestrictionPolicy(String resourceId) throws * spreadsheet, on-call-schedule, on-call-escalation-policy * , on-call-team-routing-rules, logs-pipeline, * case-management-project, monitor-notification-rule, status-page - * . (required) + * , feature-flag. (required) * @return CompletableFuture<RestrictionPolicyResponse> */ public CompletableFuture getRestrictionPolicyAsync(String resourceId) { @@ -284,7 +284,7 @@ public CompletableFuture getRestrictionPolicyAsync(St * spreadsheet, on-call-schedule, on-call-escalation-policy * , on-call-team-routing-rules, logs-pipeline, * case-management-project, monitor-notification-rule, status-page - * . (required) + * , feature-flag. (required) * @return ApiResponse<RestrictionPolicyResponse> * @throws ApiException if fails to make API call * @http.response.details @@ -349,7 +349,7 @@ public ApiResponse getRestrictionPolicyWithHttpInfo(S * spreadsheet, on-call-schedule, on-call-escalation-policy * , on-call-team-routing-rules, logs-pipeline, * case-management-project, monitor-notification-rule, status-page - * . (required) + * , feature-flag. (required) * @return CompletableFuture<ApiResponse<RestrictionPolicyResponse>> */ public CompletableFuture> @@ -434,7 +434,7 @@ public UpdateRestrictionPolicyOptionalParameters allowSelfLockout(Boolean allowS * spreadsheet, on-call-schedule, on-call-escalation-policy * , on-call-team-routing-rules, logs-pipeline, * case-management-project, monitor-notification-rule, status-page - * . (required) + * , feature-flag. (required) * @param body Restriction policy payload (required) * @return RestrictionPolicyResponse * @throws ApiException if fails to make API call @@ -461,7 +461,7 @@ resourceId, body, new UpdateRestrictionPolicyOptionalParameters()) * spreadsheet, on-call-schedule, on-call-escalation-policy * , on-call-team-routing-rules, logs-pipeline, * case-management-project, monitor-notification-rule, status-page - * . (required) + * , feature-flag. (required) * @param body Restriction policy payload (required) * @return CompletableFuture<RestrictionPolicyResponse> */ @@ -490,7 +490,7 @@ resourceId, body, new UpdateRestrictionPolicyOptionalParameters()) * spreadsheet, on-call-schedule, on-call-escalation-policy * , on-call-team-routing-rules, logs-pipeline, * case-management-project, monitor-notification-rule, status-page - * . (required) + * , feature-flag. (required) * @param body Restriction policy payload (required) * @param parameters Optional parameters for the request. * @return RestrictionPolicyResponse @@ -519,7 +519,7 @@ public RestrictionPolicyResponse updateRestrictionPolicy( * spreadsheet, on-call-schedule, on-call-escalation-policy * , on-call-team-routing-rules, logs-pipeline, * case-management-project, monitor-notification-rule, status-page - * . (required) + * , feature-flag. (required) * @param body Restriction policy payload (required) * @param parameters Optional parameters for the request. * @return CompletableFuture<RestrictionPolicyResponse> @@ -555,7 +555,7 @@ public CompletableFuture updateRestrictionPolicyAsync * on-call-escalation-policy - On-Call Team Routing Rules: on-call-team-routing-rules * - Logs Pipelines: logs-pipeline - Case Management Projects: * case-management-project - Monitor Notification Rules: monitor-notification-rule - * - Status Pages: status-page + * - Status Pages: status-page - Feature Flags: feature-flag * *

Supported relations for resources

* @@ -579,6 +579,7 @@ public CompletableFuture updateRestrictionPolicyAsync * , editor Case Management Projects | viewer, contributor * , manager Monitor Notification Rules | viewer, editor * Status Pages | viewer, responder, manager + * Feature Flags | viewer, contributor, editor * * @param resourceId Identifier, formatted as type:id. Supported types: * dashboard, integration-service, integration-webhook, @@ -590,7 +591,7 @@ public CompletableFuture updateRestrictionPolicyAsync * spreadsheet, on-call-schedule, on-call-escalation-policy * , on-call-team-routing-rules, logs-pipeline, * case-management-project, monitor-notification-rule, status-page - * . (required) + * , feature-flag. (required) * @param body Restriction policy payload (required) * @param parameters Optional parameters for the request. * @return ApiResponse<RestrictionPolicyResponse> @@ -671,7 +672,7 @@ public ApiResponse updateRestrictionPolicyWithHttpInf * spreadsheet, on-call-schedule, on-call-escalation-policy * , on-call-team-routing-rules, logs-pipeline, * case-management-project, monitor-notification-rule, status-page - * . (required) + * , feature-flag. (required) * @param body Restriction policy payload (required) * @param parameters Optional parameters for the request. * @return CompletableFuture<ApiResponse<RestrictionPolicyResponse>>