class Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse

Respone of setting the account information.

Attributes

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]

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

email_verified?[RW]

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

expires_in[RW]

If idToken is STS id token, then this field will be expiration time of STS id token in seconds. Corresponds to the JSON property `expiresIn` @return [Fixnum]

id_token[RW]

The Gitkit id token to login the newly sign up user. Corresponds to the JSON property `idToken` @return [String]

kind[RW]

The fixed string “identitytoolkit#SetAccountInfoResponse”. Corresponds to the JSON property `kind` @return [String]

local_id[RW]

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

new_email[RW]

The new email the user attempts to change to. Corresponds to the JSON property `newEmail` @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]

photo_url[RW]

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

provider_user_info[RW]

The user's profiles at the associated IdPs. Corresponds to the JSON property `providerUserInfo` @return [Array<Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo>]

refresh_token[RW]

If idToken is STS id token, then this field will be refresh token. Corresponds to the JSON property `refreshToken` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/identitytoolkit_v3/classes.rb, line 1909
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 1914
def update!(**args)
  @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)
  @expires_in = args[:expires_in] if args.key?(:expires_in)
  @id_token = args[:id_token] if args.key?(:id_token)
  @kind = args[:kind] if args.key?(:kind)
  @local_id = args[:local_id] if args.key?(:local_id)
  @new_email = args[:new_email] if args.key?(:new_email)
  @password_hash = args[:password_hash] if args.key?(:password_hash)
  @photo_url = args[:photo_url] if args.key?(:photo_url)
  @provider_user_info = args[:provider_user_info] if args.key?(:provider_user_info)
  @refresh_token = args[:refresh_token] if args.key?(:refresh_token)
end