GoogleMapsGroundingTypes

@Serializable
data class GoogleMapsGroundingTypes(val places: GoogleMapsPlaces? = null, val routing: GoogleMapsRouting? = null)

Defines the types of Google Maps grounding that can be enabled and their configurations. This data type is not supported in Gemini API.

Constructors

Link copied to clipboard
constructor(places: GoogleMapsPlaces? = null, routing: GoogleMapsRouting? = null)

Properties

Link copied to clipboard

Optional. Enables grounding with Google Maps Places. This is the default grounding type when no GroundingTypes are specified.

Link copied to clipboard

Optional. Enables grounding with Google Maps Routing APIs (ComputeRoutes and SearchAlongRoute).