ValidationResults
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Wrapper สำหรับผลการตรวจสอบซ้ำ
ValidationResult
แสดงผลการตรวจสอบที่เกี่ยวข้องกับเนื้อหาแอป
การแสดง JSON |
{
"validationMessage": string,
"validationContext": {
object (ValidationContext )
}
} |
ช่อง |
validationMessage |
string
ระงับข้อความการตรวจสอบความถูกต้อง
|
validationContext |
object (ValidationContext )
บริบทสำหรับระบุทรัพยากรที่เกี่ยวข้องกับข้อความการตรวจสอบความถูกต้อง
|
ValidationContext
บริบทสำหรับระบุทรัพยากรที่เกี่ยวข้องกับข้อความการตรวจสอบความถูกต้อง
การแสดง JSON |
{
"languageCode": string
} |
ช่อง |
languageCode |
string
รหัสภาษาของทรัพยากร Lozalized เว้นว่างไว้หากข้อผิดพลาดเป็นข้อผิดพลาดสำหรับทรัพยากรที่ไม่ได้แปล ดูรายการภาษาที่รองรับใน https://developers.google.com/assistant/console/languages-locales
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003e\u003ccode\u003eValidationResults\u003c/code\u003e is a wrapper for repeated validation results, containing an array of \u003ccode\u003eValidationResult\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eValidationResult\u003c/code\u003e objects represent individual validation outcomes, providing a validation message and context.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eValidationContext\u003c/code\u003e offers details about the resource related to the validation message, such as its language code.\u003c/p\u003e\n"]]],[],null,["# ValidationResults\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [ValidationResult](#ValidationResult)\n - [JSON representation](#ValidationResult.SCHEMA_REPRESENTATION)\n- [ValidationContext](#ValidationContext)\n - [JSON representation](#ValidationContext.SCHEMA_REPRESENTATION)\n\nWrapper for repeated validation result.\n\n| JSON representation ||\n|---------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"results\": [ { object (/assistant/actions/api/reference/rest/v2/ValidationResults#ValidationResult) } ] } ``` |\n\n| Fields ||\n|-------------|-------------------------------------------------------------------------------------------------------------------------------------------|\n| `results[]` | `object (`[ValidationResult](/assistant/actions/api/reference/rest/v2/ValidationResults#ValidationResult)`)` Multiple validation results. |\n\nValidationResult\n----------------\n\nRepresents a validation result associated with the app content.\n\n| JSON representation ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"validationMessage\": string, \"validationContext\": { object (/assistant/actions/api/reference/rest/v2/ValidationResults#ValidationContext) } } ``` |\n\n| Fields ||\n|---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `validationMessage` | `string` Holds the validation message. |\n| `validationContext` | `object (`[ValidationContext](/assistant/actions/api/reference/rest/v2/ValidationResults#ValidationContext)`)` Context to identify the resource the validation message relates to. |\n\nValidationContext\n-----------------\n\nContext to identify the resource the validation message relates to.\n\n| JSON representation ||\n|------------------------------------|---|\n| ``` { \"languageCode\": string } ``` |\n\n| Fields ||\n|----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `languageCode` | `string` Language code of the lozalized resource. Empty if the error is for non-localized resource. See the list of supported languages in \u003chttps://developers.google.com/assistant/console/languages-locales\u003e |"]]