getOperation
    
    
      
    
    
      
      使用集合让一切井井有条
    
    
      
      根据您的偏好保存内容并对其进行分类。
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
异步 API 方法会在处理完成之前返回一个结果。使用 getOperation 通过异步操作的 operationId 检索其状态。
方法签名
public Operation getOperation( GetOperationRequest request) throws CommonException;
GetOperationRequest
| 属性名称 | 值 | 必填 | 说明 | 
| operationId | string | 是 | 操作 ID。 | 
错误行为
如果发生错误,该库会抛出包含以下错误代码之一的 CommonException:
| 错误代码 | 
| AUTHORIZATION_FAIL(如果转销商不是操作所有者) | 
| INTERNAL_SERVER_ERROR | 
| INVALID_OPERATION_ID | 
  
  
  
 
  
    
    
      
       
    
    
  
  
  如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
  最后更新时间 (UTC):2025-08-29。
  
  
  
    
      [null,null,["最后更新时间 (UTC):2025-08-29。"],[],["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"]]