Skip to content

Commit 307246e

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 8b789ce of spec repo
1 parent 192bab1 commit 307246e

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1527,7 +1527,7 @@ components:
15271527
type: string
15281528
ResourceID:
15291529
description: |-
1530-
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`.
1530+
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`.
15311531
example: "dashboard:abc-def-ghi"
15321532
in: path
15331533
name: resource_id
@@ -171124,6 +171124,7 @@ paths:
171124171124
- Case Management Projects: `case-management-project`
171125171125
- Monitor Notification Rules: `monitor-notification-rule`
171126171126
- Status Pages: `status-page`
171127+
- Feature Flags: `feature-flag`
171127171128

171128171129
#### Supported relations for resources
171129171130
Resource Type | Supported Relations
@@ -171154,6 +171155,7 @@ paths:
171154171155
Case Management Projects | `viewer`, `contributor`, `manager`
171155171156
Monitor Notification Rules | `viewer`, `editor`
171156171157
Status Pages | `viewer`, `responder`, `manager`
171158+
Feature Flags | `viewer`, `contributor`, `editor`
171157171159
operationId: UpdateRestrictionPolicy
171158171160
parameters:
171159171161
- $ref: "#/components/parameters/ResourceID"

src/datadogV2/api/api_restriction_policies.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ impl RestrictionPoliciesAPI {
359359
/// - Case Management Projects: `case-management-project`
360360
/// - Monitor Notification Rules: `monitor-notification-rule`
361361
/// - Status Pages: `status-page`
362+
/// - Feature Flags: `feature-flag`
362363
///
363364
/// #### Supported relations for resources
364365
/// Resource Type | Supported Relations
@@ -389,6 +390,7 @@ impl RestrictionPoliciesAPI {
389390
/// Case Management Projects | `viewer`, `contributor`, `manager`
390391
/// Monitor Notification Rules | `viewer`, `editor`
391392
/// Status Pages | `viewer`, `responder`, `manager`
393+
/// Feature Flags | `viewer`, `contributor`, `editor`
392394
pub async fn update_restriction_policy(
393395
&self,
394396
resource_id: String,
@@ -445,6 +447,7 @@ impl RestrictionPoliciesAPI {
445447
/// - Case Management Projects: `case-management-project`
446448
/// - Monitor Notification Rules: `monitor-notification-rule`
447449
/// - Status Pages: `status-page`
450+
/// - Feature Flags: `feature-flag`
448451
///
449452
/// #### Supported relations for resources
450453
/// Resource Type | Supported Relations
@@ -475,6 +478,7 @@ impl RestrictionPoliciesAPI {
475478
/// Case Management Projects | `viewer`, `contributor`, `manager`
476479
/// Monitor Notification Rules | `viewer`, `editor`
477480
/// Status Pages | `viewer`, `responder`, `manager`
481+
/// Feature Flags | `viewer`, `contributor`, `editor`
478482
pub async fn update_restriction_policy_with_http_info(
479483
&self,
480484
resource_id: String,

0 commit comments

Comments
 (0)