Cloud Monitoring V3 API - Class Google::Cloud::Monitoring::V3::Snooze::Criteria (v1.0.0)

Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::Snooze::Criteria.

Criteria specific to the AlertPolicys that this Snooze applies to. The Snooze will suppress alerts that come from one of the AlertPolicys whose names are supplied.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#policies

def policies() -> ::Array<::String>
Returns
  • (::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>
Parameter
  • 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.

Returns
  • (::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.