Interface SafetySetting (1.10.0)
Stay organized with collections
Save and categorize content based on your preferences.
Safety feedback for an entire request.
Package
@google-cloud/vertexai
Properties
category
category
:
HarmCategory
;
threshold
threshold
:
HarmBlockThreshold
;
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 2025-09-04 UTC.
[[["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,["# Interface SafetySetting (1.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.10.0 (latest)](/nodejs/docs/reference/vertexai/latest/vertexai/safetysetting)\n- [1.9.0](/nodejs/docs/reference/vertexai/1.9.0/vertexai/safetysetting)\n- [1.8.1](/nodejs/docs/reference/vertexai/1.8.1/vertexai/safetysetting)\n- [1.7.0](/nodejs/docs/reference/vertexai/1.7.0/vertexai/safetysetting)\n- [1.6.0](/nodejs/docs/reference/vertexai/1.6.0/vertexai/safetysetting)\n- [1.5.0](/nodejs/docs/reference/vertexai/1.5.0/vertexai/safetysetting)\n- [1.4.1](/nodejs/docs/reference/vertexai/1.4.1/vertexai/safetysetting)\n- [1.3.1](/nodejs/docs/reference/vertexai/1.3.1/vertexai/safetysetting)\n- [1.2.0](/nodejs/docs/reference/vertexai/1.2.0/vertexai/safetysetting)\n- [1.1.0](/nodejs/docs/reference/vertexai/1.1.0/vertexai/safetysetting)\n- [1.0.0](/nodejs/docs/reference/vertexai/1.0.0/vertexai/safetysetting)\n- [0.5.0](/nodejs/docs/reference/vertexai/0.5.0/vertexai/safetysetting)\n- [0.4.0](/nodejs/docs/reference/vertexai/0.4.0/vertexai/safetysetting)\n- [0.3.1](/nodejs/docs/reference/vertexai/0.3.1/vertexai/safetysetting)\n- [0.2.1](/nodejs/docs/reference/vertexai/0.2.1/vertexai/safetysetting) \nSafety feedback for an entire request.\n\nPackage\n-------\n\n[@google-cloud/vertexai](../overview.html)\n\nProperties\n----------\n\n### category\n\n category: HarmCategory;\n\nThe harm category. [HarmCategory](/nodejs/docs/reference/vertexai/latest/vertexai/harmcategory)\n\n### threshold\n\n threshold: HarmBlockThreshold;\n\nThe harm threshold. [HarmBlockThreshold](/nodejs/docs/reference/vertexai/latest/vertexai/harmblockthreshold)"]]