Class: Google::Apis::IdentitytoolkitV3::SignupNewUserResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::IdentitytoolkitV3::SignupNewUserResponse
 
- 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
Response of signing up new user, creating anonymous user or anonymous user reauth.
Instance Attribute Summary collapse
- 
  
    
      #display_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the user. 
- 
  
    
      #email  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The email of the user. 
- 
  
    
      #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#SignupNewUserResponse". 
- 
  
    
      #local_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The RP local ID of the user. 
- 
  
    
      #refresh_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    If idToken is STS id token, then this field will be refresh token. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SignupNewUserResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of SignupNewUserResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SignupNewUserResponse
Returns a new instance of SignupNewUserResponse
| 1953 1954 1955 | # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1953 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#display_name ⇒ String
The name of the user.
Corresponds to the JSON property displayName
| 1920 1921 1922 | # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1920 def display_name @display_name end | 
#email ⇒ String
The email of the user.
Corresponds to the JSON property email
| 1925 1926 1927 | # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1925 def email @email 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
| 1931 1932 1933 | # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1931 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
| 1936 1937 1938 | # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1936 def id_token @id_token end | 
#kind ⇒ String
The fixed string "identitytoolkit#SignupNewUserResponse".
Corresponds to the JSON property kind
| 1941 1942 1943 | # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1941 def kind @kind end | 
#local_id ⇒ String
The RP local ID of the user.
Corresponds to the JSON property localId
| 1946 1947 1948 | # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1946 def local_id @local_id end | 
#refresh_token ⇒ String
If idToken is STS id token, then this field will be refresh token.
Corresponds to the JSON property refreshToken
| 1951 1952 1953 | # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1951 def refresh_token @refresh_token end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1958 1959 1960 1961 1962 1963 1964 1965 1966 | # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1958 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @email = args[:email] if args.key?(:email) @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) @refresh_token = args[:refresh_token] if args.key?(:refresh_token) end |