Definition of the response for method matters.count.
| JSON representation |
|---|
{ "totalCount" : string , // Union field |
totalCount
string ( int64
format)
Total count of messages.
corpus_count_result
. Detailed count metrics for specific services. corpus_count_result
can be only one of the following:mailCountResult
object (
MailCountResult
)
Count metrics for Gmail and classic Hangouts.
groupsCountResult
object (
GroupsCountResult
)
Count metrics for Groups.
MailCountResult
Gmail and classic Hangouts-specific count metrics.
| JSON representation |
|---|
{ "queriedAccountsCount" : string , "matchingAccountsCount" : string , "nonQueryableAccounts" : [ string ] , "accountCountErrors" : [ { object ( |
| Fields | |
|---|---|
queriedAccountsCount
|
Total number of accounts involved in this count operation. |
matchingAccountsCount
|
Total number of accounts that can be queried and have more than zero messages. |
nonQueryableAccounts[]
|
When DataScopeis HELD_DATAand 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. |
accountCountErrors[]
|
Errors occurred when querying these accounts. |
accountCounts[]
|
Subtotal count per matching account that have more than zero messages. |
GroupsCountResult
Groups specific count metrics.
| JSON representation |
|---|
{ "queriedAccountsCount" : string , "matchingAccountsCount" : string , "nonQueryableAccounts" : [ string ] , "accountCountErrors" : [ { object ( |
| Fields | |
|---|---|
queriedAccountsCount
|
Total number of accounts involved in this count operation. |
matchingAccountsCount
|
Total number of accounts that can be queried and have more than zero messages. |
nonQueryableAccounts[]
|
When DataScopeis 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. |
accountCountErrors[]
|
Error occurred when querying these accounts. |
accountCounts[]
|
Subtotal count per matching account that have more than zero messages. |

