Skip to content

Commit

Permalink
Regenerate client from commit 733cf3ea of spec repo (#2171)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Jan 2, 2025
1 parent e229766 commit 0a91af4
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-01-02 16:18:05.602948",
"spec_repo_commit": "bc53c28f"
"regenerated": "2025-01-02 17:32:11.649371",
"spec_repo_commit": "733cf3ea"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-01-02 16:18:05.618096",
"spec_repo_commit": "bc53c28f"
"regenerated": "2025-01-02 17:32:11.666424",
"spec_repo_commit": "733cf3ea"
}
}
}
8 changes: 8 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40985,6 +40985,14 @@ paths:
operationId: UpdateRestrictionPolicy
parameters:
- $ref: '#/components/parameters/ResourceID'
- description: 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.
in: query
name: allow_self_lockout
required: false
schema:
type: string
requestBody:
content:
application/json:
Expand Down
1 change: 1 addition & 0 deletions features/scenarios_model_mapping.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2021,6 +2021,7 @@
},
"v2.UpdateRestrictionPolicy" => {
"resource_id" => "String",
"allow_self_lockout" => "String",
"body" => "RestrictionPolicyUpdateRequest",
},
"v2.AggregateRUMEvents" => {
Expand Down
2 changes: 2 additions & 0 deletions lib/datadog_api_client/v2/api/restriction_policies_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ def update_restriction_policy(resource_id, body, opts = {})
# @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`.
# @param body [RestrictionPolicyUpdateRequest] Restriction policy payload
# @param opts [Hash] the optional parameters
# @option opts [String] :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.
# @return [Array<(RestrictionPolicyResponse, Integer, Hash)>] RestrictionPolicyResponse data, response status code and response headers
def update_restriction_policy_with_http_info(resource_id, body, opts = {})

Expand All @@ -214,6 +215,7 @@ def update_restriction_policy_with_http_info(resource_id, body, opts = {})

# query parameters
query_params = opts[:query_params] || {}
query_params[:'allow_self_lockout'] = opts[:'allow_self_lockout'] if !opts[:'allow_self_lockout'].nil?

# header parameters
header_params = opts[:header_params] || {}
Expand Down

0 comments on commit 0a91af4

Please sign in to comment.