Skip to content

Commit 2df3724

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 55922470 of spec repo (#1043)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 8a9a4b5 commit 2df3724

13 files changed

+107
-23
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.2",
7-
"regenerated": "2022-06-20 06:54:32.701099",
8-
"spec_repo_commit": "17f09b79"
7+
"regenerated": "2022-06-22 15:23:41.740738",
8+
"spec_repo_commit": "55922470"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.2",
12-
"regenerated": "2022-06-20 06:54:32.712627",
13-
"spec_repo_commit": "17f09b79"
12+
"regenerated": "2022-06-22 15:23:41.760239",
13+
"spec_repo_commit": "55922470"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12027,6 +12027,12 @@ components:
1202712027
- TYPE_TEXT
1202812028
- UPLOAD_FILES
1202912029
- WAIT
12030+
SyntheticsTestCiOptions:
12031+
description: CI/CD options for a Synthetic test.
12032+
properties:
12033+
executionRule:
12034+
$ref: '#/components/schemas/SyntheticsTestExecutionRule'
12035+
type: object
1203012036
SyntheticsTestConfig:
1203112037
description: Configuration object for a Synthetic test.
1203212038
properties:
@@ -12192,6 +12198,8 @@ components:
1219212198
description: For SSL test, whether or not the test should fail on revoked
1219312199
certificate in stapled OCSP.
1219412200
type: boolean
12201+
ci:
12202+
$ref: '#/components/schemas/SyntheticsTestCiOptions'
1219512203
device_ids:
1219612204
description: For browser test, array with the different device IDs used
1219712205
to run the test.

docs/datadog_api_client.v1.model.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3676,6 +3676,13 @@ synthetics\_step\_type
36763676
:members:
36773677
:show-inheritance:
36783678

3679+
synthetics\_test\_ci\_options
3680+
-----------------------------
3681+
3682+
.. automodule:: datadog_api_client.v1.model.synthetics_test_ci_options
3683+
:members:
3684+
:show-inheritance:
3685+
36793686
synthetics\_test\_config
36803687
------------------------
36813688

examples/v1/synthetics/CreateSyntheticsAPITest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
from datadog_api_client.v1.model.synthetics_browser_test_rum_settings import SyntheticsBrowserTestRumSettings
1515
from datadog_api_client.v1.model.synthetics_device_id import SyntheticsDeviceID
1616
from datadog_api_client.v1.model.synthetics_restricted_roles import SyntheticsRestrictedRoles
17+
from datadog_api_client.v1.model.synthetics_test_ci_options import SyntheticsTestCiOptions
1718
from datadog_api_client.v1.model.synthetics_test_details_sub_type import SyntheticsTestDetailsSubType
19+
from datadog_api_client.v1.model.synthetics_test_execution_rule import SyntheticsTestExecutionRule
1820
from datadog_api_client.v1.model.synthetics_test_options import SyntheticsTestOptions
1921
from datadog_api_client.v1.model.synthetics_test_options_monitor_options import SyntheticsTestOptionsMonitorOptions
2022
from datadog_api_client.v1.model.synthetics_test_options_retry import SyntheticsTestOptionsRetry
@@ -41,6 +43,9 @@
4143
message="Notification message",
4244
name="Example test name",
4345
options=SyntheticsTestOptions(
46+
ci=SyntheticsTestCiOptions(
47+
execution_rule=SyntheticsTestExecutionRule("blocking"),
48+
),
4449
device_ids=[
4550
SyntheticsDeviceID("laptop_large"),
4651
],

examples/v1/synthetics/CreateSyntheticsBrowserTest_2932742688.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
from datadog_api_client.v1.model.synthetics_device_id import SyntheticsDeviceID
1515
from datadog_api_client.v1.model.synthetics_step import SyntheticsStep
1616
from datadog_api_client.v1.model.synthetics_step_type import SyntheticsStepType
17+
from datadog_api_client.v1.model.synthetics_test_ci_options import SyntheticsTestCiOptions
18+
from datadog_api_client.v1.model.synthetics_test_execution_rule import SyntheticsTestExecutionRule
1719
from datadog_api_client.v1.model.synthetics_test_options import SyntheticsTestOptions
1820
from datadog_api_client.v1.model.synthetics_test_options_retry import SyntheticsTestOptionsRetry
1921
from datadog_api_client.v1.model.synthetics_test_request import SyntheticsTestRequest
@@ -61,6 +63,9 @@
6163
client_token_id=123456,
6264
),
6365
tick_every=300,
66+
ci=SyntheticsTestCiOptions(
67+
execution_rule=SyntheticsTestExecutionRule("skipped"),
68+
),
6469
),
6570
tags=[
6671
"testing:browser",

examples/v1/synthetics/UpdateBrowserTest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
from datadog_api_client.v1.model.synthetics_restricted_roles import SyntheticsRestrictedRoles
2020
from datadog_api_client.v1.model.synthetics_step import SyntheticsStep
2121
from datadog_api_client.v1.model.synthetics_step_type import SyntheticsStepType
22+
from datadog_api_client.v1.model.synthetics_test_ci_options import SyntheticsTestCiOptions
23+
from datadog_api_client.v1.model.synthetics_test_execution_rule import SyntheticsTestExecutionRule
2224
from datadog_api_client.v1.model.synthetics_test_options import SyntheticsTestOptions
2325
from datadog_api_client.v1.model.synthetics_test_options_monitor_options import SyntheticsTestOptionsMonitorOptions
2426
from datadog_api_client.v1.model.synthetics_test_options_retry import SyntheticsTestOptionsRetry
@@ -66,6 +68,9 @@
6668
message="",
6769
name="Example test name",
6870
options=SyntheticsTestOptions(
71+
ci=SyntheticsTestCiOptions(
72+
execution_rule=SyntheticsTestExecutionRule("blocking"),
73+
),
6974
device_ids=[
7075
SyntheticsDeviceID("laptop_large"),
7176
],

src/datadog_api_client/v1/model/synthetics_test_ci_options.py

Lines changed: 44 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/datadog_api_client/v1/model/synthetics_test_options.py

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/datadog_api_client/v1/models/__init__.py

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2022-05-18T13:08:12.878Z
1+
2022-06-17T07:42:57.557Z

0 commit comments

Comments
 (0)