Package com.google.genai.types
Class GoogleMaps.Builder
java.lang.Object
com.google.genai.types.GoogleMaps.Builder
- Enclosing class:
- GoogleMaps
Builder for GoogleMaps.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract GoogleMaps.BuilderauthConfig(AuthConfig authConfig) Setter for authConfig.authConfig(AuthConfig.Builder authConfigBuilder) Setter for authConfig builder.abstract GoogleMapsbuild()Clears the value of authConfig field.Clears the value of enableWidget field.abstract GoogleMaps.BuilderenableWidget(boolean enableWidget) Setter for enableWidget.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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
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
Clears the value of authConfig field. -
enableWidget
Setter for enableWidget.enableWidget: Optional. Whether to return a widget context token in the GroundingMetadata of the response. Developers can use the widget context token to render a Google Maps widget with geospatial context related to the places that the model references in the response.
-
clearEnableWidget
Clears the value of enableWidget field. -
build
-