diff --git a/.apigentools-info b/.apigentools-info index ed75d41eb28e..352dd0d70b8e 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-07-08 07:29:02.458919", - "spec_repo_commit": "d9879085" + "regenerated": "2025-07-08 19:08:06.298818", + "spec_repo_commit": "7b042e12" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-07-08 07:29:02.475424", - "spec_repo_commit": "d9879085" + "regenerated": "2025-07-08 19:08:06.315210", + "spec_repo_commit": "7b042e12" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 686e162eb5f4..8ab2278d0006 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -758,7 +758,8 @@ components: description: '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`.' + `connection`, `connection-group`, `rum-application`, `cross-org-connection`, + `spreadsheet`.' example: dashboard:abc-def-ghi in: path name: resource_id @@ -56504,6 +56505,8 @@ paths: - Cross Org Connections: `cross-org-connection` + - Spreadsheets: `spreadsheet` + #### Supported relations for resources @@ -56547,7 +56550,9 @@ paths: RUM Application | `viewer`, `editor` - Cross Org Connections | `viewer`, `editor`' + Cross Org Connections | `viewer`, `editor` + + Spreadsheets | `viewer`, `editor`' operationId: UpdateRestrictionPolicy parameters: - $ref: '#/components/parameters/ResourceID' diff --git a/lib/datadog_api_client/v2/api/restriction_policies_api.rb b/lib/datadog_api_client/v2/api/restriction_policies_api.rb index 2368b8436bee..339e395b024e 100644 --- a/lib/datadog_api_client/v2/api/restriction_policies_api.rb +++ b/lib/datadog_api_client/v2/api/restriction_policies_api.rb @@ -35,7 +35,7 @@ def delete_restriction_policy(resource_id, opts = {}) # # Deletes the restriction policy associated with a specified resource. # - # @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`. + # @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`, `spreadsheet`. # @param opts [Hash] the optional parameters # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers def delete_restriction_policy_with_http_info(resource_id, opts = {}) @@ -100,7 +100,7 @@ def get_restriction_policy(resource_id, opts = {}) # # Retrieves the restriction policy associated with a specified resource. # - # @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`. + # @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`, `spreadsheet`. # @param opts [Hash] the optional parameters # @return [Array<(RestrictionPolicyResponse, Integer, Hash)>] RestrictionPolicyResponse data, response status code and response headers def get_restriction_policy_with_http_info(resource_id, opts = {}) @@ -186,6 +186,7 @@ def update_restriction_policy(resource_id, body, opts = {}) # - Connection Groups: `connection-group` # - RUM Applications: `rum-application` # - Cross Org Connections: `cross-org-connection` + # - Spreadsheets: `spreadsheet` # # #### Supported relations for resources # Resource Type | Supported Relations @@ -209,8 +210,9 @@ def update_restriction_policy(resource_id, body, opts = {}) # Connection Groups | `viewer`, `editor` # RUM Application | `viewer`, `editor` # Cross Org Connections | `viewer`, `editor` + # Spreadsheets | `viewer`, `editor` # - # @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`. + # @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`, `spreadsheet`. # @param body [RestrictionPolicyUpdateRequest] Restriction policy payload # @param opts [Hash] the optional parameters # @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.