Class: Google::Apis::IdentitytoolkitV3::Relyingparty

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 of getting a code for user confirmation (reset password, change email etc.)

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) ⇒ Relyingparty

Returns a new instance of Relyingparty



1398
1399
1400
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1398

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

Instance Attribute Details

#android_install_appBoolean Also known as: android_install_app?

whether or not to install the android app on the device where the link is opened Corresponds to the JSON property androidInstallApp

Returns:

  • (Boolean)


1323
1324
1325
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1323

def android_install_app
  @android_install_app
end

#android_minimum_versionString

minimum version of the app. if the version on the device is lower than this version then the user is taken to the play store to upgrade the app Corresponds to the JSON property androidMinimumVersion

Returns:

  • (String)


1330
1331
1332
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1330

def android_minimum_version
  @android_minimum_version
end

#android_package_nameString

android package name of the android app to handle the action code Corresponds to the JSON property androidPackageName

Returns:

  • (String)


1335
1336
1337
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1335

def android_package_name
  @android_package_name
end

#can_handle_code_in_appBoolean Also known as: can_handle_code_in_app?

whether or not the app can handle the oob code without first going to web Corresponds to the JSON property canHandleCodeInApp

Returns:

  • (Boolean)


1340
1341
1342
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1340

def can_handle_code_in_app
  @can_handle_code_in_app
end

#captcha_respString

The recaptcha response from the user. Corresponds to the JSON property captchaResp

Returns:

  • (String)


1346
1347
1348
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1346

def captcha_resp
  @captcha_resp
end

#challengeString

The recaptcha challenge presented to the user. Corresponds to the JSON property challenge

Returns:

  • (String)


1351
1352
1353
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1351

def challenge
  @challenge
end

#continue_urlString

The url to continue to the Gitkit app Corresponds to the JSON property continueUrl

Returns:

  • (String)


1356
1357
1358
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1356

def continue_url
  @continue_url
end

#emailString

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

Returns:

  • (String)


1361
1362
1363
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1361

def email
  @email
end

#i_os_app_store_idString

iOS app store id to download the app if it's not already installed Corresponds to the JSON property iOSAppStoreId

Returns:

  • (String)


1366
1367
1368
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1366

def i_os_app_store_id
  @i_os_app_store_id
end

#i_os_bundle_idString

the iOS bundle id of iOS app to handle the action code Corresponds to the JSON property iOSBundleId

Returns:

  • (String)


1371
1372
1373
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1371

def i_os_bundle_id
  @i_os_bundle_id
end

#id_tokenString

The user's Gitkit login token for email change. Corresponds to the JSON property idToken

Returns:

  • (String)


1376
1377
1378
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1376

def id_token
  @id_token
end

#kindString

The fixed string "identitytoolkit#relyingparty". Corresponds to the JSON property kind

Returns:

  • (String)


1381
1382
1383
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1381

def kind
  @kind
end

#new_emailString

The new email if the code is for email change. Corresponds to the JSON property newEmail

Returns:

  • (String)


1386
1387
1388
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1386

def new_email
  @new_email
end

#request_typeString

The request type. Corresponds to the JSON property requestType

Returns:

  • (String)


1391
1392
1393
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1391

def request_type
  @request_type
end

#user_ipString

The IP address of the user. Corresponds to the JSON property userIp

Returns:

  • (String)


1396
1397
1398
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1396

def user_ip
  @user_ip
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1403

def update!(**args)
  @android_install_app = args[:android_install_app] if args.key?(:android_install_app)
  @android_minimum_version = args[:android_minimum_version] if args.key?(:android_minimum_version)
  @android_package_name = args[:android_package_name] if args.key?(:android_package_name)
  @can_handle_code_in_app = args[:can_handle_code_in_app] if args.key?(:can_handle_code_in_app)
  @captcha_resp = args[:captcha_resp] if args.key?(:captcha_resp)
  @challenge = args[:challenge] if args.key?(:challenge)
  @continue_url = args[:continue_url] if args.key?(:continue_url)
  @email = args[:email] if args.key?(:email)
  @i_os_app_store_id = args[:i_os_app_store_id] if args.key?(:i_os_app_store_id)
  @i_os_bundle_id = args[:i_os_bundle_id] if args.key?(:i_os_bundle_id)
  @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