Skip to content

Commit f8ce379

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add case-management-project resource type for restriction policies (DataDog#3656)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 5af0814 commit f8ce379

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88029,6 +88029,8 @@ paths:
8802988029

8803088030
- Logs Pipelines: `logs-pipeline`
8803188031

88032+
- Case Management Projects: `case-management-project`
88033+
8803288034

8803388035
#### Supported relations for resources
8803488036

@@ -88080,7 +88082,9 @@ paths:
8808088082

8808188083
On-Call Team Routing Rules | `viewer`, `editor`
8808288084

88083-
Logs Pipelines | `viewer`, `processors_editor`, `editor`'
88085+
Logs Pipelines | `viewer`, `processors_editor`, `editor`
88086+
88087+
Case Management Projects | `viewer`, `contributor`, `manager`'
8808488088
operationId: UpdateRestrictionPolicy
8808588089
parameters:
8808688090
- $ref: '#/components/parameters/ResourceID'

api/datadogV2/api_restriction_policies.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ func (r *UpdateRestrictionPolicyOptionalParameters) WithAllowSelfLockout(allowSe
206206
// - On-Call Escalation Policies: `on-call-escalation-policy`
207207
// - On-Call Team Routing Rules: `on-call-team-routing-rules`
208208
// - Logs Pipelines: `logs-pipeline`
209+
// - Case Management Projects: `case-management-project`
209210
//
210211
// #### Supported relations for resources
211212
// Resource Type | Supported Relations
@@ -233,6 +234,7 @@ func (r *UpdateRestrictionPolicyOptionalParameters) WithAllowSelfLockout(allowSe
233234
// On-Call Escalation Policies | `viewer`, `editor`
234235
// On-Call Team Routing Rules | `viewer`, `editor`
235236
// Logs Pipelines | `viewer`, `processors_editor`, `editor`
237+
// Case Management Projects | `viewer`, `contributor`, `manager`
236238
func (a *RestrictionPoliciesApi) UpdateRestrictionPolicy(ctx _context.Context, resourceId string, body RestrictionPolicyUpdateRequest, o ...UpdateRestrictionPolicyOptionalParameters) (RestrictionPolicyResponse, *_nethttp.Response, error) {
237239
var (
238240
localVarHTTPMethod = _nethttp.MethodPost

0 commit comments

Comments
 (0)