התכונה 'פעולות שיחה' הוצאה משימוש ב-13 ביוני 2023.
כאן תוכלו לקרוא מידע נוסף על ההוצאה משימוש של 'פעולות שיחה'.
ValidationResults
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
wrapper לתוצאת אימות חוזרת.
ValidationResult
מייצג תוצאת אימות שמשויכת לתוכן האפליקציה.
ייצוג JSON |
{
"validationMessage": string,
"validationContext": {
object (ValidationContext )
}
} |
שדות |
validationMessage |
string
מכילה את הודעת האימות.
|
validationContext |
object (ValidationContext )
הקשר לזיהוי המשאב שאליו מתייחסת הודעת האימות.
|
ValidationContext
הקשר לזיהוי המשאב שאליו מתייחסת הודעת האימות.
ייצוג JSON |
{
"languageCode": string
} |
שדות |
languageCode |
string
קוד השפה של המשאב המותאם אישית. ריק אם השגיאה מתייחסת למשאב שאינו מותאם לשוק המקומי. רשימת השפות הנתמכות זמינה בכתובת https://developers.google.com/assistant/console/languages-locales
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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 |"]]