ErrorResponseLog

การตอบกลับข้อผิดพลาดตอบกลับไปยังไคลเอ็นต์

การแสดง JSON
{
  "code": enum (Code),
  "httpStatusCode": integer,
  "message": string,
  "details": [
    {
      "@type": string,
      field1: ...,
      ...
    }
  ]
}
ช่อง
code

enum (Code)

รหัส Canonical ของข้อผิดพลาด

httpStatusCode

integer

รหัสสถานะ HTTP ของการตอบกลับข้อผิดพลาด

message

string

ระบบส่งข้อความแสดงข้อผิดพลาดไปยังไคลเอ็นต์

details[]

object

ดูข้อมูลเพิ่มเติมเกี่ยวกับข้อผิดพลาดได้ที่ https://cloud.google.com/apis/design/errors

ออบเจ็กต์ที่มีช่องประเภทที่กำหนดเอง ช่องเพิ่มเติม "@type" จะมี URI ที่ระบุประเภท ตัวอย่างเช่น { "id": 1234, "@type": "types.example.com/standard/id" }