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://cloudfunctions.googleapis.com/v1/{name}
Path parameters
Parameters
name
string
The name of the operation resource. It takes the form operations/{operation}.
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-16 UTC."],[[["\u003cp\u003eThe primary function of this API endpoint is to retrieve the current status of a long-running operation.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request method is a \u003ccode\u003eGET\u003c/code\u003e request to a specific URL pattern: \u003ccode\u003ehttps://cloudfunctions.googleapis.com/v1/{name}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe only required path parameter is \u003ccode\u003ename\u003c/code\u003e, a string representing the operation resource in the format \u003ccode\u003eoperations/{operation}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty when making a call to this endpoint.\u003c/p\u003e\n"],["\u003cp\u003eA successful response will include an \u003ccode\u003eOperation\u003c/code\u003e instance within the response body, and requires one of two authorization scopes: \u003ccode\u003ehttps://www.googleapis.com/auth/cloudfunctions\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: 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- [Try it!](#try-it)\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://cloudfunctions.googleapis.com/v1/{name}`\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](/functions/docs/reference/rest/Shared.Types/ListOperationsResponse#Operation).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloudfunctions`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]