CountArtifactsResponse

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.
}
Fields
totalCount

string (int64 format)

Total count of messages.

Union field 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 (AccountCountError)
    }
  ],
  "accountCounts": [
    {
      object (AccountCount)
    }
  ]
}
Fields
queriedAccountsCount

string (int64 format)

Total number of accounts involved in this count operation.

matchingAccountsCount

string (int64 format)

Total number of accounts that can be queried and have more than zero messages.

nonQueryableAccounts[]

string

When DataScope is HELD_DATA, the number of accounts in the request that are not queried because they are not on hold. For other data scopes, this field is not set.

accountCountErrors[]

object (AccountCountError)

Errors occurred when querying these accounts.

accountCounts[]

object (AccountCount)

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 (AccountCountError)
    }
  ],
  "accountCounts": [
    {
      object (AccountCount)
    }
  ]
}
Fields
queriedAccountsCount

string (int64 format)

Total number of accounts involved in this count operation.

matchingAccountsCount

string (int64 format)

Total number of accounts that can be queried and have more than zero messages.

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.

accountCountErrors[]

object (AccountCountError)

Error occurred when querying these accounts.

accountCounts[]

object (AccountCount)

Subtotal count per matching account that have more than zero messages.