Class: Google::Apis::VaultV1::AccountCount

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#accountGoogle::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
end

#countFixnum

The number of artifacts found for this account. Corresponds to the JSON property count

Returns:

  • (Fixnum)


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