diff --git a/.apigentools-info b/.apigentools-info index 753442770..fd9bf24cd 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-12-05 20:22:34.887949", - "spec_repo_commit": "970515f9" + "regenerated": "2024-12-06 20:03:31.136850", + "spec_repo_commit": "40cfa1aa" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-12-05 20:22:34.907021", - "spec_repo_commit": "970515f9" + "regenerated": "2024-12-06 20:03:31.156653", + "spec_repo_commit": "40cfa1aa" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 55d50bce8..568b2a0b4 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -597,7 +597,7 @@ components: type: string ResourceID: description: 'Identifier, formatted as `type:id`. Supported types: `connection`, - `dashboard`, `notebook`, `security-rule`, `slo`.' + `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`.' example: dashboard:abc-def-ghi in: path name: resource_id @@ -37811,6 +37811,8 @@ paths: - Powerpacks: `powerpack` + - Reference Tables: `reference-table` + - Security Rules: `security-rule` - Service Level Objectives: `slo` @@ -37846,7 +37848,9 @@ paths: Synthetic Private Locations | `viewer`, `editor` - Monitors | `viewer`, `editor`' + Monitors | `viewer`, `editor` + + Reference Tables | `viewer`, `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 a19ce2f89..e30907bf3 100644 --- a/src/datadogV2/api/api_restriction_policies.rs +++ b/src/datadogV2/api/api_restriction_policies.rs @@ -311,6 +311,7 @@ impl RestrictionPoliciesAPI { /// - Dashboards: `dashboard` /// - Notebooks: `notebook` /// - Powerpacks: `powerpack` + /// - Reference Tables: `reference-table` /// - Security Rules: `security-rule` /// - Service Level Objectives: `slo` /// - Synthetic Global Variables: `synthetics-global-variable` @@ -330,6 +331,7 @@ impl RestrictionPoliciesAPI { /// Synthetic Tests | `viewer`, `editor` /// Synthetic Private Locations | `viewer`, `editor` /// Monitors | `viewer`, `editor` + /// Reference Tables | `viewer`, `editor` pub async fn update_restriction_policy( &self, resource_id: String, @@ -362,6 +364,7 @@ impl RestrictionPoliciesAPI { /// - Dashboards: `dashboard` /// - Notebooks: `notebook` /// - Powerpacks: `powerpack` + /// - Reference Tables: `reference-table` /// - Security Rules: `security-rule` /// - Service Level Objectives: `slo` /// - Synthetic Global Variables: `synthetics-global-variable` @@ -381,6 +384,7 @@ impl RestrictionPoliciesAPI { /// Synthetic Tests | `viewer`, `editor` /// Synthetic Private Locations | `viewer`, `editor` /// Monitors | `viewer`, `editor` + /// Reference Tables | `viewer`, `editor` pub async fn update_restriction_policy_with_http_info( &self, resource_id: String,