Enum AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType (3.44.0)

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

ProtocolMessageEnum

Static Fields

Name Description
CREATE

Constraint applied when creating the resource.

CREATE = 1;

CREATE_VALUE

Constraint applied when creating the resource.

CREATE = 1;

DELETE

Constraint applied when deleting the resource.

DELETE = 3;

DELETE_VALUE

Constraint applied when deleting the resource.

DELETE = 3;

METHOD_TYPE_UNSPECIFIED

Unspecified. Will results in user error.

METHOD_TYPE_UNSPECIFIED = 0;

METHOD_TYPE_UNSPECIFIED_VALUE

Unspecified. Will results in user error.

METHOD_TYPE_UNSPECIFIED = 0;

UNRECOGNIZED
UPDATE

Constraint applied when updating the resource.

UPDATE = 2;

UPDATE_VALUE

Constraint applied when updating the resource.

UPDATE = 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()