[[["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-08-28 UTC."],[],[],null,["# Interface protos.google.ai.generativelanguage.v1alpha.ISafetySetting (2.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.9.0 (latest)](/nodejs/docs/reference/generativelanguage/latest/generativelanguage/protos.google.ai.generativelanguage.v1alpha.isafetysetting)\n- [2.8.0](/nodejs/docs/reference/generativelanguage/2.8.0/generativelanguage/protos.google.ai.generativelanguage.v1alpha.isafetysetting)\n- [2.7.0](/nodejs/docs/reference/generativelanguage/2.7.0/generativelanguage/protos.google.ai.generativelanguage.v1alpha.isafetysetting)\n- [2.6.0](/nodejs/docs/reference/generativelanguage/2.6.0/generativelanguage/protos.google.ai.generativelanguage.v1alpha.isafetysetting)\n- [2.4.0](/nodejs/docs/reference/generativelanguage/2.4.0/generativelanguage/protos.google.ai.generativelanguage.v1alpha.isafetysetting)\n- [2.3.0](/nodejs/docs/reference/generativelanguage/2.3.0/generativelanguage/protos.google.ai.generativelanguage.v1alpha.isafetysetting) \nProperties of a SafetySetting.\n\nPackage\n-------\n\n[@google-ai/generativelanguage](../overview.html)\n\nProperties\n----------\n\n### category\n\n category?: (google.ai.generativelanguage.v1alpha.HarmCategory|keyof typeof google.ai.generativelanguage.v1alpha.HarmCategory|null);\n\nSafetySetting category\n\n### threshold\n\n threshold?: (google.ai.generativelanguage.v1alpha.SafetySetting.HarmBlockThreshold|keyof typeof google.ai.generativelanguage.v1alpha.SafetySetting.HarmBlockThreshold|null);\n\nSafetySetting threshold"]]