Starting April 29, 2025, Gemini 1.5 Pro and Gemini 1.5 Flash models are not available in projects that have no prior usage of these models, including new projects. For details, see Model versions and lifecycle.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Interface GenerateContentCandidate (1.8.1)\n\nA response candidate generated from the model.\n\nPackage\n-------\n\n[@google-cloud/vertexai](../overview.html)\n\nProperties\n----------\n\n### citationMetadata\n\n citationMetadata?: CitationMetadata;\n\nOptional. [CitationMetadata](/vertex-ai/generative-ai/docs/reference/nodejs/1.8.1/vertexai/citationmetadata).\n\n### content\n\n content: Content;\n\n[Content](/vertex-ai/generative-ai/docs/reference/nodejs/1.8.1/vertexai/content).\n\n### finishMessage\n\n finishMessage?: string;\n\nOptional. A readable message describing why the model stopped generating tokens.\n\n### finishReason\n\n finishReason?: FinishReason;\n\nOptional. The reason why the model stopped generating tokens. [FinishReason](/vertex-ai/generative-ai/docs/reference/nodejs/1.8.1/vertexai/finishreason).\n\n### groundingMetadata\n\n groundingMetadata?: GroundingMetadata;\n\nOptional. [GroundingMetadata](/vertex-ai/generative-ai/docs/reference/nodejs/1.8.1/vertexai/groundingmetadata).\n\n### index\n\n index: number;\n\nOptional. The index of the candidate in the [GenerateContentResponse](/vertex-ai/generative-ai/docs/reference/nodejs/1.8.1/vertexai/generatecontentresponse).\n\n### safetyRatings\n\n safetyRatings?: SafetyRating[];\n\nOptional. Array of [SafetyRating](/vertex-ai/generative-ai/docs/reference/nodejs/1.8.1/vertexai/safetyrating)."]]