構造化エラー返信
適切なメッセージとログを許可するために、Key Access Control List Service(KACLS)は
オペレーションが失敗すると、構造化 JSON 応答が本文で返されます。
標準の HTTP ステータス コードが使用されます。
JSON 表現 |
{
"code": int,
"message": string,
"details": string
}
|
フィールド |
code |
int
標準の HTTP ステータス コード
|
message |
string (UTF-8)
人が読める形式のエラー メッセージ。
|
details |
string (UTF-8)
スタック トレースなど、エラーの詳細。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-22 UTC。
[null,null,["最終更新日 2024-08-22 UTC。"],[[["KACLS operation failures now return structured JSON responses for improved debugging."],["These JSON responses include an HTTP status code, a human-readable message, and detailed error information."],["This structure facilitates easier integration with automated systems and provides developers with more context for troubleshooting."]]],[]]