Sha256: b9e2f76d2251e33398e0b56ecbc26a3d7b25d91e202a19619d5697134252878a

Contents?: true

Size: 735 Bytes

Versions: 1

Compression:

Stored size: 735 Bytes

Contents

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::SyntheticsAPI.new
public_id = "public_id_example" # String | The public ID of the browser 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 a browser test's latest results summaries
  result = api_instance.get_browser_test_latest_results(public_id, opts)
  p result
rescue DatadogAPIClient::V1::APIError => e
  puts "Error when calling SyntheticsAPI->get_browser_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/GetBrowserTestLatestResults.rb