Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1SetAccountInfoResponse
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1SetAccountInfoResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/identitytoolkit_v1/classes.rb,
lib/google/apis/identitytoolkit_v1/representations.rb,
lib/google/apis/identitytoolkit_v1/representations.rb
Overview
Response message for SetAccountInfo
Instance Attribute Summary collapse
-
#display_name ⇒ String
The account's display name.
-
#email ⇒ String
The account's email address.
-
#email_verified ⇒ Boolean
(also: #email_verified?)
Whether the account's email has been verified.
-
#expires_in ⇒ Fixnum
The number of seconds until the Identity Platform ID token expires.
-
#id_token ⇒ String
An Identity Platform ID token for the account.
-
#kind ⇒ String
Corresponds to the JSON property
kind. -
#local_id ⇒ String
The ID of the authenticated user.
-
#new_email ⇒ String
The new email that has been set on the user's account attributes.
-
#password_hash ⇒ String
Deprecated.
-
#photo_url ⇒ String
The user's photo URL for the account's profile photo.
-
#provider_user_info ⇒ Array<Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1ProviderUserInfo>
The linked Identity Providers on the account.
-
#refresh_token ⇒ String
A refresh token for the account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1SetAccountInfoResponse
constructor
A new instance of GoogleCloudIdentitytoolkitV1SetAccountInfoResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1SetAccountInfoResponse
Returns a new instance of GoogleCloudIdentitytoolkitV1SetAccountInfoResponse.
2046 2047 2048 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2046 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
The account's display name.
Corresponds to the JSON property displayName
1987 1988 1989 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1987 def display_name @display_name end |
#email ⇒ String
The account's email address.
Corresponds to the JSON property email
1992 1993 1994 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1992 def email @email end |
#email_verified ⇒ Boolean Also known as: email_verified?
Whether the account's email has been verified.
Corresponds to the JSON property emailVerified
1997 1998 1999 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1997 def email_verified @email_verified end |
#expires_in ⇒ Fixnum
The number of seconds until the Identity Platform ID token expires.
Corresponds to the JSON property expiresIn
2003 2004 2005 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2003 def expires_in @expires_in end |
#id_token ⇒ String
An Identity Platform ID token for the account. This is used for legacy user
sign up.
Corresponds to the JSON property idToken
2009 2010 2011 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2009 def id_token @id_token end |
#kind ⇒ String
Corresponds to the JSON property kind
2014 2015 2016 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2014 def kind @kind end |
#local_id ⇒ String
The ID of the authenticated user.
Corresponds to the JSON property localId
2019 2020 2021 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2019 def local_id @local_id end |
#new_email ⇒ String
The new email that has been set on the user's account attributes.
Corresponds to the JSON property newEmail
2024 2025 2026 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2024 def new_email @new_email end |
#password_hash ⇒ String
Deprecated. No actual password hash is currently returned.
Corresponds to the JSON property passwordHash
2029 2030 2031 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2029 def password_hash @password_hash end |
#photo_url ⇒ String
The user's photo URL for the account's profile photo.
Corresponds to the JSON property photoUrl
2034 2035 2036 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2034 def photo_url @photo_url end |
#provider_user_info ⇒ Array<Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1ProviderUserInfo>
The linked Identity Providers on the account.
Corresponds to the JSON property providerUserInfo
2039 2040 2041 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2039 def provider_user_info @provider_user_info end |
#refresh_token ⇒ String
A refresh token for the account. This is used for legacy user sign up.
Corresponds to the JSON property refreshToken
2044 2045 2046 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2044 def refresh_token @refresh_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2051 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 |