From 0791dd00b29fb216245cd71c1f0232118164b443 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Thu, 26 Mar 2026 16:11:09 +0000 Subject: [PATCH] Regenerate client from commit 325795c of spec repo --- .generator/schemas/v2/openapi.yaml | 27 -------- .../CreateServiceNowTemplate.rb | 3 - .../DeleteServiceNowTemplate.rb | 3 - .../GetServiceNowTemplate.rb | 3 - .../ListServiceNowAssignmentGroups.rb | 3 - .../ListServiceNowBusinessServices.rb | 3 - .../ListServiceNowInstances.rb | 3 - .../ListServiceNowTemplates.rb | 3 - .../ListServiceNowUsers.rb | 3 - .../UpdateServiceNowTemplate.rb | 3 - features/v2/servicenow_integration.feature | 69 +++++++------------ lib/datadog_api_client/configuration.rb | 9 --- .../v2/api/service_now_integration_api.rb | 54 --------------- 13 files changed, 23 insertions(+), 163 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 4b32533f7350..647c8d0d4408 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -87463,9 +87463,6 @@ paths: summary: List ServiceNow assignment groups tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/integration/servicenow/business_services/{instance_id}: get: description: |- @@ -87504,9 +87501,6 @@ paths: summary: List ServiceNow business services tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/integration/servicenow/handles: get: description: |- @@ -87524,9 +87518,6 @@ paths: summary: List ServiceNow templates tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: |- Create a new ServiceNow template. @@ -87555,9 +87546,6 @@ paths: summary: Create ServiceNow template tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/integration/servicenow/handles/{template_id}: delete: description: |- @@ -87592,9 +87580,6 @@ paths: summary: Delete ServiceNow template tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). get: description: |- Get a ServiceNow template by ID. @@ -87632,9 +87617,6 @@ paths: summary: Get ServiceNow template tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). put: description: |- Update a ServiceNow template by ID. @@ -87678,9 +87660,6 @@ paths: summary: Update ServiceNow template tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/integration/servicenow/instances: get: description: |- @@ -87704,9 +87683,6 @@ paths: summary: List ServiceNow instances tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/integration/servicenow/users/{instance_id}: get: description: |- @@ -87745,9 +87721,6 @@ paths: summary: List ServiceNow users tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/integrations: get: operationId: ListIntegrations diff --git a/examples/v2/servicenow-integration/CreateServiceNowTemplate.rb b/examples/v2/servicenow-integration/CreateServiceNowTemplate.rb index 6ca86823e780..a3bbb4358187 100644 --- a/examples/v2/servicenow-integration/CreateServiceNowTemplate.rb +++ b/examples/v2/servicenow-integration/CreateServiceNowTemplate.rb @@ -1,9 +1,6 @@ # Create ServiceNow template returns "Created" response require "datadog_api_client" -DatadogAPIClient.configure do |config| - config.unstable_operations["v2.create_service_now_template".to_sym] = true -end api_instance = DatadogAPIClient::V2::ServiceNowIntegrationAPI.new body = DatadogAPIClient::V2::ServiceNowTemplateCreateRequest.new({ diff --git a/examples/v2/servicenow-integration/DeleteServiceNowTemplate.rb b/examples/v2/servicenow-integration/DeleteServiceNowTemplate.rb index ab7ef109461f..93845224b28b 100644 --- a/examples/v2/servicenow-integration/DeleteServiceNowTemplate.rb +++ b/examples/v2/servicenow-integration/DeleteServiceNowTemplate.rb @@ -1,8 +1,5 @@ # Delete ServiceNow template returns "OK" response require "datadog_api_client" -DatadogAPIClient.configure do |config| - config.unstable_operations["v2.delete_service_now_template".to_sym] = true -end api_instance = DatadogAPIClient::V2::ServiceNowIntegrationAPI.new p api_instance.delete_service_now_template("9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d") diff --git a/examples/v2/servicenow-integration/GetServiceNowTemplate.rb b/examples/v2/servicenow-integration/GetServiceNowTemplate.rb index 73c62a726433..78314a1a7831 100644 --- a/examples/v2/servicenow-integration/GetServiceNowTemplate.rb +++ b/examples/v2/servicenow-integration/GetServiceNowTemplate.rb @@ -1,8 +1,5 @@ # Get ServiceNow template returns "OK" response require "datadog_api_client" -DatadogAPIClient.configure do |config| - config.unstable_operations["v2.get_service_now_template".to_sym] = true -end api_instance = DatadogAPIClient::V2::ServiceNowIntegrationAPI.new p api_instance.get_service_now_template("9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d") diff --git a/examples/v2/servicenow-integration/ListServiceNowAssignmentGroups.rb b/examples/v2/servicenow-integration/ListServiceNowAssignmentGroups.rb index 5f3b08bb81a3..a978eb383a68 100644 --- a/examples/v2/servicenow-integration/ListServiceNowAssignmentGroups.rb +++ b/examples/v2/servicenow-integration/ListServiceNowAssignmentGroups.rb @@ -1,8 +1,5 @@ # List ServiceNow assignment groups returns "OK" response require "datadog_api_client" -DatadogAPIClient.configure do |config| - config.unstable_operations["v2.list_service_now_assignment_groups".to_sym] = true -end api_instance = DatadogAPIClient::V2::ServiceNowIntegrationAPI.new p api_instance.list_service_now_assignment_groups("9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d") diff --git a/examples/v2/servicenow-integration/ListServiceNowBusinessServices.rb b/examples/v2/servicenow-integration/ListServiceNowBusinessServices.rb index bfb6ece55a35..35add28f3ead 100644 --- a/examples/v2/servicenow-integration/ListServiceNowBusinessServices.rb +++ b/examples/v2/servicenow-integration/ListServiceNowBusinessServices.rb @@ -1,8 +1,5 @@ # List ServiceNow business services returns "OK" response require "datadog_api_client" -DatadogAPIClient.configure do |config| - config.unstable_operations["v2.list_service_now_business_services".to_sym] = true -end api_instance = DatadogAPIClient::V2::ServiceNowIntegrationAPI.new p api_instance.list_service_now_business_services("9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d") diff --git a/examples/v2/servicenow-integration/ListServiceNowInstances.rb b/examples/v2/servicenow-integration/ListServiceNowInstances.rb index 4311ec203f92..eb755afc08f3 100644 --- a/examples/v2/servicenow-integration/ListServiceNowInstances.rb +++ b/examples/v2/servicenow-integration/ListServiceNowInstances.rb @@ -1,8 +1,5 @@ # List ServiceNow instances returns "OK" response require "datadog_api_client" -DatadogAPIClient.configure do |config| - config.unstable_operations["v2.list_service_now_instances".to_sym] = true -end api_instance = DatadogAPIClient::V2::ServiceNowIntegrationAPI.new p api_instance.list_service_now_instances() diff --git a/examples/v2/servicenow-integration/ListServiceNowTemplates.rb b/examples/v2/servicenow-integration/ListServiceNowTemplates.rb index 58b0e0c77bfc..58fe7cf7e5d4 100644 --- a/examples/v2/servicenow-integration/ListServiceNowTemplates.rb +++ b/examples/v2/servicenow-integration/ListServiceNowTemplates.rb @@ -1,8 +1,5 @@ # List ServiceNow templates returns "OK" response require "datadog_api_client" -DatadogAPIClient.configure do |config| - config.unstable_operations["v2.list_service_now_templates".to_sym] = true -end api_instance = DatadogAPIClient::V2::ServiceNowIntegrationAPI.new p api_instance.list_service_now_templates() diff --git a/examples/v2/servicenow-integration/ListServiceNowUsers.rb b/examples/v2/servicenow-integration/ListServiceNowUsers.rb index b975752391eb..7b5cc4fa79d0 100644 --- a/examples/v2/servicenow-integration/ListServiceNowUsers.rb +++ b/examples/v2/servicenow-integration/ListServiceNowUsers.rb @@ -1,8 +1,5 @@ # List ServiceNow users returns "OK" response require "datadog_api_client" -DatadogAPIClient.configure do |config| - config.unstable_operations["v2.list_service_now_users".to_sym] = true -end api_instance = DatadogAPIClient::V2::ServiceNowIntegrationAPI.new p api_instance.list_service_now_users("9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d") diff --git a/examples/v2/servicenow-integration/UpdateServiceNowTemplate.rb b/examples/v2/servicenow-integration/UpdateServiceNowTemplate.rb index 8c68dc890c8a..e4dbb1a6afbf 100644 --- a/examples/v2/servicenow-integration/UpdateServiceNowTemplate.rb +++ b/examples/v2/servicenow-integration/UpdateServiceNowTemplate.rb @@ -1,9 +1,6 @@ # Update ServiceNow template returns "OK" response require "datadog_api_client" -DatadogAPIClient.configure do |config| - config.unstable_operations["v2.update_service_now_template".to_sym] = true -end api_instance = DatadogAPIClient::V2::ServiceNowIntegrationAPI.new body = DatadogAPIClient::V2::ServiceNowTemplateUpdateRequest.new({ diff --git a/features/v2/servicenow_integration.feature b/features/v2/servicenow_integration.feature index 24f9878c0d82..21093fd0f799 100644 --- a/features/v2/servicenow_integration.feature +++ b/features/v2/servicenow_integration.feature @@ -11,165 +11,144 @@ Feature: ServiceNow Integration @generated @skip @team:Datadog/collaboration-integrations Scenario: Create ServiceNow template returns "Bad Request" response - Given operation "CreateServiceNowTemplate" enabled - And new "CreateServiceNowTemplate" request + Given new "CreateServiceNowTemplate" request And body with value {"data": {"attributes": {"assignment_group_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "business_service_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "fields_mapping": {"category": "software", "priority": "1"}, "handle_name": "incident-template", "instance_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "servicenow_tablename": "incident", "user_id": "65b3341b-0680-47f9-a6d4-134db45c603e"}, "type": "servicenow_templates"}} When the request is sent Then the response status is 400 Bad Request @generated @skip @team:Datadog/collaboration-integrations Scenario: Create ServiceNow template returns "Created" response - Given operation "CreateServiceNowTemplate" enabled - And new "CreateServiceNowTemplate" request + Given new "CreateServiceNowTemplate" request And body with value {"data": {"attributes": {"assignment_group_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "business_service_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "fields_mapping": {"category": "software", "priority": "1"}, "handle_name": "incident-template", "instance_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "servicenow_tablename": "incident", "user_id": "65b3341b-0680-47f9-a6d4-134db45c603e"}, "type": "servicenow_templates"}} When the request is sent Then the response status is 201 Created @generated @skip @team:Datadog/collaboration-integrations Scenario: Delete ServiceNow template returns "Bad Request" response - Given operation "DeleteServiceNowTemplate" enabled - And new "DeleteServiceNowTemplate" request + Given new "DeleteServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:Datadog/collaboration-integrations Scenario: Delete ServiceNow template returns "Not Found" response - Given operation "DeleteServiceNowTemplate" enabled - And new "DeleteServiceNowTemplate" request + Given new "DeleteServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:Datadog/collaboration-integrations Scenario: Delete ServiceNow template returns "OK" response - Given operation "DeleteServiceNowTemplate" enabled - And new "DeleteServiceNowTemplate" request + Given new "DeleteServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:Datadog/collaboration-integrations Scenario: Get ServiceNow template returns "Bad Request" response - Given operation "GetServiceNowTemplate" enabled - And new "GetServiceNowTemplate" request + Given new "GetServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:Datadog/collaboration-integrations Scenario: Get ServiceNow template returns "Not Found" response - Given operation "GetServiceNowTemplate" enabled - And new "GetServiceNowTemplate" request + Given new "GetServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:Datadog/collaboration-integrations Scenario: Get ServiceNow template returns "OK" response - Given operation "GetServiceNowTemplate" enabled - And new "GetServiceNowTemplate" request + Given new "GetServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow assignment groups returns "Bad Request" response - Given operation "ListServiceNowAssignmentGroups" enabled - And new "ListServiceNowAssignmentGroups" request + Given new "ListServiceNowAssignmentGroups" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow assignment groups returns "Not Found" response - Given operation "ListServiceNowAssignmentGroups" enabled - And new "ListServiceNowAssignmentGroups" request + Given new "ListServiceNowAssignmentGroups" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow assignment groups returns "OK" response - Given operation "ListServiceNowAssignmentGroups" enabled - And new "ListServiceNowAssignmentGroups" request + Given new "ListServiceNowAssignmentGroups" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow business services returns "Bad Request" response - Given operation "ListServiceNowBusinessServices" enabled - And new "ListServiceNowBusinessServices" request + Given new "ListServiceNowBusinessServices" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow business services returns "Not Found" response - Given operation "ListServiceNowBusinessServices" enabled - And new "ListServiceNowBusinessServices" request + Given new "ListServiceNowBusinessServices" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow business services returns "OK" response - Given operation "ListServiceNowBusinessServices" enabled - And new "ListServiceNowBusinessServices" request + Given new "ListServiceNowBusinessServices" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow instances returns "Not Found" response - Given operation "ListServiceNowInstances" enabled - And new "ListServiceNowInstances" request + Given new "ListServiceNowInstances" request When the request is sent Then the response status is 404 Not Found @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow instances returns "OK" response - Given operation "ListServiceNowInstances" enabled - And new "ListServiceNowInstances" request + Given new "ListServiceNowInstances" request When the request is sent Then the response status is 200 OK @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow templates returns "OK" response - Given operation "ListServiceNowTemplates" enabled - And new "ListServiceNowTemplates" request + Given new "ListServiceNowTemplates" request When the request is sent Then the response status is 200 OK @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow users returns "Bad Request" response - Given operation "ListServiceNowUsers" enabled - And new "ListServiceNowUsers" request + Given new "ListServiceNowUsers" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow users returns "Not Found" response - Given operation "ListServiceNowUsers" enabled - And new "ListServiceNowUsers" request + Given new "ListServiceNowUsers" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow users returns "OK" response - Given operation "ListServiceNowUsers" enabled - And new "ListServiceNowUsers" request + Given new "ListServiceNowUsers" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:Datadog/collaboration-integrations Scenario: Update ServiceNow template returns "Bad Request" response - Given operation "UpdateServiceNowTemplate" enabled - And new "UpdateServiceNowTemplate" request + Given new "UpdateServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"assignment_group_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "business_service_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "fields_mapping": {"category": "hardware", "priority": "2"}, "handle_name": "incident-template-updated", "instance_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "servicenow_tablename": "incident", "user_id": "65b3341b-0680-47f9-a6d4-134db45c603e"}, "type": "servicenow_templates"}} When the request is sent @@ -177,8 +156,7 @@ Feature: ServiceNow Integration @generated @skip @team:Datadog/collaboration-integrations Scenario: Update ServiceNow template returns "Not Found" response - Given operation "UpdateServiceNowTemplate" enabled - And new "UpdateServiceNowTemplate" request + Given new "UpdateServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"assignment_group_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "business_service_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "fields_mapping": {"category": "hardware", "priority": "2"}, "handle_name": "incident-template-updated", "instance_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "servicenow_tablename": "incident", "user_id": "65b3341b-0680-47f9-a6d4-134db45c603e"}, "type": "servicenow_templates"}} When the request is sent @@ -186,8 +164,7 @@ Feature: ServiceNow Integration @generated @skip @team:Datadog/collaboration-integrations Scenario: Update ServiceNow template returns "OK" response - Given operation "UpdateServiceNowTemplate" enabled - And new "UpdateServiceNowTemplate" request + Given new "UpdateServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"assignment_group_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "business_service_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "fields_mapping": {"category": "hardware", "priority": "2"}, "handle_name": "incident-template-updated", "instance_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "servicenow_tablename": "incident", "user_id": "65b3341b-0680-47f9-a6d4-134db45c603e"}, "type": "servicenow_templates"}} When the request is sent diff --git a/lib/datadog_api_client/configuration.rb b/lib/datadog_api_client/configuration.rb index b0fc1312ec54..95f167323cbc 100644 --- a/lib/datadog_api_client/configuration.rb +++ b/lib/datadog_api_client/configuration.rb @@ -337,15 +337,6 @@ def initialize "v2.update_jira_issue_template": false, "v2.create_tenancy_config": false, "v2.get_tenancy_configs": false, - "v2.create_service_now_template": false, - "v2.delete_service_now_template": false, - "v2.get_service_now_template": false, - "v2.list_service_now_assignment_groups": false, - "v2.list_service_now_business_services": false, - "v2.list_service_now_instances": false, - "v2.list_service_now_templates": false, - "v2.list_service_now_users": false, - "v2.update_service_now_template": false, "v2.create_llm_obs_dataset": false, "v2.create_llm_obs_dataset_records": false, "v2.create_llm_obs_experiment": false, diff --git a/lib/datadog_api_client/v2/api/service_now_integration_api.rb b/lib/datadog_api_client/v2/api/service_now_integration_api.rb index 1121e5e9599d..359959b8e9fc 100644 --- a/lib/datadog_api_client/v2/api/service_now_integration_api.rb +++ b/lib/datadog_api_client/v2/api/service_now_integration_api.rb @@ -39,12 +39,6 @@ def create_service_now_template(body, opts = {}) # @param opts [Hash] the optional parameters # @return [Array<(ServiceNowTemplateResponse, Integer, Hash)>] ServiceNowTemplateResponse data, response status code and response headers def create_service_now_template_with_http_info(body, opts = {}) - unstable_enabled = @api_client.config.unstable_operations["v2.create_service_now_template".to_sym] - if unstable_enabled - @api_client.config.logger.warn format("Using unstable operation '%s'", "v2.create_service_now_template") - else - raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.create_service_now_template")) - end if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: ServiceNowIntegrationAPI.create_service_now_template ...' @@ -112,12 +106,6 @@ def delete_service_now_template(template_id, opts = {}) # @param opts [Hash] the optional parameters # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers def delete_service_now_template_with_http_info(template_id, opts = {}) - unstable_enabled = @api_client.config.unstable_operations["v2.delete_service_now_template".to_sym] - if unstable_enabled - @api_client.config.logger.warn format("Using unstable operation '%s'", "v2.delete_service_now_template") - else - raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.delete_service_now_template")) - end if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: ServiceNowIntegrationAPI.delete_service_now_template ...' @@ -183,12 +171,6 @@ def get_service_now_template(template_id, opts = {}) # @param opts [Hash] the optional parameters # @return [Array<(ServiceNowTemplateResponse, Integer, Hash)>] ServiceNowTemplateResponse data, response status code and response headers def get_service_now_template_with_http_info(template_id, opts = {}) - unstable_enabled = @api_client.config.unstable_operations["v2.get_service_now_template".to_sym] - if unstable_enabled - @api_client.config.logger.warn format("Using unstable operation '%s'", "v2.get_service_now_template") - else - raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.get_service_now_template")) - end if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: ServiceNowIntegrationAPI.get_service_now_template ...' @@ -254,12 +236,6 @@ def list_service_now_assignment_groups(instance_id, opts = {}) # @param opts [Hash] the optional parameters # @return [Array<(ServiceNowAssignmentGroupsResponse, Integer, Hash)>] ServiceNowAssignmentGroupsResponse data, response status code and response headers def list_service_now_assignment_groups_with_http_info(instance_id, opts = {}) - unstable_enabled = @api_client.config.unstable_operations["v2.list_service_now_assignment_groups".to_sym] - if unstable_enabled - @api_client.config.logger.warn format("Using unstable operation '%s'", "v2.list_service_now_assignment_groups") - else - raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.list_service_now_assignment_groups")) - end if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: ServiceNowIntegrationAPI.list_service_now_assignment_groups ...' @@ -325,12 +301,6 @@ def list_service_now_business_services(instance_id, opts = {}) # @param opts [Hash] the optional parameters # @return [Array<(ServiceNowBusinessServicesResponse, Integer, Hash)>] ServiceNowBusinessServicesResponse data, response status code and response headers def list_service_now_business_services_with_http_info(instance_id, opts = {}) - unstable_enabled = @api_client.config.unstable_operations["v2.list_service_now_business_services".to_sym] - if unstable_enabled - @api_client.config.logger.warn format("Using unstable operation '%s'", "v2.list_service_now_business_services") - else - raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.list_service_now_business_services")) - end if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: ServiceNowIntegrationAPI.list_service_now_business_services ...' @@ -395,12 +365,6 @@ def list_service_now_instances(opts = {}) # @param opts [Hash] the optional parameters # @return [Array<(ServiceNowInstancesResponse, Integer, Hash)>] ServiceNowInstancesResponse data, response status code and response headers def list_service_now_instances_with_http_info(opts = {}) - unstable_enabled = @api_client.config.unstable_operations["v2.list_service_now_instances".to_sym] - if unstable_enabled - @api_client.config.logger.warn format("Using unstable operation '%s'", "v2.list_service_now_instances") - else - raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.list_service_now_instances")) - end if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: ServiceNowIntegrationAPI.list_service_now_instances ...' @@ -461,12 +425,6 @@ def list_service_now_templates(opts = {}) # @param opts [Hash] the optional parameters # @return [Array<(ServiceNowTemplatesResponse, Integer, Hash)>] ServiceNowTemplatesResponse data, response status code and response headers def list_service_now_templates_with_http_info(opts = {}) - unstable_enabled = @api_client.config.unstable_operations["v2.list_service_now_templates".to_sym] - if unstable_enabled - @api_client.config.logger.warn format("Using unstable operation '%s'", "v2.list_service_now_templates") - else - raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.list_service_now_templates")) - end if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: ServiceNowIntegrationAPI.list_service_now_templates ...' @@ -528,12 +486,6 @@ def list_service_now_users(instance_id, opts = {}) # @param opts [Hash] the optional parameters # @return [Array<(ServiceNowUsersResponse, Integer, Hash)>] ServiceNowUsersResponse data, response status code and response headers def list_service_now_users_with_http_info(instance_id, opts = {}) - unstable_enabled = @api_client.config.unstable_operations["v2.list_service_now_users".to_sym] - if unstable_enabled - @api_client.config.logger.warn format("Using unstable operation '%s'", "v2.list_service_now_users") - else - raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.list_service_now_users")) - end if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: ServiceNowIntegrationAPI.list_service_now_users ...' @@ -600,12 +552,6 @@ def update_service_now_template(template_id, body, opts = {}) # @param opts [Hash] the optional parameters # @return [Array<(ServiceNowTemplateResponse, Integer, Hash)>] ServiceNowTemplateResponse data, response status code and response headers def update_service_now_template_with_http_info(template_id, body, opts = {}) - unstable_enabled = @api_client.config.unstable_operations["v2.update_service_now_template".to_sym] - if unstable_enabled - @api_client.config.logger.warn format("Using unstable operation '%s'", "v2.update_service_now_template") - else - raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.update_service_now_template")) - end if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: ServiceNowIntegrationAPI.update_service_now_template ...'