A place citation annotation.

interface PlaceCitation {
    end_index?: number;
    name?: string;
    place_id?: string;
    review_snippets?: GeminiNextGenAPIClient.Interactions.PlaceCitation.ReviewSnippet[];
    start_index?: number;
    type: "place_citation";
    url?: string;
}

Properties

end_index?: number

End of the attributed segment, exclusive.

name?: string

Title of the place.

place_id?: string

The ID of the place, in places/{place_id} format.

Snippets of reviews that are used to generate answers about the features of a given place in Google Maps.

start_index?: number

Start of segment of the response that is attributed to this source.

Index indicates the start of the segment, measured in bytes.

type: "place_citation"
url?: string

URI reference of the place.