getOperation
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
Asynchronous API methods use getOperation to check the status of an operation.
The getOperation method requires the operationId as a string in the GetOperationRequest.
CommonException is thrown if an error occurs during the operation.
Possible error codes include AUTHORIZATION_FAIL, INTERNAL_SERVER_ERROR, and INVALID_OPERATION_ID.
Asynchronous API methods return a result before the processing is complete. Use
getOperation to retrieve the status of an asynchronous operation using its
operationId.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],["Asynchronous operations are tracked using `getOperation`, which requires an `operationId` to check their status. The `getOperation` method, part of the API, takes a `GetOperationRequest` and can throw a `CommonException`. Possible errors include `AUTHORIZATION_FAIL` (if the caller lacks ownership), `INTERNAL_SERVER_ERROR`, and `INVALID_OPERATION_ID`. The method returns before the operation is completed, allowing users to periodically retrieve updates via `getOperation`.\n"]]