Class: Google::Apis::VaultV1::AccountCountError

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

An error that occurred when querying a specific account

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AccountCountError

Returns a new instance of AccountCountError.



64
65
66
# File 'generated/google/apis/vault_v1/classes.rb', line 64

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#accountGoogle::Apis::VaultV1::UserInfo

User's information. Corresponds to the JSON property account



57
58
59
# File 'generated/google/apis/vault_v1/classes.rb', line 57

def 
  @account
end

#error_typeString

Account query error. Corresponds to the JSON property errorType

Returns:

  • (String)


62
63
64
# File 'generated/google/apis/vault_v1/classes.rb', line 62

def error_type
  @error_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



69
70
71
72
# File 'generated/google/apis/vault_v1/classes.rb', line 69

def update!(**args)
  @account = args[:account] if args.key?(:account)
  @error_type = args[:error_type] if args.key?(:error_type)
end