Class: Google::Apis::IdentitytoolkitV3::UploadAccountResponse::Error

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/identitytoolkit_v3/classes.rb,
generated/google/apis/identitytoolkit_v3/representations.rb,
generated/google/apis/identitytoolkit_v3/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Error

Returns a new instance of Error.


1570
1571
1572
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1570

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

Instance Attribute Details

#indexFixnum

The index of the malformed account, starting from 0. Corresponds to the JSON property index

Returns:

  • (Fixnum)

1563
1564
1565
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1563

def index
  @index
end

#messageString

Detailed error message for the account info. Corresponds to the JSON property message

Returns:

  • (String)

1568
1569
1570
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1568

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1575
1576
1577
1578
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1575

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