{"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"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-03-04。"],[[["\u003cp\u003eThis document describes the "Operation" resource, which represents a long-running operation resulting from a network API call.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation of an "Operation" includes fields like \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003emetadata\u003c/code\u003e, and \u003ccode\u003edone\u003c/code\u003e, along with a union field \u003ccode\u003eresult\u003c/code\u003e that can contain either an \u003ccode\u003eerror\u003c/code\u003e or a \u003ccode\u003eresponse\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003edone\u003c/code\u003e field indicates whether an operation is in progress (\u003ccode\u003efalse\u003c/code\u003e) or completed (\u003ccode\u003etrue\u003c/code\u003e), and if completed, the \u003ccode\u003eresult\u003c/code\u003e field will contain either the \u003ccode\u003eerror\u003c/code\u003e or the successful \u003ccode\u003eresponse\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eSeveral methods can be used with operations, such as \u003ccode\u003ecancel\u003c/code\u003e, \u003ccode\u003edelete\u003c/code\u003e, \u003ccode\u003eget\u003c/code\u003e, and \u003ccode\u003elist\u003c/code\u003e, for managing and monitoring long-running operation statuses.\u003c/p\u003e\n"],["\u003cp\u003eThe fields \u003ccode\u003eerror\u003c/code\u003e and \u003ccode\u003eresponse\u003c/code\u003e which make up the \u003ccode\u003eresult\u003c/code\u003e field are mutually exclusive, meaning only one can be used at a time, depending on the success or failure of the operation.\u003c/p\u003e\n"]]],[],null,["# REST Resource: projects.locations.operations\n\n- [Resource: Operation](#Operation)\n - [JSON representation](#Operation.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Operation\n-------------------\n\nThis resource represents a long-running operation that is the result of a network API call."]]