CountArtifactsResponse
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"totalCount": string,
// Union field corpus_count_result can be only one of the following:
"mailCountResult": {
object (MailCountResult )
},
"groupsCountResult": {
object (GroupsCountResult )
}
// End of list of possible types for union field corpus_count_result .
} |
字段 |
totalCount |
string (int64 format)
消息总数。
|
联合字段 corpus_count_result 。特定服务的详细计数指标。corpus_count_result 只能是下列其中一项: |
mailCountResult |
object (MailCountResult )
统计 Gmail 和传统版 Hangouts 的指标。
|
groupsCountResult |
object (GroupsCountResult )
群组的计数指标。
|
MailCountResult
适用于 Gmail 和传统版 Hangouts 的计数指标。
JSON 表示法 |
{
"queriedAccountsCount": string,
"matchingAccountsCount": string,
"nonQueryableAccounts": [
string
],
"accountCountErrors": [
{
object (AccountCountError )
}
],
"accountCounts": [
{
object (AccountCount )
}
]
} |
字段 |
queriedAccountsCount |
string (int64 format)
此计数操作涉及的账号总数。
|
matchingAccountsCount |
string (int64 format)
可查询且包含消息数不为零的账号的总数。
|
nonQueryableAccounts[] |
string
当 DataScope 为 HELD_DATA 且账号电子邮件地址以显式方式传入时,请求中因未处于暂停状态而未查询的账号的列表。对于其他数据范围,此字段未设置。
|
accountCountErrors[] |
object (AccountCountError )
查询这些账号时出错。
|
accountCounts[] |
object (AccountCount )
每个包含不为零邮件的匹配账号的子总计数量。
|
GroupsCountResult
JSON 表示法 |
{
"queriedAccountsCount": string,
"matchingAccountsCount": string,
"nonQueryableAccounts": [
string
],
"accountCountErrors": [
{
object (AccountCountError )
}
],
"accountCounts": [
{
object (AccountCount )
}
]
} |
字段 |
queriedAccountsCount |
string (int64 format)
此计数操作涉及的账号总数。
|
matchingAccountsCount |
string (int64 format)
可查询且包含消息数不为零的账号的总数。
|
nonQueryableAccounts[] |
string
当 DataScope 为 HELD_DATA 时,系统不会查询请求中的这些账号,因为它们未处于暂停状态。对于其他数据范围,此字段未设置。
|
accountCountErrors[] |
object (AccountCountError )
查询这些账号时出错。
|
accountCounts[] |
object (AccountCount )
每个包含不为零邮件的匹配账号的子总计数量。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],[],null,["# CountArtifactsResponse\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [MailCountResult](#MailCountResult)\n - [JSON representation](#MailCountResult.SCHEMA_REPRESENTATION)\n- [GroupsCountResult](#GroupsCountResult)\n - [JSON representation](#GroupsCountResult.SCHEMA_REPRESENTATION)\n\nDefinition of the response for method matters.count.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"totalCount\": string, // Union field `corpus_count_result` can be only one of the following: \"mailCountResult\": { object (/workspace/vault/reference/rest/v1/CountArtifactsResponse#MailCountResult) }, \"groupsCountResult\": { object (/workspace/vault/reference/rest/v1/CountArtifactsResponse#GroupsCountResult) } // End of list of possible types for union field `corpus_count_result`. } ``` |\n\n| Fields ||\n|---------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `totalCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Total count of messages. |\n| Union field `corpus_count_result`. Detailed count metrics for specific services. `corpus_count_result` can be only one of the following: ||\n| `mailCountResult` | `object (`[MailCountResult](/workspace/vault/reference/rest/v1/CountArtifactsResponse#MailCountResult)`)` Count metrics for Gmail and classic Hangouts. |\n| `groupsCountResult` | `object (`[GroupsCountResult](/workspace/vault/reference/rest/v1/CountArtifactsResponse#GroupsCountResult)`)` Count metrics for Groups. |\n\nMailCountResult\n---------------\n\nGmail and classic Hangouts-specific count metrics.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"queriedAccountsCount\": string, \"matchingAccountsCount\": string, \"nonQueryableAccounts\": [ string ], \"accountCountErrors\": [ { object (/workspace/vault/reference/rest/v1/AccountCountError) } ], \"accountCounts\": [ { object (/workspace/vault/reference/rest/v1/AccountCount) } ] } ``` |\n\n| Fields ||\n|--------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `queriedAccountsCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Total number of accounts involved in this count operation. |\n| `matchingAccountsCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Total number of accounts that can be queried and have more than zero messages. |\n| `nonQueryableAccounts[]` | `string` When **DataScope** is **HELD_DATA** and when account emails are passed in explicitly, the list of accounts in the request that are not queried because they are not on hold in the matter. For other data scopes, this field is not set. |\n| `accountCountErrors[]` | `object (`[AccountCountError](/workspace/vault/reference/rest/v1/AccountCountError)`)` Errors occurred when querying these accounts. |\n| `accountCounts[]` | `object (`[AccountCount](/workspace/vault/reference/rest/v1/AccountCount)`)` Subtotal count per matching account that have more than zero messages. |\n\nGroupsCountResult\n-----------------\n\nGroups specific count metrics.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"queriedAccountsCount\": string, \"matchingAccountsCount\": string, \"nonQueryableAccounts\": [ string ], \"accountCountErrors\": [ { object (/workspace/vault/reference/rest/v1/AccountCountError) } ], \"accountCounts\": [ { object (/workspace/vault/reference/rest/v1/AccountCount) } ] } ``` |\n\n| Fields ||\n|--------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `queriedAccountsCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Total number of accounts involved in this count operation. |\n| `matchingAccountsCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Total number of accounts that can be queried and have more than zero messages. |\n| `nonQueryableAccounts[]` | `string` When **DataScope** is **HELD_DATA**, these accounts in the request are not queried because they are not on hold. For other data scope, this field is not set. |\n| `accountCountErrors[]` | `object (`[AccountCountError](/workspace/vault/reference/rest/v1/AccountCountError)`)` Error occurred when querying these accounts. |\n| `accountCounts[]` | `object (`[AccountCount](/workspace/vault/reference/rest/v1/AccountCount)`)` Subtotal count per matching account that have more than zero messages. |"]]