Method: matters.count
HTTP 请求
POST https://vault.googleapis.com/v1/matters/{matterId}:count
网址采用 gRPC 转码语法。
路径参数
参数 |
matterId |
string
相关事项 ID。
|
请求正文
请求正文中包含结构如下的数据:
字段 |
query |
object (Query )
搜索查询。
|
view |
enum (CountResultView )
设置计数结果的粒度。
|
响应正文
如果成功,则响应正文包含一个 Operation
实例。
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/ediscovery
如需了解详情,请参阅 OAuth 2.0 Overview。
CountResultView
枚举 |
COUNT_RESULT_VIEW_UNSPECIFIED |
默认。与 TOTAL_COUNT 相同。 |
TOTAL_COUNT |
响应中包含账号总数、查询的账号、匹配的账号、无法查询的账号以及查询的账号错误的计数。 |
ALL |
响应包含与 TOTAL_COUNT 相同的详细信息,以及其他账号细分信息。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-02-06。
[null,null,["最后更新时间 (UTC):2025-02-06。"],[[["Counts the total number of accounts processed within a specified matter using a provided search query."],["The request requires specifying the matter ID and a search query in the request body."],["You can control the level of detail (granularity) in the count results using the `view` parameter."],["Requires authorization with the `https://www.googleapis.com/auth/ediscovery` scope."]]],["This outlines a process for counting accounts via a `POST` request to `https://vault.googleapis.com/v1/matters/{matterId}:count`, using gRPC Transcoding syntax. The `matterId` is specified as a path parameter. The request body utilizes a JSON structure to send a `query` object and the desired `view` granularity from `CountResultView`. The `CountResultView` defines the results granularity. A successful request returns an `Operation` instance. Authorization requires the `https://www.googleapis.com/auth/ediscovery` scope.\n"]]