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.
Constructor Details
#initialize(**args) ⇒ ProviderUserInfo
Returns a new instance of ProviderUserInfo.
1954 1955 1956 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1954 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
1936 1937 1938 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1936 def display_name @display_name end |
#federated_id ⇒ String
User's identifier at IDP.
Corresponds to the JSON property federatedId
1941 1942 1943 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1941 def federated_id @federated_id end |
#photo_url ⇒ String
The user's photo url at the IDP.
Corresponds to the JSON property photoUrl
1946 1947 1948 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1946 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
1952 1953 1954 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1952 def provider_id @provider_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1959 1960 1961 1962 1963 1964 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1959 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 |