Interface GoogleMaps

Tool to retrieve knowledge from Google Maps.

interface GoogleMaps {
    authConfig?: AuthConfig;
    enableWidget?: boolean;
}

Properties

authConfig?: AuthConfig

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

enableWidget?: boolean

Deprecated. The Google Maps contextual widget behavior in Grounding with Google Maps is being deprecated; this field is planned for removal and no longer has any effect once removed. Optional. Whether to return a widget context token in the GroundingMetadata of the response.