@@ -133,7 +133,26 @@ class AlertPolicy(proto.Message):
133
133
"""
134
134
135
135
class ConditionCombinerType (proto .Enum ):
136
- r"""Operators for combining conditions."""
136
+ r"""Operators for combining conditions.
137
+
138
+ Values:
139
+ COMBINE_UNSPECIFIED (0):
140
+ An unspecified combiner.
141
+ AND (1):
142
+ Combine conditions using the logical ``AND`` operator. An
143
+ incident is created only if all the conditions are met
144
+ simultaneously. This combiner is satisfied if all conditions
145
+ are met, even if they are met on completely different
146
+ resources.
147
+ OR (2):
148
+ Combine conditions using the logical ``OR`` operator. An
149
+ incident is created if any of the listed conditions is met.
150
+ AND_WITH_MATCHING_RESOURCE (3):
151
+ Combine conditions using logical ``AND`` operator, but
152
+ unlike the regular ``AND`` option, an incident is created
153
+ only if all conditions are met simultaneously on at least
154
+ one resource.
155
+ """
137
156
COMBINE_UNSPECIFIED = 0
138
157
AND = 1
139
158
OR = 2
@@ -243,6 +262,20 @@ class EvaluationMissingData(proto.Enum):
243
262
r"""A condition control that determines how metric-threshold
244
263
conditions are evaluated when data stops arriving.
245
264
This control doesn't affect metric-absence policies.
265
+
266
+ Values:
267
+ EVALUATION_MISSING_DATA_UNSPECIFIED (0):
268
+ An unspecified evaluation missing data option. Equivalent to
269
+ EVALUATION_MISSING_DATA_NO_OP.
270
+ EVALUATION_MISSING_DATA_INACTIVE (1):
271
+ If there is no data to evaluate the
272
+ condition, then evaluate the condition as false.
273
+ EVALUATION_MISSING_DATA_ACTIVE (2):
274
+ If there is no data to evaluate the
275
+ condition, then evaluate the condition as true.
276
+ EVALUATION_MISSING_DATA_NO_OP (3):
277
+ Do not evaluate the condition to any value if
278
+ there is no data.
246
279
"""
247
280
EVALUATION_MISSING_DATA_UNSPECIFIED = 0
248
281
EVALUATION_MISSING_DATA_INACTIVE = 1
0 commit comments