Class: Google::Apis::IdentitytoolkitV3::UploadAccountRequest

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

Overview

Request to upload user account in batch.

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) ⇒ UploadAccountRequest

Returns a new instance of UploadAccountRequest.



981
982
983
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 981

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

Instance Attribute Details

#delegated_project_numberString

GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration. Corresponds to the JSON property delegatedProjectNumber

Returns:

  • (String)


949
950
951
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 949

def delegated_project_number
  @delegated_project_number
end

#hash_algorithmString

The password hash algorithm. Corresponds to the JSON property hashAlgorithm

Returns:

  • (String)


954
955
956
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 954

def hash_algorithm
  @hash_algorithm
end

#memory_costFixnum

Memory cost for hash calculation. Used by scrypt similar algorithms. Corresponds to the JSON property memoryCost

Returns:

  • (Fixnum)


959
960
961
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 959

def memory_cost
  @memory_cost
end

#roundsFixnum

Rounds for hash calculation. Used by scrypt and similar algorithms. Corresponds to the JSON property rounds

Returns:

  • (Fixnum)


964
965
966
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 964

def rounds
  @rounds
end

#salt_separatorString

The salt separator. Corresponds to the JSON property saltSeparator

Returns:

  • (String)


969
970
971
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 969

def salt_separator
  @salt_separator
end

#signer_keyString

The key for to hash the password. Corresponds to the JSON property signerKey

Returns:

  • (String)


974
975
976
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 974

def signer_key
  @signer_key
end

#usersArray<Google::Apis::IdentitytoolkitV3::UserInfo>

The account info to be stored. Corresponds to the JSON property users



979
980
981
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 979

def users
  @users
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



986
987
988
989
990
991
992
993
994
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 986

def update!(**args)
  @delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number)
  @hash_algorithm = args[:hash_algorithm] if args.key?(:hash_algorithm)
  @memory_cost = args[:memory_cost] if args.key?(:memory_cost)
  @rounds = args[:rounds] if args.key?(:rounds)
  @salt_separator = args[:salt_separator] if args.key?(:salt_separator)
  @signer_key = args[:signer_key] if args.key?(:signer_key)
  @users = args[:users] if args.key?(:users)
end