@@ -33,43 +33,55 @@ def openapi_types(_):
33
33
)
34
34
35
35
return {
36
+ "agent_constraint" : (str ,),
36
37
"category" : (str ,),
38
+ "creation_author_uu_id" : (str ,),
37
39
"creation_date" : (int ,),
38
40
"creator" : (CloudWorkloadSecurityAgentRuleCreatorAttributes ,),
39
41
"default_rule" : (bool ,),
40
42
"description" : (str ,),
41
43
"enabled" : (bool ,),
42
44
"expression" : (str ,),
43
45
"name" : (str ,),
46
+ "update_author_uu_id" : (str ,),
47
+ "update_date" : (int ,),
44
48
"updated_at" : (int ,),
45
49
"updater" : (CloudWorkloadSecurityAgentRuleUpdaterAttributes ,),
46
50
"version" : (int ,),
47
51
}
48
52
49
53
attribute_map = {
54
+ "agent_constraint" : "agentConstraint" ,
50
55
"category" : "category" ,
56
+ "creation_author_uu_id" : "creationAuthorUuId" ,
51
57
"creation_date" : "creationDate" ,
52
58
"creator" : "creator" ,
53
59
"default_rule" : "defaultRule" ,
54
60
"description" : "description" ,
55
61
"enabled" : "enabled" ,
56
62
"expression" : "expression" ,
57
63
"name" : "name" ,
64
+ "update_author_uu_id" : "updateAuthorUuId" ,
65
+ "update_date" : "updateDate" ,
58
66
"updated_at" : "updatedAt" ,
59
67
"updater" : "updater" ,
60
68
"version" : "version" ,
61
69
}
62
70
63
71
def __init__ (
64
72
self_ ,
73
+ agent_constraint : Union [str , UnsetType ] = unset ,
65
74
category : Union [str , UnsetType ] = unset ,
75
+ creation_author_uu_id : Union [str , UnsetType ] = unset ,
66
76
creation_date : Union [int , UnsetType ] = unset ,
67
77
creator : Union [CloudWorkloadSecurityAgentRuleCreatorAttributes , UnsetType ] = unset ,
68
78
default_rule : Union [bool , UnsetType ] = unset ,
69
79
description : Union [str , UnsetType ] = unset ,
70
80
enabled : Union [bool , UnsetType ] = unset ,
71
81
expression : Union [str , UnsetType ] = unset ,
72
82
name : Union [str , UnsetType ] = unset ,
83
+ update_author_uu_id : Union [str , UnsetType ] = unset ,
84
+ update_date : Union [int , UnsetType ] = unset ,
73
85
updated_at : Union [int , UnsetType ] = unset ,
74
86
updater : Union [CloudWorkloadSecurityAgentRuleUpdaterAttributes , UnsetType ] = unset ,
75
87
version : Union [int , UnsetType ] = unset ,
@@ -78,9 +90,15 @@ def __init__(
78
90
"""
79
91
A Cloud Workload Security Agent rule returned by the API.
80
92
93
+ :param agent_constraint: The version of the agent.
94
+ :type agent_constraint: str, optional
95
+
81
96
:param category: The category of the Agent rule.
82
97
:type category: str, optional
83
98
99
+ :param creation_author_uu_id: The ID of the user who created the rule.
100
+ :type creation_author_uu_id: str, optional
101
+
84
102
:param creation_date: When the Agent rule was created, timestamp in milliseconds.
85
103
:type creation_date: int, optional
86
104
@@ -102,6 +120,12 @@ def __init__(
102
120
:param name: The name of the Agent rule.
103
121
:type name: str, optional
104
122
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
+
105
129
:param updated_at: When the Agent rule was last updated, timestamp in milliseconds.
106
130
:type updated_at: int, optional
107
131
@@ -111,8 +135,12 @@ def __init__(
111
135
:param version: The version of the Agent rule.
112
136
:type version: int, optional
113
137
"""
138
+ if agent_constraint is not unset :
139
+ kwargs ["agent_constraint" ] = agent_constraint
114
140
if category is not unset :
115
141
kwargs ["category" ] = category
142
+ if creation_author_uu_id is not unset :
143
+ kwargs ["creation_author_uu_id" ] = creation_author_uu_id
116
144
if creation_date is not unset :
117
145
kwargs ["creation_date" ] = creation_date
118
146
if creator is not unset :
@@ -127,6 +155,10 @@ def __init__(
127
155
kwargs ["expression" ] = expression
128
156
if name is not unset :
129
157
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
130
162
if updated_at is not unset :
131
163
kwargs ["updated_at" ] = updated_at
132
164
if updater is not unset :
0 commit comments