Sha256: 455af1a506d2afab832f4f31a9e3a639bc4ce62fbb4609c3b9d4deefeeff6ecb

Contents?: true

Size: 716 Bytes

Versions: 1

Compression:

Stored size: 716 Bytes

Contents

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::SyntheticsAPI.new
public_id = "public_id_example" # String | The public ID of the test for which to search results for.
opts = {
  from_ts: 789, # Integer | Timestamp in milliseconds from which to start querying results.
  to_ts: 789, # Integer | Timestamp in milliseconds up to which to query results.
  probe_dc: ["inner_example"], # Array<String> | Locations for which to query results.
}

begin
  # Get an API test's latest results summaries
  result = api_instance.get_api_test_latest_results(public_id, opts)
  p result
rescue DatadogAPIClient::V1::APIError => e
  puts "Error when calling SyntheticsAPI->get_api_test_latest_results: #{e}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datadog_api_client-1.7.0 examples/generated/v1/synthetics/GetApiTestLatestResults.rb