Class MethodType (3.27.1)

MethodType(value)

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".

Enums

Name Description
METHOD_TYPE_UNSPECIFIED Unspecified. Will results in user error.
CREATE Constraint applied when creating the resource.
UPDATE Constraint applied when updating the resource.
DELETE Constraint applied when deleting the resource.