Skip to content

Commit

Permalink
Regenerate client from commit f09bf63c of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Mar 7, 2023
1 parent 8489281 commit 2c3c000
Show file tree
Hide file tree
Showing 3 changed files with 9 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.4",
"regenerated": "2023-03-06 21:58:34.963861",
"spec_repo_commit": "d749ce87"
"regenerated": "2023-03-07 18:54:26.407374",
"spec_repo_commit": "f09bf63c"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2023-03-06 21:58:34.976830",
"spec_repo_commit": "d749ce87"
"regenerated": "2023-03-07 18:54:26.419846",
"spec_repo_commit": "f09bf63c"
}
}
}
6 changes: 4 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ components:
type: integer
ResourceID:
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
`dashboard`, `notebook`, `security-rule`.'
`dashboard`, `notebook`, `security-rule`, `slo`.'
example: dashboard:abc-def-ghi
in: path
name: resource_id
Expand Down Expand Up @@ -17738,7 +17738,9 @@ paths:

- Notebooks: `notebook`

- Security Rules: `security-rule`'
- Security Rules: `security-rule`

- Service Level Objectives: `slo`'
operationId: UpdateRestrictionPolicy
parameters:
- $ref: '#/components/parameters/ResourceID'
Expand Down
1 change: 1 addition & 0 deletions api/datadogV2/api_restriction_policies.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ func (a *RestrictionPoliciesApi) GetRestrictionPolicy(ctx _context.Context, reso
// - Dashboards: `dashboard`
// - Notebooks: `notebook`
// - Security Rules: `security-rule`
// - Service Level Objectives: `slo`
func (a *RestrictionPoliciesApi) UpdateRestrictionPolicy(ctx _context.Context, resourceId string, body RestrictionPolicyUpdateRequest) (RestrictionPolicyResponse, *_nethttp.Response, error) {
var (
localVarHTTPMethod = _nethttp.MethodPost
Expand Down

0 comments on commit 2c3c000

Please sign in to comment.