Enum AlertPolicy.Severity (3.55.0)

public enum AlertPolicy.Severity extends Enum<AlertPolicy.Severity> implements ProtocolMessageEnum

An enumeration of possible severity level for an Alert Policy.

Protobuf enum google.monitoring.v3.AlertPolicy.Severity

Implements

ProtocolMessageEnum

Static Fields

Name Description
CRITICAL

This is the highest severity level. Use this if the problem could cause significant damage or downtime.

CRITICAL = 1;

CRITICAL_VALUE

This is the highest severity level. Use this if the problem could cause significant damage or downtime.

CRITICAL = 1;

ERROR

This is the medium severity level. Use this if the problem could cause minor damage or downtime.

ERROR = 2;

ERROR_VALUE

This is the medium severity level. Use this if the problem could cause minor damage or downtime.

ERROR = 2;

SEVERITY_UNSPECIFIED

No severity is specified. This is the default value.

SEVERITY_UNSPECIFIED = 0;

SEVERITY_UNSPECIFIED_VALUE

No severity is specified. This is the default value.

SEVERITY_UNSPECIFIED = 0;

UNRECOGNIZED
WARNING

This is the lowest severity level. Use this if the problem is not causing any damage or downtime, but could potentially lead to a problem in the future.

WARNING = 3;

WARNING_VALUE

This is the lowest severity level. Use this if the problem is not causing any damage or downtime, but could potentially lead to a problem in the future.

WARNING = 3;

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()