Class: Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse
 
 
- 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
Respone of setting the account information.
Defined Under Namespace
Classes: ProviderUserInfo
Instance Attribute Summary collapse
- 
  
    
      #display_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the user.
 - 
  
    
      #email  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The email of the user.
 - 
  
    
      #email_verified  ⇒ Boolean 
    
    
      (also: #email_verified?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
If email has been verified.
 - 
  
    
      #expires_in  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
If idToken is STS id token, then this field will be expiration time of STS id token in seconds.
 - 
  
    
      #id_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The Gitkit id token to login the newly sign up user.
 - 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The fixed string "identitytoolkit#SetAccountInfoResponse".
 - 
  
    
      #local_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The local ID of the user.
 - 
  
    
      #new_email  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The new email the user attempts to change to.
 - 
  
    
      #password_hash  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The user's hashed password.
 - 
  
    
      #photo_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The photo url of the user.
 - 
  
    
      #provider_user_info  ⇒ Array<Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The user's profiles at the associated IdPs.
 - 
  
    
      #refresh_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
If idToken is STS id token, then this field will be refresh token.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SetAccountInfoResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of SetAccountInfoResponse.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SetAccountInfoResponse
Returns a new instance of SetAccountInfoResponse
      1909 1910 1911  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1909 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#display_name ⇒ String
The name of the user.
Corresponds to the JSON property displayName
      1849 1850 1851  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1849 def display_name @display_name end  | 
  
#email ⇒ String
The email of the user.
Corresponds to the JSON property email
      1854 1855 1856  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1854 def email @email end  | 
  
#email_verified ⇒ Boolean Also known as: email_verified?
If email has been verified.
Corresponds to the JSON property emailVerified
      1859 1860 1861  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1859 def email_verified @email_verified end  | 
  
#expires_in ⇒ Fixnum
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
      1866 1867 1868  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1866 def expires_in @expires_in end  | 
  
#id_token ⇒ String
The Gitkit id token to login the newly sign up user.
Corresponds to the JSON property idToken
      1871 1872 1873  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1871 def id_token @id_token end  | 
  
#kind ⇒ String
The fixed string "identitytoolkit#SetAccountInfoResponse".
Corresponds to the JSON property kind
      1876 1877 1878  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1876 def kind @kind end  | 
  
#local_id ⇒ String
The local ID of the user.
Corresponds to the JSON property localId
      1881 1882 1883  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1881 def local_id @local_id end  | 
  
#new_email ⇒ String
The new email the user attempts to change to.
Corresponds to the JSON property newEmail
      1886 1887 1888  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1886 def new_email @new_email end  | 
  
#password_hash ⇒ String
The user's hashed password.
Corresponds to the JSON property passwordHash
NOTE: Values are automatically base64 encoded/decoded in the client library.
      1892 1893 1894  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1892 def password_hash @password_hash end  | 
  
#photo_url ⇒ String
The photo url of the user.
Corresponds to the JSON property photoUrl
      1897 1898 1899  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1897 def photo_url @photo_url end  | 
  
#provider_user_info ⇒ Array<Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo>
The user's profiles at the associated IdPs.
Corresponds to the JSON property providerUserInfo
      1902 1903 1904  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1902 def provider_user_info @provider_user_info end  | 
  
#refresh_token ⇒ String
If idToken is STS id token, then this field will be refresh token.
Corresponds to the JSON property refreshToken
      1907 1908 1909  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1907 def refresh_token @refresh_token end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927  | 
    
      # File 'generated/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  |