Package com.google.genai.types
Class GoogleSearch.Builder
java.lang.Object
com.google.genai.types.GoogleSearch.Builder
- Enclosing class:
- GoogleSearch
Builder for GoogleSearch.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract GoogleSearch
build()
excludeDomains
(String... excludeDomains) Setter for excludeDomains.abstract GoogleSearch.Builder
excludeDomains
(List<String> excludeDomains) Setter for excludeDomains.abstract GoogleSearch.Builder
timeRangeFilter
(Interval timeRangeFilter) Setter for timeRangeFilter.timeRangeFilter
(Interval.Builder timeRangeFilterBuilder) Setter for timeRangeFilter builder.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
timeRangeFilter
Setter for timeRangeFilter.timeRangeFilter: Optional. Filter search results to a specific time range. If customers set a start time, they must set an end time (and vice versa).
-
timeRangeFilter
Setter for timeRangeFilter builder.timeRangeFilter: Optional. Filter search results to a specific time range. If customers set a start time, they must set an end time (and vice versa).
-
excludeDomains
Setter for excludeDomains.excludeDomains: Optional. List of domains to be excluded from the search results. The default limit is 2000 domains.
-
excludeDomains
Setter for excludeDomains.excludeDomains: Optional. List of domains to be excluded from the search results. The default limit is 2000 domains.
-
build
-