class Google::Apis::IdentitytoolkitV3::SignupNewUserRequest

Request to signup new user, create anonymous user or anonymous user reauth.

Attributes

captcha_challenge[RW]

The captcha challenge. Corresponds to the JSON property `captchaChallenge` @return [String]

captcha_response[RW]

Response to the captcha. Corresponds to the JSON property `captchaResponse` @return [String]

display_name[RW]

The name of the user. Corresponds to the JSON property `displayName` @return [String]

email[RW]

The email of the user. Corresponds to the JSON property `email` @return [String]

id_token[RW]

The GITKit token of the authenticated user. Corresponds to the JSON property `idToken` @return [String]

instance_id[RW]

Instance id token of the app. Corresponds to the JSON property `instanceId` @return [String]

password[RW]

The new password of the user. Corresponds to the JSON property `password` @return [String]

return_secure_token[RW]

Whether return sts id token and refresh token instead of gitkit token. Corresponds to the JSON property `returnSecureToken` @return [Boolean]

return_secure_token?[RW]

Whether return sts id token and refresh token instead of gitkit token. Corresponds to the JSON property `returnSecureToken` @return [Boolean]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/identitytoolkit_v3/classes.rb, line 904
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)
  @return_secure_token = args[:return_secure_token] if args.key?(:return_secure_token)
end