Definition of the response for method matters.count.
| JSON representation |
|---|
{ "totalCount": string, "mailCountResult": { object ( |
| Fields | |
|---|---|
totalCount |
Total count of messages. |
| Detailed count metrics for specific services. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: | |
mailCountResult |
Count metrics for Gmail and classic Hangouts. |
groupsCountResult |
Count metrics for Groups. |
| End of mutually exclusive fields. | |
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 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. |
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 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. |
accountCountErrors[] |
Error occurred when querying these accounts. |
accountCounts[] |
Subtotal count per matching account that have more than zero messages. |