class Google::Apis::IdentitytoolkitV3::UploadAccountRequest

Request to upload user account in batch.

Attributes

allow_overwrite[RW]

Whether allow overwrite existing account when user local_id exists. Corresponds to the JSON property `allowOverwrite` @return [Boolean]

allow_overwrite?[RW]

Whether allow overwrite existing account when user local_id exists. Corresponds to the JSON property `allowOverwrite` @return [Boolean]

block_size[RW]

Corresponds to the JSON property `blockSize` @return [Fixnum]

cpu_mem_cost[RW]

The following 4 fields are for standard scrypt algorithm. Corresponds to the JSON property `cpuMemCost` @return [Fixnum]

delegated_project_number[RW]

GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration. Corresponds to the JSON property `delegatedProjectNumber` @return [Fixnum]

dk_len[RW]

Corresponds to the JSON property `dkLen` @return [Fixnum]

hash_algorithm[RW]

The password hash algorithm. Corresponds to the JSON property `hashAlgorithm` @return [String]

memory_cost[RW]

Memory cost for hash calculation. Used by scrypt similar algorithms. Corresponds to the JSON property `memoryCost` @return [Fixnum]

parallelization[RW]

Corresponds to the JSON property `parallelization` @return [Fixnum]

rounds[RW]

Rounds for hash calculation. Used by scrypt and similar algorithms. Corresponds to the JSON property `rounds` @return [Fixnum]

salt_separator[RW]

The salt separator. Corresponds to the JSON property `saltSeparator` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]

sanity_check[RW]

If true, backend will do sanity check(including duplicate email and federated id) when uploading account. Corresponds to the JSON property `sanityCheck` @return [Boolean]

sanity_check?[RW]

If true, backend will do sanity check(including duplicate email and federated id) when uploading account. Corresponds to the JSON property `sanityCheck` @return [Boolean]

signer_key[RW]

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]

target_project_id[RW]

Specify which project (field value is actually project id) to operate. Only used when provided credential. Corresponds to the JSON property `targetProjectId` @return [String]

users[RW]

The account info to be stored. Corresponds to the JSON property `users` @return [Array<Google::Apis::IdentitytoolkitV3::UserInfo>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/identitytoolkit_v3/classes.rb, line 1270
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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