Safe
Stay organized with collections
Save and categorize content based on your preferences.
Controls whether SafeSearch is enabled.
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 2024-08-21 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-21 UTC."],[[["\u003cp\u003eSafeSearch determines whether explicit content is filtered in search results.\u003c/p\u003e\n"],["\u003cp\u003eIt offers three options: \u003ccode\u003eactive\u003c/code\u003e (filtering enabled), \u003ccode\u003eoff\u003c/code\u003e (filtering disabled), and \u003ccode\u003esafeUndefined\u003c/code\u003e (using the search engine's default setting).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ehigh\u003c/code\u003e, \u003ccode\u003emedium\u003c/code\u003e options are deprecated and function the same as \u003ccode\u003eactive\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Safe\n\nControls whether SafeSearch is enabled.\n\n| Enums ||\n|-----------------|----------------------------------------------------------------------|\n| `safeUndefined` | SafeSearch mode unspecified. (Falls back to engine's configuration.) |\n| `active` | Turn SafeSearch on. |\n| `high` | Deprecated, equivalent to \"active\". | This item is deprecated! |\n| `medium` | Deprecated, equivalent to \"active\". | This item is deprecated! |\n| `off` | Turn SafeSearch off. |"]]