Class: Google::Apis::VaultV1::AccountCount
- Inherits:
-
Object
- Object
- Google::Apis::VaultV1::AccountCount
- 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
Count number for each account.
Instance Attribute Summary collapse
-
#account ⇒ Google::Apis::VaultV1::UserInfo
User's information.
-
#count ⇒ Fixnum
The number of artifacts found for this account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountCount
constructor
A new instance of AccountCount.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccountCount
Returns a new instance of AccountCount.
39 40 41 |
# File 'generated/google/apis/vault_v1/classes.rb', line 39 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account ⇒ Google::Apis::VaultV1::UserInfo
User's information.
Corresponds to the JSON property account
32 33 34 |
# File 'generated/google/apis/vault_v1/classes.rb', line 32 def account @account end |
#count ⇒ Fixnum
The number of artifacts found for this account.
Corresponds to the JSON property count
37 38 39 |
# File 'generated/google/apis/vault_v1/classes.rb', line 37 def count @count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
44 45 46 47 |
# File 'generated/google/apis/vault_v1/classes.rb', line 44 def update!(**args) @account = args[:account] if args.key?(:account) @count = args[:count] if args.key?(:count) end |