Send feedback
Organization Policy v2 API - Enum CustomConstraint.Types.MethodType (2.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public enum CustomConstraint.Types.MethodType
Reference 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 VMs, the method_types
should be
CREATE
only. To apply this constraint when creating or deleting
VMs, the method_types
should be CREATE
and DELETE
.
UPDATE
only custom constraints are not supported. Use CREATE
or
CREATE, UPDATE
.
Namespace
Google.Cloud.OrgPolicy.V2
Assembly
Google.Cloud.OrgPolicy.V2.dll
Fields
Name Description Create
Constraint applied when creating the resource.
Delete
Constraint applied when deleting the resource.
Not supported yet.
Unspecified
Unspecified. Results in an error.
Update
Constraint applied when updating the resource.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-03-27 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?