并提前感谢您抽出时间查看我的问题。
在使用 Cloud Identity API 从我们的 Google Workspace 查询托管设备(Windows、Mac)的详细信息时,我能够通过 google 分配的“设备 ID”成功查询,但是响应中不包含“主机名”字段.
这是我得到的回应的一个例子。
{'devices':
[{'name': 'devices/xxxxxxxxxxxx',
'createTime': '9999-99-99T20:11:31.680Z',
'lastSyncTime': '9999-99-99T15:01:51.922Z',
'ownerType': 'Company Owned',
'model': 'Windows',
'osVersion': 'Win10',
'deviceType': 'Windows',
'serialNumber': '737dh39he8d3978'}]
}
通过 Workspace 查看任何设备时,我可以看到类似的详细信息,包括主机名。任何提示或想法表示赞赏。 工作区 gui 中设备详细信息的示例图像