Skip to content

Commit 61409a0

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 5410f2dd of spec repo
1 parent 631e3f2 commit 61409a0

File tree

3 files changed

+52
-4
lines changed

3 files changed

+52
-4
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.5",
7-
"regenerated": "2023-07-11 16:39:33.303769",
8-
"spec_repo_commit": "824086bb"
7+
"regenerated": "2023-07-13 17:25:43.376701",
8+
"spec_repo_commit": "5410f2dd"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.5",
12-
"regenerated": "2023-07-11 16:39:33.412435",
13-
"spec_repo_commit": "824086bb"
12+
"regenerated": "2023-07-13 17:25:43.392367",
13+
"spec_repo_commit": "5410f2dd"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2756,10 +2756,17 @@ components:
27562756
CloudWorkloadSecurityAgentRuleAttributes:
27572757
description: A Cloud Workload Security Agent rule returned by the API.
27582758
properties:
2759+
agentConstraint:
2760+
description: The version of the agent.
2761+
type: string
27592762
category:
27602763
description: The category of the Agent rule.
27612764
example: Process Activity
27622765
type: string
2766+
creationAuthorUuId:
2767+
description: The ID of the user who created the rule.
2768+
example: e51c9744-d158-11ec-ad23-da7ad0900002
2769+
type: string
27632770
creationDate:
27642771
description: When the Agent rule was created, timestamp in milliseconds.
27652772
example: 1624366480320
@@ -2787,6 +2794,15 @@ components:
27872794
description: The name of the Agent rule.
27882795
example: my_agent_rule
27892796
type: string
2797+
updateAuthorUuId:
2798+
description: The ID of the user who updated the rule.
2799+
example: e51c9744-d158-11ec-ad23-da7ad0900002
2800+
type: string
2801+
updateDate:
2802+
description: Timestamp in milliseconds when the Agent rule was last updated.
2803+
example: 1624366480320
2804+
format: int64
2805+
type: integer
27902806
updatedAt:
27912807
description: When the Agent rule was last updated, timestamp in milliseconds.
27922808
example: 1624366480320

src/datadog_api_client/v2/model/cloud_workload_security_agent_rule_attributes.py

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,43 +33,55 @@ def openapi_types(_):
3333
)
3434

3535
return {
36+
"agent_constraint": (str,),
3637
"category": (str,),
38+
"creation_author_uu_id": (str,),
3739
"creation_date": (int,),
3840
"creator": (CloudWorkloadSecurityAgentRuleCreatorAttributes,),
3941
"default_rule": (bool,),
4042
"description": (str,),
4143
"enabled": (bool,),
4244
"expression": (str,),
4345
"name": (str,),
46+
"update_author_uu_id": (str,),
47+
"update_date": (int,),
4448
"updated_at": (int,),
4549
"updater": (CloudWorkloadSecurityAgentRuleUpdaterAttributes,),
4650
"version": (int,),
4751
}
4852

4953
attribute_map = {
54+
"agent_constraint": "agentConstraint",
5055
"category": "category",
56+
"creation_author_uu_id": "creationAuthorUuId",
5157
"creation_date": "creationDate",
5258
"creator": "creator",
5359
"default_rule": "defaultRule",
5460
"description": "description",
5561
"enabled": "enabled",
5662
"expression": "expression",
5763
"name": "name",
64+
"update_author_uu_id": "updateAuthorUuId",
65+
"update_date": "updateDate",
5866
"updated_at": "updatedAt",
5967
"updater": "updater",
6068
"version": "version",
6169
}
6270

6371
def __init__(
6472
self_,
73+
agent_constraint: Union[str, UnsetType] = unset,
6574
category: Union[str, UnsetType] = unset,
75+
creation_author_uu_id: Union[str, UnsetType] = unset,
6676
creation_date: Union[int, UnsetType] = unset,
6777
creator: Union[CloudWorkloadSecurityAgentRuleCreatorAttributes, UnsetType] = unset,
6878
default_rule: Union[bool, UnsetType] = unset,
6979
description: Union[str, UnsetType] = unset,
7080
enabled: Union[bool, UnsetType] = unset,
7181
expression: Union[str, UnsetType] = unset,
7282
name: Union[str, UnsetType] = unset,
83+
update_author_uu_id: Union[str, UnsetType] = unset,
84+
update_date: Union[int, UnsetType] = unset,
7385
updated_at: Union[int, UnsetType] = unset,
7486
updater: Union[CloudWorkloadSecurityAgentRuleUpdaterAttributes, UnsetType] = unset,
7587
version: Union[int, UnsetType] = unset,
@@ -78,9 +90,15 @@ def __init__(
7890
"""
7991
A Cloud Workload Security Agent rule returned by the API.
8092
93+
:param agent_constraint: The version of the agent.
94+
:type agent_constraint: str, optional
95+
8196
:param category: The category of the Agent rule.
8297
:type category: str, optional
8398
99+
:param creation_author_uu_id: The ID of the user who created the rule.
100+
:type creation_author_uu_id: str, optional
101+
84102
:param creation_date: When the Agent rule was created, timestamp in milliseconds.
85103
:type creation_date: int, optional
86104
@@ -102,6 +120,12 @@ def __init__(
102120
:param name: The name of the Agent rule.
103121
:type name: str, optional
104122
123+
:param update_author_uu_id: The ID of the user who updated the rule.
124+
:type update_author_uu_id: str, optional
125+
126+
:param update_date: Timestamp in milliseconds when the Agent rule was last updated.
127+
:type update_date: int, optional
128+
105129
:param updated_at: When the Agent rule was last updated, timestamp in milliseconds.
106130
:type updated_at: int, optional
107131
@@ -111,8 +135,12 @@ def __init__(
111135
:param version: The version of the Agent rule.
112136
:type version: int, optional
113137
"""
138+
if agent_constraint is not unset:
139+
kwargs["agent_constraint"] = agent_constraint
114140
if category is not unset:
115141
kwargs["category"] = category
142+
if creation_author_uu_id is not unset:
143+
kwargs["creation_author_uu_id"] = creation_author_uu_id
116144
if creation_date is not unset:
117145
kwargs["creation_date"] = creation_date
118146
if creator is not unset:
@@ -127,6 +155,10 @@ def __init__(
127155
kwargs["expression"] = expression
128156
if name is not unset:
129157
kwargs["name"] = name
158+
if update_author_uu_id is not unset:
159+
kwargs["update_author_uu_id"] = update_author_uu_id
160+
if update_date is not unset:
161+
kwargs["update_date"] = update_date
130162
if updated_at is not unset:
131163
kwargs["updated_at"] = updated_at
132164
if updater is not unset:

0 commit comments

Comments
 (0)