Stay organized with collections
Save and categorize content based on your preferences.
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://firestore.googleapis.com/v1/{name=projects/*/databases/*/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-05-19 UTC."],[[["\u003cp\u003eRetrieves the latest status of a long-running operation, allowing clients to poll the operation result.\u003c/p\u003e\n"],["\u003cp\u003eThe API endpoint for this operation is \u003ccode\u003eGET https://firestore.googleapis.com/v1/{name=projects/*/databases/*/operations/*}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003ename\u003c/code\u003e path parameter, specifying the name of the operation resource.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for this operation must be empty.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful responses return an \u003ccode\u003eOperation\u003c/code\u003e instance, and it requires either the \u003ccode\u003ehttps://www.googleapis.com/auth/datastore\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: projects.databases.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### HTTP request\n\n`GET https://firestore.googleapis.com/v1/{name=projects/*/databases/*/operations/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) 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](/firestore/docs/reference/rest/Shared.Types/Operation).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/datastore`\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]