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-08-07 UTC."],[],[],null,["# Interface GenerateContentRequest (1.9.0)\n\nParams used to call the generateContent method. \n\nInheritance\n-----------\n\n[BaseModelParams](/vertex-ai/generative-ai/docs/reference/nodejs/latest/vertexai/basemodelparams) \\\u003e GenerateContentRequest\n\nPackage\n-------\n\n[@google-cloud/vertexai](../overview.html)\n\nProperties\n----------\n\n### cachedContent\n\n cachedContent?: string;\n\nOptional. The name of the cached content used as context to serve the prediction. This is the name of a `CachedContent` and not the cache object itself.\n\n### contents\n\n contents: Content[];\n\nArray of [Content](/vertex-ai/generative-ai/docs/reference/nodejs/latest/vertexai/content).\n\n### systemInstruction\n\n systemInstruction?: string | Content;\n\nOptional. The user provided system instructions for the model. Note: only text should be used in parts of [Content](/vertex-ai/generative-ai/docs/reference/nodejs/latest/vertexai/content)"]]