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.
Stay organized with collections
Save and categorize content based on your preferences.
Schema is used to define the format of input/output data. Represents a select subset of an OpenAPI 3.0 schema object. More fields may be added in the future as needed.
[[["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-03 UTC."],[],[],null,["# Interface Schema (1.9.0)\n\nSchema is used to define the format of input/output data. Represents a select subset of an OpenAPI 3.0 schema object. More fields may be added in the future as needed.\n\nPackage\n-------\n\n[@google-cloud/vertexai](../overview.html)\n\nProperties\n----------\n\n### description\n\n description?: string;\n\nOptional. The description of the property.\n\n### enum\n\n enum?: string[];\n\nOptional. The enum of the property.\n\n### example\n\n example?: unknown;\n\nOptional. The example of the property.\n\n### format\n\n format?: string;\n\nOptional. The format of the property.\n\n### items\n\n items?: Schema;\n\nOptional. The items of the property. [Schema](/vertex-ai/generative-ai/docs/reference/nodejs/latest/vertexai/schema)\n\n### nullable\n\n nullable?: boolean;\n\nOptional. Whether the property is nullable.\n\n### properties\n\n properties?: {\n [k: string]: Schema;\n };\n\nOptional. Map of [Schema](/vertex-ai/generative-ai/docs/reference/nodejs/latest/vertexai/schema).\n\n### required\n\n required?: string[];\n\nOptional. Array of required property.\n\n### type\n\n type?: SchemaType;\n\nOptional. The type of the property. [SchemaType](/vertex-ai/generative-ai/docs/reference/nodejs/latest/vertexai/schematype)."]]