简体   繁体   English

GSuite Vault API:任何以编程方式获取用户列表的方法?

[英]GSuite Vault API: Any way to get a list of users on hold programmatically?

Currently, the Google Vault API does not provide a way to get a report of all users in a G-Suite tenant or domain who are on hold in one or more matters.目前, Google Vault API没有提供一种方法来获取 G-Suite 租户或域中所有用户在一个或多个事务中处于搁置状态的报告。 This information is currently available only via the admin interface for Google Vault under Reports/User Holds.此信息目前只能通过Google 保险柜管理界面在报告/用户保全下获得。 It would be great to be able to obtain this report via an API call in JSON format rather than only via the admin UI.能够通过 JSON 格式的 API 调用而不是仅通过管理 UI 获取此报告会很棒。 Am I missing something or is this functionality already available?我错过了什么还是这个功能已经可用?

Respectfully, please keep in mind that suggesting that I perform API operations to search all matters and iterate through the users on hold in each matter to obtain this information is not the answer I am looking for.请谨记,建议我执行 API 操作来搜索所有事项并遍历每个事项中被搁置的用户以获取此信息,这不是我要寻找的答案。 There should be a quicker, more efficient way to get this information since such a report is already available via the UI.应该有一种更快、更有效的方式来获取这些信息,因为这样的报告已经可以通过 UI 获得。 I am simply asking if there is a way to get this same information programmatically via the APIs/automation.我只是在问是否有办法通过 API/自动化以编程方式获取相同的信息。 Thank you in advance.先感谢您。

在此处输入图片说明

Unfortunately, Vault API does not have a method for that.不幸的是,Vault API 没有相应的方法。 The only way to retrieve this information is to list all matters and iterate through them, as you already mentioned.正如您已经提到的,检索此信息的唯一方法是列出所有事项并遍历它们。

File a feature request:提交功能请求:

It's not uncommon for a feature to be present only in the UI.一个功能只出现在 UI 中的情况并不少见。 If you want to see this implemented on the API, I'd suggest you to report it on Issue Tracker's Vault component .如果你想在 API 上看到这个实现,我建议你在问题跟踪器的Vault 组件上报告它。

I looked through the issues of this component, and it looks like this hasn't been requested yet.我查看了这个组件的问题,看起来还没有被请求。 There's currently a somewhat related feature request, but not exactly what you're looking for:目前有一个有点相关的功能请求,但不完全是你要找的:

Update:更新:

The original poster filed a feature request in Issue Tracker.原始发布者在问题跟踪器中提交了功能请求。 I'm add this to the answer in order to give it more visibility.我将此添加到答案中,以提高其可见性。

To anyone who would like to see this feature implemented in the future, I'd suggest starring the issue (star on the top-left) in order to help prioritizing it:对于希望在未来实现此功能的任何人,我建议为该问题加注星标(左上角的星号)以帮助确定其优先级:

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从GSuite Admin Directory API获取“用于会议的Chrome设备”的列表并在其中执行操作? - How do I get a list of and perform actions on “Chrome devices for meetings” from the GSuite Admin Directory API? 有什么方法可以在Google Directory API users.list查询中使用“或”运算符? - Is there any way to use an “or” operator in Google Directory API users.list query? 如何通过Google API获取Gsuite帐户类型 - How do I get Gsuite account type via google API 在使用gsuite admin sdk>目录api(python)插入用户时,无法上传某些参数,例如电子邮件和电话 - Not able to upload certain parameters like emails and phones while inserting users with gsuite admin sdk > directory api (python) GSUITE 用户。删除和传输数据 - GSUITE users.delete and transfering data 使用curl认证Gsuite用户的URL是什么? - What is the URL to authenticate Gsuite users using curl? 有什么方法可以从 Google API 获取“员工详细信息”? - Any way to get “Employee Details” from Google API? makeAdmin 谷歌 API Gsuite SDK 错误 - makeAdmin google API Gsuite SDK errors G Suite 警报中心“列出”操作错误 401 - GSuite Alert Center "list" action error 401 使用谷歌工作区管理 API,如何识别通过 Gsuite SSO 使用公司电子邮件登录到 slack 的我的组织用户的 slack 工作区? - Using google workspace admin API, how to identify slack workspace of the my org users who log into slack using company's email via Gsuite SSO?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM