Class: Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ProviderUserInfo

Returns a new instance of ProviderUserInfo.


1461
1462
1463
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1461

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#display_nameString

The user's display name at the IDP. Corresponds to the JSON property displayName

Returns:

  • (String)

1443
1444
1445
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1443

def display_name
  @display_name
end

#federated_idString

User's identifier at IDP. Corresponds to the JSON property federatedId

Returns:

  • (String)

1448
1449
1450
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1448

def federated_id
  @federated_id
end

#photo_urlString

The user's photo url at the IDP. Corresponds to the JSON property photoUrl

Returns:

  • (String)

1453
1454
1455
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1453

def photo_url
  @photo_url
end

#provider_idString

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

Returns:

  • (String)

1459
1460
1461
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1459

def provider_id
  @provider_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1466
1467
1468
1469
1470
1471
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1466

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