examples/v1/synthetics/UpdateBrowserTest.rb in datadog_api_client-2.6.0 vs examples/v1/synthetics/UpdateBrowserTest.rb in datadog_api_client-2.7.0
- old
+ new
@@ -49,18 +49,34 @@
execution_rule: DatadogAPIClient::V1::SyntheticsTestExecutionRule::BLOCKING,
}),
device_ids: [
DatadogAPIClient::V1::SyntheticsDeviceID::LAPTOP_LARGE,
],
+ http_version: DatadogAPIClient::V1::SyntheticsTestOptionsHTTPVersion::HTTP1,
monitor_options: DatadogAPIClient::V1::SyntheticsTestOptionsMonitorOptions.new({}),
restricted_roles: [
"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
],
_retry: DatadogAPIClient::V1::SyntheticsTestOptionsRetry.new({}),
rum_settings: DatadogAPIClient::V1::SyntheticsBrowserTestRumSettings.new({
application_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
client_token_id: 12345,
is_enabled: true,
+ }),
+ scheduling: DatadogAPIClient::V1::SyntheticsTestOptionsScheduling.new({
+ timeframes: [
+ DatadogAPIClient::V1::SyntheticsTestOptionsSchedulingTimeframe.new({
+ day: 1,
+ from: "07:00",
+ to: "16:00",
+ }),
+ DatadogAPIClient::V1::SyntheticsTestOptionsSchedulingTimeframe.new({
+ day: 3,
+ from: "07:00",
+ to: "16:00",
+ }),
+ ],
+ timezone: "America/New_York",
}),
}),
status: DatadogAPIClient::V1::SyntheticsTestPauseStatus::LIVE,
steps: [
DatadogAPIClient::V1::SyntheticsStep.new({