Send feedback
Enum LintResult.Severity (3.67.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public enum LintResult . Severity extends Enum<LintResult . Severity > implements ProtocolMessageEnum
Possible Severity values of an issued result.
Protobuf enum google.iam.admin.v1.LintResult.Severity
Static Fields
Name
Description
DEPRECATED
Deprecated severity level.
DEPRECATED = 5;
DEPRECATED_VALUE
Deprecated severity level.
DEPRECATED = 5;
ERROR
A validation unit returns an error only for critical issues. If an
attempt is made to set the problematic policy without rectifying the
critical issue, it causes the setPolicy
operation to fail.
ERROR = 1;
ERROR_VALUE
A validation unit returns an error only for critical issues. If an
attempt is made to set the problematic policy without rectifying the
critical issue, it causes the setPolicy
operation to fail.
ERROR = 1;
INFO
Any informative statement which is not severe enough to raise
ERROR
/WARNING
/NOTICE
, like auto-correction recommendations on the
input content. Note that current version of the linter does not utilize
INFO
.
INFO = 4;
INFO_VALUE
Any informative statement which is not severe enough to raise
ERROR
/WARNING
/NOTICE
, like auto-correction recommendations on the
input content. Note that current version of the linter does not utilize
INFO
.
INFO = 4;
NOTICE
Reserved for the issues that are not severe as ERROR
/WARNING
, but
need special handling. For instance, messages about skipped validation
units are issued as NOTICE
.
NOTICE = 3;
NOTICE_VALUE
Reserved for the issues that are not severe as ERROR
/WARNING
, but
need special handling. For instance, messages about skipped validation
units are issued as NOTICE
.
NOTICE = 3;
SEVERITY_UNSPECIFIED
Severity is unspecified.
SEVERITY_UNSPECIFIED = 0;
SEVERITY_UNSPECIFIED_VALUE
Severity is unspecified.
SEVERITY_UNSPECIFIED = 0;
UNRECOGNIZED
WARNING
Any issue which is severe enough but does not cause an error.
For example, suspicious constructs in the input object will not
necessarily fail setPolicy
, but there is a high likelihood that they
won't behave as expected during policy evaluation in checkPolicy
.
This includes the following common scenarios:
Unsatisfiable condition: Expired timestamp in date/time condition.
Ineffective condition: Condition on a <principal, role> pair which is
granted unconditionally in another binding of the same policy.
WARNING = 2;
WARNING_VALUE
Any issue which is severe enough but does not cause an error.
For example, suspicious constructs in the input object will not
necessarily fail setPolicy
, but there is a high likelihood that they
won't behave as expected during policy evaluation in checkPolicy
.
This includes the following common scenarios:
Unsatisfiable condition: Expired timestamp in date/time condition.
Ineffective condition: Condition on a <principal, role> pair which is
granted unconditionally in another binding of the same policy.
WARNING = 2;
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()
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-16 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[],null,["# Enum LintResult.Severity (3.67.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.67.0 (latest)](/java/docs/reference/google-iam-admin/latest/com.google.iam.admin.v1.LintResult.Severity)\n- [3.65.0](/java/docs/reference/google-iam-admin/3.65.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.63.0](/java/docs/reference/google-iam-admin/3.63.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.62.0](/java/docs/reference/google-iam-admin/3.62.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.59.0](/java/docs/reference/google-iam-admin/3.59.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.58.0](/java/docs/reference/google-iam-admin/3.58.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.57.0](/java/docs/reference/google-iam-admin/3.57.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.55.0](/java/docs/reference/google-iam-admin/3.55.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.54.0](/java/docs/reference/google-iam-admin/3.54.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.53.0](/java/docs/reference/google-iam-admin/3.53.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.52.0](/java/docs/reference/google-iam-admin/3.52.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.51.0](/java/docs/reference/google-iam-admin/3.51.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.50.0](/java/docs/reference/google-iam-admin/3.50.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.49.0](/java/docs/reference/google-iam-admin/3.49.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.48.0](/java/docs/reference/google-iam-admin/3.48.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.47.0](/java/docs/reference/google-iam-admin/3.47.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.44.0](/java/docs/reference/google-iam-admin/3.44.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.43.0](/java/docs/reference/google-iam-admin/3.43.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.42.0](/java/docs/reference/google-iam-admin/3.42.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.41.0](/java/docs/reference/google-iam-admin/3.41.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.40.0](/java/docs/reference/google-iam-admin/3.40.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.39.0](/java/docs/reference/google-iam-admin/3.39.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.38.0](/java/docs/reference/google-iam-admin/3.38.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.37.0](/java/docs/reference/google-iam-admin/3.37.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.36.0](/java/docs/reference/google-iam-admin/3.36.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.35.0](/java/docs/reference/google-iam-admin/3.35.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.34.0](/java/docs/reference/google-iam-admin/3.34.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.32.0](/java/docs/reference/google-iam-admin/3.32.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.31.0](/java/docs/reference/google-iam-admin/3.31.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.30.0](/java/docs/reference/google-iam-admin/3.30.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.29.0](/java/docs/reference/google-iam-admin/3.29.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.28.0](/java/docs/reference/google-iam-admin/3.28.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.27.0](/java/docs/reference/google-iam-admin/3.27.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.26.0](/java/docs/reference/google-iam-admin/3.26.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.25.0](/java/docs/reference/google-iam-admin/3.25.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.24.0](/java/docs/reference/google-iam-admin/3.24.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.23.0](/java/docs/reference/google-iam-admin/3.23.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.22.0](/java/docs/reference/google-iam-admin/3.22.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.19.0](/java/docs/reference/google-iam-admin/3.19.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.18.0](/java/docs/reference/google-iam-admin/3.18.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.17.0](/java/docs/reference/google-iam-admin/3.17.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.16.0](/java/docs/reference/google-iam-admin/3.16.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.15.0](/java/docs/reference/google-iam-admin/3.15.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.14.0](/java/docs/reference/google-iam-admin/3.14.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.13.0](/java/docs/reference/google-iam-admin/3.13.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.12.0](/java/docs/reference/google-iam-admin/3.12.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.11.0](/java/docs/reference/google-iam-admin/3.11.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.10.0](/java/docs/reference/google-iam-admin/3.10.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.9.0](/java/docs/reference/google-iam-admin/3.9.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.8.0](/java/docs/reference/google-iam-admin/3.8.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.7.0](/java/docs/reference/google-iam-admin/3.7.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.6.0](/java/docs/reference/google-iam-admin/3.6.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.4.0](/java/docs/reference/google-iam-admin/3.4.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.3.0](/java/docs/reference/google-iam-admin/3.3.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.2.0](/java/docs/reference/google-iam-admin/3.2.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.1.0](/java/docs/reference/google-iam-admin/3.1.0/com.google.iam.admin.v1.LintResult.Severity)\n- [3.0.0](/java/docs/reference/google-iam-admin/3.0.0/com.google.iam.admin.v1.LintResult.Severity)\n- [2.0.0](/java/docs/reference/google-iam-admin/2.0.0/com.google.iam.admin.v1.LintResult.Severity)\n- [1.2.5](/java/docs/reference/google-iam-admin/1.2.5/com.google.iam.admin.v1.LintResult.Severity)\n- [1.1.8](/java/docs/reference/google-iam-admin/1.1.8/com.google.iam.admin.v1.LintResult.Severity)\n- [0.2.0](/java/docs/reference/google-iam-admin/0.2.0/com.google.iam.admin.v1.LintResult.Severity) \n\n public enum LintResult.Severity extends Enum\u003cLintResult.Severity\u003e implements ProtocolMessageEnum\n\nPossible Severity values of an issued result.\n\nProtobuf enum `google.iam.admin.v1.LintResult.Severity` \n\nImplements\n----------\n\n[ProtocolMessageEnum](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ProtocolMessageEnum.html) \n\nInherited Members\n-----------------\n\n[Enum.\\\u003cT\\\u003evalueOf(Class\\\u003cT\\\u003e,String)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#valueOf-java.lang.Class-java.lang.String-) \n[Enum.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#clone--) \n[Enum.compareTo(E)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#compareTo-E-) \n[Enum.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#equals-java.lang.Object-) \n[Enum.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#finalize--) \n[Enum.getDeclaringClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#getDeclaringClass--) \n[Enum.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#hashCode--) \n[Enum.name()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#name--) \n[Enum.ordinal()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#ordinal--) \n[Enum.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#toString--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)"]]