class Google::Apis::IdentitytoolkitV3::UserInfo

Template for an individual account info.

Attributes

disabled[RW]

Whether the user is disabled. Corresponds to the JSON property `disabled` @return [Boolean]

disabled?[RW]

Whether the user is disabled. Corresponds to the JSON property `disabled` @return [Boolean]

display_name[RW]

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

email[RW]

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

email_verified[RW]

Whether the email has been verified. Corresponds to the JSON property `emailVerified` @return [Boolean]

email_verified?[RW]

Whether the email has been verified. Corresponds to the JSON property `emailVerified` @return [Boolean]

local_id[RW]

The local ID of the user. Corresponds to the JSON property `localId` @return [String]

password_hash[RW]

The user's hashed password. Corresponds to the JSON property `passwordHash` @return [String]

password_updated_at[RW]

The timestamp when the password was last updated. Corresponds to the JSON property `passwordUpdatedAt` @return [Float]

photo_url[RW]

The URL of the user profile photo. Corresponds to the JSON property `photoUrl` @return [String]

provider_user_info[RW]

The IDP of the user. Corresponds to the JSON property `providerUserInfo` @return [Array<Google::Apis::IdentitytoolkitV3::UserInfo::ProviderUserInfo>]

salt[RW]

The user's password salt. Corresponds to the JSON property `salt` @return [String]

valid_since[RW]

Timestamp in seconds for valid login token. Corresponds to the JSON property `validSince` @return [String]

version[RW]

Version of the user's password. Corresponds to the JSON property `version` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/identitytoolkit_v3/classes.rb, line 1554
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 1559
def update!(**args)
  @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)
  @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)
  @valid_since = args[:valid_since] if args.key?(:valid_since)
  @version = args[:version] if args.key?(:version)
end