Stay organized with collections
Save and categorize content based on your preferences.
This page describes how to determine the completion status of asynchronous
methods. These methods return a long-running
operation that provides
information about the progress of the operation and its final status.
The following methods return a long-running operation:
CreateKey
UpdateKey
DeleteKey
UndeleteKey
When you make a request to one of these methods, on success, the method returns
an operation identifier in the name field, which represents ongoing work on
the server, for example:
To poll an operation, we recommended that you repeatedly invoke the
operations.get method with a 10-second backoff until the response includes
"done": true:
[[["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-08-07 UTC."],[[["\u003cp\u003eAsynchronous methods, such as \u003ccode\u003eCreateKey\u003c/code\u003e, \u003ccode\u003eUpdateKey\u003c/code\u003e, \u003ccode\u003eDeleteKey\u003c/code\u003e, and \u003ccode\u003eUndeleteKey\u003c/code\u003e, return a long-running operation.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful request, these methods provide an operation identifier in the \u003ccode\u003ename\u003c/code\u003e field, indicating ongoing server-side work.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eoperations.get\u003c/code\u003e method, using the operation identifier from the \u003ccode\u003ename\u003c/code\u003e field, allows you to check the status of the operation.\u003c/p\u003e\n"],["\u003cp\u003eIt's recommended to repeatedly use the \u003ccode\u003eoperations.get\u003c/code\u003e method with a 10-second backoff until the response shows \u003ccode\u003e"done": true\u003c/code\u003e, indicating completion.\u003c/p\u003e\n"]]],[],null,[]]