class Google::Apis::VaultV1::MailCountResult

Gmail and classic Hangouts-specific count metrics.

Attributes

account_count_errors[RW]

Errors occurred when querying these accounts. Corresponds to the JSON property `accountCountErrors` @return [Array<Google::Apis::VaultV1::AccountCountError>]

account_counts[RW]

Subtotal count per matching account that have more than zero messages. Corresponds to the JSON property `accountCounts` @return [Array<Google::Apis::VaultV1::AccountCount>]

matching_accounts_count[RW]

Total number of accounts that can be queried and have more than zero messages. Corresponds to the JSON property `matchingAccountsCount` @return [Fixnum]

non_queryable_accounts[RW]

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. Corresponds to the JSON property `nonQueryableAccounts` @return [Array<String>]

queried_accounts_count[RW]

Total number of accounts involved in this count operation. Corresponds to the JSON property `queriedAccountsCount` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/vault_v1/classes.rb, line 1262
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/vault_v1/classes.rb, line 1267
def update!(**args)
  @account_count_errors = args[:account_count_errors] if args.key?(:account_count_errors)
  @account_counts = args[:account_counts] if args.key?(:account_counts)
  @matching_accounts_count = args[:matching_accounts_count] if args.key?(:matching_accounts_count)
  @non_queryable_accounts = args[:non_queryable_accounts] if args.key?(:non_queryable_accounts)
  @queried_accounts_count = args[:queried_accounts_count] if args.key?(:queried_accounts_count)
end