Class GoogleSearch.Builder

java.lang.Object
com.google.genai.types.GoogleSearch.Builder
Enclosing class:
GoogleSearch

public abstract static class GoogleSearch.Builder extends Object
Builder for GoogleSearch.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • timeRangeFilter

      public abstract GoogleSearch.Builder timeRangeFilter(Interval 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

      public GoogleSearch.Builder timeRangeFilter(Interval.Builder timeRangeFilterBuilder)
      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).

    • build

      public abstract GoogleSearch build()