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
1572 1573 1574 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1572 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
1554 1555 1556 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1554 def display_name @display_name end |
#federated_id ⇒ String
User's identifier at IDP.
Corresponds to the JSON property federatedId
1559 1560 1561 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1559 def federated_id @federated_id end |
#photo_url ⇒ String
The user's photo url at the IDP.
Corresponds to the JSON property photoUrl
1564 1565 1566 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1564 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
1570 1571 1572 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1570 def provider_id @provider_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1577 1578 1579 1580 1581 1582 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1577 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 |