FailureInfo
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"errorCode": enum (Code ),
"errorMessage": string,
// Union field failed_entity can be only one of the following:
"printerId": string,
"printer": {
object (Printer )
}
// End of list of possible types for union field failed_entity .
} |
字段 |
errorCode |
enum (Code )
说明更新未能应用的原因的规范代码。
|
errorMessage |
string
失败原因消息。
|
联合字段 failed_entity 。 failed_entity 只能是下列其中一项:
|
printerId |
string
失败打印机的 ID。
|
printer |
object (Printer )
打印机未能正常运行。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],[],null,["# FailureInfo\n\nInfo about failures\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"errorCode\": enum (/workspace/admin/chrome-printer/reference/rest/v1/Code), \"errorMessage\": string, // Union field `failed_entity` can be only one of the following: \"printerId\": string, \"printer\": { object (/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printers#Printer) } // End of list of possible types for union field `failed_entity`. } ``` |\n\n| Fields ||\n|----------------|------------------------------------------------------------------------------------------------------------------------------------------------|\n| `errorCode` | `enum (`[Code](/workspace/admin/chrome-printer/reference/rest/v1/Code)`)` Canonical code for why the update failed to apply. |\n| `errorMessage` | `string` Failure reason message. |\n| Union field `failed_entity`. `failed_entity` can be only one of the following: ||\n| `printerId` | `string` Id of a failed printer. |\n| `printer` | `object (`[Printer](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printers#Printer)`)` Failed printer. |"]]