Google Search
@Serializable
GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.
Constructors
Link copied to clipboard
constructor(searchTypes: SearchTypes? = null, blockingConfidence: PhishBlockThreshold? = null, excludeDomains: List<String>? = null, timeRangeFilter: Interval? = null)
Properties
Link copied to clipboard
Optional. Sites with confidence level chosen & above this value will be blocked from the search results. This field is not supported in Gemini API.
Link copied to clipboard
Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: "amazon.com", "facebook.com". This field is not supported in Gemini API.
Link copied to clipboard
Optional. The set of search types to enable. If not set, web search is enabled by default.
Link copied to clipboard
Optional. Filter search results to a specific time range. If customers set a start time, they must set an end time (and vice versa). This field is not supported in Vertex AI.