Class: Google::Apis::IdentitytoolkitV3::UserInfo
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV3::UserInfo
- 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
Template for an individual account info.
Defined Under Namespace
Classes: ProviderUserInfo
Instance Attribute Summary collapse
-
#created_at ⇒ String
User creation timestamp.
-
#disabled ⇒ Boolean
(also: #disabled?)
Whether the user is disabled.
-
#display_name ⇒ String
The name of the user.
-
#email ⇒ String
The email of the user.
-
#email_verified ⇒ Boolean
(also: #email_verified?)
Whether the email has been verified.
-
#last_login_at ⇒ String
last login timestamp.
-
#local_id ⇒ String
The local ID of the user.
-
#password_hash ⇒ String
The user's hashed password.
-
#password_updated_at ⇒ Float
The timestamp when the password was last updated.
-
#photo_url ⇒ String
The URL of the user profile photo.
-
#provider_user_info ⇒ Array<Google::Apis::IdentitytoolkitV3::UserInfo::ProviderUserInfo>
The IDP of the user.
-
#salt ⇒ String
The user's password salt.
-
#screen_name ⇒ String
User's screen name at Twitter.
-
#valid_since ⇒ String
Timestamp in seconds for valid login token.
-
#version ⇒ Fixnum
Version of the user's password.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UserInfo
constructor
A new instance of UserInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UserInfo
Returns a new instance of UserInfo.
1627 1628 1629 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1627 def initialize(**args) update!(**args) end |
Instance Attribute Details
#created_at ⇒ String
User creation timestamp.
Corresponds to the JSON property createdAt
1553 1554 1555 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1553 def created_at @created_at end |
#disabled ⇒ Boolean Also known as: disabled?
Whether the user is disabled.
Corresponds to the JSON property disabled
1558 1559 1560 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1558 def disabled @disabled end |
#display_name ⇒ String
The name of the user.
Corresponds to the JSON property displayName
1564 1565 1566 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1564 def display_name @display_name end |
#email ⇒ String
The email of the user.
Corresponds to the JSON property email
1569 1570 1571 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1569 def email @email end |
#email_verified ⇒ Boolean Also known as: email_verified?
Whether the email has been verified.
Corresponds to the JSON property emailVerified
1574 1575 1576 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1574 def email_verified @email_verified end |
#last_login_at ⇒ String
last login timestamp.
Corresponds to the JSON property lastLoginAt
1580 1581 1582 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1580 def last_login_at @last_login_at end |
#local_id ⇒ String
The local ID of the user.
Corresponds to the JSON property localId
1585 1586 1587 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1585 def local_id @local_id end |
#password_hash ⇒ String
The user's hashed password.
Corresponds to the JSON property passwordHash
1590 1591 1592 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1590 def password_hash @password_hash end |
#password_updated_at ⇒ Float
The timestamp when the password was last updated.
Corresponds to the JSON property passwordUpdatedAt
1595 1596 1597 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1595 def password_updated_at @password_updated_at end |
#photo_url ⇒ String
The URL of the user profile photo.
Corresponds to the JSON property photoUrl
1600 1601 1602 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1600 def photo_url @photo_url end |
#provider_user_info ⇒ Array<Google::Apis::IdentitytoolkitV3::UserInfo::ProviderUserInfo>
The IDP of the user.
Corresponds to the JSON property providerUserInfo
1605 1606 1607 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1605 def provider_user_info @provider_user_info end |
#salt ⇒ String
The user's password salt.
Corresponds to the JSON property salt
1610 1611 1612 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1610 def salt @salt end |
#screen_name ⇒ String
User's screen name at Twitter.
Corresponds to the JSON property screenName
1615 1616 1617 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1615 def screen_name @screen_name end |
#valid_since ⇒ String
Timestamp in seconds for valid login token.
Corresponds to the JSON property validSince
1620 1621 1622 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1620 def valid_since @valid_since end |
#version ⇒ Fixnum
Version of the user's password.
Corresponds to the JSON property version
1625 1626 1627 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1625 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1632 def update!(**args) @created_at = args[:created_at] if args.key?(:created_at) @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) @last_login_at = args[:last_login_at] if args.key?(:last_login_at) @local_id = args[:local_id] if args.key?(:local_id) @password_hash = args[:password_hash] if args.key?(:password_hash) @password_updated_at = args[:password_updated_at] if args.key?(:password_updated_at) @photo_url = args[:photo_url] if args.key?(:photo_url) @provider_user_info = args[:provider_user_info] if args.key?(:provider_user_info) @salt = args[:salt] if args.key?(:salt) @screen_name = args[:screen_name] if args.key?(:screen_name) @valid_since = args[:valid_since] if args.key?(:valid_since) @version = args[:version] if args.key?(:version) end |