Class: Google::Apis::IdentitytoolkitV3::UploadAccountRequest
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV3::UploadAccountRequest
- 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
-
#delegated_project_number ⇒ String
GCP project number of the requesting delegated app.
-
#hash_algorithm ⇒ String
The password hash algorithm.
-
#memory_cost ⇒ Fixnum
Memory cost for hash calculation.
-
#rounds ⇒ Fixnum
Rounds for hash calculation.
-
#salt_separator ⇒ String
The salt separator.
-
#sanity_check ⇒ Boolean
(also: #sanity_check?)
If true, backend will do sanity check(including duplicate email and federated id) when uploading account.
-
#signer_key ⇒ String
The key for to hash the password.
-
#target_project_id ⇒ String
Specify which project (field value is actually project id) to operate.
-
#users ⇒ Array<Google::Apis::IdentitytoolkitV3::UserInfo>
The account info to be stored.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UploadAccountRequest
constructor
A new instance of UploadAccountRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UploadAccountRequest
Returns a new instance of UploadAccountRequest.
1002 1003 1004 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1002 def initialize(**args) update!(**args) end |
Instance Attribute Details
#delegated_project_number ⇒ String
GCP project number of the requesting delegated app. Currently only intended
for Firebase V1 migration.
Corresponds to the JSON property delegatedProjectNumber
957 958 959 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 957 def delegated_project_number @delegated_project_number end |
#hash_algorithm ⇒ String
The password hash algorithm.
Corresponds to the JSON property hashAlgorithm
962 963 964 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 962 def hash_algorithm @hash_algorithm end |
#memory_cost ⇒ Fixnum
Memory cost for hash calculation. Used by scrypt similar algorithms.
Corresponds to the JSON property memoryCost
967 968 969 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 967 def memory_cost @memory_cost end |
#rounds ⇒ Fixnum
Rounds for hash calculation. Used by scrypt and similar algorithms.
Corresponds to the JSON property rounds
972 973 974 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 972 def rounds @rounds end |
#salt_separator ⇒ String
The salt separator.
Corresponds to the JSON property saltSeparator
977 978 979 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 977 def salt_separator @salt_separator end |
#sanity_check ⇒ Boolean Also known as: sanity_check?
If true, backend will do sanity check(including duplicate email and federated
id) when uploading account.
Corresponds to the JSON property sanityCheck
983 984 985 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 983 def sanity_check @sanity_check end |
#signer_key ⇒ String
The key for to hash the password.
Corresponds to the JSON property signerKey
989 990 991 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 989 def signer_key @signer_key end |
#target_project_id ⇒ String
Specify which project (field value is actually project id) to operate. Only
used when provided credential.
Corresponds to the JSON property targetProjectId
995 996 997 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 995 def target_project_id @target_project_id end |
#users ⇒ Array<Google::Apis::IdentitytoolkitV3::UserInfo>
The account info to be stored.
Corresponds to the JSON property users
1000 1001 1002 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1000 def users @users end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1007 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) @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 |