Skip to content

Commit 5f3bcf1

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 43d397f of spec repo
1 parent c222047 commit 5f3bcf1

File tree

2 files changed

+96
-36
lines changed

2 files changed

+96
-36
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 64 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -948,11 +948,17 @@ components:
948948
schema:
949949
type: string
950950
ResourceID:
951-
description: 'Identifier, formatted as `type:id`. Supported types: `dashboard`,
952-
`integration-service`, `integration-webhook`, `notebook`, `reference-table`,
953-
`security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`,
954-
`rum-application`, `cross-org-connection`, `spreadsheet`, `on-call-schedule`,
955-
`on-call-escalation-policy`, `on-call-team-routing-rules.'
951+
description: 'Identifier, formatted as `type:id`. Supported types: `apm-service-ingestion-configuration`,
952+
`app-builder-app`, `apps-datastore`, `aws-integration-configuration`, `azure-integration-configuration`,
953+
`case-management-project`, `connection`, `connection-group`, `cross-org-connection`,
954+
`dashboard`, `feature-flag`, `form`, `gcp-integration-configuration`, `integration`,
955+
`integration-account`, `integration-service`, `integration-webhook`, `logs-archive`,
956+
`logs-pipeline`, `logs-workspace`, `monitor`, `notebook`, `obs-pipelines-live-capture`,
957+
`obs-pipelines-pipeline`, `on-call-escalation-policy`, `on-call-schedule`,
958+
`on-call-team-routing-rules`, `powerpack`, `private-action-runner`, `reference-table`,
959+
`rum-application`, `seat`, `security-rule`, `slo`, `spreadsheet`, `suppression-rule`,
960+
`synthetics-global-variable`, `synthetics-private-location`, `synthetics-test`,
961+
`workflow`.'
956962
example: dashboard:abc-def-ghi
957963
in: path
958964
name: resource_id
@@ -70552,49 +70558,85 @@ paths:
7055270558

7055370559
Restriction policies can be applied to the following resources:
7055470560

70561+
- APM Service Ingestion Configuration: `apm-service-ingestion-configuration`
70562+
70563+
- App Builder Apps: `app-builder-app`
70564+
70565+
- Apps Datastore: `apps-datastore`
70566+
70567+
- AWS Integration Configuration: `aws-integration-configuration`
70568+
70569+
- Azure Integration Configuration: `azure-integration-configuration`
70570+
70571+
- Case Management Project: `case-management-project`
70572+
70573+
- Connections: `connection`
70574+
70575+
- Connection Groups: `connection-group`
70576+
70577+
- Cross Org Connections: `cross-org-connection`
70578+
7055570579
- Dashboards: `dashboard`
7055670580

70581+
- Feature Flag: `feature-flag`
70582+
70583+
- Form: `form`
70584+
70585+
- GCP Integration Configuration: `gcp-integration-configuration`
70586+
70587+
- Integration: `integration`
70588+
70589+
- Integration Accounts: `integration-account`
70590+
7055770591
- Integration Services: `integration-service`
7055870592

7055970593
- Integration Webhooks: `integration-webhook`
7056070594

70561-
- Notebooks: `notebook`
70595+
- Logs Archive: `logs-archive`
7056270596

70563-
- Powerpacks: `powerpack`
70597+
- Logs Pipeline: `logs-pipeline`
7056470598

70565-
- Reference Tables: `reference-table`
70599+
- Logs Workspace: `logs-workspace`
7056670600

70567-
- Security Rules: `security-rule`
70601+
- Monitors: `monitor`
7056870602

70569-
- Service Level Objectives: `slo`
70603+
- Notebooks: `notebook`
7057070604

70571-
- Synthetic Global Variables: `synthetics-global-variable`
70605+
- Observability Pipelines Live Capture: `obs-pipelines-live-capture`
7057270606

70573-
- Synthetic Tests: `synthetics-test`
70607+
- Observability Pipelines Pipeline: `obs-pipelines-pipeline`
7057470608

70575-
- Synthetic Private Locations: `synthetics-private-location`
70609+
- On-Call Escalation Policies: `on-call-escalation-policy`
7057670610

70577-
- Monitors: `monitor`
70611+
- On-Call Schedules: `on-call-schedule`
7057870612

70579-
- Workflows: `workflow`
70613+
- On-Call Team Routing Rules: `on-call-team-routing-rules`
7058070614

70581-
- App Builder Apps: `app-builder-app`
70615+
- Powerpacks: `powerpack`
7058270616

70583-
- Connections: `connection`
70617+
- Private Action Runner: `private-action-runner`
7058470618

70585-
- Connection Groups: `connection-group`
70619+
- Reference Tables: `reference-table`
7058670620

7058770621
- RUM Applications: `rum-application`
7058870622

70589-
- Cross Org Connections: `cross-org-connection`
70623+
- Seat: `seat`
70624+
70625+
- Security Rules: `security-rule`
70626+
70627+
- Service Level Objectives: `slo`
7059070628

7059170629
- Spreadsheets: `spreadsheet`
7059270630

70593-
- On-Call Schedules: `on-call-schedule`
70631+
- Suppression Rule: `suppression-rule`
7059470632

70595-
- On-Call Escalation Policies: `on-call-escalation-policy`
70633+
- Synthetic Global Variables: `synthetics-global-variable`
7059670634

70597-
- On-Call Team Routing Rules: `on-call-team-routing-rules`
70635+
- Synthetic Private Locations: `synthetics-private-location`
70636+
70637+
- Synthetic Tests: `synthetics-test`
70638+
70639+
- Workflows: `workflow`
7059870640

7059970641

7060070642
#### Supported relations for resources

lib/datadog_api_client/v2/api/restriction_policies_api.rb

Lines changed: 32 additions & 14 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: `apm-service-ingestion-configuration`, `app-builder-app`, `apps-datastore`, `aws-integration-configuration`, `azure-integration-configuration`, `case-management-project`, `connection`, `connection-group`, `cross-org-connection`, `dashboard`, `feature-flag`, `form`, `gcp-integration-configuration`, `integration`, `integration-account`, `integration-service`, `integration-webhook`, `logs-archive`, `logs-pipeline`, `logs-workspace`, `monitor`, `notebook`, `obs-pipelines-live-capture`, `obs-pipelines-pipeline`, `on-call-escalation-policy`, `on-call-schedule`, `on-call-team-routing-rules`, `powerpack`, `private-action-runner`, `reference-table`, `rum-application`, `seat`, `security-rule`, `slo`, `spreadsheet`, `suppression-rule`, `synthetics-global-variable`, `synthetics-private-location`, `synthetics-test`, `workflow`.
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: `apm-service-ingestion-configuration`, `app-builder-app`, `apps-datastore`, `aws-integration-configuration`, `azure-integration-configuration`, `case-management-project`, `connection`, `connection-group`, `cross-org-connection`, `dashboard`, `feature-flag`, `form`, `gcp-integration-configuration`, `integration`, `integration-account`, `integration-service`, `integration-webhook`, `logs-archive`, `logs-pipeline`, `logs-workspace`, `monitor`, `notebook`, `obs-pipelines-live-capture`, `obs-pipelines-pipeline`, `on-call-escalation-policy`, `on-call-schedule`, `on-call-team-routing-rules`, `powerpack`, `private-action-runner`, `reference-table`, `rum-application`, `seat`, `security-rule`, `slo`, `spreadsheet`, `suppression-rule`, `synthetics-global-variable`, `synthetics-private-location`, `synthetics-test`, `workflow`.
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 = {})
@@ -167,28 +167,46 @@ def update_restriction_policy(resource_id, body, opts = {})
167167
#
168168
# #### Supported resources
169169
# Restriction policies can be applied to the following resources:
170+
# - APM Service Ingestion Configuration: `apm-service-ingestion-configuration`
171+
# - App Builder Apps: `app-builder-app`
172+
# - Apps Datastore: `apps-datastore`
173+
# - AWS Integration Configuration: `aws-integration-configuration`
174+
# - Azure Integration Configuration: `azure-integration-configuration`
175+
# - Case Management Project: `case-management-project`
176+
# - Connections: `connection`
177+
# - Connection Groups: `connection-group`
178+
# - Cross Org Connections: `cross-org-connection`
170179
# - Dashboards: `dashboard`
180+
# - Feature Flag: `feature-flag`
181+
# - Form: `form`
182+
# - GCP Integration Configuration: `gcp-integration-configuration`
183+
# - Integration: `integration`
184+
# - Integration Accounts: `integration-account`
171185
# - Integration Services: `integration-service`
172186
# - Integration Webhooks: `integration-webhook`
187+
# - Logs Archive: `logs-archive`
188+
# - Logs Pipeline: `logs-pipeline`
189+
# - Logs Workspace: `logs-workspace`
190+
# - Monitors: `monitor`
173191
# - Notebooks: `notebook`
192+
# - Observability Pipelines Live Capture: `obs-pipelines-live-capture`
193+
# - Observability Pipelines Pipeline: `obs-pipelines-pipeline`
194+
# - On-Call Escalation Policies: `on-call-escalation-policy`
195+
# - On-Call Schedules: `on-call-schedule`
196+
# - On-Call Team Routing Rules: `on-call-team-routing-rules`
174197
# - Powerpacks: `powerpack`
198+
# - Private Action Runner: `private-action-runner`
175199
# - Reference Tables: `reference-table`
200+
# - RUM Applications: `rum-application`
201+
# - Seat: `seat`
176202
# - Security Rules: `security-rule`
177203
# - Service Level Objectives: `slo`
204+
# - Spreadsheets: `spreadsheet`
205+
# - Suppression Rule: `suppression-rule`
178206
# - Synthetic Global Variables: `synthetics-global-variable`
179-
# - Synthetic Tests: `synthetics-test`
180207
# - Synthetic Private Locations: `synthetics-private-location`
181-
# - Monitors: `monitor`
208+
# - Synthetic Tests: `synthetics-test`
182209
# - Workflows: `workflow`
183-
# - App Builder Apps: `app-builder-app`
184-
# - Connections: `connection`
185-
# - Connection Groups: `connection-group`
186-
# - RUM Applications: `rum-application`
187-
# - Cross Org Connections: `cross-org-connection`
188-
# - Spreadsheets: `spreadsheet`
189-
# - On-Call Schedules: `on-call-schedule`
190-
# - On-Call Escalation Policies: `on-call-escalation-policy`
191-
# - On-Call Team Routing Rules: `on-call-team-routing-rules`
192210
#
193211
# #### Supported relations for resources
194212
# Resource Type | Supported Relations
@@ -216,7 +234,7 @@ def update_restriction_policy(resource_id, body, opts = {})
216234
# On-Call Escalation Policies | `viewer`, `editor`
217235
# On-Call Team Routing Rules | `viewer`, `editor`
218236
#
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.
237+
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `apm-service-ingestion-configuration`, `app-builder-app`, `apps-datastore`, `aws-integration-configuration`, `azure-integration-configuration`, `case-management-project`, `connection`, `connection-group`, `cross-org-connection`, `dashboard`, `feature-flag`, `form`, `gcp-integration-configuration`, `integration`, `integration-account`, `integration-service`, `integration-webhook`, `logs-archive`, `logs-pipeline`, `logs-workspace`, `monitor`, `notebook`, `obs-pipelines-live-capture`, `obs-pipelines-pipeline`, `on-call-escalation-policy`, `on-call-schedule`, `on-call-team-routing-rules`, `powerpack`, `private-action-runner`, `reference-table`, `rum-application`, `seat`, `security-rule`, `slo`, `spreadsheet`, `suppression-rule`, `synthetics-global-variable`, `synthetics-private-location`, `synthetics-test`, `workflow`.
220238
# @param body [RestrictionPolicyUpdateRequest] Restriction policy payload
221239
# @param opts [Hash] the optional parameters
222240
# @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)