Skip to content

Commit fd607d2

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 52e5730 of spec repo (#424)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 25e7a73 commit fd607d2

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
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.4.1.dev6",
7-
"regenerated": "2021-05-06 13:35:42.007744",
8-
"spec_repo_commit": "b2e3154"
7+
"regenerated": "2021-05-07 12:39:35.072535",
8+
"spec_repo_commit": "52e5730"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev6",
12-
"regenerated": "2021-05-06 13:36:09.120700",
13-
"spec_repo_commit": "b2e3154"
12+
"regenerated": "2021-05-07 12:40:02.274378",
13+
"spec_repo_commit": "52e5730"
1414
}
1515
}
1616
}

docs/v2/SecurityMonitoringRuleDetectionMethod.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The detection method.
55
## Properties
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**value** | **str** | The detection method. | must be one of ["threshold", "new_value", ]
8+
**value** | **str** | The detection method. | must be one of ["threshold", "new_value", "anomaly_detection", ]
99

1010
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
1111

src/datadog_api_client/v2/model/security_monitoring_rule_detection_method.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ class SecurityMonitoringRuleDetectionMethod(ModelSimple):
4646
("value",): {
4747
"THRESHOLD": "threshold",
4848
"NEW_VALUE": "new_value",
49+
"ANOMALY_DETECTION": "anomaly_detection",
4950
},
5051
}
5152

@@ -95,10 +96,10 @@ def __init__(self, *args, **kwargs):
9596
Note that value can be passed either in args or in kwargs, but not in both.
9697
9798
Args:
98-
args[0] (str): The detection method.., must be one of ["threshold", "new_value", ] # noqa: E501
99+
args[0] (str): The detection method.., must be one of ["threshold", "new_value", "anomaly_detection", ] # noqa: E501
99100
100101
Keyword Args:
101-
value (str): The detection method.., must be one of ["threshold", "new_value", ] # noqa: E501
102+
value (str): The detection method.., must be one of ["threshold", "new_value", "anomaly_detection", ] # noqa: E501
102103
_check_type (bool): if True, values for parameters in openapi_types
103104
will be type checked and a TypeError will be
104105
raised if the wrong type is input.

src/datadog_api_client/v2/openapi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4011,10 +4011,12 @@ components:
40114011
enum:
40124012
- threshold
40134013
- new_value
4014+
- anomaly_detection
40144015
type: string
40154016
x-enum-varnames:
40164017
- THRESHOLD
40174018
- NEW_VALUE
4019+
- ANOMALY_DETECTION
40184020
SecurityMonitoringRuleEvaluationWindow:
40194021
description: 'A time window is specified to match when at least one of the cases
40204022
matches true. This is a sliding window

0 commit comments

Comments
 (0)