Class: Google::Apis::IdentitytoolkitV3::SignupNewUserRequest
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV3::SignupNewUserRequest
- 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 signup new user, create anonymous user or anonymous user reauth.
Instance Attribute Summary collapse
-
#captcha_challenge ⇒ String
The captcha challenge.
-
#captcha_response ⇒ String
Response to the captcha.
-
#display_name ⇒ String
The name of the user.
-
#email ⇒ String
The email of the user.
-
#id_token ⇒ String
The GITKit token of the authenticated user.
-
#instance_id ⇒ String
Instance id token of the app.
-
#password ⇒ String
The new password of the user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SignupNewUserRequest
constructor
A new instance of SignupNewUserRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SignupNewUserRequest
Returns a new instance of SignupNewUserRequest.
933 934 935 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 933 def initialize(**args) update!(**args) end |
Instance Attribute Details
#captcha_challenge ⇒ String
The captcha challenge.
Corresponds to the JSON property captchaChallenge
901 902 903 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 901 def captcha_challenge @captcha_challenge end |
#captcha_response ⇒ String
Response to the captcha.
Corresponds to the JSON property captchaResponse
906 907 908 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 906 def captcha_response @captcha_response end |
#display_name ⇒ String
The name of the user.
Corresponds to the JSON property displayName
911 912 913 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 911 def display_name @display_name end |
#email ⇒ String
The email of the user.
Corresponds to the JSON property email
916 917 918 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 916 def email @email end |
#id_token ⇒ String
The GITKit token of the authenticated user.
Corresponds to the JSON property idToken
921 922 923 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 921 def id_token @id_token end |
#instance_id ⇒ String
Instance id token of the app.
Corresponds to the JSON property instanceId
926 927 928 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 926 def instance_id @instance_id end |
#password ⇒ String
The new password of the user.
Corresponds to the JSON property password
931 932 933 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 931 def password @password end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
938 939 940 941 942 943 944 945 946 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 938 def update!(**args) @captcha_challenge = args[:captcha_challenge] if args.key?(:captcha_challenge) @captcha_response = args[:captcha_response] if args.key?(:captcha_response) @display_name = args[:display_name] if args.key?(:display_name) @email = args[:email] if args.key?(:email) @id_token = args[:id_token] if args.key?(:id_token) @instance_id = args[:instance_id] if args.key?(:instance_id) @password = args[:password] if args.key?(:password) end |