Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1ProviderUserInfo
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1ProviderUserInfo
- 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
Information about the user as provided by various Identity Providers.
Instance Attribute Summary collapse
-
#display_name ⇒ String
The user's display name at the Identity Provider.
-
#email ⇒ String
The user's email address at the Identity Provider.
-
#federated_id ⇒ String
The user's identifier at the Identity Provider.
-
#phone_number ⇒ String
The user's phone number at the Identity Provider.
-
#photo_url ⇒ String
The user's profile photo URL at the Identity Provider.
-
#provider_id ⇒ String
The ID of the Identity Provider.
-
#raw_id ⇒ String
The user's raw identifier directly returned from Identity Provider.
-
#screen_name ⇒ String
The user's screen_name at Twitter or login name at GitHub.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1ProviderUserInfo
constructor
A new instance of GoogleCloudIdentitytoolkitV1ProviderUserInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1ProviderUserInfo
Returns a new instance of GoogleCloudIdentitytoolkitV1ProviderUserInfo.
1522 1523 1524 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1522 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
The user's display name at the Identity Provider.
Corresponds to the JSON property displayName
1485 1486 1487 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1485 def display_name @display_name end |
#email ⇒ String
The user's email address at the Identity Provider.
Corresponds to the JSON property email
1490 1491 1492 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1490 def email @email end |
#federated_id ⇒ String
The user's identifier at the Identity Provider.
Corresponds to the JSON property federatedId
1495 1496 1497 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1495 def federated_id @federated_id end |
#phone_number ⇒ String
The user's phone number at the Identity Provider.
Corresponds to the JSON property phoneNumber
1500 1501 1502 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1500 def phone_number @phone_number end |
#photo_url ⇒ String
The user's profile photo URL at the Identity Provider.
Corresponds to the JSON property photoUrl
1505 1506 1507 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1505 def photo_url @photo_url end |
#provider_id ⇒ String
The ID of the Identity Provider.
Corresponds to the JSON property providerId
1510 1511 1512 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1510 def provider_id @provider_id end |
#raw_id ⇒ String
The user's raw identifier directly returned from Identity Provider.
Corresponds to the JSON property rawId
1515 1516 1517 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1515 def raw_id @raw_id end |
#screen_name ⇒ String
The user's screen_name at Twitter or login name at GitHub.
Corresponds to the JSON property screenName
1520 1521 1522 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1520 def screen_name @screen_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1527 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @email = args[:email] if args.key?(:email) @federated_id = args[:federated_id] if args.key?(:federated_id) @phone_number = args[:phone_number] if args.key?(:phone_number) @photo_url = args[:photo_url] if args.key?(:photo_url) @provider_id = args[:provider_id] if args.key?(:provider_id) @raw_id = args[:raw_id] if args.key?(:raw_id) @screen_name = args[:screen_name] if args.key?(:screen_name) end |