Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::Snooze::Criteria.
Criteria specific to the AlertPolicy
s that this Snooze
applies to. The
Snooze
will suppress alerts that come from one of the AlertPolicy
s
whose names are supplied.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#policies
def policies() -> ::Array<::String>
-
(::Array<::String>) — The specific
AlertPolicy
names for the alert that should be snoozed. The format is:projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[POLICY_ID]
There is a limit of 16 policies per snooze. This limit is checked during snooze creation.
#policies=
def policies=(value) -> ::Array<::String>
-
value (::Array<::String>) — The specific
AlertPolicy
names for the alert that should be snoozed. The format is:projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[POLICY_ID]
There is a limit of 16 policies per snooze. This limit is checked during snooze creation.
-
(::Array<::String>) — The specific
AlertPolicy
names for the alert that should be snoozed. The format is:projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[POLICY_ID]
There is a limit of 16 policies per snooze. This limit is checked during snooze creation.