Definition of the response for method matters.count.
JSON representation
{"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.}
Total number of accounts that can be queried and have more than zero messages.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-17 UTC."],[],[],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. |"]]