Google Directory API - 操作系统版本政策合规性
在 Google 管理控制台上,查看 Chrome 设备时,您可以看到其“操作系统版本政策合规性”,如下图所示:
但是,从目录 API(使用https://developers.google.com/admin- sdk/directory/reference/rest/v1/chromeosdevices/get),该字段似乎没有返回。我的假设是目录 API 能够返回您在管理控制台中可以看到的任何内容。我需要使用不同的 API 来检索此信息吗?
更新
我添加了此功能请求以获取这已添加到 API 中,因为目前似乎不支持它。
On the Google admin console, when looking at chrome devices, you can see their "OS version policy compliance", as seen in the image below:
However, when retrieving a device from the directory API (using https://developers.google.com/admin-sdk/directory/reference/rest/v1/chromeosdevices/get), this field does not seem to be returned. My assumption was that the directory API was able to return anything you could see in the admin console. Do I need to use a different API to retrieve this information?
Update
I have added this feature request to get this added to the API, as it looks like it is not currently supported.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
截至目前,Google Workspace Admin SDK 不支持检索操作系统版本政策合规性。另一种解决方案是在 方法:chromeosdevices.get 并将其与组织政策指定的操作系统版本进行比较。
注意:您只能使用替代解决方案来检查设备是否合规或不合规,因为您只是比较操作系统版本。
As of today, Google Workspace Admin SDK does not support retrieval of OS version policy compliance. An alternative solution is to use the value of
osVersion
in the response body of Method: chromeosdevices.get and compare it with the OS version specified by your organization's policy.Note: You can only use the alternative solution to check whether the device is Compliant or Not compliant since you are only comparing OS versions.