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.
HTTP request
GET https://discoveryengine.googleapis.com/v1/{name=projects/*/locations/*/operations/*}
[[["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."],[[["\u003cp\u003eThis API endpoint retrieves the latest status of a specified long-running operation.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request uses a \u003ccode\u003eGET\u003c/code\u003e method and requires a URL path parameter named \u003ccode\u003ename\u003c/code\u003e for the operation resource.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and a successful response will return an \u003ccode\u003eOperation\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eAccess to this endpoint requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eUtilizing the API requires the IAM permission \u003ccode\u003ediscoveryengine.operations.get\u003c/code\u003e on the specified operation resource.\u003c/p\u003e\n"]]],[],null,[]]