{"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):2024-08-22。"],[[["The Operation resource represents a long-running operation initiated by a network API call, containing metadata, status, and result information."],["Operations can be in progress (`done=false`) or completed (`done=true`) with either an error or a response."],["The Status resource provides a standardized error model with an error code, message, and details for API responses."],["The `get` method retrieves the current state of a specific long-running operation."]]],["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"]]