answerVariant 资源类型

命名空间:microsoft.graph.search

重要

Microsoft Graph /beta 版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。

表示一个答案变体,可用于根据国家/地区或平台更改搜索答案的某些属性。

属性

属性 类型 说明
说明 String 搜索结果页上显示的答案变体说明。
displayName String 搜索结果中显示的答案变体名称。
languageTag String 可以查看此答案变体的国家或地区。
平台 microsoft.graph.devicePlatformType 可以查看此答案变体的设备或操作系统。 可能的值是:androidandroidForWorkiosmacOSwindowsPhone81windowsPhone81AndLaterwindows10AndLaterandroidWorkProfileunknownandroidASOPandroidMobileApplicationManagementiOSMobileApplicationManagementunknownFutureValue
webUrl String 答案变体的 URL 链接。 当用户从搜索结果中选择此答案变体时,他们会被定向到指定的 URL。

关系

无。

JSON 表示形式

以下 JSON 表示形式显示了资源类型。

{
  "@odata.type": "#microsoft.graph.search.answerVariant",
  "description": "String",
  "displayName": "String",
  "languageTag": "String",
  "platform": "String",
  "webUrl": "String"
}