From a911369791bb1fa1bc4fe7730dfee1270c00ea26 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 10 Dec 2024 21:10:44 +0000 Subject: [PATCH] Regenerate client from commit 1c4c91d4 of spec repo --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 8 ++++++-- src/datadogV2/api/api_restriction_policies.rs | 4 ++++ 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index cc9effc82..e6ae45335 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-12-10 19:50:05.006436", - "spec_repo_commit": "5da0cd35" + "regenerated": "2024-12-10 21:05:04.906060", + "spec_repo_commit": "1c4c91d4" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-12-10 19:50:05.025319", - "spec_repo_commit": "5da0cd35" + "regenerated": "2024-12-10 21:05:04.924927", + "spec_repo_commit": "1c4c91d4" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index a21342f7d..d765d01bf 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 @@ -37844,6 +37844,8 @@ paths: - Powerpacks: `powerpack` + - Reference Tables: `reference-table` + - Security Rules: `security-rule` - Service Level Objectives: `slo` @@ -37879,7 +37881,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,