Class 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.
public record GroundingChunkMapsPlaceAnswerSources : IEquatable<GroundingChunkMapsPlaceAnswerSources>
- Inheritance
-
GroundingChunkMapsPlaceAnswerSources
- Implements
- Inherited Members
Properties
FlagContentUri
A link where users can flag a problem with the generated answer.
[JsonPropertyName("flagContentUri")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? FlagContentUri { get; set; }
Property Value
ReviewSnippet
Snippets of reviews that were used to generate the answer.
[JsonPropertyName("reviewSnippet")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<GroundingChunkMapsPlaceAnswerSourcesReviewSnippet>? ReviewSnippet { get; set; }
Property Value
ReviewSnippets
Snippets of reviews that were used to generate the answer.
[JsonPropertyName("reviewSnippets")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<GroundingChunkMapsPlaceAnswerSourcesReviewSnippet>? ReviewSnippets { get; set; }
Property Value
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a GroundingChunkMapsPlaceAnswerSources object.
public static GroundingChunkMapsPlaceAnswerSources? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- GroundingChunkMapsPlaceAnswerSources
The deserialized GroundingChunkMapsPlaceAnswerSources object, or null if deserialization fails.