class Google::Apis::IdentitytoolkitV3::UserInfo

Template for an individual account info.

Attributes

created_at[RW]

User creation timestamp. Corresponds to the JSON property `createdAt` @return [Fixnum]

custom_attributes[RW]

The custom attributes to be set in the user's id token. Corresponds to the JSON property `customAttributes` @return [String]

custom_auth[RW]

Whether the user is authenticated by the developer. Corresponds to the JSON property `customAuth` @return [Boolean]

custom_auth?[RW]

Whether the user is authenticated by the developer. Corresponds to the JSON property `customAuth` @return [Boolean]

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]

last_login_at[RW]

last login timestamp. Corresponds to the JSON property `lastLoginAt` @return [Fixnum]

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` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]

password_updated_at[RW]

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

phone_number[RW]

User's phone number. Corresponds to the JSON property `phoneNumber` @return [String]

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>]

raw_password[RW]

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

salt[RW]

The user's password salt. Corresponds to the JSON property `salt` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]

screen_name[RW]

User's screen name at Twitter or login name at Github. Corresponds to the JSON property `screenName` @return [String]

valid_since[RW]

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

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 lib/google/apis/identitytoolkit_v3/classes.rb, line 2179
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/identitytoolkit_v3/classes.rb, line 2184
def update!(**args)
  @created_at = args[:created_at] if args.key?(:created_at)
  @custom_attributes = args[:custom_attributes] if args.key?(:custom_attributes)
  @custom_auth = args[:custom_auth] if args.key?(:custom_auth)
  @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)
  @phone_number = args[:phone_number] if args.key?(:phone_number)
  @photo_url = args[:photo_url] if args.key?(:photo_url)
  @provider_user_info = args[:provider_user_info] if args.key?(:provider_user_info)
  @raw_password = args[:raw_password] if args.key?(:raw_password)
  @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