Skip to content

Commit f07bd0f

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 1c3a0e41 of spec repo
1 parent ac9e634 commit f07bd0f

File tree

3 files changed

+34
-9
lines changed

3 files changed

+34
-9
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-01-13 18:28:06.332663",
8-
"spec_repo_commit": "3517c947"
7+
"regenerated": "2025-01-14 16:56:02.366052",
8+
"spec_repo_commit": "1c3a0e41"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-01-13 18:28:06.347841",
13-
"spec_repo_commit": "3517c947"
12+
"regenerated": "2025-01-14 16:56:02.380941",
13+
"spec_repo_commit": "1c3a0e41"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,8 @@ components:
601601
type: string
602602
ResourceID:
603603
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
604-
`dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`.'
604+
`dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`,
605+
`app-builder-app`, `connection`, `connection-group`.'
605606
example: dashboard:abc-def-ghi
606607
in: path
607608
name: resource_id
@@ -41036,6 +41037,14 @@ paths:
4103641037

4103741038
- Monitors: `monitor`
4103841039

41040+
- Workflows: `workflow`
41041+
41042+
- App Builder Apps: `app-builder-app`
41043+
41044+
- Connections: `connection`
41045+
41046+
- Connection Groups: `connection-group`
41047+
4103941048

4104041049
#### Supported relations for resources
4104141050

@@ -41061,7 +41070,15 @@ paths:
4106141070

4106241071
Monitors | `viewer`, `editor`
4106341072

41064-
Reference Tables | `viewer`, `editor`'
41073+
Reference Tables | `viewer`, `editor`
41074+
41075+
Workflows | `viewer`, `editor`
41076+
41077+
App Builder Apps | `viewer`, `runner`, `editor`
41078+
41079+
Connections | `viewer`, `resolver`, `editor`
41080+
41081+
Connection Groups | `viewer`, `editor`'
4106541082
operationId: UpdateRestrictionPolicy
4106641083
parameters:
4106741084
- $ref: '#/components/parameters/ResourceID'

lib/datadog_api_client/v2/api/restriction_policies_api.rb

Lines changed: 11 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`, `notebook`, `reference-table`, `security-rule`, `slo`.
38+
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.
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`, `notebook`, `reference-table`, `security-rule`, `slo`.
103+
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.
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 = {})
@@ -177,6 +177,10 @@ def update_restriction_policy(resource_id, body, opts = {})
177177
# - Synthetic Tests: `synthetics-test`
178178
# - Synthetic Private Locations: `synthetics-private-location`
179179
# - Monitors: `monitor`
180+
# - Workflows: `workflow`
181+
# - App Builder Apps: `app-builder-app`
182+
# - Connections: `connection`
183+
# - Connection Groups: `connection-group`
180184
#
181185
# #### Supported relations for resources
182186
# Resource Type | Supported Relations
@@ -191,8 +195,12 @@ def update_restriction_policy(resource_id, body, opts = {})
191195
# Synthetic Private Locations | `viewer`, `editor`
192196
# Monitors | `viewer`, `editor`
193197
# Reference Tables | `viewer`, `editor`
198+
# Workflows | `viewer`, `editor`
199+
# App Builder Apps | `viewer`, `runner`, `editor`
200+
# Connections | `viewer`, `resolver`, `editor`
201+
# Connection Groups | `viewer`, `editor`
194202
#
195-
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`.
203+
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.
196204
# @param body [RestrictionPolicyUpdateRequest] Restriction policy payload
197205
# @param opts [Hash] the optional parameters
198206
# @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)