Class: Google::Apis::IdentitytoolkitV3::SignupNewUserRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_challengeString

The captcha challenge. Corresponds to the JSON property captchaChallenge

Returns:

  • (String)


901
902
903
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 901

def captcha_challenge
  @captcha_challenge
end

#captcha_responseString

Response to the captcha. Corresponds to the JSON property captchaResponse

Returns:

  • (String)


906
907
908
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 906

def captcha_response
  @captcha_response
end

#display_nameString

The name of the user. Corresponds to the JSON property displayName

Returns:

  • (String)


911
912
913
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 911

def display_name
  @display_name
end

#emailString

The email of the user. Corresponds to the JSON property email

Returns:

  • (String)


916
917
918
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 916

def email
  @email
end

#id_tokenString

The GITKit token of the authenticated user. Corresponds to the JSON property idToken

Returns:

  • (String)


921
922
923
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 921

def id_token
  @id_token
end

#instance_idString

Instance id token of the app. Corresponds to the JSON property instanceId

Returns:

  • (String)


926
927
928
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 926

def instance_id
  @instance_id
end

#passwordString

The new password of the user. Corresponds to the JSON property password

Returns:

  • (String)


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