MethodType(value)
The operation for which this constraint will be applied. To apply
this constraint only when creating new resources, the
method_types
should be CREATE
only. To apply this constraint
when creating or deleting resources, the method_types
should be
CREATE
and DELETE
.
UPDATE
only custom constraints are not supported. Use CREATE
or CREATE, UPDATE
.
Enums |
|
---|---|
Name | Description |
METHOD_TYPE_UNSPECIFIED |
This is only used for distinguishing unset values and should never be used. Results in an error. |
CREATE |
Constraint applied when creating the resource. |
UPDATE |
Constraint applied when updating the resource. |
DELETE |
Constraint applied when deleting the resource. Not currently supported. |
REMOVE_GRANT |
Constraint applied when removing an IAM grant. |
GOVERN_TAGS |
Constraint applied when enforcing forced tagging. |