Starting April 29, 2025, Gemini 1.5 Pro and Gemini 1.5 Flash models are not available in projects that have no prior usage of these models, including new projects. For details, see Model versions and lifecycle.
[[["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-06-27 UTC."],[],[],null,["# SafetySetting\n\nSafety settings.\nFields `category` `enum (`[HarmCategory](/vertex-ai/generative-ai/docs/reference/rest/v1beta1/HarmCategory)`)` \nRequired. Harm category.\n`threshold` `enum (`[HarmBlockThreshold](/vertex-ai/generative-ai/docs/reference/rest/v1beta1/HarmBlockThreshold)`)` \nRequired. The harm block threshold.\n`method` `enum (`[HarmBlockMethod](/vertex-ai/generative-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."]]