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://apigateway.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-07-28 UTC."],[[["\u003cp\u003eThis webpage outlines the process for retrieving the latest status of a long-running operation using the API.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request method used is \u003ccode\u003eGET\u003c/code\u003e with a specific URL structure utilizing gRPC Transcoding syntax, as defined in the \u003ccode\u003eHTTP\u003c/code\u003e template.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e parameter within the URL path is used to specify the operation resource.\u003c/p\u003e\n"],["\u003cp\u003eNo request body is needed when polling, the request body must be empty.\u003c/p\u003e\n"],["\u003cp\u003eSuccessfully polling will return an \u003ccode\u003eOperation\u003c/code\u003e response, and the operation requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.operations.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\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### HTTP request\n\n`GET https://apigateway.googleapis.com/v1/{name=projects/*/locations/*/operations/*}`\n\nThe URL uses [gRPC Transcoding](https://github.com/googleapis/googleapis/blob/master/google/api/http.proto) syntax.\n\n### Path parameters\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](/api-gateway/docs/reference/rest/Shared.Types/ListOperationsResponse#Operation).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]