Send feedback
Enum ViolationInfo.PolicyType (2.25.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.25.0 keyboard_arrow_down
public enum ViolationInfo . PolicyType extends Enum<ViolationInfo . PolicyType > implements ProtocolMessageEnum
Policy Type enum
Protobuf enum google.cloud.audit.ViolationInfo.PolicyType
Static Fields
Name Description BOOLEAN_CONSTRAINT
Indicates boolean policy constraint
BOOLEAN_CONSTRAINT = 1;
BOOLEAN_CONSTRAINT_VALUE
Indicates boolean policy constraint
BOOLEAN_CONSTRAINT = 1;
CUSTOM_CONSTRAINT
Indicates custom policy constraint
CUSTOM_CONSTRAINT = 3;
CUSTOM_CONSTRAINT_VALUE
Indicates custom policy constraint
CUSTOM_CONSTRAINT = 3;
LIST_CONSTRAINT
Indicates list policy constraint
LIST_CONSTRAINT = 2;
LIST_CONSTRAINT_VALUE
Indicates list policy constraint
LIST_CONSTRAINT = 2;
POLICY_TYPE_UNSPECIFIED
Default value. This value should not be used.
POLICY_TYPE_UNSPECIFIED = 0;
POLICY_TYPE_UNSPECIFIED_VALUE
Default value. This value should not be used.
POLICY_TYPE_UNSPECIFIED = 0;
UNRECOGNIZED
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 2024-12-05 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 2024-12-05 UTC."],[],[]]