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.



658
659
660
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 658

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)


651
652
653
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 651

def index
  @index
end

#messageString

Detailed error message Corresponds to the JSON property message

Returns:

  • (String)


656
657
658
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 656

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



663
664
665
666
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 663

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