class Google::Apis::IdentitytoolkitV3::Relyingparty

Request of getting a code for user confirmation (reset password, change email etc.)

Attributes

captcha_resp[RW]

The recaptcha response from the user. Corresponds to the JSON property `captchaResp` @return [String]

challenge[RW]

The recaptcha challenge presented to the user. Corresponds to the JSON property `challenge` @return [String]

email[RW]

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

id_token[RW]

The user's Gitkit login token for email change. Corresponds to the JSON property `idToken` @return [String]

kind[RW]

The fixed string “identitytoolkit#relyingparty”. Corresponds to the JSON property `kind` @return [String]

new_email[RW]

The new email if the code is for email change. Corresponds to the JSON property `newEmail` @return [String]

request_type[RW]

The request type. Corresponds to the JSON property `requestType` @return [String]

user_ip[RW]

The IP address of the user. Corresponds to the JSON property `userIp` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/identitytoolkit_v3/classes.rb, line 1233
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 1238
def update!(**args)
  @captcha_resp = args[:captcha_resp] if args.key?(:captcha_resp)
  @challenge = args[:challenge] if args.key?(:challenge)
  @email = args[:email] if args.key?(:email)
  @id_token = args[:id_token] if args.key?(:id_token)
  @kind = args[:kind] if args.key?(:kind)
  @new_email = args[:new_email] if args.key?(:new_email)
  @request_type = args[:request_type] if args.key?(:request_type)
  @user_ip = args[:user_ip] if args.key?(:user_ip)
end