# MethodType

A type of operation that the constraint applies to.

If a constraint applies to `https://docs.cloud.google.com/security-command-center/docs/reference/securityposture/rest/v1/MethodType#ENUM_VALUES.UPDATE` operations, then it must also apply to `https://docs.cloud.google.com/security-command-center/docs/reference/securityposture/rest/v1/MethodType#ENUM_VALUES.CREATE` operations.

| Enums ||
|---|---|
| `METHOD_TYPE_UNSPECIFIED` | Default value. This value is unused. |
| `CREATE` | Constraint applied when creating the resource. |
| `UPDATE` | Constraint applied when updating the resource. |
| `DELETE` | Not supported. Constraint applied when deleting the resource. |