Class: Google::Apis::VaultV1::MailCountResult
- Inherits:
-
Object
- Object
- Google::Apis::VaultV1::MailCountResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/vault_v1/classes.rb,
generated/google/apis/vault_v1/representations.rb,
generated/google/apis/vault_v1/representations.rb
Overview
Mail specific count metrics.
Instance Attribute Summary collapse
-
#account_count_errors ⇒ Array<Google::Apis::VaultV1::AccountCountError>
Error occurred when querying these accounts.
-
#account_counts ⇒ Array<Google::Apis::VaultV1::AccountCount>
Subtotal count per matching account that have more than zero messages.
-
#matching_accounts_count ⇒ Fixnum
Total number of accounts that can be queried and have more than zero messages.
-
#non_queryable_accounts ⇒ Array<String>
When data scope is HELD_DATA in the request Query, these accounts in the request are not queried because they are not on hold.
-
#queried_accounts_count ⇒ Fixnum
Total number of accounts involved in this count operation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MailCountResult
constructor
A new instance of MailCountResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MailCountResult
Returns a new instance of MailCountResult.
1237 1238 1239 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1237 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_count_errors ⇒ Array<Google::Apis::VaultV1::AccountCountError>
Error occurred when querying these accounts.
Corresponds to the JSON property accountCountErrors
1213 1214 1215 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1213 def account_count_errors @account_count_errors end |
#account_counts ⇒ Array<Google::Apis::VaultV1::AccountCount>
Subtotal count per matching account that have more than zero messages.
Corresponds to the JSON property accountCounts
1218 1219 1220 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1218 def account_counts @account_counts end |
#matching_accounts_count ⇒ Fixnum
Total number of accounts that can be queried and have more than zero messages.
Corresponds to the JSON property matchingAccountsCount
1223 1224 1225 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1223 def matching_accounts_count @matching_accounts_count end |
#non_queryable_accounts ⇒ Array<String>
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.
Corresponds to the JSON property nonQueryableAccounts
1230 1231 1232 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1230 def non_queryable_accounts @non_queryable_accounts end |
#queried_accounts_count ⇒ Fixnum
Total number of accounts involved in this count operation.
Corresponds to the JSON property queriedAccountsCount
1235 1236 1237 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1235 def queried_accounts_count @queried_accounts_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1242 1243 1244 1245 1246 1247 1248 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1242 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 |