This repository was archived by the owner on Dec 31, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
google/cloud/monitoring_v3/types Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -527,6 +527,10 @@ class AlertStrategy(proto.Message):
527527
528528 This limit is not implemented for alert policies that are
529529 not log-based.
530+ auto_close (google.protobuf.duration_pb2.Duration):
531+ If an alert policy that was active has no
532+ data for this long, any open incidents will
533+ close
530534 """
531535
532536 class NotificationRateLimit (proto .Message ):
@@ -547,6 +551,9 @@ class NotificationRateLimit(proto.Message):
547551 number = 1 ,
548552 message = "AlertPolicy.AlertStrategy.NotificationRateLimit" ,
549553 )
554+ auto_close = proto .Field (
555+ proto .MESSAGE , number = 3 , message = duration_pb2 .Duration ,
556+ )
550557
551558 name = proto .Field (proto .STRING , number = 1 ,)
552559 display_name = proto .Field (proto .STRING , number = 2 ,)
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ class TimeInterval(proto.Message):
128128 the end time of the previous interval.
129129
130130 - For ``CUMULATIVE`` metrics, the start time and end time must
131- specify a a non-zero interval, with subsequent points specifying
131+ specify a non-zero interval, with subsequent points specifying
132132 the same start time and increasing end times, until an event
133133 resets the cumulative value to zero and sets a new start time for
134134 the following points. The new start time must be at least a
You can’t perform that action at this time.
0 commit comments