From e8e3f81d58f4d1ee996df9b173741d86e7666d0c Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Thu, 16 Jan 2025 23:14:53 +0000 Subject: [PATCH] Regenerate client from commit 0ad24d9f of spec repo --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 21 +++++++++++++++++++-- api/datadogV2/api_restriction_policies.go | 8 ++++++++ 3 files changed, 31 insertions(+), 6 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index e4eda70a844..8cfae12f166 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-01-15 18:03:16.492918", - "spec_repo_commit": "e54847a1" + "regenerated": "2025-01-16 23:13:34.092497", + "spec_repo_commit": "0ad24d9f" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-01-15 18:03:16.518844", - "spec_repo_commit": "e54847a1" + "regenerated": "2025-01-16 23:13:34.109227", + "spec_repo_commit": "0ad24d9f" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 77866cbe38e..763dc802779 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -601,7 +601,8 @@ components: type: string ResourceID: description: 'Identifier, formatted as `type:id`. Supported types: `connection`, - `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`.' + `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, + `app-builder-app`, `connection`, `connection-group`.' example: dashboard:abc-def-ghi in: path name: resource_id @@ -41037,6 +41038,14 @@ paths: - Monitors: `monitor` + - Workflows: `workflow` + + - App Builder Apps: `app-builder-app` + + - Connections: `connection` + + - Connection Groups: `connection-group` + #### Supported relations for resources @@ -41062,7 +41071,15 @@ paths: Monitors | `viewer`, `editor` - Reference Tables | `viewer`, `editor`' + Reference Tables | `viewer`, `editor` + + Workflows | `viewer`, `editor` + + App Builder Apps | `viewer`, `runner`, `editor` + + Connections | `viewer`, `resolver`, `editor` + + Connection Groups | `viewer`, `editor`' operationId: UpdateRestrictionPolicy parameters: - $ref: '#/components/parameters/ResourceID' diff --git a/api/datadogV2/api_restriction_policies.go b/api/datadogV2/api_restriction_policies.go index b0590dae353..f0c7be39b8b 100644 --- a/api/datadogV2/api_restriction_policies.go +++ b/api/datadogV2/api_restriction_policies.go @@ -179,6 +179,10 @@ func (r *UpdateRestrictionPolicyOptionalParameters) WithAllowSelfLockout(allowSe // - Synthetic Tests: `synthetics-test` // - Synthetic Private Locations: `synthetics-private-location` // - Monitors: `monitor` +// - Workflows: `workflow` +// - App Builder Apps: `app-builder-app` +// - Connections: `connection` +// - Connection Groups: `connection-group` // // #### Supported relations for resources // Resource Type | Supported Relations @@ -193,6 +197,10 @@ func (r *UpdateRestrictionPolicyOptionalParameters) WithAllowSelfLockout(allowSe // Synthetic Private Locations | `viewer`, `editor` // Monitors | `viewer`, `editor` // Reference Tables | `viewer`, `editor` +// Workflows | `viewer`, `editor` +// App Builder Apps | `viewer`, `runner`, `editor` +// Connections | `viewer`, `resolver`, `editor` +// Connection Groups | `viewer`, `editor` func (a *RestrictionPoliciesApi) UpdateRestrictionPolicy(ctx _context.Context, resourceId string, body RestrictionPolicyUpdateRequest, o ...UpdateRestrictionPolicyOptionalParameters) (RestrictionPolicyResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost