Definition of the response for method matters.count.
JSON representation | |
---|---|
{ "totalCount": string, // Union field |
Fields | ||
---|---|---|
totalCount |
Total count of artifacts. For mail and groups, artifacts refers to messages. |
|
Union field corpus_count_result . Detailed count metrics of different corpus. corpus_count_result can be only one of the following: |
||
mailCountResult |
Count metrics of Mail. |
|
groupsCountResult |
Count metrics of Groups. |
MailCountResult
Mail 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 data scope is HELD_DATA in the request Query, 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. |
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 data scope is HELD_DATA in the request Query, 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. |