Package com.google.genai.types
Class GroundingChunkMapsPlaceAnswerSources
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.GroundingChunkMapsPlaceAnswerSources
The sources that were used to generate the place answer.
This includes review snippets and photos that were used to generate the answer, as well as URIs to flag content.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for GroundingChunkMapsPlaceAnswerSources. -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Instantiates a builder for GroundingChunkMapsPlaceAnswerSources.A link where users can flag a problem with the generated answer.Deserializes a JSON string to a GroundingChunkMapsPlaceAnswerSources object.Snippets of reviews that were used to generate the answer.Snippets of reviews that were used to generate the answer.Creates 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
-
GroundingChunkMapsPlaceAnswerSources
public GroundingChunkMapsPlaceAnswerSources()
-
-
Method Details
-
reviewSnippet
Snippets of reviews that were used to generate the answer. -
flagContentUri
A link where users can flag a problem with the generated answer. -
reviewSnippets
Snippets of reviews that were used to generate the answer. -
builder
Instantiates a builder for GroundingChunkMapsPlaceAnswerSources. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a GroundingChunkMapsPlaceAnswerSources object.
-