public enum AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType extends Enum<AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType> implements ProtocolMessageEnum
The operation in which this constraint will be applied. For example: If the constraint applies only when create VMs, the method_types will be "CREATE" only. If the constraint applied when create or delete VMs, the method_types will be "CREATE" and "DELETE".
Protobuf enum
google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
CREATE |
Constraint applied when creating the resource. |
CREATE_VALUE |
Constraint applied when creating the resource. |
DELETE |
Constraint applied when deleting the resource. |
DELETE_VALUE |
Constraint applied when deleting the resource. |
GOVERN_TAGS |
Constraint applied when enforcing forced tagging. |
GOVERN_TAGS_VALUE |
Constraint applied when enforcing forced tagging. |
METHOD_TYPE_UNSPECIFIED |
Unspecified. Will results in user error. |
METHOD_TYPE_UNSPECIFIED_VALUE |
Unspecified. Will results in user error. |
REMOVE_GRANT |
Constraint applied when removing an IAM grant. |
REMOVE_GRANT_VALUE |
Constraint applied when removing an IAM grant. |
UNRECOGNIZED |
|
UPDATE |
Constraint applied when updating the resource. |
UPDATE_VALUE |
Constraint applied when updating the resource. |
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() |