public enum CustomConstraint.Types.MethodTypeReference documentation and code samples for the Organization Policy v2 API enum CustomConstraint.Types.MethodType.
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.
Namespace
Google.Cloud.OrgPolicy.V2Assembly
Google.Cloud.OrgPolicy.V2.dll
Fields |
|
|---|---|
| Name | Description |
Create |
Constraint applied when creating the resource. |
Delete |
Constraint applied when deleting the resource. Not currently supported. |
GovernTags |
Constraint applied when enforcing forced tagging. |
RemoveGrant |
Constraint applied when removing an IAM grant. |
Unspecified |
This is only used for distinguishing unset values and should never be used. Results in an error. |
Update |
Constraint applied when updating the resource. |