Class GoogleMaps
java.lang.Object
com.google.genai.gaos.models.interactions.GoogleMaps
- All Implemented Interfaces:
Tool
GoogleMaps
A tool that can be used by the model to call Google Maps.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GoogleMaps.Builderbuilder()Whether to return a widget context token in the tool call result of the response.booleaninthashCode()latitude()The latitude of the user's location.The longitude of the user's location.toString()type()withEnableWidget(Boolean enableWidget) Whether to return a widget context token in the tool call result of the response.withLatitude(Double latitude) The latitude of the user's location.withLongitude(Double longitude) The longitude of the user's location.
-
Constructor Details
-
GoogleMaps
-
GoogleMaps
public GoogleMaps()
-
-
Method Details
-
enableWidget
Whether to return a widget context token in the tool call result of the response. -
latitude
The latitude of the user's location. -
longitude
The longitude of the user's location. -
type
-
builder
-
withEnableWidget
Whether to return a widget context token in the tool call result of the response. -
withLatitude
The latitude of the user's location. -
withLongitude
The longitude of the user's location. -
equals
-
hashCode
public int hashCode() -
toString
-