Skip to content

Commit

Permalink
Regenerate client from commit 0ad24d9f of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Jan 16, 2025
1 parent 851e958 commit e8e3f81
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
21 changes: 19 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand All @@ -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'
Expand Down
8 changes: 8 additions & 0 deletions api/datadogV2/api_restriction_policies.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e8e3f81

Please sign in to comment.