Skip to content

Commit 1e40eda

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit c7d416f of spec repo
1 parent 3229781 commit 1e40eda

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ components:
952952
`integration-service`, `integration-webhook`, `notebook`, `reference-table`,
953953
`security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`,
954954
`rum-application`, `cross-org-connection`, `spreadsheet`, `on-call-schedule`,
955-
`on-call-escalation-policy`, `on-call-team-routing-rules.'
955+
`on-call-escalation-policy`, `on-call-team-routing-rules`, `logs-pipeline`.'
956956
example: dashboard:abc-def-ghi
957957
in: path
958958
name: resource_id
@@ -71283,6 +71283,8 @@ paths:
7128371283

7128471284
- On-Call Team Routing Rules: `on-call-team-routing-rules`
7128571285

71286+
- Logs Pipelines: `logs-pipeline`
71287+
7128671288

7128771289
#### Supported relations for resources
7128871290

@@ -71332,7 +71334,9 @@ paths:
7133271334

7133371335
On-Call Escalation Policies | `viewer`, `editor`
7133471336

71335-
On-Call Team Routing Rules | `viewer`, `editor`'
71337+
On-Call Team Routing Rules | `viewer`, `editor`
71338+
71339+
Logs Pipelines | `viewer`, `processors_editor`, `editor`'
7133671340
operationId: UpdateRestrictionPolicy
7133771341
parameters:
7133871342
- $ref: '#/components/parameters/ResourceID'

lib/datadog_api_client/v2/api/restriction_policies_api.rb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def delete_restriction_policy(resource_id, opts = {})
3535
#
3636
# Deletes the restriction policy associated with a specified resource.
3737
#
38-
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `dashboard`, `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.
38+
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `dashboard`, `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`, `logs-pipeline`.
3939
# @param opts [Hash] the optional parameters
4040
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
4141
def delete_restriction_policy_with_http_info(resource_id, opts = {})
@@ -100,7 +100,7 @@ def get_restriction_policy(resource_id, opts = {})
100100
#
101101
# Retrieves the restriction policy associated with a specified resource.
102102
#
103-
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `dashboard`, `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.
103+
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `dashboard`, `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`, `logs-pipeline`.
104104
# @param opts [Hash] the optional parameters
105105
# @return [Array<(RestrictionPolicyResponse, Integer, Hash)>] RestrictionPolicyResponse data, response status code and response headers
106106
def get_restriction_policy_with_http_info(resource_id, opts = {})
@@ -189,6 +189,7 @@ def update_restriction_policy(resource_id, body, opts = {})
189189
# - On-Call Schedules: `on-call-schedule`
190190
# - On-Call Escalation Policies: `on-call-escalation-policy`
191191
# - On-Call Team Routing Rules: `on-call-team-routing-rules`
192+
# - Logs Pipelines: `logs-pipeline`
192193
#
193194
# #### Supported relations for resources
194195
# Resource Type | Supported Relations
@@ -215,8 +216,9 @@ def update_restriction_policy(resource_id, body, opts = {})
215216
# On-Call Schedules | `viewer`, `overrider`, `editor`
216217
# On-Call Escalation Policies | `viewer`, `editor`
217218
# On-Call Team Routing Rules | `viewer`, `editor`
219+
# Logs Pipelines | `viewer`, `processors_editor`, `editor`
218220
#
219-
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `dashboard`, `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.
221+
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `dashboard`, `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`, `logs-pipeline`.
220222
# @param body [RestrictionPolicyUpdateRequest] Restriction policy payload
221223
# @param opts [Hash] the optional parameters
222224
# @option opts [Boolean] :allow_self_lockout Allows admins (users with the `user_access_manage` permission) to remove their own access from the resource if set to `true`. By default, this is set to `false`, preventing admins from locking themselves out.

0 commit comments

Comments
 (0)