diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index ed984a56d..05026970b 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/datadogV2/api/api_restriction_policies.rs b/src/datadogV2/api/api_restriction_policies.rs index acc320481..9f7774bdf 100644 --- a/src/datadogV2/api/api_restriction_policies.rs +++ b/src/datadogV2/api/api_restriction_policies.rs @@ -359,6 +359,7 @@ impl RestrictionPoliciesAPI { /// - 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 @@ -389,6 +390,7 @@ impl RestrictionPoliciesAPI { /// Case Management Projects | `viewer`, `contributor`, `manager` /// Monitor Notification Rules | `viewer`, `editor` /// Status Pages | `viewer`, `responder`, `manager` + /// Feature Flags | `viewer`, `contributor`, `editor` pub async fn update_restriction_policy( &self, resource_id: String, @@ -445,6 +447,7 @@ impl RestrictionPoliciesAPI { /// - 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 @@ -475,6 +478,7 @@ impl RestrictionPoliciesAPI { /// Case Management Projects | `viewer`, `contributor`, `manager` /// Monitor Notification Rules | `viewer`, `editor` /// Status Pages | `viewer`, `responder`, `manager` + /// Feature Flags | `viewer`, `contributor`, `editor` pub async fn update_restriction_policy_with_http_info( &self, resource_id: String,