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



968
969
970
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 968

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

Instance Attribute Details

#captcha_challengeString

The captcha challenge. Corresponds to the JSON property captchaChallenge

Returns:

  • (String)


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

def captcha_challenge
  @captcha_challenge
end

#captcha_responseString

Response to the captcha. Corresponds to the JSON property captchaResponse

Returns:

  • (String)


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

def captcha_response
  @captcha_response
end

#disabledBoolean Also known as: disabled?

Whether to disable the user. Only can be used by service account. Corresponds to the JSON property disabled

Returns:

  • (Boolean)


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

def disabled
  @disabled
end

#display_nameString

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

Returns:

  • (String)


930
931
932
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 930

def display_name
  @display_name
end

#emailString

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

Returns:

  • (String)


935
936
937
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 935

def email
  @email
end

#email_verifiedBoolean 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

Returns:

  • (Boolean)


940
941
942
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 940

def email_verified
  @email_verified
end

#id_tokenString

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

Returns:

  • (String)


946
947
948
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 946

def id_token
  @id_token
end

#instance_idString

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

Returns:

  • (String)


951
952
953
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 951

def instance_id
  @instance_id
end

#local_idString

Privileged caller can create user with specified user id. Corresponds to the JSON property localId

Returns:

  • (String)


956
957
958
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 956

def local_id
  @local_id
end

#passwordString

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

Returns:

  • (String)


961
962
963
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 961

def password
  @password
end

#photo_urlString

The photo url of the user. Corresponds to the JSON property photoUrl

Returns:

  • (String)


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