Interface GoogleMapsGroundingTypes

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

interface GoogleMapsGroundingTypes {
    places?: GoogleMapsPlaces;
    routing?: GoogleMapsRouting;
}

Properties

Properties

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

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