diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 59c7b8b08ef..efed2daa041 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -952,7 +952,7 @@ components: `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`, `spreadsheet`, `on-call-schedule`, - `on-call-escalation-policy`, `on-call-team-routing-rules.' + `on-call-escalation-policy`, `on-call-team-routing-rules`, `logs-pipeline`.' example: dashboard:abc-def-ghi in: path name: resource_id @@ -71283,6 +71283,8 @@ paths: - On-Call Team Routing Rules: `on-call-team-routing-rules` + - Logs Pipelines: `logs-pipeline` + #### Supported relations for resources @@ -71332,7 +71334,9 @@ paths: On-Call Escalation Policies | `viewer`, `editor` - On-Call Team Routing Rules | `viewer`, `editor`' + On-Call Team Routing Rules | `viewer`, `editor` + + Logs Pipelines | `viewer`, `processors_editor`, `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 97ecb00aca6..74a34750b1d 100644 --- a/api/datadogV2/api_restriction_policies.go +++ b/api/datadogV2/api_restriction_policies.go @@ -205,6 +205,7 @@ func (r *UpdateRestrictionPolicyOptionalParameters) WithAllowSelfLockout(allowSe // - On-Call Schedules: `on-call-schedule` // - On-Call Escalation Policies: `on-call-escalation-policy` // - On-Call Team Routing Rules: `on-call-team-routing-rules` +// - Logs Pipelines: `logs-pipeline` // // #### Supported relations for resources // Resource Type | Supported Relations @@ -231,6 +232,7 @@ func (r *UpdateRestrictionPolicyOptionalParameters) WithAllowSelfLockout(allowSe // On-Call Schedules | `viewer`, `overrider`, `editor` // On-Call Escalation Policies | `viewer`, `editor` // On-Call Team Routing Rules | `viewer`, `editor` +// Logs Pipelines | `viewer`, `processors_editor`, `editor` func (a *RestrictionPoliciesApi) UpdateRestrictionPolicy(ctx _context.Context, resourceId string, body RestrictionPolicyUpdateRequest, o ...UpdateRestrictionPolicyOptionalParameters) (RestrictionPolicyResponse, *_nethttp.Response, error) { var ( localVarHTTPMethod = _nethttp.MethodPost