Sha256: 8882cabb16e5ea3d86de7f07ad08a896dc23de011699625b37b287932c179239
Contents?: true
Size: 723 Bytes
Versions: 1
Compression:
Stored size: 723 Bytes
Contents
require "datadog_api_client" api_instance = DatadogAPIClient::V1::SyntheticsAPI.new public_id = "public_id_example" # String | The public ID of the test to get details from. body = DatadogAPIClient::V1::SyntheticsAPITest.new({ config: DatadogAPIClient::V1::SyntheticsAPITestConfig.new, locations: ["locations_example"], name: "Example test name", options: DatadogAPIClient::V1::SyntheticsTestOptions.new, type: DatadogAPIClient::V1::SyntheticsAPITestType::API }) # SyntheticsAPITest | New test details to be saved. begin # Edit an API test result = api_instance.update_api_test(public_id, body) p result rescue DatadogAPIClient::V1::APIError => e puts "Error when calling SyntheticsAPI->update_api_test: #{e}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-1.7.0 | examples/generated/v1/synthetics/UpdateApiTest.rb |