[[["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 2025-09-04 UTC."],[],[],null,["# Google Cloud Model Armor V1 Client - Class EnforcementType (0.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.0 (latest)](/php/docs/reference/cloud-modelarmor/latest/V1.Template.TemplateMetadata.EnforcementType)\n- [0.3.1](/php/docs/reference/cloud-modelarmor/0.3.1/V1.Template.TemplateMetadata.EnforcementType)\n- [0.2.0](/php/docs/reference/cloud-modelarmor/0.2.0/V1.Template.TemplateMetadata.EnforcementType)\n- [0.1.0](/php/docs/reference/cloud-modelarmor/0.1.0/V1.Template.TemplateMetadata.EnforcementType) \nReference documentation and code samples for the Google Cloud Model Armor V1 Client class EnforcementType.\n\nEnforcement type for Model Armor filters.\n\nProtobuf type `google.cloud.modelarmor.v1.Template.TemplateMetadata.EnforcementType`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ModelArmor \\\\ V1 \\\\ Template \\\\ TemplateMetadata\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### ENFORCEMENT_TYPE_UNSPECIFIED\n\n Value: 0\n\nDefault value. Same as INSPECT_AND_BLOCK.\n\nGenerated from protobuf enum `ENFORCEMENT_TYPE_UNSPECIFIED = 0;`\n\n### INSPECT_ONLY\n\n Value: 1\n\nModel Armor filters will run in inspect only mode. No action will be\ntaken on the request.\n\nGenerated from protobuf enum `INSPECT_ONLY = 1;`\n\n### INSPECT_AND_BLOCK\n\n Value: 2\n\nModel Armor filters will run in inspect and block mode. Requests\nthat trip Model Armor filters will be blocked.\n\nGenerated from protobuf enum `INSPECT_AND_BLOCK = 2;`"]]