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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/identitytoolkit_v3/classes.rb,
lib/google/apis/identitytoolkit_v3/representations.rb,
lib/google/apis/identitytoolkit_v3/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ProviderUserInfo

Returns a new instance of ProviderUserInfo.



1954
1955
1956
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1954

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)


1936
1937
1938
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1936

def display_name
  @display_name
end

#federated_idString

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

Returns:

  • (String)


1941
1942
1943
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1941

def federated_id
  @federated_id
end

#photo_urlString

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

Returns:

  • (String)


1946
1947
1948
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1946

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)


1952
1953
1954
# File 'lib/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 'lib/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