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/v1beta/{name=projects/*/locations/*/sampleQuerySets/*/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 page details how to retrieve the latest state of a long-running operation using a \u003ccode\u003eGET\u003c/code\u003e HTTP request.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGET\u003c/code\u003e request requires a specific URL structure defined by gRPC Transcoding, with the operation's unique name provided as a path parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, as no data is sent within the request itself.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful execution, the response body will contain an \u003ccode\u003eOperation\u003c/code\u003e instance that reveals the state of the long running operation.\u003c/p\u003e\n"],["\u003cp\u003eTo authorize the request, the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope and \u003ccode\u003ediscoveryengine.operations.get\u003c/code\u003e IAM permission are required.\u003c/p\u003e\n"]]],[],null,[]]