Class GoogleMaps.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • authConfig

      public abstract GoogleMaps.Builder authConfig(AuthConfig authConfig)
      Setter for authConfig.

      authConfig: The authentication config to access the API. Only API key is supported. This field is not supported in Gemini API.

    • authConfig

      @CanIgnoreReturnValue public GoogleMaps.Builder authConfig(AuthConfig.Builder authConfigBuilder)
      Setter for authConfig builder.

      authConfig: The authentication config to access the API. Only API key is supported. This field is not supported in Gemini API.

    • clearAuthConfig

      @CanIgnoreReturnValue public GoogleMaps.Builder clearAuthConfig()
      Clears the value of authConfig field.
    • enableWidget

      public abstract GoogleMaps.Builder enableWidget(boolean enableWidget)
      Setter for enableWidget.

      enableWidget: Optional. If true, include the widget context token in the response.

    • clearEnableWidget

      @CanIgnoreReturnValue public GoogleMaps.Builder clearEnableWidget()
      Clears the value of enableWidget field.
    • build

      public abstract GoogleMaps build()