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



1572
1573
1574
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1572

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)


1554
1555
1556
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1554

def display_name
  @display_name
end

#federated_idString

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

Returns:

  • (String)


1559
1560
1561
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1559

def federated_id
  @federated_id
end

#photo_urlString

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

Returns:

  • (String)


1564
1565
1566
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1564

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)


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