Class: Google::Apis::PartnersV2::PublicProfile
- Inherits:
-
Object
- Object
- Google::Apis::PartnersV2::PublicProfile
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/partners_v2/classes.rb,
generated/google/apis/partners_v2/representations.rb,
generated/google/apis/partners_v2/representations.rb
Overview
Basic information from a public profile.
Instance Attribute Summary collapse
-
#display_image_url ⇒ String
The URL to the main display image of the public profile.
-
#display_name ⇒ String
The display name of the public profile.
-
#id ⇒ String
The ID which can be used to retrieve more details about the public profile.
-
#profile_image ⇒ String
The URL to the main profile image of the public profile.
-
#url ⇒ String
The URL of the public profile.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PublicProfile
constructor
A new instance of PublicProfile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PublicProfile
Returns a new instance of PublicProfile
2026 2027 2028 |
# File 'generated/google/apis/partners_v2/classes.rb', line 2026 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_image_url ⇒ String
The URL to the main display image of the public profile. Being deprecated.
Corresponds to the JSON property displayImageUrl
2014 2015 2016 |
# File 'generated/google/apis/partners_v2/classes.rb', line 2014 def display_image_url @display_image_url end |
#display_name ⇒ String
The display name of the public profile.
Corresponds to the JSON property displayName
2009 2010 2011 |
# File 'generated/google/apis/partners_v2/classes.rb', line 2009 def display_name @display_name end |
#id ⇒ String
The ID which can be used to retrieve more details about the public profile.
Corresponds to the JSON property id
2019 2020 2021 |
# File 'generated/google/apis/partners_v2/classes.rb', line 2019 def id @id end |
#profile_image ⇒ String
The URL to the main profile image of the public profile.
Corresponds to the JSON property profileImage
2004 2005 2006 |
# File 'generated/google/apis/partners_v2/classes.rb', line 2004 def profile_image @profile_image end |
#url ⇒ String
The URL of the public profile.
Corresponds to the JSON property url
2024 2025 2026 |
# File 'generated/google/apis/partners_v2/classes.rb', line 2024 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2031 2032 2033 2034 2035 2036 2037 |
# File 'generated/google/apis/partners_v2/classes.rb', line 2031 def update!(**args) @profile_image = args[:profile_image] if args.key?(:profile_image) @display_name = args[:display_name] if args.key?(:display_name) @display_image_url = args[:display_image_url] if args.key?(:display_image_url) @id = args[:id] if args.key?(:id) @url = args[:url] if args.key?(:url) end |