Class: Google::Apis::IdentitytoolkitV3::SetAccountInfoRequest
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV3::SetAccountInfoRequest
- 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 set the account information.
Instance Attribute Summary collapse
-
#captcha_challenge ⇒ String
The captcha challenge.
-
#captcha_response ⇒ String
Response to the captcha.
-
#created_at ⇒ Fixnum
The timestamp when the account is created.
-
#custom_attributes ⇒ String
The custom attributes to be set in the user's id token.
-
#delegated_project_number ⇒ Fixnum
GCP project number of the requesting delegated app.
-
#delete_attribute ⇒ Array<String>
The attributes users request to delete.
-
#delete_provider ⇒ Array<String>
The IDPs the user request to delete.
-
#disable_user ⇒ Boolean
(also: #disable_user?)
Whether to disable the user.
-
#display_name ⇒ String
The name of the user.
-
#email ⇒ String
The email of the user.
-
#email_verified ⇒ Boolean
(also: #email_verified?)
Mark the email as verified or not.
-
#id_token ⇒ String
The GITKit token of the authenticated user.
-
#instance_id ⇒ String
Instance id token of the app.
-
#last_login_at ⇒ Fixnum
Last login timestamp.
-
#local_id ⇒ String
The local ID of the user.
-
#oob_code ⇒ String
The out-of-band code of the change email request.
-
#password ⇒ String
The new password of the user.
-
#phone_number ⇒ String
Privileged caller can update user with specified phone number.
-
#photo_url ⇒ String
The photo url of the user.
-
#provider ⇒ Array<String>
The associated IDPs of the user.
-
#return_secure_token ⇒ Boolean
(also: #return_secure_token?)
Whether return sts id token and refresh token instead of gitkit token.
-
#upgrade_to_federated_login ⇒ Boolean
(also: #upgrade_to_federated_login?)
Mark the user to upgrade to federated login.
-
#valid_since ⇒ Fixnum
Timestamp in seconds for valid login token.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SetAccountInfoRequest
constructor
A new instance of SetAccountInfoRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SetAccountInfoRequest
Returns a new instance of SetAccountInfoRequest
803 804 805 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 803 def initialize(**args) update!(**args) end |
Instance Attribute Details
#captcha_challenge ⇒ String
The captcha challenge.
Corresponds to the JSON property captchaChallenge
686 687 688 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 686 def captcha_challenge @captcha_challenge end |
#captcha_response ⇒ String
Response to the captcha.
Corresponds to the JSON property captchaResponse
691 692 693 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 691 def captcha_response @captcha_response end |
#created_at ⇒ Fixnum
The timestamp when the account is created.
Corresponds to the JSON property createdAt
696 697 698 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 696 def created_at @created_at end |
#custom_attributes ⇒ String
The custom attributes to be set in the user's id token.
Corresponds to the JSON property customAttributes
701 702 703 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 701 def custom_attributes @custom_attributes end |
#delegated_project_number ⇒ Fixnum
GCP project number of the requesting delegated app. Currently only intended
for Firebase V1 migration.
Corresponds to the JSON property delegatedProjectNumber
707 708 709 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 707 def delegated_project_number @delegated_project_number end |
#delete_attribute ⇒ Array<String>
The attributes users request to delete.
Corresponds to the JSON property deleteAttribute
712 713 714 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 712 def delete_attribute @delete_attribute end |
#delete_provider ⇒ Array<String>
The IDPs the user request to delete.
Corresponds to the JSON property deleteProvider
717 718 719 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 717 def delete_provider @delete_provider end |
#disable_user ⇒ Boolean Also known as: disable_user?
Whether to disable the user.
Corresponds to the JSON property disableUser
722 723 724 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 722 def disable_user @disable_user end |
#display_name ⇒ String
The name of the user.
Corresponds to the JSON property displayName
728 729 730 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 728 def display_name @display_name end |
#email ⇒ String
The email of the user.
Corresponds to the JSON property email
733 734 735 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 733 def email @email end |
#email_verified ⇒ Boolean Also known as: email_verified?
Mark the email as verified or not.
Corresponds to the JSON property emailVerified
738 739 740 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 738 def email_verified @email_verified end |
#id_token ⇒ String
The GITKit token of the authenticated user.
Corresponds to the JSON property idToken
744 745 746 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 744 def id_token @id_token end |
#instance_id ⇒ String
Instance id token of the app.
Corresponds to the JSON property instanceId
749 750 751 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 749 def instance_id @instance_id end |
#last_login_at ⇒ Fixnum
Last login timestamp.
Corresponds to the JSON property lastLoginAt
754 755 756 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 754 def last_login_at @last_login_at end |
#local_id ⇒ String
The local ID of the user.
Corresponds to the JSON property localId
759 760 761 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 759 def local_id @local_id end |
#oob_code ⇒ String
The out-of-band code of the change email request.
Corresponds to the JSON property oobCode
764 765 766 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 764 def oob_code @oob_code end |
#password ⇒ String
The new password of the user.
Corresponds to the JSON property password
769 770 771 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 769 def password @password end |
#phone_number ⇒ String
Privileged caller can update user with specified phone number.
Corresponds to the JSON property phoneNumber
774 775 776 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 774 def phone_number @phone_number end |
#photo_url ⇒ String
The photo url of the user.
Corresponds to the JSON property photoUrl
779 780 781 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 779 def photo_url @photo_url end |
#provider ⇒ Array<String>
The associated IDPs of the user.
Corresponds to the JSON property provider
784 785 786 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 784 def provider @provider end |
#return_secure_token ⇒ Boolean Also known as: return_secure_token?
Whether return sts id token and refresh token instead of gitkit token.
Corresponds to the JSON property returnSecureToken
789 790 791 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 789 def return_secure_token @return_secure_token end |
#upgrade_to_federated_login ⇒ Boolean Also known as: upgrade_to_federated_login?
Mark the user to upgrade to federated login.
Corresponds to the JSON property upgradeToFederatedLogin
795 796 797 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 795 def upgrade_to_federated_login @upgrade_to_federated_login end |
#valid_since ⇒ Fixnum
Timestamp in seconds for valid login token.
Corresponds to the JSON property validSince
801 802 803 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 801 def valid_since @valid_since end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 808 def update!(**args) @captcha_challenge = args[:captcha_challenge] if args.key?(:captcha_challenge) @captcha_response = args[:captcha_response] if args.key?(:captcha_response) @created_at = args[:created_at] if args.key?(:created_at) @custom_attributes = args[:custom_attributes] if args.key?(:custom_attributes) @delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number) @delete_attribute = args[:delete_attribute] if args.key?(:delete_attribute) @delete_provider = args[:delete_provider] if args.key?(:delete_provider) @disable_user = args[:disable_user] if args.key?(:disable_user) @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) @last_login_at = args[:last_login_at] if args.key?(:last_login_at) @local_id = args[:local_id] if args.key?(:local_id) @oob_code = args[:oob_code] if args.key?(:oob_code) @password = args[:password] if args.key?(:password) @phone_number = args[:phone_number] if args.key?(:phone_number) @photo_url = args[:photo_url] if args.key?(:photo_url) @provider = args[:provider] if args.key?(:provider) @return_secure_token = args[:return_secure_token] if args.key?(:return_secure_token) @upgrade_to_federated_login = args[:upgrade_to_federated_login] if args.key?(:upgrade_to_federated_login) @valid_since = args[:valid_since] if args.key?(:valid_since) end |