Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1ErrorInfo

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

Overview

Error information explaining why an account cannot be uploaded. batch upload.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1ErrorInfo

Returns a new instance of GoogleCloudIdentitytoolkitV1ErrorInfo.



637
638
639
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 637

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

Instance Attribute Details

#indexFixnum

The index of the item, range is [0, request.size - 1] Corresponds to the JSON property index

Returns:

  • (Fixnum)


630
631
632
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 630

def index
  @index
end

#messageString

Detailed error message Corresponds to the JSON property message

Returns:

  • (String)


635
636
637
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 635

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



642
643
644
645
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 642

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