[[["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.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.10.0 (latest)](/nodejs/docs/reference/vertexai/latest/vertexai/generatecontentcandidate)\n- [1.9.0](/nodejs/docs/reference/vertexai/1.9.0/vertexai/generatecontentcandidate)\n- [1.8.1](/nodejs/docs/reference/vertexai/1.8.1/vertexai/generatecontentcandidate)\n- [1.7.0](/nodejs/docs/reference/vertexai/1.7.0/vertexai/generatecontentcandidate)\n- [1.6.0](/nodejs/docs/reference/vertexai/1.6.0/vertexai/generatecontentcandidate)\n- [1.5.0](/nodejs/docs/reference/vertexai/1.5.0/vertexai/generatecontentcandidate)\n- [1.4.1](/nodejs/docs/reference/vertexai/1.4.1/vertexai/generatecontentcandidate)\n- [1.3.1](/nodejs/docs/reference/vertexai/1.3.1/vertexai/generatecontentcandidate)\n- [1.2.0](/nodejs/docs/reference/vertexai/1.2.0/vertexai/generatecontentcandidate)\n- [1.1.0](/nodejs/docs/reference/vertexai/1.1.0/vertexai/generatecontentcandidate)\n- [1.0.0](/nodejs/docs/reference/vertexai/1.0.0/vertexai/generatecontentcandidate)\n- [0.5.0](/nodejs/docs/reference/vertexai/0.5.0/vertexai/generatecontentcandidate)\n- [0.4.0](/nodejs/docs/reference/vertexai/0.4.0/vertexai/generatecontentcandidate)\n- [0.3.1](/nodejs/docs/reference/vertexai/0.3.1/vertexai/generatecontentcandidate)\n- [0.2.1](/nodejs/docs/reference/vertexai/0.2.1/vertexai/generatecontentcandidate) \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](/nodejs/docs/reference/vertexai/latest/vertexai/citationmetadata).\n\n### content\n\n content: Content;\n\n[Content](/nodejs/docs/reference/vertexai/latest/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](/nodejs/docs/reference/vertexai/latest/vertexai/finishreason).\n\n### groundingMetadata\n\n groundingMetadata?: GroundingMetadata;\n\nOptional. [GroundingMetadata](/nodejs/docs/reference/vertexai/latest/vertexai/groundingmetadata).\n\n### index\n\n index: number;\n\nOptional. The index of the candidate in the [GenerateContentResponse](/nodejs/docs/reference/vertexai/latest/vertexai/generatecontentresponse).\n\n### safetyRatings\n\n safetyRatings?: SafetyRating[];\n\nOptional. Array of [SafetyRating](/nodejs/docs/reference/vertexai/latest/vertexai/safetyrating)."]]