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.



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

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#captcha_challengeString

The captcha challenge. Corresponds to the JSON property captchaChallenge

Returns:

  • (String)


893
894
895
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 893

def captcha_challenge
  @captcha_challenge
end

#captcha_responseString

Response to the captcha. Corresponds to the JSON property captchaResponse

Returns:

  • (String)


898
899
900
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 898

def captcha_response
  @captcha_response
end

#display_nameString

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

Returns:

  • (String)


903
904
905
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 903

def display_name
  @display_name
end

#emailString

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

Returns:

  • (String)


908
909
910
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 908

def email
  @email
end

#id_tokenString

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

Returns:

  • (String)


913
914
915
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 913

def id_token
  @id_token
end

#instance_idString

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

Returns:

  • (String)


918
919
920
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 918

def instance_id
  @instance_id
end

#passwordString

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

Returns:

  • (String)


923
924
925
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 923

def password
  @password
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



930
931
932
933
934
935
936
937
938
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 930

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