Class GoogleMapsPlaces

java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.GoogleMapsPlaces

public abstract class GoogleMapsPlaces extends JsonSerializable
Grounding with Google Maps Places data (e.g. QueryPlaces). This is the default Google Maps grounding type when no other type is specified. This data type is not supported in Gemini API.
  • Constructor Details

    • GoogleMapsPlaces

      public GoogleMapsPlaces()
  • Method Details

    • builder

      public static GoogleMapsPlaces.Builder builder()
      Instantiates a builder for GoogleMapsPlaces.
    • toBuilder

      public abstract GoogleMapsPlaces.Builder toBuilder()
      Creates a builder with the same values as this instance.
    • fromJson

      public static GoogleMapsPlaces fromJson(String jsonString)
      Deserializes a JSON string to a GoogleMapsPlaces object.