Package com.google.genai.types
Class GoogleMapsPlaces
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.GoogleMapsPlaces
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for GoogleMapsPlaces. -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GoogleMapsPlaces.Builderbuilder()Instantiates a builder for GoogleMapsPlaces.static GoogleMapsPlacesDeserializes a JSON string to a GoogleMapsPlaces object.abstract GoogleMapsPlaces.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
-
Constructor Details
-
GoogleMapsPlaces
public GoogleMapsPlaces()
-
-
Method Details
-
builder
Instantiates a builder for GoogleMapsPlaces. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a GoogleMapsPlaces object.
-