会話型アクションのサポートは 2023 年 6 月 13 日に終了しました。詳細については、
会話型アクションの廃止をご覧ください。
ValidationResults
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
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 をご覧ください。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 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 |"]]