Class MethodType (1.17.0)
Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-31 UTC."],[],[]]