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.
-
#disabled ⇒ Boolean
(also: #disabled?)
Whether to disable the user.
-
#display_name ⇒ String
The name of the user.
-
#email ⇒ String
The email of the user.
-
#email_verified ⇒ Boolean
(also: #email_verified?)
Mark the email as verified or not.
-
#id_token ⇒ String
The GITKit token of the authenticated user.
-
#instance_id ⇒ String
Instance id token of the app.
-
#local_id ⇒ String
Privileged caller can create user with specified user id.
-
#password ⇒ String
The new password of the user.
-
#photo_url ⇒ String
The photo url 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
968 969 970 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 968 def initialize(**args) update!(**args) end |
Instance Attribute Details
#captcha_challenge ⇒ String
The captcha challenge.
Corresponds to the JSON property captchaChallenge
914 915 916 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 914 def captcha_challenge @captcha_challenge end |
#captcha_response ⇒ String
Response to the captcha.
Corresponds to the JSON property captchaResponse
919 920 921 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 919 def captcha_response @captcha_response end |
#disabled ⇒ Boolean Also known as: disabled?
Whether to disable the user. Only can be used by service account.
Corresponds to the JSON property disabled
924 925 926 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 924 def disabled @disabled end |
#display_name ⇒ String
The name of the user.
Corresponds to the JSON property displayName
930 931 932 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 930 def display_name @display_name end |
#email ⇒ String
The email of the user.
Corresponds to the JSON property email
935 936 937 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 935 def email @email end |
#email_verified ⇒ Boolean Also known as: email_verified?
Mark the email as verified or not. Only can be used by service account.
Corresponds to the JSON property emailVerified
940 941 942 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 940 def email_verified @email_verified end |
#id_token ⇒ String
The GITKit token of the authenticated user.
Corresponds to the JSON property idToken
946 947 948 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 946 def id_token @id_token end |
#instance_id ⇒ String
Instance id token of the app.
Corresponds to the JSON property instanceId
951 952 953 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 951 def instance_id @instance_id end |
#local_id ⇒ String
Privileged caller can create user with specified user id.
Corresponds to the JSON property localId
956 957 958 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 956 def local_id @local_id end |
#password ⇒ String
The new password of the user.
Corresponds to the JSON property password
961 962 963 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 961 def password @password end |
#photo_url ⇒ String
The photo url of the user.
Corresponds to the JSON property photoUrl
966 967 968 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 966 def photo_url @photo_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
973 974 975 976 977 978 979 980 981 982 983 984 985 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 973 def update!(**args) @captcha_challenge = args[:captcha_challenge] if args.key?(:captcha_challenge) @captcha_response = args[:captcha_response] if args.key?(:captcha_response) @disabled = args[:disabled] if args.key?(:disabled) @display_name = args[:display_name] if args.key?(:display_name) @email = args[:email] if args.key?(:email) @email_verified = args[:email_verified] if args.key?(:email_verified) @id_token = args[:id_token] if args.key?(:id_token) @instance_id = args[:instance_id] if args.key?(:instance_id) @local_id = args[:local_id] if args.key?(:local_id) @password = args[:password] if args.key?(:password) @photo_url = args[:photo_url] if args.key?(:photo_url) end |