{"name": string,"metadata": {"@type": string,field1: ...,...},"done": boolean,// Union field result can be only one of the following:"error": {object (Status)},"response": {"@type": string,field1: ...,...}// End of list of possible types for union field result.}
字段
name
string
由服务器分配的名称,该名称仅在最初返回它的那项服务中是唯一的。如果您使用默认 HTTP 映射,则 name 应是以 operations/{unique_id} 结尾的资源名称。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThe Operation resource represents a long-running operation initiated by a network API call, containing metadata, status, and result information.\u003c/p\u003e\n"],["\u003cp\u003eOperations can be in progress (\u003ccode\u003edone=false\u003c/code\u003e) or completed (\u003ccode\u003edone=true\u003c/code\u003e) with either an error or a response.\u003c/p\u003e\n"],["\u003cp\u003eThe Status resource provides a standardized error model with an error code, message, and details for API responses.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eget\u003c/code\u003e method retrieves the current state of a specific long-running operation.\u003c/p\u003e\n"]]],["The document defines two key resources: `Operation` and `Status`. `Operation` represents a long-running API task, containing a `name`, `metadata`, and a `done` status indicating completion. Upon completion, the `result` field contains either an `error` or a `response`. `Status` defines an error model, with fields for `code`, `message`, and `details`, which are developer-facing errors. Operations can be checked for their status with a get method.\n"],null,[]]