ValidationResults
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Wrapper für Ergebnis der wiederholten Validierung.
ValidationResult
Ein Validierungsergebnis, das mit dem App-Inhalt verknüpft ist.
JSON-Darstellung |
{
"validationMessage": string,
"validationContext": {
object (ValidationContext )
}
} |
Felder |
validationMessage |
string
Enthält die Validierungsnachricht.
|
validationContext |
object (ValidationContext )
Kontext zur Identifizierung der Ressource, auf die sich die Validierungsnachricht bezieht.
|
ValidationContext
Kontext zur Identifizierung der Ressource, auf die sich die Validierungsnachricht bezieht.
JSON-Darstellung |
{
"languageCode": string
} |
Felder |
languageCode |
string
Sprachcode der lokalisierten Ressource. Leer, wenn der Fehler für eine nicht lokalisierte Ressource gilt. Eine Liste der unterstützten Sprachen finden Sie unter https://developers.google.com/assistant/console/languages-locales.
|
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 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 |"]]