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-03-05 UTC."],[[["Asynchronous methods, such as `CreateKey`, `UpdateKey`, `DeleteKey`, and `UndeleteKey`, return a long-running operation."],["Upon successful request, these methods provide an operation identifier in the `name` field, indicating ongoing server-side work."],["The `operations.get` method, using the operation identifier from the `name` field, allows you to check the status of the operation."],["It's recommended to repeatedly use the `operations.get` method with a 10-second backoff until the response shows `\"done\": true`, indicating completion."]]],[]]