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,["# Class GoogleApiError (1.9.0)\n\nGoogleApiError is thrown when http 4XX status is received. See \u003chttps://cloud.google.com/apis/design/errors\u003e \n\nInheritance\n-----------\n\nError \\\u003e GoogleApiError\n\nPackage\n-------\n\n[@google-cloud/vertexai](../overview.html)\n\nConstructors\n------------\n\n### (constructor)(message, code, status, errorDetails)\n\n constructor(message: string, code?: number | undefined, status?: string | undefined, errorDetails?: ErrorDetails[] | undefined);\n\nConstructs a new instance of the `GoogleApiError` class\n\nProperties\n----------\n\n### code\n\n code?: number | undefined;\n\n### errorDetails\n\n errorDetails?: ErrorDetails[] | undefined;\n\n### status\n\n status?: string | undefined;"]]