Class: Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo
- 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
Instance Attribute Summary collapse
-
#display_name ⇒ String
The user's display name at the IDP.
-
#federated_id ⇒ String
User's identifier at IDP.
-
#photo_url ⇒ String
The user's photo url at the IDP.
-
#provider_id ⇒ String
The IdP ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProviderUserInfo
constructor
A new instance of ProviderUserInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ProviderUserInfo
Returns a new instance of ProviderUserInfo
1898 1899 1900 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1898 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
The user's display name at the IDP.
Corresponds to the JSON property displayName
1880 1881 1882 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1880 def display_name @display_name end |
#federated_id ⇒ String
User's identifier at IDP.
Corresponds to the JSON property federatedId
1885 1886 1887 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1885 def federated_id @federated_id end |
#photo_url ⇒ String
The user's photo url at the IDP.
Corresponds to the JSON property photoUrl
1890 1891 1892 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1890 def photo_url @photo_url end |
#provider_id ⇒ String
The IdP ID. For whitelisted IdPs it's a short domain name, e.g., google.com,
aol.com, live.net and yahoo.com. For other OpenID IdPs it's the OP identifier.
Corresponds to the JSON property providerId
1896 1897 1898 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1896 def provider_id @provider_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1903 1904 1905 1906 1907 1908 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1903 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @federated_id = args[:federated_id] if args.key?(:federated_id) @photo_url = args[:photo_url] if args.key?(:photo_url) @provider_id = args[:provider_id] if args.key?(:provider_id) end |