[[["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-07-31 UTC."],[],[],null,["# SafetySetting\n\nSafety settings.\nFields `category` `enum (`[HarmCategory](/vertex-ai/docs/reference/rest/v1beta1/HarmCategory)`)` \nRequired. Harm category.\n`threshold` `enum (`[HarmBlockThreshold](/vertex-ai/docs/reference/rest/v1beta1/HarmBlockThreshold)`)` \nRequired. The harm block threshold.\n`method` `enum (`[HarmBlockMethod](/vertex-ai/docs/reference/rest/v1beta1/SafetySetting#HarmBlockMethod)`)` \nOptional. Specify if the threshold is used for probability or severity score. If not specified, the threshold is used for probability score. \n\nHarmBlockMethod\n---------------\n\nprobability vs severity."]]