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.
Full name: projects.locations.operations.get
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
Endpoint
get
https://aiplatform.googleapis.com/v1/{name}
Path parameters
namestring
The name of the operation resource.
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Operation.
[[["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-06-27 UTC."],[],[],null,["# Method: operations.get\n\n**Full name**: projects.locations.operations.get\n\nGets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. \n\n### Endpoint\n\nget `https:``/``/aiplatform.googleapis.com``/v1``/{name}` \n\n### Path parameters\n\n`name` `string` \nThe name of the operation resource.\n\n### Request body\n\nThe request body must be empty. \n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/vertex-ai/generative-ai/docs/reference/rest/Shared.Types/ListOperationsResponse#Operation)."]]