Skip to content

Commit b090f38

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit b4d9ccd of spec repo
1 parent f069934 commit b090f38

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
@@ -758,7 +758,7 @@ components:
758758
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
759759
`dashboard`, `integration-account`, `integration-service`, `integration-webhook`,
760760
`notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`,
761-
`connection`, `connection-group`, `rum-application`.'
761+
`connection`, `connection-group`, `rum-application`, `cross-org-connection`.'
762762
example: dashboard:abc-def-ghi
763763
in: path
764764
name: resource_id
@@ -56502,6 +56502,8 @@ paths:
5650256502

5650356503
- RUM Applications: `rum-application`
5650456504

56505+
- Cross Org Connections: `cross-org-connection`
56506+
5650556507

5650656508
#### Supported relations for resources
5650756509

@@ -56543,7 +56545,9 @@ paths:
5654356545

5654456546
Connection Groups | `viewer`, `editor`
5654556547

56546-
RUM Application | `viewer`, `editor`'
56548+
RUM Application | `viewer`, `editor`
56549+
56550+
Cross Org Connections | `viewer`, `editor`'
5654756551
operationId: UpdateRestrictionPolicy
5654856552
parameters:
5654956553
- $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: `connection`, `dashboard`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`.
38+
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`.
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: `connection`, `dashboard`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`.
103+
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`.
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 = {})
@@ -185,6 +185,7 @@ def update_restriction_policy(resource_id, body, opts = {})
185185
# - Connections: `connection`
186186
# - Connection Groups: `connection-group`
187187
# - RUM Applications: `rum-application`
188+
# - Cross Org Connections: `cross-org-connection`
188189
#
189190
# #### Supported relations for resources
190191
# Resource Type | Supported Relations
@@ -207,8 +208,9 @@ def update_restriction_policy(resource_id, body, opts = {})
207208
# Connections | `viewer`, `resolver`, `editor`
208209
# Connection Groups | `viewer`, `editor`
209210
# RUM Application | `viewer`, `editor`
211+
# Cross Org Connections | `viewer`, `editor`
210212
#
211-
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`.
213+
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`.
212214
# @param body [RestrictionPolicyUpdateRequest] Restriction policy payload
213215
# @param opts [Hash] the optional parameters
214216
# @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)