class Google::Apis::IdentitytoolkitV3::UploadAccountRequest
Request to upload user account in batch.
Attributes
Whether allow overwrite existing account when user local_id exists. Corresponds to the JSON property `allowOverwrite` @return [Boolean]
Whether allow overwrite existing account when user local_id exists. Corresponds to the JSON property `allowOverwrite` @return [Boolean]
Corresponds to the JSON property `blockSize` @return [Fixnum]
The following 4 fields are for standard scrypt algorithm. Corresponds to the JSON property `cpuMemCost` @return [Fixnum]
GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration. Corresponds to the JSON property `delegatedProjectNumber` @return [Fixnum]
Corresponds to the JSON property `dkLen` @return [Fixnum]
The password hash algorithm. Corresponds to the JSON property `hashAlgorithm` @return [String]
Memory cost for hash calculation. Used by scrypt similar algorithms. Corresponds to the JSON property `memoryCost` @return [Fixnum]
Corresponds to the JSON property `parallelization` @return [Fixnum]
Rounds for hash calculation. Used by scrypt and similar algorithms. Corresponds to the JSON property `rounds` @return [Fixnum]
The salt separator. Corresponds to the JSON property `saltSeparator` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]
If true, backend will do sanity check(including duplicate email and federated id) when uploading account. Corresponds to the JSON property `sanityCheck` @return [Boolean]
If true, backend will do sanity check(including duplicate email and federated id) when uploading account. Corresponds to the JSON property `sanityCheck` @return [Boolean]
The key for to hash the password. Corresponds to the JSON property `signerKey` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]
Specify which project (field value is actually project id) to operate. Only used when provided credential. Corresponds to the JSON property `targetProjectId` @return [String]
The account info to be stored. Corresponds to the JSON property `users` @return [Array<Google::Apis::IdentitytoolkitV3::UserInfo>]
Public Class Methods
# File lib/google/apis/identitytoolkit_v3/classes.rb, line 1270 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/identitytoolkit_v3/classes.rb, line 1275 def update!(**args) @allow_overwrite = args[:allow_overwrite] if args.key?(:allow_overwrite) @block_size = args[:block_size] if args.key?(:block_size) @cpu_mem_cost = args[:cpu_mem_cost] if args.key?(:cpu_mem_cost) @delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number) @dk_len = args[:dk_len] if args.key?(:dk_len) @hash_algorithm = args[:hash_algorithm] if args.key?(:hash_algorithm) @memory_cost = args[:memory_cost] if args.key?(:memory_cost) @parallelization = args[:parallelization] if args.key?(:parallelization) @rounds = args[:rounds] if args.key?(:rounds) @salt_separator = args[:salt_separator] if args.key?(:salt_separator) @sanity_check = args[:sanity_check] if args.key?(:sanity_check) @signer_key = args[:signer_key] if args.key?(:signer_key) @target_project_id = args[:target_project_id] if args.key?(:target_project_id) @users = args[:users] if args.key?(:users) end