Interface Citation

A citation for a piece of generatedcontent. This data type is not supported in Gemini API.

interface Citation {
    endIndex?: number;
    license?: string;
    publicationDate?: GoogleTypeDate;
    startIndex?: number;
    title?: string;
    uri?: string;
}

Properties

endIndex?: number

Output only. The end index of the citation in the content.

license?: string

Output only. The license of the source of the citation.

publicationDate?: GoogleTypeDate

Output only. The publication date of the source of the citation.

startIndex?: number

Output only. The start index of the citation in the content.

title?: string

Output only. The title of the source of the citation.

uri?: string

Output only. The URI of the source of the citation.